|
With the latest netvirt code (i.e., feature: odl-netvirt-openstack), I'm seeing that ARP resolution is not working.
Setup details:
1. All in one setup (control+compute) created using devstack.
2. External ODL Controller.
OpenStack commands:
1. neutron net-create n1
2. neutron subnet-create --name s1 n1 10.1.1.0/24
3. neutron router-create r1
4. neutron router-interface-add r1 s1
5. Spawn a VM on the network n1.
6. VM successfully acquires IP via DHCP. But ARP resolution for 10.1.1.1 fails.
Ovs-flows:
Note: You may find the serviceIds to be different - this is because I have cherry-picked the following patch[1] on top of latest netvirt when I captured these flows.
The behavior is same even without the cherry-pick[1].
[1] https://git.opendaylight.org/gerrit/#/c/42776/
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x8000000, duration=50.787s, table=0, n_packets=8, n_bytes=648, priority=4,in_port=10 actions=write_metadata:0x10000000000/0xffffff0000000000,goto_table:17
cookie=0x8000000, duration=25.157s, table=0, n_packets=11, n_bytes=774, priority=4,in_port=11 actions=write_metadata:0x20000000000/0xffffff0000000000,goto_table:17
cookie=0x8040000, duration=49.978s, table=17, n_packets=6, n_bytes=480, priority=6,metadata=0xc000010000000000/0xffffff0000000000 actions=write_metadata:0xe000011388000000,goto_table:50
cookie=0x8000001, duration=47.595s, table=17, n_packets=2, n_bytes=140, priority=2,metadata=0x4000010000000000/0xffffff0000000000 actions=write_metadata:0xc000010000011170,goto_table:21
cookie=0x6800001, duration=47.593s, table=17, n_packets=8, n_bytes=648, priority=1,metadata=0x10000000000/0xffffff0000000000 actions=write_metadata:0x4000010000000000,goto_table:19
cookie=0x6800001, duration=25.007s, table=17, n_packets=11, n_bytes=774, priority=1,metadata=0x20000000000/0xffffff0000000000 actions=write_metadata:0x4000020000000000,goto_table:19
cookie=0x8000001, duration=24.996s, table=17, n_packets=10, n_bytes=684, priority=2,metadata=0x4000020000000000/0xffffff0000000000 actions=write_metadata:0xc000020000011170,goto_table:21
cookie=0x8040000, duration=24.996s, table=17, n_packets=10, n_bytes=684, priority=6,metadata=0xc000020000000000/0xffffff0000000000 actions=write_metadata:0xe000021388000000,goto_table:50
cookie=0x6800000, duration=97.459s, table=18, n_packets=0, n_bytes=0, priority=0 actions=goto_table:38
cookie=0x6800000, duration=50.643s, table=19, n_packets=0, n_bytes=0, priority=50,udp,dl_src=fa:16:3e:bf:42:98,tp_src=68,tp_dst=67 actions=write_actions(CONTROLLER:65535)
cookie=0x6800000, duration=25.064s, table=19, n_packets=0, n_bytes=0, priority=50,udp,dl_src=fa:16:3e:12:54:1d,tp_src=68,tp_dst=67 actions=write_actions(CONTROLLER:65535)
cookie=0x6800000, duration=97.459s, table=19, n_packets=19, n_bytes=1422, priority=0 actions=resubmit(,17)
cookie=0x1030000, duration=97.141s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x8000003, duration=97.133s, table=21, n_packets=12, n_bytes=824, priority=0 actions=goto_table:80
cookie=0x8000004, duration=97.109s, table=22, n_packets=0, n_bytes=0, priority=0 actions=CONTROLLER:65535
cookie=0x9000001, duration=49.994s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x1 actions=output:10
cookie=0x9001388, duration=49.994s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x1388 actions=write_actions(group:209999)
cookie=0x9000002, duration=25.018s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x2 actions=output:11
cookie=0x9051388, duration=50.775s, table=38, n_packets=0, n_bytes=0, priority=5,tun_id=0x3f5 actions=write_metadata:0x1388000000/0x1fffffffff000000,goto_table:51
cookie=0x6900000, duration=100.605s, table=40, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x6900000, duration=100.605s, table=41, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x4000000, duration=99.840s, table=45, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17)
cookie=0x8051388, duration=50.003s, table=50, n_packets=6, n_bytes=480, priority=20,metadata=0x11388000000/0x1fffffffff000000,dl_src=fa:16:3e:bf:42:98 actions=goto_table:51
cookie=0x8051388, duration=25.019s, table=50, n_packets=10, n_bytes=684, priority=20,metadata=0x21388000000/0x1fffffffff000000,dl_src=fa:16:3e:12:54:1d actions=goto_table:51
cookie=0x8050000, duration=97.459s, table=50, n_packets=0, n_bytes=0, priority=0 actions=CONTROLLER:65535,goto_table:51
cookie=0x8031388, duration=49.995s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=fa:16:3e:bf:42:98 actions=output:10
cookie=0x8031388, duration=25.019s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=fa:16:3e:12:54:1d actions=output:11
cookie=0x8030000, duration=97.459s, table=51, n_packets=16, n_bytes=1164, priority=0 actions=goto_table:52
cookie=0x8701388, duration=49.994s, table=52, n_packets=16, n_bytes=1164, priority=5,metadata=0x1388000000/0xffff000001 actions=write_actions(group:210000)
cookie=0x8701388, duration=49.994s, table=52, n_packets=0, n_bytes=0, priority=5,metadata=0x1388000001/0xffff000001 actions=write_actions(group:209999)
cookie=0x8800001, duration=50.008s, table=55, n_packets=6, n_bytes=480, priority=10,tun_id=0x1,metadata=0x10000000000/0x1fffff0000000000 actions=drop
cookie=0x8800002, duration=25.021s, table=55, n_packets=10, n_bytes=684, priority=10,tun_id=0x2,metadata=0x20000000000/0x1fffff0000000000 actions=drop
cookie=0x8800001, duration=50.007s, table=55, n_packets=10, n_bytes=684, priority=9,tun_id=0x1 actions=output:10
cookie=0x8800002, duration=25.019s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x2 actions=output:11
cookie=0x8110001, duration=47.618s, table=80, n_packets=0, n_bytes=0, priority=100,arp,metadata=0x6000010000011170/0xffffff00ffffffff,arp_op=1 actions=CONTROLLER:65535,resubmit(,17)
cookie=0x8110001, duration=47.616s, table=80, n_packets=0, n_bytes=0, priority=100,arp,metadata=0x6000010000011170/0xffffff00ffffffff,arp_op=2 actions=CONTROLLER:65535,resubmit(,17)
cookie=0x8110002, duration=25.116s, table=80, n_packets=0, n_bytes=0, priority=100,arp,metadata=0x6000020000011170/0xffffff00ffffffff,arp_op=2 actions=CONTROLLER:65535,resubmit(,17)
cookie=0x8110002, duration=25.116s, table=80, n_packets=0, n_bytes=0, priority=100,arp,metadata=0x6000020000011170/0xffffff00ffffffff,arp_op=1 actions=CONTROLLER:65535,resubmit(,17)
cookie=0x1030000, duration=97.121s, table=80, n_packets=12, n_bytes=824, priority=0 actions=resubmit(,17)
cookie=0x6900000, duration=100.608s, table=251, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x6900000, duration=100.605s, table=252, n_packets=0, n_bytes=0, priority=0 actions=drop
I suspect the match condition in table80 flows.
|