[NETVIRT-10] net-virt should not flood the packets to compute nodes unless tenant network exists in the compute node Created: 29/Mar/16  Updated: 08/Apr/19  Resolved: 13/Jun/16

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Beryllium
Fix Version/s: None

Type: Bug
Reporter: balakrishnan k Assignee: Hari Prasidh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5614

 Description   

Broadcast packets are flooded to all nodes while creating VM instance in openstack nodes.

control node and 2 compute nodes connected to ODL.

scenario:
1.created 1 network.
2.checked initial flow packet counts are zero in all nodes.
3.created VM instance in control node.
4.checked flows in all nodes packets are flooded to compute nodes but the tenant network not associated with compute nodes because no VM's created on compute nodes using Network.
5.created VM instance on compute node1 and checked flows, compute node2 also getting flooded packets but the tenant network not associated with compute node2 because no VM's created on compute node2 using Network.

DUMP Flows:
initial flow:

[stack@control ~]$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int

OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=1007.240s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=1007.240s, table=0, n_packets=0, n_bytes=0, priority=0 actions=goto_table:20
cookie=0x0, duration=1007.240s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:30
cookie=0x0, duration=1007.240s, table=30, n_packets=0, n_bytes=0, priority=0 actions=goto_table:40
cookie=0x0, duration=1007.240s, table=40, n_packets=0, n_bytes=0, priority=0 actions=goto_table:50
cookie=0x0, duration=1007.240s, table=50, n_packets=0, n_bytes=0, priority=0 actions=goto_table:60
cookie=0x0, duration=1007.240s, table=60, n_packets=0, n_bytes=0, priority=0 actions=goto_table:70
cookie=0x0, duration=1007.240s, table=70, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x0, duration=1007.240s, table=80, n_packets=0, n_bytes=0, priority=0 actions=goto_table:90
cookie=0x0, duration=1007.240s, table=90, n_packets=0, n_bytes=0, priority=0 actions=goto_table:100
cookie=0x0, duration=1007.240s, table=100, n_packets=0, n_bytes=0, priority=0 actions=goto_table:110
cookie=0x0, duration=1007.240s, table=110, n_packets=0, n_bytes=0, priority=0 actions=drop

[stack@compute1 devstack]$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int

OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=1124.967s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=1124.967s, table=0, n_packets=0, n_bytes=0, priority=0 actions=goto_table:20
cookie=0x0, duration=1124.967s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:30
cookie=0x0, duration=1124.967s, table=30, n_packets=0, n_bytes=0, priority=0 actions=goto_table:40
cookie=0x0, duration=1124.967s, table=40, n_packets=0, n_bytes=0, priority=0 actions=goto_table:50
cookie=0x0, duration=1124.967s, table=50, n_packets=0, n_bytes=0, priority=0 actions=goto_table:60
cookie=0x0, duration=1124.967s, table=60, n_packets=0, n_bytes=0, priority=0 actions=goto_table:70
cookie=0x0, duration=1124.967s, table=70, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x0, duration=1124.967s, table=80, n_packets=0, n_bytes=0, priority=0 actions=goto_table:90
cookie=0x0, duration=1124.851s, table=90, n_packets=0, n_bytes=0, priority=0 actions=goto_table:100
cookie=0x0, duration=1124.850s, table=100, n_packets=0, n_bytes=0, priority=0 actions=goto_table:110
cookie=0x0, duration=1124.850s, table=110, n_packets=0, n_bytes=0, priority=0 actions=drop

[stack@compute2 devstack]$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int

OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=1129.459s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=1129.459s, table=0, n_packets=0, n_bytes=0, priority=0 actions=goto_table:20
cookie=0x0, duration=1129.459s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:30
cookie=0x0, duration=1129.459s, table=30, n_packets=0, n_bytes=0, priority=0 actions=goto_table:40
cookie=0x0, duration=1129.459s, table=40, n_packets=0, n_bytes=0, priority=0 actions=goto_table:50
cookie=0x0, duration=1129.459s, table=50, n_packets=0, n_bytes=0, priority=0 actions=goto_table:60
cookie=0x0, duration=1129.459s, table=60, n_packets=0, n_bytes=0, priority=0 actions=goto_table:70
cookie=0x0, duration=1129.459s, table=70, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x0, duration=1129.459s, table=80, n_packets=0, n_bytes=0, priority=0 actions=goto_table:90
cookie=0x0, duration=1129.129s, table=90, n_packets=0, n_bytes=0, priority=0 actions=goto_table:100
cookie=0x0, duration=1129.129s, table=100, n_packets=0, n_bytes=0, priority=0 actions=goto_table:110
cookie=0x0, duration=1129.129s, table=110, n_packets=0, n_bytes=0, priority=0 actions=drop

created one network and checked the connection between nodes
control node ip: 10.106.138.132
compute node1 IP: 10.106.138.131
compute node2 IP: 10.106.138.190

[stack@control ~]$ python MD.py -f --ip 10.106.138.110
aliasMap:
alpha -> openflow:345048876351 br-ex 00:00:00:50:56:84:05:3f
bravo -> openflow:345048876354 br-ex 00:00:00:50:56:84:05:42
charlie -> openflow:345048876352 br-ex 00:00:00:50:56:84:05:40
delta -> openflow:38223519407938 br-int 00:00:22:c3:9b:4b:df:42
echo -> openflow:275961672353609 br-int 00:00:fa:fc:55:73:c7:49
foxtrot -> openflow:20821772288589 br-int 00:00:12:ef:f2:57:42:4d

ovsdbNode:10.106.138.131:46298 mgr:10.106.138.110:6640 version:2.4.0
alpha:br-ex
of:1 eth2
delta:br-int
of:1 vxlan-10.106.138.132
ovsdbNode:10.106.138.132:59043 mgr:10.106.138.110:6640 version:2.4.0
charlie:br-ex
of:1 eth2
of:2 patch-int
echo:br-int
of:1 tap788c42d0-c1 mac:fa:16:3e:7a:65:dc ifaceId:788c42d0-c197-4301-b60c-12ebd6d7de5f
of:2 patch-ext
of:3 vxlan-10.106.138.190
of:4 vxlan-10.106.138.131
ovsdbNode:10.106.138.190:34737 mgr:10.106.138.110:6640 version:2.4.0
bravo:br-ex
of:1 eth2
foxtrot:br-int
of:1 vxlan-10.106.138.132

[stack@control ~]$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=1781.581s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=5.672s, table=0, n_packets=4, n_bytes=320, in_port=1,dl_src=fa:16:3e:7a:65:dc actions=set_field:0x409->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=4.930s, table=0, n_packets=0, n_bytes=0, tun_id=0x409,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=4.882s, table=0, n_packets=0, n_bytes=0, tun_id=0x409,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=5.666s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=1 actions=drop
cookie=0x0, duration=1781.581s, table=0, n_packets=3, n_bytes=258, priority=0 actions=goto_table:20
cookie=0x0, duration=5.716s, table=20, n_packets=0, n_bytes=0, priority=1024,arp,tun_id=0x409,arp_tpa=10.0.0.2,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:7a:65:dc>eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]>NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]>NXM_OF_ARP_TPA[],load:0xfa163e7a65dc->NXM_NX_ARP_SHA[],load:0xa000002->NXM_OF_ARP_SPA[],IN_PORT
cookie=0x0, duration=1781.581s, table=20, n_packets=7, n_bytes=578, priority=0 actions=goto_table:30
cookie=0x0, duration=1781.581s, table=30, n_packets=7, n_bytes=578, priority=0 actions=goto_table:40
cookie=0x0, duration=5.776s, table=40, n_packets=0, n_bytes=0, priority=61012,udp,tp_src=68,tp_dst=67 actions=goto_table:50
cookie=0x0, duration=5.776s, table=40, n_packets=0, n_bytes=0, priority=61012,udp6,tp_src=546,tp_dst=547 actions=goto_table:50
cookie=0x0, duration=1781.581s, table=40, n_packets=7, n_bytes=578, priority=0 actions=goto_table:50
cookie=0x0, duration=1781.581s, table=50, n_packets=7, n_bytes=578, priority=0 actions=goto_table:60
cookie=0x0, duration=1781.581s, table=60, n_packets=7, n_bytes=578, priority=0 actions=goto_table:70
cookie=0x0, duration=1781.581s, table=70, n_packets=7, n_bytes=578, priority=0 actions=goto_table:80
cookie=0x0, duration=1781.581s, table=80, n_packets=7, n_bytes=578, priority=0 actions=goto_table:90
cookie=0x0, duration=1781.581s, table=90, n_packets=7, n_bytes=578, priority=0 actions=goto_table:100
cookie=0x0, duration=1781.581s, table=100, n_packets=7, n_bytes=578, priority=0 actions=goto_table:110
cookie=0x0, duration=5.644s, table=110, n_packets=0, n_bytes=0, tun_id=0x409,dl_dst=fa:16:3e:7a:65:dc actions=output:1
cookie=0x0, duration=4.999s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x409,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1
cookie=0x0, duration=4.981s, table=110, n_packets=2, n_bytes=160, priority=16383,reg0=0x1,tun_id=0x409,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:3,output:4
cookie=0x0, duration=4.950s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x409 actions=drop
cookie=0x0, duration=1781.581s, table=110, n_packets=5, n_bytes=418, priority=0 actions=drop

[stack@compute1 devstack]$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int

OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=3146.836s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=3146.836s, table=0, n_packets=3, n_bytes=230, priority=0 actions=goto_table:20
cookie=0x0, duration=3146.836s, table=20, n_packets=3, n_bytes=230, priority=0 actions=goto_table:30
cookie=0x0, duration=3146.836s, table=30, n_packets=3, n_bytes=230, priority=0 actions=goto_table:40
cookie=0x0, duration=3146.836s, table=40, n_packets=3, n_bytes=230, priority=0 actions=goto_table:50
cookie=0x0, duration=3146.836s, table=50, n_packets=3, n_bytes=230, priority=0 actions=goto_table:60
cookie=0x0, duration=3146.836s, table=60, n_packets=3, n_bytes=230, priority=0 actions=goto_table:70
cookie=0x0, duration=3146.836s, table=70, n_packets=3, n_bytes=230, priority=0 actions=goto_table:80
cookie=0x0, duration=3146.836s, table=80, n_packets=3, n_bytes=230, priority=0 actions=goto_table:90
cookie=0x0, duration=3146.720s, table=90, n_packets=3, n_bytes=230, priority=0 actions=goto_table:100
cookie=0x0, duration=3146.719s, table=100, n_packets=3, n_bytes=230, priority=0 actions=goto_table:110
cookie=0x0, duration=1746.376s, table=110, n_packets=0, n_bytes=0, tun_id=0x409,dl_dst=fa:16:3e:7a:65:dc actions=output:1
cookie=0x0, duration=3146.719s, table=110, n_packets=3, n_bytes=230, priority=0 actions=drop

[stack@compute2 devstack]$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=3155.514s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=3155.514s, table=0, n_packets=3, n_bytes=230, priority=0 actions=goto_table:20
cookie=0x0, duration=3155.514s, table=20, n_packets=3, n_bytes=230, priority=0 actions=goto_table:30
cookie=0x0, duration=3155.514s, table=30, n_packets=3, n_bytes=230, priority=0 actions=goto_table:40
cookie=0x0, duration=3155.514s, table=40, n_packets=3, n_bytes=230, priority=0 actions=goto_table:50
cookie=0x0, duration=3155.514s, table=50, n_packets=3, n_bytes=230, priority=0 actions=goto_table:60
cookie=0x0, duration=3155.514s, table=60, n_packets=3, n_bytes=230, priority=0 actions=goto_table:70
cookie=0x0, duration=3155.514s, table=70, n_packets=3, n_bytes=230, priority=0 actions=goto_table:80
cookie=0x0, duration=3155.514s, table=80, n_packets=3, n_bytes=230, priority=0 actions=goto_table:90
cookie=0x0, duration=3155.184s, table=90, n_packets=3, n_bytes=230, priority=0 actions=goto_table:100
cookie=0x0, duration=3155.184s, table=100, n_packets=3, n_bytes=230, priority=0 actions=goto_table:110
cookie=0x0, duration=1769.478s, table=110, n_packets=0, n_bytes=0, tun_id=0x409,dl_dst=fa:16:3e:7a:65:dc actions=output:1
cookie=0x0, duration=3155.184s, table=110, n_packets=3, n_bytes=230, priority=0 actions=drop

VM creation:
Created one VM in the control node then checked flows.
After VM creation the DCHP broadcast sent to compute nodes

control node:
[stack@control ~]$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=4587.617s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=2811.709s, table=0, n_packets=5, n_bytes=390, in_port=1,dl_src=fa:16:3e:7a:65:dc actions=set_field:0x409->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=0.728s, table=0, n_packets=0, n_bytes=0, in_port=5,dl_src=fa:16:3e:86:fe:c8 actions=set_field:0x409->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=2810.967s, table=0, n_packets=0, n_bytes=0, tun_id=0x409,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=2810.919s, table=0, n_packets=0, n_bytes=0, tun_id=0x409,in_port=4 actions=load:0x2->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=2811.703s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=1 actions=drop
cookie=0x0, duration=0.724s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=5 actions=drop
cookie=0x0, duration=4587.618s, table=0, n_packets=3, n_bytes=258, priority=0 actions=goto_table:20
cookie=0x0, duration=4.559s, table=20, n_packets=0, n_bytes=0, priority=1024,arp,tun_id=0x409,arp_tpa=10.0.0.3,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:86:fe:c8>eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]>NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]>NXM_OF_ARP_TPA[],load:0xfa163e86fec8->NXM_NX_ARP_SHA[],load:0xa000003->NXM_OF_ARP_SPA[],IN_PORT
cookie=0x0, duration=2811.753s, table=20, n_packets=0, n_bytes=0, priority=1024,arp,tun_id=0x409,arp_tpa=10.0.0.2,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:7a:65:dc>eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]>NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]>NXM_OF_ARP_TPA[],load:0xfa163e7a65dc->NXM_NX_ARP_SHA[],load:0xa000002->NXM_OF_ARP_SPA[],IN_PORT
cookie=0x0, duration=4587.618s, table=20, n_packets=8, n_bytes=648, priority=0 actions=goto_table:30
cookie=0x0, duration=4587.618s, table=30, n_packets=8, n_bytes=648, priority=0 actions=goto_table:40
cookie=0x0, duration=2811.813s, table=40, n_packets=0, n_bytes=0, priority=61012,udp,tp_src=68,tp_dst=67 actions=goto_table:50
cookie=0x0, duration=2811.813s, table=40, n_packets=0, n_bytes=0, priority=61012,udp6,tp_src=546,tp_dst=547 actions=goto_table:50
cookie=0x0, duration=0.802s, table=40, n_packets=0, n_bytes=0, priority=61011,udp,in_port=5,tp_src=67,tp_dst=68 actions=drop
cookie=0x0, duration=0.801s, table=40, n_packets=0, n_bytes=0, priority=61011,udp6,in_port=5,tp_src=547,tp_dst=546 actions=drop
cookie=0x0, duration=0.802s, table=40, n_packets=0, n_bytes=0, priority=61010,arp,arp_sha=fa:16:3e:86:fe:c8 actions=goto_table:50
cookie=0x0, duration=0.503s, table=40, n_packets=0, n_bytes=0, priority=61007,ip,dl_src=fa:16:3e:86:fe:c8 actions=goto_table:50
cookie=0x0, duration=0.754s, table=40, n_packets=0, n_bytes=0, priority=36001,ip,in_port=5,dl_src=fa:16:3e:86:fe:c8,nw_src=10.0.0.3 actions=goto_table:50
cookie=0x0, duration=4587.618s, table=40, n_packets=8, n_bytes=648, priority=0 actions=goto_table:50
cookie=0x0, duration=4587.618s, table=50, n_packets=8, n_bytes=648, priority=0 actions=goto_table:60
cookie=0x0, duration=4587.618s, table=60, n_packets=8, n_bytes=648, priority=0 actions=goto_table:70
cookie=0x0, duration=4587.618s, table=70, n_packets=8, n_bytes=648, priority=0 actions=goto_table:80
cookie=0x0, duration=4587.618s, table=80, n_packets=8, n_bytes=648, priority=0 actions=goto_table:90
cookie=0x0, duration=0.862s, table=90, n_packets=0, n_bytes=0, priority=61010,arp,arp_tha=fa:16:3e:86:fe:c8 actions=goto_table:100
cookie=0x0, duration=0.897s, table=90, n_packets=0, n_bytes=0, priority=61006,udp,dl_src=fa:16:3e:7a:65:dc,tp_src=67,tp_dst=68 actions=goto_table:100
cookie=0x0, duration=0.887s, table=90, n_packets=0, n_bytes=0, priority=61006,udp6,dl_src=fa:16:3e:7a:65:dc,tp_src=547,tp_dst=546 actions=goto_table:100
cookie=0x0, duration=4587.618s, table=90, n_packets=8, n_bytes=648, priority=0 actions=goto_table:100
cookie=0x0, duration=4587.618s, table=100, n_packets=8, n_bytes=648, priority=0 actions=goto_table:110
cookie=0x0, duration=2811.681s, table=110, n_packets=0, n_bytes=0, tun_id=0x409,dl_dst=fa:16:3e:7a:65:dc actions=output:1
cookie=0x0, duration=0.709s, table=110, n_packets=0, n_bytes=0, tun_id=0x409,dl_dst=fa:16:3e:86:fe:c8 actions=output:5
cookie=0x0, duration=2811.036s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x409,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:5
cookie=0x0, duration=2811.018s, table=110, n_packets=16, n_bytes=1786, priority=16383,reg0=0x1,tun_id=0x409,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:3,output:4,output:5
cookie=0x0, duration=2810.987s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x409 actions=drop
cookie=0x0, duration=4587.618s, table=110, n_packets=5, n_bytes=418, priority=0 actions=drop

compute node1:

[stack@compute1 devstack]$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=5514.866s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=5514.866s, table=0, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:20
cookie=0x0, duration=5514.866s, table=20, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:30
cookie=0x0, duration=5514.866s, table=30, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:40
cookie=0x0, duration=5514.866s, table=40, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:50
cookie=0x0, duration=5514.866s, table=50, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:60
cookie=0x0, duration=5514.866s, table=60, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:70
cookie=0x0, duration=5514.866s, table=70, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:80
cookie=0x0, duration=5514.866s, table=80, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:90
cookie=0x0, duration=5514.750s, table=90, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:100
cookie=0x0, duration=5514.749s, table=100, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:110
cookie=0x0, duration=4114.406s, table=110, n_packets=0, n_bytes=0, tun_id=0x409,dl_dst=fa:16:3e:7a:65:dc actions=output:1
cookie=0x0, duration=1304.120s, table=110, n_packets=0, n_bytes=0, tun_id=0x409,dl_dst=fa:16:3e:86:fe:c8 actions=output:1
cookie=0x0, duration=5514.749s, table=110, n_packets=20, n_bytes=1746, priority=0 actions=drop

compute node2:

[stack@compute2 devstack]$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=5511.708s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=5511.708s, table=0, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:20
cookie=0x0, duration=5511.708s, table=20, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:30
cookie=0x0, duration=5511.708s, table=30, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:40
cookie=0x0, duration=5511.708s, table=40, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:50
cookie=0x0, duration=5511.708s, table=50, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:60
cookie=0x0, duration=5511.708s, table=60, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:70
cookie=0x0, duration=5511.708s, table=70, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:80
cookie=0x0, duration=5511.708s, table=80, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:90
cookie=0x0, duration=5511.378s, table=90, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:100
cookie=0x0, duration=5511.378s, table=100, n_packets=20, n_bytes=1746, priority=0 actions=goto_table:110
cookie=0x0, duration=4125.672s, table=110, n_packets=0, n_bytes=0, tun_id=0x409,dl_dst=fa:16:3e:7a:65:dc actions=output:1
cookie=0x0, duration=1315.377s, table=110, n_packets=0, n_bytes=0, tun_id=0x409,dl_dst=fa:16:3e:86:fe:c8 actions=output:1
cookie=0x0, duration=5511.378s, table=110, n_packets=20, n_bytes=1746, priority=0 actions=drop



 Comments   
Comment by balakrishnan k [ 07/Apr/16 ]

All type of Broadcast and Multicast Packets are sent to all openstack nodes except ARP Broadcast.

Tested scenario:
Broadcast Test:
1. Created 2 networks
2. 2VM’s using network1 (1VM in control node and 1VM in compute node1)
3. 2VM’s using network2 (1VM in control node and 1VM in compute node1)
4. Generated broadcast packets(ping -f -b -i 5 10.0.0.255) from the VM instance present in control node and observed flows.
Broadcast packets are sent to compute node1 and compute node2.
in Compute node2 VM's are not present but the Broadcast packets are received.

Multicast Test:
1. Created 3 networks
2. 2VM’s using network1 (1VM in control node and 1VM in compute node1)
3. 2VM’s using network2 (1VM in control node and 1VM in compute node1)
4. 2VM’s using network3 (1VM in control node and 1VM in compute node2)
5. Generated broadcast packets using VM present in network3 and observed flows."client: iperf -c 30.0.0.2 -u -T 32 -t 3 -i 1, server:iperf -s -u -B 30.0.0.2 -i 1"

in this scenario expected Multicast packets sent to control node and compute node1. But all nodes receiving the packets.

Comment by Sam Hague [ 24/May/16 ]

be: https://git.opendaylight.org/gerrit/38137

b: https://git.opendaylight.org/gerrit/38509

Comment by SUDHAKAR ANNADURAI [ 13/Jun/16 ]

review comments addressed

Generated at Wed Feb 07 20:20:28 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.