Not successful in enabling L3 on ODL (Stable Kilo with ODL Lithium SR1 )


Vikram
 

Hi

 

I have two machines  where in I simulated Multi node setup (2 compute nodes + 1 openstack controller + 1 Opendaylight)

 

Integrated stable kilo devstack and latest release of ODL Lithium SR1 to use ODL as neutron backend and L3 forwarder.

 

 

1. Able to create networks (net1 and net2) 

2. Able to launch VM's on the compute Nodes (VM1 in CN1 attached to net1 && VM2 in CN2 attached to net2)

3. Not able to ping between VM's, VM1 and VM2 

  • GRE is the network type
  • Enabled L3 forwarding in ODL - etc/custom.properties
  • Some more attributes are added in Openstack controller to inform it that we are using L3 from ODL

local.conf files can be downloaded from here

 

compute Node local.conf : http://fpaste.org/263578/44136961/

password 12345

 

Controller Node local.conf : http://fpaste.org/263580/44136973/

password 12345

 

 

I am following the links : http://www.flaviof.com/blog/work/how-to-odl-with-openstack-part2.html

                                  http://www.flaviof.com/blog/work/how-to-odl-with-openstack-part1.html

 

 

As told in the link, when the gre tunnel is created, flows are populated in table 0 and table 110 across all the nodes and when the router is created and network interfaces are attached to it from Horizon UI

table 60 and 70 are not populated with L3 entries.

 

 

 

Controller :

vikram@vikram:~/devstack$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=270.507s, table=0, n_packets=0, n_bytes=0, tun_id=0x54,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=297.807s, table=0, n_packets=30, n_bytes=2600, tun_id=0x52,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=270.483s, table=0, n_packets=30, n_bytes=2600, tun_id=0x54,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=297.746s, table=0, n_packets=0, n_bytes=0, tun_id=0x52,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.237s, table=0, n_packets=1, n_bytes=78, priority=8192,in_port=1 actions=drop
 cookie=0x0, duration=270.554s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=5 actions=drop
 cookie=0x0, duration=298.172s, table=0, n_packets=20, n_bytes=2188, in_port=1,dl_src=fa:16:3e:0d:06:ab actions=set_field:0x52->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=270.557s, table=0, n_packets=25, n_bytes=2614, in_port=5,dl_src=fa:16:3e:fe:86:e6 actions=set_field:0x54->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=732.463s, table=0, n_packets=6, n_bytes=500, priority=0 actions=goto_table:20
 cookie=0x0, duration=733.381s, table=0, n_packets=183, n_bytes=20191, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=732.470s, table=20, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:30
 cookie=0x0, duration=732.467s, table=30, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:40
 cookie=0x0, duration=732.458s, table=40, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:50
 cookie=0x0, duration=732.452s, table=50, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:60
 cookie=0x0, duration=732.441s, table=60, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:70
 cookie=0x0, duration=732.430s, table=70, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:80
 cookie=0x0, duration=732.420s, table=80, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:90
 cookie=0x0, duration=732.413s, table=90, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:100
 cookie=0x0, duration=732.406s, table=100, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:110
 cookie=0x0, duration=270.535s, table=110, n_packets=18, n_bytes=1558, priority=16384,reg0=0x2,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5
 cookie=0x0, duration=297.820s, table=110, n_packets=18, n_bytes=1558, priority=16384,reg0=0x2,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1
 cookie=0x0, duration=270.527s, table=110, n_packets=10, n_bytes=816, priority=16383,reg0=0x1,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5,output:3,output:4
 cookie=0x0, duration=297.821s, table=110, n_packets=5, n_bytes=390, priority=16383,reg0=0x1,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:3,output:4
 cookie=0x0, duration=270.517s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x54 actions=drop
 cookie=0x0, duration=297.816s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x52 actions=drop
 cookie=0x0, duration=732.390s, table=110, n_packets=6, n_bytes=500, priority=0 actions=drop
 cookie=0x0, duration=199.481s, table=110, n_packets=15, n_bytes=1798, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:4
 cookie=0x0, duration=218.232s, table=110, n_packets=15, n_bytes=1798, tun_id=0x52,dl_dst=fa:16:3e:32:14:79 actions=output:3
 cookie=0x0, duration=270.544s, table=110, n_packets=12, n_bytes=1042, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:5
 cookie=0x0, duration=298.195s, table=110, n_packets=12, n_bytes=1042, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

Compute 1:

vikram@compute1:~/devstack$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=298.610s, table=0, n_packets=15, n_bytes=1798, tun_id=0x52,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=0, n_bytes=0, tun_id=0x52,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=2 actions=drop
 cookie=0x0, duration=298.610s, table=0, n_packets=30, n_bytes=2600, in_port=2,dl_src=fa:16:3e:32:14:79 actions=set_field:0x52->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=36, n_bytes=2994, priority=0 actions=goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=1679, n_bytes=185259, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=298.609s, table=20, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:30
 cookie=0x0, duration=298.610s, table=30, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:40
 cookie=0x0, duration=298.610s, table=40, n_packets=69, n_bytes=6302, priority=0 actions=goto_table:50
 cookie=0x0, duration=298.609s, table=40, n_packets=11, n_bytes=1000, priority=36001,ip,in_port=2,dl_src=fa:16:3e:32:14:79,nw_src=1.0.0.2 actions=goto_table:50
 cookie=0x0, duration=298.609s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=2,tp_src=67,tp_dst=68 actions=drop
 cookie=0x0, duration=298.610s, table=50, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:60
 cookie=0x0, duration=298.610s, table=60, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:70
 cookie=0x0, duration=298.609s, table=70, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:80
 cookie=0x0, duration=298.610s, table=80, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:90
 cookie=0x0, duration=298.609s, table=90, n_packets=78, n_bytes=6588, priority=0 actions=goto_table:100
 cookie=0x0, duration=298.609s, table=90, n_packets=2, n_bytes=714, priority=61006,udp,dl_src=fa:16:3e:0d:06:ab,tp_src=67,tp_dst=68 actions=goto_table:100
 cookie=0x0, duration=298.609s, table=100, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:110
 cookie=0x0, duration=298.609s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x52 actions=drop
 cookie=0x0, duration=298.610s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2
 cookie=0x0, duration=298.610s, table=110, n_packets=18, n_bytes=1558, priority=16383,reg0=0x1,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,output:1,output:4
 cookie=0x0, duration=298.610s, table=110, n_packets=35, n_bytes=2904, priority=0 actions=drop
 cookie=0x0, duration=298.610s, table=110, n_packets=0, n_bytes=0, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:4
 cookie=0x0, duration=298.611s, table=110, n_packets=15, n_bytes=1798, tun_id=0x52,dl_dst=fa:16:3e:32:14:79 actions=output:2
 cookie=0x0, duration=298.611s, table=110, n_packets=0, n_bytes=0, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:1
 cookie=0x0, duration=298.611s, table=110, n_packets=12, n_bytes=1042, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

 

Compute2:

vikram@compute2:~/devstack$  sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=238.077s, table=0, n_packets=0, n_bytes=0, tun_id=0x54,in_port=2 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=238.100s, table=0, n_packets=15, n_bytes=1798, tun_id=0x54,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=238.146s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=3 actions=drop
 cookie=0x0, duration=238.150s, table=0, n_packets=30, n_bytes=2600, in_port=3,dl_src=fa:16:3e:df:52:36 actions=set_field:0x54->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=406.202s, table=0, n_packets=18, n_bytes=1436, priority=0 actions=goto_table:20
 cookie=0x0, duration=408.075s, table=0, n_packets=166, n_bytes=18528, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=406.194s, table=20, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:30
 cookie=0x0, duration=406.190s, table=30, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:40
 cookie=0x0, duration=406.174s, table=40, n_packets=51, n_bytes=4744, priority=0 actions=goto_table:50
 cookie=0x0, duration=238.160s, table=40, n_packets=11, n_bytes=1000, priority=36001,ip,in_port=3,dl_src=fa:16:3e:df:52:36,nw_src=2.0.0.2 actions=goto_table:50
 cookie=0x0, duration=238.167s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=3,tp_src=67,tp_dst=68 actions=drop
 cookie=0x0, duration=406.170s, table=50, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:60
 cookie=0x0, duration=406.165s, table=60, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:70
 cookie=0x0, duration=406.160s, table=70, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:80
 cookie=0x0, duration=406.154s, table=80, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:90
 cookie=0x0, duration=406.149s, table=90, n_packets=60, n_bytes=5030, priority=0 actions=goto_table:100
 cookie=0x0, duration=238.174s, table=90, n_packets=2, n_bytes=714, priority=61006,udp,dl_src=fa:16:3e:fe:86:e6,tp_src=67,tp_dst=68 actions=goto_table:100
 cookie=0x0, duration=406.142s, table=100, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:110
 cookie=0x0, duration=238.106s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x54 actions=drop
 cookie=0x0, duration=238.132s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:3
 cookie=0x0, duration=238.120s, table=110, n_packets=18, n_bytes=1558, priority=16383,reg0=0x1,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:3,output:1,output:2
 cookie=0x0, duration=406.128s, table=110, n_packets=17, n_bytes=1346, priority=0 actions=drop
 cookie=0x0, duration=238.140s, table=110, n_packets=15, n_bytes=1798, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:3
 cookie=0x0, duration=309.071s, table=110, n_packets=12, n_bytes=1042, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:1
 cookie=0x0, duration=336.348s, table=110, n_packets=0, n_bytes=0, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

 

Logs are attached

 

 

Thanks

Vikram

 

 

 

 

 

 

 

 

 



This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com


Ravi Shankar S
 

Hi,

 

              I could see a Null pointer exception while programming tunnel rules and it is related to L2. In your case the missing flows are related to DVR and L3_forwarding.

 

Please restart the setup (run ./unstack.sh and ./clean.sh) and bring-up from scratch. I have attached my sample conf files, which I have used for testing Vxlan (Cross verify them with yours).  I could see many PORT DELETE southbound and OVSDB Disconnect messages. Did you delete any network/port/ovsdbconnection? I hope GRE tunnel is created and the entry is present in “sudo ovs-vsctl show” output.

             

I could not see any real issue in your setup from the karaf logs.

 

 

Logs:

java.lang.NullPointerException

                  at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.programTunnelRules(OF13Provider.java:877)                  [285:org.opendaylight.ovsdb.openstack.net-virt-providers:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.handleInterfaceUpdate(OF13Provider.java:1090)[285:org.opendaylight.ovsdb.openstack.net-virt-providers:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.handleInterfaceUpdate(SouthboundHandler.java:86)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processPortUpdate(SouthboundHandler.java:300)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processPortEvent(SouthboundHandler.java:287)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processEvent(SouthboundHandler.java:232)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl.dispatchEvent(EventDispatcherImpl.java:97)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl.access$100(EventDispatcherImpl.java:30)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl$1.run(EventDispatcherImpl.java:59)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_80]

                  at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_80]

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_80]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_80]

                  at java.lang.Thread.run(Thread.java:745)[:1.7.0_80]

 

Regards,

Ravi

 

From: ovsdb-dev-bounces@... [mailto:ovsdb-dev-bounces@...] On Behalf Of Vikram Darsi
Sent: Friday, September 04, 2015 6:27 PM
To: ovsdb-dev@...; ovsdb-users@...
Subject: [ovsdb-dev] Not successful in enabling L3 on ODL (Stable Kilo with ODL Lithium SR1 )

 

Hi

 

I have two machines  where in I simulated Multi node setup (2 compute nodes + 1 openstack controller + 1 Opendaylight)

 

Integrated stable kilo devstack and latest release of ODL Lithium SR1 to use ODL as neutron backend and L3 forwarder.

 

 

1. Able to create networks (net1 and net2) 

2. Able to launch VM's on the compute Nodes (VM1 in CN1 attached to net1 && VM2 in CN2 attached to net2)

3. Not able to ping between VM's, VM1 and VM2 

  • GRE is the network type
  • Enabled L3 forwarding in ODL - etc/custom.properties
  • Some more attributes are added in Openstack controller to inform it that we are using L3 from ODL

local.conf files can be downloaded from here

 

compute Node local.conf : http://fpaste.org/263578/44136961/

password 12345

 

Controller Node local.conf : http://fpaste.org/263580/44136973/

password 12345

 

 

I am following the links : http://www.flaviof.com/blog/work/how-to-odl-with-openstack-part2.html

                                  http://www.flaviof.com/blog/work/how-to-odl-with-openstack-part1.html

 

 

As told in the link, when the gre tunnel is created, flows are populated in table 0 and table 110 across all the nodes and when the router is created and network interfaces are attached to it from Horizon UI

table 60 and 70 are not populated with L3 entries.

 

 

 

Controller :

vikram@vikram:~/devstack$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=270.507s, table=0, n_packets=0, n_bytes=0, tun_id=0x54,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=297.807s, table=0, n_packets=30, n_bytes=2600, tun_id=0x52,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=270.483s, table=0, n_packets=30, n_bytes=2600, tun_id=0x54,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=297.746s, table=0, n_packets=0, n_bytes=0, tun_id=0x52,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.237s, table=0, n_packets=1, n_bytes=78, priority=8192,in_port=1 actions=drop
 cookie=0x0, duration=270.554s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=5 actions=drop
 cookie=0x0, duration=298.172s, table=0, n_packets=20, n_bytes=2188, in_port=1,dl_src=fa:16:3e:0d:06:ab actions=set_field:0x52->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=270.557s, table=0, n_packets=25, n_bytes=2614, in_port=5,dl_src=fa:16:3e:fe:86:e6 actions=set_field:0x54->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=732.463s, table=0, n_packets=6, n_bytes=500, priority=0 actions=goto_table:20
 cookie=0x0, duration=733.381s, table=0, n_packets=183, n_bytes=20191, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=732.470s, table=20, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:30
 cookie=0x0, duration=732.467s, table=30, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:40
 cookie=0x0, duration=732.458s, table=40, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:50
 cookie=0x0, duration=732.452s, table=50, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:60
 cookie=0x0, duration=732.441s, table=60, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:70
 cookie=0x0, duration=732.430s, table=70, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:80
 cookie=0x0, duration=732.420s, table=80, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:90
 cookie=0x0, duration=732.413s, table=90, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:100
 cookie=0x0, duration=732.406s, table=100, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:110
 cookie=0x0, duration=270.535s, table=110, n_packets=18, n_bytes=1558, priority=16384,reg0=0x2,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5
 cookie=0x0, duration=297.820s, table=110, n_packets=18, n_bytes=1558, priority=16384,reg0=0x2,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1
 cookie=0x0, duration=270.527s, table=110, n_packets=10, n_bytes=816, priority=16383,reg0=0x1,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5,output:3,output:4
 cookie=0x0, duration=297.821s, table=110, n_packets=5, n_bytes=390, priority=16383,reg0=0x1,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:3,output:4
 cookie=0x0, duration=270.517s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x54 actions=drop
 cookie=0x0, duration=297.816s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x52 actions=drop
 cookie=0x0, duration=732.390s, table=110, n_packets=6, n_bytes=500, priority=0 actions=drop
 cookie=0x0, duration=199.481s, table=110, n_packets=15, n_bytes=1798, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:4
 cookie=0x0, duration=218.232s, table=110, n_packets=15, n_bytes=1798, tun_id=0x52,dl_dst=fa:16:3e:32:14:79 actions=output:3
 cookie=0x0, duration=270.544s, table=110, n_packets=12, n_bytes=1042, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:5
 cookie=0x0, duration=298.195s, table=110, n_packets=12, n_bytes=1042, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

Compute 1:

vikram@compute1:~/devstack$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=298.610s, table=0, n_packets=15, n_bytes=1798, tun_id=0x52,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=0, n_bytes=0, tun_id=0x52,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=2 actions=drop
 cookie=0x0, duration=298.610s, table=0, n_packets=30, n_bytes=2600, in_port=2,dl_src=fa:16:3e:32:14:79 actions=set_field:0x52->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=36, n_bytes=2994, priority=0 actions=goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=1679, n_bytes=185259, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=298.609s, table=20, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:30
 cookie=0x0, duration=298.610s, table=30, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:40
 cookie=0x0, duration=298.610s, table=40, n_packets=69, n_bytes=6302, priority=0 actions=goto_table:50
 cookie=0x0, duration=298.609s, table=40, n_packets=11, n_bytes=1000, priority=36001,ip,in_port=2,dl_src=fa:16:3e:32:14:79,nw_src=1.0.0.2 actions=goto_table:50
 cookie=0x0, duration=298.609s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=2,tp_src=67,tp_dst=68 actions=drop
 cookie=0x0, duration=298.610s, table=50, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:60
 cookie=0x0, duration=298.610s, table=60, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:70
 cookie=0x0, duration=298.609s, table=70, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:80
 cookie=0x0, duration=298.610s, table=80, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:90
 cookie=0x0, duration=298.609s, table=90, n_packets=78, n_bytes=6588, priority=0 actions=goto_table:100
 cookie=0x0, duration=298.609s, table=90, n_packets=2, n_bytes=714, priority=61006,udp,dl_src=fa:16:3e:0d:06:ab,tp_src=67,tp_dst=68 actions=goto_table:100
 cookie=0x0, duration=298.609s, table=100, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:110
 cookie=0x0, duration=298.609s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x52 actions=drop
 cookie=0x0, duration=298.610s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2
 cookie=0x0, duration=298.610s, table=110, n_packets=18, n_bytes=1558, priority=16383,reg0=0x1,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,output:1,output:4
 cookie=0x0, duration=298.610s, table=110, n_packets=35, n_bytes=2904, priority=0 actions=drop
 cookie=0x0, duration=298.610s, table=110, n_packets=0, n_bytes=0, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:4
 cookie=0x0, duration=298.611s, table=110, n_packets=15, n_bytes=1798, tun_id=0x52,dl_dst=fa:16:3e:32:14:79 actions=output:2
 cookie=0x0, duration=298.611s, table=110, n_packets=0, n_bytes=0, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:1
 cookie=0x0, duration=298.611s, table=110, n_packets=12, n_bytes=1042, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

 

Compute2:

vikram@compute2:~/devstack$  sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=238.077s, table=0, n_packets=0, n_bytes=0, tun_id=0x54,in_port=2 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=238.100s, table=0, n_packets=15, n_bytes=1798, tun_id=0x54,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=238.146s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=3 actions=drop
 cookie=0x0, duration=238.150s, table=0, n_packets=30, n_bytes=2600, in_port=3,dl_src=fa:16:3e:df:52:36 actions=set_field:0x54->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=406.202s, table=0, n_packets=18, n_bytes=1436, priority=0 actions=goto_table:20
 cookie=0x0, duration=408.075s, table=0, n_packets=166, n_bytes=18528, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=406.194s, table=20, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:30
 cookie=0x0, duration=406.190s, table=30, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:40
 cookie=0x0, duration=406.174s, table=40, n_packets=51, n_bytes=4744, priority=0 actions=goto_table:50
 cookie=0x0, duration=238.160s, table=40, n_packets=11, n_bytes=1000, priority=36001,ip,in_port=3,dl_src=fa:16:3e:df:52:36,nw_src=2.0.0.2 actions=goto_table:50
 cookie=0x0, duration=238.167s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=3,tp_src=67,tp_dst=68 actions=drop
 cookie=0x0, duration=406.170s, table=50, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:60
 cookie=0x0, duration=406.165s, table=60, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:70
 cookie=0x0, duration=406.160s, table=70, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:80
 cookie=0x0, duration=406.154s, table=80, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:90
 cookie=0x0, duration=406.149s, table=90, n_packets=60, n_bytes=5030, priority=0 actions=goto_table:100
 cookie=0x0, duration=238.174s, table=90, n_packets=2, n_bytes=714, priority=61006,udp,dl_src=fa:16:3e:fe:86:e6,tp_src=67,tp_dst=68 actions=goto_table:100
 cookie=0x0, duration=406.142s, table=100, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:110
 cookie=0x0, duration=238.106s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x54 actions=drop
 cookie=0x0, duration=238.132s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:3
 cookie=0x0, duration=238.120s, table=110, n_packets=18, n_bytes=1558, priority=16383,reg0=0x1,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:3,output:1,output:2
 cookie=0x0, duration=406.128s, table=110, n_packets=17, n_bytes=1346, priority=0 actions=drop
 cookie=0x0, duration=238.140s, table=110, n_packets=15, n_bytes=1798, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:3
 cookie=0x0, duration=309.071s, table=110, n_packets=12, n_bytes=1042, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:1
 cookie=0x0, duration=336.348s, table=110, n_packets=0, n_bytes=0, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

 

Logs are attached

 

 

Thanks

Vikram

 

 

 

 

 

 

 

 

 



This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com


Vikram
 

Hi Ravi

 

Thanks for sharing the configuration files, vll try and let you know

 

Can you please tell me whether we need to enable Kernel IP Forwarding for L3 to work in ODL.

 

FYI

I don't have multiple NIC cards and running 1 compute node in VM1 and openstack controller in VM2 of my laptop and another compute and ODL in two different VM's on the other PC.

 

 net.ipv4.ip_forward=1

 

 

Thanks

Vikram


From: Ravi_Sabapathy@... [Ravi_Sabapathy@...]
Sent: 09 September 2015 00:29:47
To: Vikram Darsi; ovsdb-dev@...; ovsdb-users@...
Subject: RE: [ovsdb-dev] Not successful in enabling L3 on ODL (Stable Kilo with ODL Lithium SR1 )

Hi,

 

              I could see a Null pointer exception while programming tunnel rules and it is related to L2. In your case the missing flows are related to DVR and L3_forwarding.

 

Please restart the setup (run ./unstack.sh and ./clean.sh) and bring-up from scratch. I have attached my sample conf files, which I have used for testing Vxlan (Cross verify them with yours).  I could see many PORT DELETE southbound and OVSDB Disconnect messages. Did you delete any network/port/ovsdbconnection? I hope GRE tunnel is created and the entry is present in “sudo ovs-vsctl show” output.

             

I could not see any real issue in your setup from the karaf logs.

 

 

Logs:

java.lang.NullPointerException

                  at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.programTunnelRules(OF13Provider.java:877)                  [285:org.opendaylight.ovsdb.openstack.net-virt-providers:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.handleInterfaceUpdate(OF13Provider.java:1090)[285:org.opendaylight.ovsdb.openstack.net-virt-providers:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.handleInterfaceUpdate(SouthboundHandler.java:86)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processPortUpdate(SouthboundHandler.java:300)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processPortEvent(SouthboundHandler.java:287)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processEvent(SouthboundHandler.java:232)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl.dispatchEvent(EventDispatcherImpl.java:97)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl.access$100(EventDispatcherImpl.java:30)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl$1.run(EventDispatcherImpl.java:59)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_80]

                  at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_80]

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_80]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_80]

                  at java.lang.Thread.run(Thread.java:745)[:1.7.0_80]

 

Regards,

Ravi

 

From: ovsdb-dev-bounces@... [mailto:ovsdb-dev-bounces@...] On Behalf Of Vikram Darsi
Sent: Friday, September 04, 2015 6:27 PM
To: ovsdb-dev@...; ovsdb-users@...
Subject: [ovsdb-dev] Not successful in enabling L3 on ODL (Stable Kilo with ODL Lithium SR1 )

 

Hi

 

I have two machines  where in I simulated Multi node setup (2 compute nodes + 1 openstack controller + 1 Opendaylight)

 

Integrated stable kilo devstack and latest release of ODL Lithium SR1 to use ODL as neutron backend and L3 forwarder.

 

 

1. Able to create networks (net1 and net2) 

2. Able to launch VM's on the compute Nodes (VM1 in CN1 attached to net1 && VM2 in CN2 attached to net2)

3. Not able to ping between VM's, VM1 and VM2 

  • GRE is the network type
  • Enabled L3 forwarding in ODL - etc/custom.properties
  • Some more attributes are added in Openstack controller to inform it that we are using L3 from ODL

local.conf files can be downloaded from here

 

compute Node local.conf : http://fpaste.org/263578/44136961/

password 12345

 

Controller Node local.conf : http://fpaste.org/263580/44136973/

password 12345

 

 

I am following the links : http://www.flaviof.com/blog/work/how-to-odl-with-openstack-part2.html

                                  http://www.flaviof.com/blog/work/how-to-odl-with-openstack-part1.html

 

 

As told in the link, when the gre tunnel is created, flows are populated in table 0 and table 110 across all the nodes and when the router is created and network interfaces are attached to it from Horizon UI

table 60 and 70 are not populated with L3 entries.

 

 

 

Controller :

vikram@vikram:~/devstack$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=270.507s, table=0, n_packets=0, n_bytes=0, tun_id=0x54,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=297.807s, table=0, n_packets=30, n_bytes=2600, tun_id=0x52,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=270.483s, table=0, n_packets=30, n_bytes=2600, tun_id=0x54,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=297.746s, table=0, n_packets=0, n_bytes=0, tun_id=0x52,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.237s, table=0, n_packets=1, n_bytes=78, priority=8192,in_port=1 actions=drop
 cookie=0x0, duration=270.554s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=5 actions=drop
 cookie=0x0, duration=298.172s, table=0, n_packets=20, n_bytes=2188, in_port=1,dl_src=fa:16:3e:0d:06:ab actions=set_field:0x52->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=270.557s, table=0, n_packets=25, n_bytes=2614, in_port=5,dl_src=fa:16:3e:fe:86:e6 actions=set_field:0x54->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=732.463s, table=0, n_packets=6, n_bytes=500, priority=0 actions=goto_table:20
 cookie=0x0, duration=733.381s, table=0, n_packets=183, n_bytes=20191, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=732.470s, table=20, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:30
 cookie=0x0, duration=732.467s, table=30, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:40
 cookie=0x0, duration=732.458s, table=40, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:50
 cookie=0x0, duration=732.452s, table=50, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:60
 cookie=0x0, duration=732.441s, table=60, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:70
 cookie=0x0, duration=732.430s, table=70, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:80
 cookie=0x0, duration=732.420s, table=80, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:90
 cookie=0x0, duration=732.413s, table=90, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:100
 cookie=0x0, duration=732.406s, table=100, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:110
 cookie=0x0, duration=270.535s, table=110, n_packets=18, n_bytes=1558, priority=16384,reg0=0x2,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5
 cookie=0x0, duration=297.820s, table=110, n_packets=18, n_bytes=1558, priority=16384,reg0=0x2,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1
 cookie=0x0, duration=270.527s, table=110, n_packets=10, n_bytes=816, priority=16383,reg0=0x1,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5,output:3,output:4
 cookie=0x0, duration=297.821s, table=110, n_packets=5, n_bytes=390, priority=16383,reg0=0x1,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:3,output:4
 cookie=0x0, duration=270.517s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x54 actions=drop
 cookie=0x0, duration=297.816s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x52 actions=drop
 cookie=0x0, duration=732.390s, table=110, n_packets=6, n_bytes=500, priority=0 actions=drop
 cookie=0x0, duration=199.481s, table=110, n_packets=15, n_bytes=1798, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:4
 cookie=0x0, duration=218.232s, table=110, n_packets=15, n_bytes=1798, tun_id=0x52,dl_dst=fa:16:3e:32:14:79 actions=output:3
 cookie=0x0, duration=270.544s, table=110, n_packets=12, n_bytes=1042, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:5
 cookie=0x0, duration=298.195s, table=110, n_packets=12, n_bytes=1042, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

Compute 1:

vikram@compute1:~/devstack$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=298.610s, table=0, n_packets=15, n_bytes=1798, tun_id=0x52,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=0, n_bytes=0, tun_id=0x52,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=2 actions=drop
 cookie=0x0, duration=298.610s, table=0, n_packets=30, n_bytes=2600, in_port=2,dl_src=fa:16:3e:32:14:79 actions=set_field:0x52->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=36, n_bytes=2994, priority=0 actions=goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=1679, n_bytes=185259, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=298.609s, table=20, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:30
 cookie=0x0, duration=298.610s, table=30, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:40
 cookie=0x0, duration=298.610s, table=40, n_packets=69, n_bytes=6302, priority=0 actions=goto_table:50
 cookie=0x0, duration=298.609s, table=40, n_packets=11, n_bytes=1000, priority=36001,ip,in_port=2,dl_src=fa:16:3e:32:14:79,nw_src=1.0.0.2 actions=goto_table:50
 cookie=0x0, duration=298.609s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=2,tp_src=67,tp_dst=68 actions=drop
 cookie=0x0, duration=298.610s, table=50, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:60
 cookie=0x0, duration=298.610s, table=60, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:70
 cookie=0x0, duration=298.609s, table=70, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:80
 cookie=0x0, duration=298.610s, table=80, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:90
 cookie=0x0, duration=298.609s, table=90, n_packets=78, n_bytes=6588, priority=0 actions=goto_table:100
 cookie=0x0, duration=298.609s, table=90, n_packets=2, n_bytes=714, priority=61006,udp,dl_src=fa:16:3e:0d:06:ab,tp_src=67,tp_dst=68 actions=goto_table:100
 cookie=0x0, duration=298.609s, table=100, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:110
 cookie=0x0, duration=298.609s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x52 actions=drop
 cookie=0x0, duration=298.610s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2
 cookie=0x0, duration=298.610s, table=110, n_packets=18, n_bytes=1558, priority=16383,reg0=0x1,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,output:1,output:4
 cookie=0x0, duration=298.610s, table=110, n_packets=35, n_bytes=2904, priority=0 actions=drop
 cookie=0x0, duration=298.610s, table=110, n_packets=0, n_bytes=0, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:4
 cookie=0x0, duration=298.611s, table=110, n_packets=15, n_bytes=1798, tun_id=0x52,dl_dst=fa:16:3e:32:14:79 actions=output:2
 cookie=0x0, duration=298.611s, table=110, n_packets=0, n_bytes=0, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:1
 cookie=0x0, duration=298.611s, table=110, n_packets=12, n_bytes=1042, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

 

Compute2:

vikram@compute2:~/devstack$  sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=238.077s, table=0, n_packets=0, n_bytes=0, tun_id=0x54,in_port=2 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=238.100s, table=0, n_packets=15, n_bytes=1798, tun_id=0x54,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=238.146s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=3 actions=drop
 cookie=0x0, duration=238.150s, table=0, n_packets=30, n_bytes=2600, in_port=3,dl_src=fa:16:3e:df:52:36 actions=set_field:0x54->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=406.202s, table=0, n_packets=18, n_bytes=1436, priority=0 actions=goto_table:20
 cookie=0x0, duration=408.075s, table=0, n_packets=166, n_bytes=18528, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=406.194s, table=20, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:30
 cookie=0x0, duration=406.190s, table=30, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:40
 cookie=0x0, duration=406.174s, table=40, n_packets=51, n_bytes=4744, priority=0 actions=goto_table:50
 cookie=0x0, duration=238.160s, table=40, n_packets=11, n_bytes=1000, priority=36001,ip,in_port=3,dl_src=fa:16:3e:df:52:36,nw_src=2.0.0.2 actions=goto_table:50
 cookie=0x0, duration=238.167s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=3,tp_src=67,tp_dst=68 actions=drop
 cookie=0x0, duration=406.170s, table=50, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:60
 cookie=0x0, duration=406.165s, table=60, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:70
 cookie=0x0, duration=406.160s, table=70, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:80
 cookie=0x0, duration=406.154s, table=80, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:90
 cookie=0x0, duration=406.149s, table=90, n_packets=60, n_bytes=5030, priority=0 actions=goto_table:100
 cookie=0x0, duration=238.174s, table=90, n_packets=2, n_bytes=714, priority=61006,udp,dl_src=fa:16:3e:fe:86:e6,tp_src=67,tp_dst=68 actions=goto_table:100
 cookie=0x0, duration=406.142s, table=100, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:110
 cookie=0x0, duration=238.106s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x54 actions=drop
 cookie=0x0, duration=238.132s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:3
 cookie=0x0, duration=238.120s, table=110, n_packets=18, n_bytes=1558, priority=16383,reg0=0x1,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:3,output:1,output:2
 cookie=0x0, duration=406.128s, table=110, n_packets=17, n_bytes=1346, priority=0 actions=drop
 cookie=0x0, duration=238.140s, table=110, n_packets=15, n_bytes=1798, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:3
 cookie=0x0, duration=309.071s, table=110, n_packets=12, n_bytes=1042, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:1
 cookie=0x0, duration=336.348s, table=110, n_packets=0, n_bytes=0, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

 

Logs are attached

 

 

Thanks

Vikram

 

 

 

 

 

 

 

 

 



This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com



This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com


Ravi Shankar S
 

Hi,

When stack.sh is executed, I could see net.ipv4.ip_forward(2015-08-23 14:51:27.571 | net.ipv4.ip_forward = 1) being set in logs.

 

Possible Issues in your setup:

 

1.       In your setup all the nodes run as a VM across 2 physical machines. If the VM’s VNIC is not connected to the physical interface of the host machines, please connect it by following the links  [1]/[2]. In the below picture, instead of external network you have another machine which will run 2 VM’s for compute and ODL (This is how your setup should look).

 

2.       In the control nodes local.conf HOST_IP and SERVICE_HOST are not configured and it should be control nodes IP.

3.       In the compute nodes conf file SERVICE_HOST IP should be control nodes IP.

4.        After doing the above setup try to create single VM per compute node across 2 machines for same tenant. Check if the ping between VM’s works or not. With this we can be sure that the ping works across the 2 machines.

a.       If it is not working use tcpdump to check where the packet is dropping.

 

[1]http://www.innervoice.in/blogs/2013/12/02/linux-bridge-virtual-networking/

[2] https://blogs.oracle.com/ronen/entry/diving_into_openstack_network_architecture1

If everything works fine, then try ping between different tenants.

 

Regards,

Ravi

 

From: Vikram Darsi [mailto:vikram.darsi@...]
Sent: Wednesday, September 09, 2015 4:55 PM
To: Sabapathy, Ravi <Ravi_Sabapathy@...>; ovsdb-dev@...; ovsdb-users@...
Subject: RE: [ovsdb-dev] Not successful in enabling L3 on ODL (Stable Kilo with ODL Lithium SR1 )

 

Hi Ravi

 

Thanks for sharing the configuration files, vll try and let you know

 

Can you please tell me whether we need to enable Kernel IP Forwarding for L3 to work in ODL.

 

FYI

I don't have multiple NIC cards and running 1 compute node in VM1 and openstack controller in VM2 of my laptop and another compute and ODL in two different VM's on the other PC.

 

 net.ipv4.ip_forward=1

 

 

Thanks

Vikram


From: Ravi_Sabapathy@... [Ravi_Sabapathy@...]
Sent: 09 September 2015 00:29:47
To: Vikram Darsi; ovsdb-dev@...; ovsdb-users@...
Subject: RE: [ovsdb-dev] Not successful in enabling L3 on ODL (Stable Kilo with ODL Lithium SR1 )

Hi,

 

              I could see a Null pointer exception while programming tunnel rules and it is related to L2. In your case the missing flows are related to DVR and L3_forwarding.

 

Please restart the setup (run ./unstack.sh and ./clean.sh) and bring-up from scratch. I have attached my sample conf files, which I have used for testing Vxlan (Cross verify them with yours).  I could see many PORT DELETE southbound and OVSDB Disconnect messages. Did you delete any network/port/ovsdbconnection? I hope GRE tunnel is created and the entry is present in “sudo ovs-vsctl show” output.

             

I could not see any real issue in your setup from the karaf logs.

 

 

Logs:

java.lang.NullPointerException

                  at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.programTunnelRules(OF13Provider.java:877)                  [285:org.opendaylight.ovsdb.openstack.net-virt-providers:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.OF13Provider.handleInterfaceUpdate(OF13Provider.java:1090)[285:org.opendaylight.ovsdb.openstack.net-virt-providers:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.handleInterfaceUpdate(SouthboundHandler.java:86)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processPortUpdate(SouthboundHandler.java:300)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processPortEvent(SouthboundHandler.java:287)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.processEvent(SouthboundHandler.java:232)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl.dispatchEvent(EventDispatcherImpl.java:97)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl.access$100(EventDispatcherImpl.java:30)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at org.opendaylight.ovsdb.openstack.netvirt.impl.EventDispatcherImpl$1.run(EventDispatcherImpl.java:59)[284:org.opendaylight.ovsdb.openstack.net-virt:1.1.1.Lithium-SR1]

                  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_80]

                  at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_80]

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_80]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_80]

                  at java.lang.Thread.run(Thread.java:745)[:1.7.0_80]

 

Regards,

Ravi

 

From: ovsdb-dev-bounces@... [mailto:ovsdb-dev-bounces@...] On Behalf Of Vikram Darsi
Sent: Friday, September 04, 2015 6:27 PM
To: ovsdb-dev@...; ovsdb-users@...
Subject: [ovsdb-dev] Not successful in enabling L3 on ODL (Stable Kilo with ODL Lithium SR1 )

 

Hi

 

I have two machines  where in I simulated Multi node setup (2 compute nodes + 1 openstack controller + 1 Opendaylight)

 

Integrated stable kilo devstack and latest release of ODL Lithium SR1 to use ODL as neutron backend and L3 forwarder.

 

 

1. Able to create networks (net1 and net2) 

2. Able to launch VM's on the compute Nodes (VM1 in CN1 attached to net1 && VM2 in CN2 attached to net2)

3. Not able to ping between VM's, VM1 and VM2 

  • GRE is the network type
  • Enabled L3 forwarding in ODL - etc/custom.properties
  • Some more attributes are added in Openstack controller to inform it that we are using L3 from ODL

local.conf files can be downloaded from here

 

compute Node local.conf : http://fpaste.org/263578/44136961/

password 12345

 

Controller Node local.conf : http://fpaste.org/263580/44136973/

password 12345

 

 

I am following the links : http://www.flaviof.com/blog/work/how-to-odl-with-openstack-part2.html

                                  http://www.flaviof.com/blog/work/how-to-odl-with-openstack-part1.html

 

 

As told in the link, when the gre tunnel is created, flows are populated in table 0 and table 110 across all the nodes and when the router is created and network interfaces are attached to it from Horizon UI

table 60 and 70 are not populated with L3 entries.

 

 

 

Controller :

vikram@vikram:~/devstack$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=270.507s, table=0, n_packets=0, n_bytes=0, tun_id=0x54,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=297.807s, table=0, n_packets=30, n_bytes=2600, tun_id=0x52,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=270.483s, table=0, n_packets=30, n_bytes=2600, tun_id=0x54,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=297.746s, table=0, n_packets=0, n_bytes=0, tun_id=0x52,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.237s, table=0, n_packets=1, n_bytes=78, priority=8192,in_port=1 actions=drop
 cookie=0x0, duration=270.554s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=5 actions=drop
 cookie=0x0, duration=298.172s, table=0, n_packets=20, n_bytes=2188, in_port=1,dl_src=fa:16:3e:0d:06:ab actions=set_field:0x52->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=270.557s, table=0, n_packets=25, n_bytes=2614, in_port=5,dl_src=fa:16:3e:fe:86:e6 actions=set_field:0x54->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=732.463s, table=0, n_packets=6, n_bytes=500, priority=0 actions=goto_table:20
 cookie=0x0, duration=733.381s, table=0, n_packets=183, n_bytes=20191, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=732.470s, table=20, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:30
 cookie=0x0, duration=732.467s, table=30, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:40
 cookie=0x0, duration=732.458s, table=40, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:50
 cookie=0x0, duration=732.452s, table=50, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:60
 cookie=0x0, duration=732.441s, table=60, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:70
 cookie=0x0, duration=732.430s, table=70, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:80
 cookie=0x0, duration=732.420s, table=80, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:90
 cookie=0x0, duration=732.413s, table=90, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:100
 cookie=0x0, duration=732.406s, table=100, n_packets=111, n_bytes=10502, priority=0 actions=goto_table:110
 cookie=0x0, duration=270.535s, table=110, n_packets=18, n_bytes=1558, priority=16384,reg0=0x2,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5
 cookie=0x0, duration=297.820s, table=110, n_packets=18, n_bytes=1558, priority=16384,reg0=0x2,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1
 cookie=0x0, duration=270.527s, table=110, n_packets=10, n_bytes=816, priority=16383,reg0=0x1,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:5,output:3,output:4
 cookie=0x0, duration=297.821s, table=110, n_packets=5, n_bytes=390, priority=16383,reg0=0x1,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:3,output:4
 cookie=0x0, duration=270.517s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x54 actions=drop
 cookie=0x0, duration=297.816s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x52 actions=drop
 cookie=0x0, duration=732.390s, table=110, n_packets=6, n_bytes=500, priority=0 actions=drop
 cookie=0x0, duration=199.481s, table=110, n_packets=15, n_bytes=1798, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:4
 cookie=0x0, duration=218.232s, table=110, n_packets=15, n_bytes=1798, tun_id=0x52,dl_dst=fa:16:3e:32:14:79 actions=output:3
 cookie=0x0, duration=270.544s, table=110, n_packets=12, n_bytes=1042, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:5
 cookie=0x0, duration=298.195s, table=110, n_packets=12, n_bytes=1042, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

Compute 1:

vikram@compute1:~/devstack$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=298.610s, table=0, n_packets=15, n_bytes=1798, tun_id=0x52,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=0, n_bytes=0, tun_id=0x52,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=2 actions=drop
 cookie=0x0, duration=298.610s, table=0, n_packets=30, n_bytes=2600, in_port=2,dl_src=fa:16:3e:32:14:79 actions=set_field:0x52->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=36, n_bytes=2994, priority=0 actions=goto_table:20
 cookie=0x0, duration=298.610s, table=0, n_packets=1679, n_bytes=185259, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=298.609s, table=20, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:30
 cookie=0x0, duration=298.610s, table=30, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:40
 cookie=0x0, duration=298.610s, table=40, n_packets=69, n_bytes=6302, priority=0 actions=goto_table:50
 cookie=0x0, duration=298.609s, table=40, n_packets=11, n_bytes=1000, priority=36001,ip,in_port=2,dl_src=fa:16:3e:32:14:79,nw_src=1.0.0.2 actions=goto_table:50
 cookie=0x0, duration=298.609s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=2,tp_src=67,tp_dst=68 actions=drop
 cookie=0x0, duration=298.610s, table=50, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:60
 cookie=0x0, duration=298.610s, table=60, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:70
 cookie=0x0, duration=298.609s, table=70, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:80
 cookie=0x0, duration=298.610s, table=80, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:90
 cookie=0x0, duration=298.609s, table=90, n_packets=78, n_bytes=6588, priority=0 actions=goto_table:100
 cookie=0x0, duration=298.609s, table=90, n_packets=2, n_bytes=714, priority=61006,udp,dl_src=fa:16:3e:0d:06:ab,tp_src=67,tp_dst=68 actions=goto_table:100
 cookie=0x0, duration=298.609s, table=100, n_packets=80, n_bytes=7302, priority=0 actions=goto_table:110
 cookie=0x0, duration=298.609s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x52 actions=drop
 cookie=0x0, duration=298.610s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2
 cookie=0x0, duration=298.610s, table=110, n_packets=18, n_bytes=1558, priority=16383,reg0=0x1,tun_id=0x52,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,output:1,output:4
 cookie=0x0, duration=298.610s, table=110, n_packets=35, n_bytes=2904, priority=0 actions=drop
 cookie=0x0, duration=298.610s, table=110, n_packets=0, n_bytes=0, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:4
 cookie=0x0, duration=298.611s, table=110, n_packets=15, n_bytes=1798, tun_id=0x52,dl_dst=fa:16:3e:32:14:79 actions=output:2
 cookie=0x0, duration=298.611s, table=110, n_packets=0, n_bytes=0, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:1
 cookie=0x0, duration=298.611s, table=110, n_packets=12, n_bytes=1042, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

 

Compute2:

vikram@compute2:~/devstack$  sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=238.077s, table=0, n_packets=0, n_bytes=0, tun_id=0x54,in_port=2 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=238.100s, table=0, n_packets=15, n_bytes=1798, tun_id=0x54,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=238.146s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=3 actions=drop
 cookie=0x0, duration=238.150s, table=0, n_packets=30, n_bytes=2600, in_port=3,dl_src=fa:16:3e:df:52:36 actions=set_field:0x54->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
 cookie=0x0, duration=406.202s, table=0, n_packets=18, n_bytes=1436, priority=0 actions=goto_table:20
 cookie=0x0, duration=408.075s, table=0, n_packets=166, n_bytes=18528, dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=406.194s, table=20, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:30
 cookie=0x0, duration=406.190s, table=30, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:40
 cookie=0x0, duration=406.174s, table=40, n_packets=51, n_bytes=4744, priority=0 actions=goto_table:50
 cookie=0x0, duration=238.160s, table=40, n_packets=11, n_bytes=1000, priority=36001,ip,in_port=3,dl_src=fa:16:3e:df:52:36,nw_src=2.0.0.2 actions=goto_table:50
 cookie=0x0, duration=238.167s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=3,tp_src=67,tp_dst=68 actions=drop
 cookie=0x0, duration=406.170s, table=50, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:60
 cookie=0x0, duration=406.165s, table=60, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:70
 cookie=0x0, duration=406.160s, table=70, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:80
 cookie=0x0, duration=406.154s, table=80, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:90
 cookie=0x0, duration=406.149s, table=90, n_packets=60, n_bytes=5030, priority=0 actions=goto_table:100
 cookie=0x0, duration=238.174s, table=90, n_packets=2, n_bytes=714, priority=61006,udp,dl_src=fa:16:3e:fe:86:e6,tp_src=67,tp_dst=68 actions=goto_table:100
 cookie=0x0, duration=406.142s, table=100, n_packets=62, n_bytes=5744, priority=0 actions=goto_table:110
 cookie=0x0, duration=238.106s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x54 actions=drop
 cookie=0x0, duration=238.132s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:3
 cookie=0x0, duration=238.120s, table=110, n_packets=18, n_bytes=1558, priority=16383,reg0=0x1,tun_id=0x54,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:3,output:1,output:2
 cookie=0x0, duration=406.128s, table=110, n_packets=17, n_bytes=1346, priority=0 actions=drop
 cookie=0x0, duration=238.140s, table=110, n_packets=15, n_bytes=1798, tun_id=0x54,dl_dst=fa:16:3e:df:52:36 actions=output:3
 cookie=0x0, duration=309.071s, table=110, n_packets=12, n_bytes=1042, tun_id=0x54,dl_dst=fa:16:3e:fe:86:e6 actions=output:1
 cookie=0x0, duration=336.348s, table=110, n_packets=0, n_bytes=0, tun_id=0x52,dl_dst=fa:16:3e:0d:06:ab actions=output:1

 

 

Logs are attached

 

 

Thanks

Vikram

 

 

 

 

 

 

 

 

 



This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com



This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com