sample [raw] output of openstack<->odl communication


Flavio Fernandes <ffernand@...>
 

Hi Mat,

In this example, I stack a single o/s node and ran the following commands: [cmds]

It will:
- create tenant, user (lines 8, 9)
- create external net for tenant (line 15)
- create external subnet (line 18)
In context of tenant, it will:
- create tenant router (line 38)
- set router gateway (line 39)
- create tenant internal net and subnet (lines 41, 42)
- create router interface on tenant internal subnet (line 43)
- boot a tenant vm (line 46)
- create floating ip and associate it with tenant vm (lines 48, 50)


A txt for neutron->odl is here [capTxt] a wireshark capture is here [capBin].
If you look at [karaf] karaf.log, you can see a lot of info on how that percolates into odl’s ovsdb netvirt.
A history of ovs commands that happened in the O/S node are here [ovsLog].

The commands used:

- capture to screen:
sudo tcpdump -Ann -i eth1 tcp port 8080 and 'tcp[13] & 8!=0' | tee tcpdump.txt

- capture to file:
sudo tcpdump -vv -w tcpdump.cap -i eth1 -s 0 tcp port 8080

- dump ovs history (thanks shague!):
ovsdb-tool -mm show-log

— flavio

[cmds]: https://gist.github.com/9bc7812997ec629a0518
[console]: https://gist.github.com/84c925de41dba226b986
[capTxt]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.txt
[capBin]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.cap
[karaf]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/karaf.log
[ovsLog]: https://gist.github.com/cd64c801b55cef23a4db


Flavio Fernandes <ffernand@...>
 


Added postman collection [1] you can use to repeat these steps.

To emulate creation of ovs ports that go with these steps, look at the description of the entries [2]:
  - Add Neutron Port For dhcp sub1
  - Add Neutron Port For vm1

— flavio





On Jun 9, 2015, at 12:24 PM, Flavio Fernandes <ffernand@...> wrote:

Hi Mat,

In this example, I stack a single o/s node and ran the following commands: [cmds]

It will:
- create tenant, user (lines 8, 9)
- create external net for tenant (line 15)
- create external subnet (line 18)
In context of tenant, it will:
- create tenant router (line 38)
- set router gateway (line 39)
- create tenant internal net and subnet (lines 41, 42)
- create router interface on tenant internal subnet (line 43)
- boot a tenant vm (line 46)
- create floating ip and associate it with tenant vm (lines 48, 50)


A txt for neutron->odl is here [capTxt] a wireshark capture is here [capBin].
If you look at [karaf] karaf.log, you can see a lot of info on how that percolates into odl’s ovsdb netvirt.
A history of ovs commands that happened in the O/S node are here [ovsLog].

The commands used:

- capture to screen:
   sudo tcpdump -Ann -i eth1 tcp port 8080 and 'tcp[13] & 8!=0' | tee tcpdump.txt

- capture to file:
   sudo tcpdump -vv -w tcpdump.cap -i eth1 -s 0 tcp port 8080

- dump ovs history (thanks shague!):
   ovsdb-tool -mm show-log

— flavio

[cmds]: https://gist.github.com/9bc7812997ec629a0518
[console]: https://gist.github.com/84c925de41dba226b986
[capTxt]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.txt
[capBin]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.cap
[karaf]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/karaf.log
[ovsLog]: https://gist.github.com/cd64c801b55cef23a4db

_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev


Flavio Fernandes <ffernand@...>
 


Added a bash script that will emulate Openstack and OVS, so ODL can be ran ‘standalone’,
while getting events from neutron-nrothbound as well as openvswitch.

The script is located here [1] and here [2].
To work on L3 with ODL, I normally do these [3].

While the script is very much tailored to mimic the steps to create tenant … associate floatingIP,
it can hopefully be useful for other tasks you may need while testing/developing ODL.

Enjoy,

— flavio



[3]: echo 'ovsdb.l3.fwd.enabled=yes' >> ./etc/custom.properties ; rm -rf ./data ; ./bin/karaf
   feature:install odl-ovsdb-openstack
      log:set debug org.opendaylight.ovsdb.openstack.netvirt.impl.NeutronL3Adapter


On Jun 10, 2015, at 6:53 AM, Flavio Fernandes <ffernand@...> wrote:


Added postman collection [1] you can use to repeat these steps.

To emulate creation of ovs ports that go with these steps, look at the description of the entries [2]:
  - Add Neutron Port For dhcp sub1
  - Add Neutron Port For vm1

— flavio





On Jun 9, 2015, at 12:24 PM, Flavio Fernandes <ffernand@...> wrote:

Hi Mat,

In this example, I stack a single o/s node and ran the following commands: [cmds]

It will:
- create tenant, user (lines 8, 9)
- create external net for tenant (line 15)
- create external subnet (line 18)
In context of tenant, it will:
- create tenant router (line 38)
- set router gateway (line 39)
- create tenant internal net and subnet (lines 41, 42)
- create router interface on tenant internal subnet (line 43)
- boot a tenant vm (line 46)
- create floating ip and associate it with tenant vm (lines 48, 50)


A txt for neutron->odl is here [capTxt] a wireshark capture is here [capBin].
If you look at [karaf] karaf.log, you can see a lot of info on how that percolates into odl’s ovsdb netvirt.
A history of ovs commands that happened in the O/S node are here [ovsLog].

The commands used:

- capture to screen:
   sudo tcpdump -Ann -i eth1 tcp port 8080 and 'tcp[13] & 8!=0' | tee tcpdump.txt

- capture to file:
   sudo tcpdump -vv -w tcpdump.cap -i eth1 -s 0 tcp port 8080

- dump ovs history (thanks shague!):
   ovsdb-tool -mm show-log

— flavio

[cmds]: https://gist.github.com/9bc7812997ec629a0518
[console]: https://gist.github.com/84c925de41dba226b986
[capTxt]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.txt
[capBin]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.cap
[karaf]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/karaf.log
[ovsLog]: https://gist.github.com/cd64c801b55cef23a4db



Luis Gomez
 

Cool, I will take a look over the weekend.

BR/Luis


On Jun 12, 2015, at 2:55 AM, Flavio Fernandes <ffernand@...> wrote:


Added a bash script that will emulate Openstack and OVS, so ODL can be ran ‘standalone’,
while getting events from neutron-nrothbound as well as openvswitch.

The script is located here [1] and here [2].
To work on L3 with ODL, I normally do these [3].

While the script is very much tailored to mimic the steps to create tenant … associate floatingIP,
it can hopefully be useful for other tasks you may need while testing/developing ODL.

Enjoy,

— flavio



[3]: echo 'ovsdb.l3.fwd.enabled=yes' >> ./etc/custom.properties ; rm -rf ./data ; ./bin/karaf
   feature:install odl-ovsdb-openstack
      log:set debug org.opendaylight.ovsdb.openstack.netvirt.impl.NeutronL3Adapter


On Jun 10, 2015, at 6:53 AM, Flavio Fernandes <ffernand@...> wrote:


Added postman collection [1] you can use to repeat these steps.

To emulate creation of ovs ports that go with these steps, look at the description of the entries [2]:
  - Add Neutron Port For dhcp sub1
  - Add Neutron Port For vm1

— flavio





On Jun 9, 2015, at 12:24 PM, Flavio Fernandes <ffernand@...> wrote:

Hi Mat,

In this example, I stack a single o/s node and ran the following commands: [cmds]

It will:
- create tenant, user (lines 8, 9)
- create external net for tenant (line 15)
- create external subnet (line 18)
In context of tenant, it will:
- create tenant router (line 38)
- set router gateway (line 39)
- create tenant internal net and subnet (lines 41, 42)
- create router interface on tenant internal subnet (line 43)
- boot a tenant vm (line 46)
- create floating ip and associate it with tenant vm (lines 48, 50)


A txt for neutron->odl is here [capTxt] a wireshark capture is here [capBin].
If you look at [karaf] karaf.log, you can see a lot of info on how that percolates into odl’s ovsdb netvirt.
A history of ovs commands that happened in the O/S node are here [ovsLog].

The commands used:

- capture to screen:
   sudo tcpdump -Ann -i eth1 tcp port 8080 and 'tcp[13] & 8!=0' | tee tcpdump.txt

- capture to file:
   sudo tcpdump -vv -w tcpdump.cap -i eth1 -s 0 tcp port 8080

- dump ovs history (thanks shague!):
   ovsdb-tool -mm show-log

— flavio

[cmds]: https://gist.github.com/9bc7812997ec629a0518
[console]: https://gist.github.com/84c925de41dba226b986
[capTxt]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.txt
[capBin]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.cap
[karaf]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/karaf.log
[ovsLog]: https://gist.github.com/cd64c801b55cef23a4db


_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev


Luis Gomez
 

OK I think this sequence of commands and checks can be easily implemented in robot framework, we can discuss further next ovsdb call.

Do you also have a similar script for L2 forwarding?

BR/Luis



On Jun 12, 2015, at 2:55 AM, Flavio Fernandes <ffernand@...> wrote:


Added a bash script that will emulate Openstack and OVS, so ODL can be ran ‘standalone’,
while getting events from neutron-nrothbound as well as openvswitch.

The script is located here [1] and here [2].
To work on L3 with ODL, I normally do these [3].

While the script is very much tailored to mimic the steps to create tenant … associate floatingIP,
it can hopefully be useful for other tasks you may need while testing/developing ODL.

Enjoy,

— flavio



[3]: echo 'ovsdb.l3.fwd.enabled=yes' >> ./etc/custom.properties ; rm -rf ./data ; ./bin/karaf
   feature:install odl-ovsdb-openstack
      log:set debug org.opendaylight.ovsdb.openstack.netvirt.impl.NeutronL3Adapter


On Jun 10, 2015, at 6:53 AM, Flavio Fernandes <ffernand@...> wrote:


Added postman collection [1] you can use to repeat these steps.

To emulate creation of ovs ports that go with these steps, look at the description of the entries [2]:
  - Add Neutron Port For dhcp sub1
  - Add Neutron Port For vm1

— flavio





On Jun 9, 2015, at 12:24 PM, Flavio Fernandes <ffernand@...> wrote:

Hi Mat,

In this example, I stack a single o/s node and ran the following commands: [cmds]

It will:
- create tenant, user (lines 8, 9)
- create external net for tenant (line 15)
- create external subnet (line 18)
In context of tenant, it will:
- create tenant router (line 38)
- set router gateway (line 39)
- create tenant internal net and subnet (lines 41, 42)
- create router interface on tenant internal subnet (line 43)
- boot a tenant vm (line 46)
- create floating ip and associate it with tenant vm (lines 48, 50)


A txt for neutron->odl is here [capTxt] a wireshark capture is here [capBin].
If you look at [karaf] karaf.log, you can see a lot of info on how that percolates into odl’s ovsdb netvirt.
A history of ovs commands that happened in the O/S node are here [ovsLog].

The commands used:

- capture to screen:
   sudo tcpdump -Ann -i eth1 tcp port 8080 and 'tcp[13] & 8!=0' | tee tcpdump.txt

- capture to file:
   sudo tcpdump -vv -w tcpdump.cap -i eth1 -s 0 tcp port 8080

- dump ovs history (thanks shague!):
   ovsdb-tool -mm show-log

— flavio

[cmds]: https://gist.github.com/9bc7812997ec629a0518
[console]: https://gist.github.com/84c925de41dba226b986
[capTxt]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.txt
[capBin]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.cap
[karaf]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/karaf.log
[ovsLog]: https://gist.github.com/cd64c801b55cef23a4db


_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev


Flavio Fernandes <ffernand@...>
 


On Jun 14, 2015, at 5:31 PM, Luis Gomez <ecelgp@...> wrote:

OK I think this sequence of commands and checks can be easily implemented in robot framework, we can discuss further next ovsdb call.


cool!

Do you also have a similar script for L2 forwarding?

I can do that… stay tuned. ;)


BR/Luis



On Jun 12, 2015, at 2:55 AM, Flavio Fernandes <ffernand@...> wrote:


Added a bash script that will emulate Openstack and OVS, so ODL can be ran ‘standalone’,
while getting events from neutron-nrothbound as well as openvswitch.

The script is located here [1] and here [2].
To work on L3 with ODL, I normally do these [3].

While the script is very much tailored to mimic the steps to create tenant … associate floatingIP,
it can hopefully be useful for other tasks you may need while testing/developing ODL.

Enjoy,

— flavio



[3]: echo 'ovsdb.l3.fwd.enabled=yes' >> ./etc/custom.properties ; rm -rf ./data ; ./bin/karaf
   feature:install odl-ovsdb-openstack
      log:set debug org.opendaylight.ovsdb.openstack.netvirt.impl.NeutronL3Adapter


On Jun 10, 2015, at 6:53 AM, Flavio Fernandes <ffernand@...> wrote:


Added postman collection [1] you can use to repeat these steps.

To emulate creation of ovs ports that go with these steps, look at the description of the entries [2]:
  - Add Neutron Port For dhcp sub1
  - Add Neutron Port For vm1

— flavio





On Jun 9, 2015, at 12:24 PM, Flavio Fernandes <ffernand@...> wrote:

Hi Mat,

In this example, I stack a single o/s node and ran the following commands: [cmds]

It will:
- create tenant, user (lines 8, 9)
- create external net for tenant (line 15)
- create external subnet (line 18)
In context of tenant, it will:
- create tenant router (line 38)
- set router gateway (line 39)
- create tenant internal net and subnet (lines 41, 42)
- create router interface on tenant internal subnet (line 43)
- boot a tenant vm (line 46)
- create floating ip and associate it with tenant vm (lines 48, 50)


A txt for neutron->odl is here [capTxt] a wireshark capture is here [capBin].
If you look at [karaf] karaf.log, you can see a lot of info on how that percolates into odl’s ovsdb netvirt.
A history of ovs commands that happened in the O/S node are here [ovsLog].

The commands used:

- capture to screen:
   sudo tcpdump -Ann -i eth1 tcp port 8080 and 'tcp[13] & 8!=0' | tee tcpdump.txt

- capture to file:
   sudo tcpdump -vv -w tcpdump.cap -i eth1 -s 0 tcp port 8080

- dump ovs history (thanks shague!):
   ovsdb-tool -mm show-log

— flavio

[cmds]: https://gist.github.com/9bc7812997ec629a0518
[console]: https://gist.github.com/84c925de41dba226b986
[capTxt]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.txt
[capBin]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.cap
[karaf]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/karaf.log
[ovsLog]: https://gist.github.com/cd64c801b55cef23a4db


_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev



Mathieu Lemay <mlemay@...>
 

Actually someone is already on this patch coming to integration..

Cheers

On Jun 15, 2015 6:22 AM, "Flavio Fernandes" <ffernand@...> wrote:


On Jun 14, 2015, at 5:31 PM, Luis Gomez <ecelgp@...> wrote:

OK I think this sequence of commands and checks can be easily implemented in robot framework, we can discuss further next ovsdb call.


cool!

Do you also have a similar script for L2 forwarding?

I can do that… stay tuned. ;)


BR/Luis



On Jun 12, 2015, at 2:55 AM, Flavio Fernandes <ffernand@...> wrote:


Added a bash script that will emulate Openstack and OVS, so ODL can be ran ‘standalone’,
while getting events from neutron-nrothbound as well as openvswitch.

The script is located here [1] and here [2].
To work on L3 with ODL, I normally do these [3].

While the script is very much tailored to mimic the steps to create tenant … associate floatingIP,
it can hopefully be useful for other tasks you may need while testing/developing ODL.

Enjoy,

— flavio



[3]: echo 'ovsdb.l3.fwd.enabled=yes' >> ./etc/custom.properties ; rm -rf ./data ; ./bin/karaf
   feature:install odl-ovsdb-openstack
      log:set debug org.opendaylight.ovsdb.openstack.netvirt.impl.NeutronL3Adapter


On Jun 10, 2015, at 6:53 AM, Flavio Fernandes <ffernand@...> wrote:


Added postman collection [1] you can use to repeat these steps.

To emulate creation of ovs ports that go with these steps, look at the description of the entries [2]:
  - Add Neutron Port For dhcp sub1
  - Add Neutron Port For vm1

— flavio





On Jun 9, 2015, at 12:24 PM, Flavio Fernandes <ffernand@...> wrote:

Hi Mat,

In this example, I stack a single o/s node and ran the following commands: [cmds]

It will:
- create tenant, user (lines 8, 9)
- create external net for tenant (line 15)
- create external subnet (line 18)
In context of tenant, it will:
- create tenant router (line 38)
- set router gateway (line 39)
- create tenant internal net and subnet (lines 41, 42)
- create router interface on tenant internal subnet (line 43)
- boot a tenant vm (line 46)
- create floating ip and associate it with tenant vm (lines 48, 50)


A txt for neutron->odl is here [capTxt] a wireshark capture is here [capBin].
If you look at [karaf] karaf.log, you can see a lot of info on how that percolates into odl’s ovsdb netvirt.
A history of ovs commands that happened in the O/S node are here [ovsLog].

The commands used:

- capture to screen:
   sudo tcpdump -Ann -i eth1 tcp port 8080 and 'tcp[13] & 8!=0' | tee tcpdump.txt

- capture to file:
   sudo tcpdump -vv -w tcpdump.cap -i eth1 -s 0 tcp port 8080

- dump ovs history (thanks shague!):
   ovsdb-tool -mm show-log

— flavio

[cmds]: https://gist.github.com/9bc7812997ec629a0518
[console]: https://gist.github.com/84c925de41dba226b986
[capTxt]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.txt
[capBin]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.cap
[karaf]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/karaf.log
[ovsLog]: https://gist.github.com/cd64c801b55cef23a4db


_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev



Flavio Fernandes <ffernand@...>
 


On Jun 15, 2015, at 6:26 AM, Mathieu Lemay <mlemay@...> wrote:

Actually someone is already on this patch coming to integration..



Awesome. Thanks, Mat!

— flavio

Cheers

On Jun 15, 2015 6:22 AM, "Flavio Fernandes" <ffernand@...> wrote:

On Jun 14, 2015, at 5:31 PM, Luis Gomez <ecelgp@...> wrote:

OK I think this sequence of commands and checks can be easily implemented in robot framework, we can discuss further next ovsdb call.


cool!

Do you also have a similar script for L2 forwarding?

I can do that… stay tuned. ;)


BR/Luis



On Jun 12, 2015, at 2:55 AM, Flavio Fernandes <ffernand@...> wrote:


Added a bash script that will emulate Openstack and OVS, so ODL can be ran ‘standalone’,
while getting events from neutron-nrothbound as well as openvswitch.

The script is located here [1] and here [2].
To work on L3 with ODL, I normally do these [3].

While the script is very much tailored to mimic the steps to create tenant … associate floatingIP,
it can hopefully be useful for other tasks you may need while testing/developing ODL.

Enjoy,

— flavio



[3]: echo 'ovsdb.l3.fwd.enabled=yes' >> ./etc/custom.properties ; rm -rf ./data ; ./bin/karaf
   feature:install odl-ovsdb-openstack
      log:set debug org.opendaylight.ovsdb.openstack.netvirt.impl.NeutronL3Adapter


On Jun 10, 2015, at 6:53 AM, Flavio Fernandes <ffernand@...> wrote:


Added postman collection [1] you can use to repeat these steps.

To emulate creation of ovs ports that go with these steps, look at the description of the entries [2]:
  - Add Neutron Port For dhcp sub1
  - Add Neutron Port For vm1

— flavio





On Jun 9, 2015, at 12:24 PM, Flavio Fernandes <ffernand@...> wrote:

Hi Mat,

In this example, I stack a single o/s node and ran the following commands: [cmds]

It will:
- create tenant, user (lines 8, 9)
- create external net for tenant (line 15)
- create external subnet (line 18)
In context of tenant, it will:
- create tenant router (line 38)
- set router gateway (line 39)
- create tenant internal net and subnet (lines 41, 42)
- create router interface on tenant internal subnet (line 43)
- boot a tenant vm (line 46)
- create floating ip and associate it with tenant vm (lines 48, 50)


A txt for neutron->odl is here [capTxt] a wireshark capture is here [capBin].
If you look at [karaf] karaf.log, you can see a lot of info on how that percolates into odl’s ovsdb netvirt.
A history of ovs commands that happened in the O/S node are here [ovsLog].

The commands used:

- capture to screen:
   sudo tcpdump -Ann -i eth1 tcp port 8080 and 'tcp[13] & 8!=0' | tee tcpdump.txt

- capture to file:
   sudo tcpdump -vv -w tcpdump.cap -i eth1 -s 0 tcp port 8080

- dump ovs history (thanks shague!):
   ovsdb-tool -mm show-log

— flavio

[cmds]: https://gist.github.com/9bc7812997ec629a0518
[console]: https://gist.github.com/84c925de41dba226b986
[capTxt]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.txt
[capBin]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.cap
[karaf]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/karaf.log
[ovsLog]: https://gist.github.com/cd64c801b55cef23a4db


_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev




Flavio Fernandes <ffernand@...>
 

Hi Eric,

As we talked in the meeting, here is the email I sent earlier on the ml [1] that refers to the script that pretends to have openstack around
ODL. For more info on using it, take a look at the comments on top of the bash file.

— flavio



Begin forwarded message:

From: Flavio Fernandes <ffernand@...>
Subject: Re: [ovsdb-dev] sample [raw] output of openstack<->odl communication
Date: June 12, 2015 at 5:55:18 AM EDT
To: Mathieu Lemay <mlemay@...>


Added a bash script that will emulate Openstack and OVS, so ODL can be ran ‘standalone’,
while getting events from neutron-nrothbound as well as openvswitch.

The script is located here [1] and here [2].
To work on L3 with ODL, I normally do these [3].

While the script is very much tailored to mimic the steps to create tenant … associate floatingIP,
it can hopefully be useful for other tasks you may need while testing/developing ODL.

Enjoy,

— flavio



[3]: echo 'ovsdb.l3.fwd.enabled=yes' >> ./etc/custom.properties ; rm -rf ./data ; ./bin/karaf
   feature:install odl-ovsdb-openstack
      log:set debug org.opendaylight.ovsdb.openstack.netvirt.impl.NeutronL3Adapter


On Jun 10, 2015, at 6:53 AM, Flavio Fernandes <ffernand@...> wrote:


Added postman collection [1] you can use to repeat these steps.

To emulate creation of ovs ports that go with these steps, look at the description of the entries [2]:
  - Add Neutron Port For dhcp sub1
  - Add Neutron Port For vm1

— flavio





On Jun 9, 2015, at 12:24 PM, Flavio Fernandes <ffernand@...> wrote:

Hi Mat,

In this example, I stack a single o/s node and ran the following commands: [cmds]

It will:
- create tenant, user (lines 8, 9)
- create external net for tenant (line 15)
- create external subnet (line 18)
In context of tenant, it will:
- create tenant router (line 38)
- set router gateway (line 39)
- create tenant internal net and subnet (lines 41, 42)
- create router interface on tenant internal subnet (line 43)
- boot a tenant vm (line 46)
- create floating ip and associate it with tenant vm (lines 48, 50)


A txt for neutron->odl is here [capTxt] a wireshark capture is here [capBin].
If you look at [karaf] karaf.log, you can see a lot of info on how that percolates into odl’s ovsdb netvirt.
A history of ovs commands that happened in the O/S node are here [ovsLog].

The commands used:

- capture to screen:
   sudo tcpdump -Ann -i eth1 tcp port 8080 and 'tcp[13] & 8!=0' | tee tcpdump.txt

- capture to file:
   sudo tcpdump -vv -w tcpdump.cap -i eth1 -s 0 tcp port 8080

- dump ovs history (thanks shague!):
   ovsdb-tool -mm show-log

— flavio

[cmds]: https://gist.github.com/9bc7812997ec629a0518
[console]: https://gist.github.com/84c925de41dba226b986
[capTxt]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.txt
[capBin]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/tcpdump.cap
[karaf]: https://dl.dropboxusercontent.com/u/86298/simpleNeutronCapture/karaf.log
[ovsLog]: https://gist.github.com/cd64c801b55cef23a4db


_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev


Williams, Marcus <marcus.williams@...>