-
Bug
-
Resolution: Done
-
None
-
Carbon
-
None
-
Operating System: All
Platform: All
-
8567
Description
==================================================
[l3vpn_ecmp]After adding Extra route ip, new flow are getting added related to this ip itself
and data traffic also doent take the proper load balancing path.
Topology
==================================================
3CSS, 1 DC-GW, 6VMs, 2VMs on each CSS.
Build used
==================================================
distribution-karaf-0.6.0-20170522.002211-5360.zip
Steps to repro
==================================================
1)Do the basic vxlan configuration for one CSS.
2)Configure mpls over gre.Check it is configured properly.
3)Form bgp neigborship between Controller and DC-GW and check check bgp neighborship.
4)Configure two VMs on CSS-1, CSS-2 and CSS-3 using nova command.
5)Configure bgvpn update with one rd.Check whether it is advertised to DC-GW.
6)Configure extra route using "router update command"
neutron router-update ROUTER1 --routes type=dict list=true destination=200.0.0.0/24,nexthop=10.10.10.2
destination=200.0.0.0/24,nexthop=10.10.10.3 destination=201.0.0.0/24,nexthop=10.10.10.4
destination=201.0.0.0/24,nexthop=10.10.10.5 destination=200.0.0.0/24,nexthop=10.10.10.4
Here, 10.10.10.2 and 10.10.10.3 are in CSS-1,
10.10.10.4 and 10.10.10.5 in CSS-2
10.10.10.6 and 10.10.10.7 are in CSS-3.
7)Check these VM entries updated in "show ip route" in vpn context.
8)Configure a static ip ( extra route) on VM-1 in DPN1.
ifconfig eth0:0 200.0.0.2 up
9)Also configure a static ip ( extra route) on VM-4 in DPN2.
ifconfig eth0:0 200.0.0.3 up
10)Ping 200.0.0.2 from a VM in CSS-3
10)Check the extra routes are also advertised to SER.
11) Ping 200.0.0.3 from 200.0.0.2, it works. statistics also updated.
12)Check the flow table on CSS-3
root@Ubuntu-63:~# flows | grep table=21, | grep 200.0.0
cookie=0x8000003, duration=1461.308s, table=21, n_packets=1152, n_bytes=112896, priority=42,ip,metadata=0x30d6a/0xfffffe,nw_dst=200.0.0.2 actions=group:150010
cookie=0x8000003, duration=1456.338s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d6a/0xfffffe,nw_dst=200.0.0.4 actions=group:150004
cookie=0x8000003, duration=1609.204s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d6a/0xfffffe,nw_dst=200.0.0.0/24 actions=group:150022
root@Ubuntu-63:~#
root@Ubuntu-63:~# groups
OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
group_id=150000,type=select,bucket=weight:0,actions=resubmit(,220),set_field:0->tun_id,load:0xa00->NXM_NX_REG6[],move:NXM_NX_REG0[0..19]->OXM_OF_MPLS_LABEL[],push_mpls:0x8847
group_id=5000,type=all,bucket=actions=CONTROLLER:65535,bucket=actions=resubmit(,17),bucket=actions=resubmit(,81)
group_id=150006,type=all,bucket=actions=resubmit(,220),set_field:fa:16:3e:67:d0:15->eth_dst,load:0x1700->NXM_NX_REG6[],set_field:fa:16:3e:4e:b5:8e->eth_src
group_id=150025,type=all,bucket=actions=resubmit(,220),set_field:fa:16:3e:1d:36:1d->eth_dst,load:0x1c00->NXM_NX_REG6[],set_field:fa:16:3e:20:c4:5b->eth_src
group_id=150004,type=select,bucket=actions=resubmit(,220),set_field:fa:16:3e:54:19:ef->eth_dst,load:0x400->NXM_NX_REG6[],set_field:0x186ae->tun_id
group_id=150017,type=select,bucket=actions=resubmit(,220),set_field:fa:16:3e:cd:9f:85->eth_dst,load:0x400->NXM_NX_REG6[],set_field:0x186ba->tun_id,bucket=actions=resubmit(,220),set_field:fa:16:3e:e5:26:bb->eth_dst,load:0x400->NXM_NX_REG6[],set_field:0x186ba->tun_id
group_id=210001,type=all,bucket=actions=resubmit(,55),set_field:0x1c->tun_id,bucket=actions=resubmit(,55),set_field:0x1d->tun_id
group_id=150022,type=select,bucket=actions=resubmit(,220),set_field:fa:16:3e:c1:8c:44->eth_dst,load:0x500->NXM_NX_REG6[],set_field:0x186ba->tun_id,bucket=actions=resubmit(,220),set_field:fa:16:3e:f7:dc:8c->eth_dst,load:0x500->NXM_NX_REG6[],set_field:0x186ba->tun_id,bucket=actions=resubmit(,220),set_field:fa:16:3e:54:19:ef->eth_dst,load:0x400->NXM_NX_REG6[],set_field:0x186ba->tun_id
group_id=150010,type=select,bucket=actions=resubmit(,220),set_field:fa:16:3e:f7:dc:8c->eth_dst,load:0x500->NXM_NX_REG6[],set_field:0x186a7->tun_id
group_id=210002,type=all,bucket=actions=group:210001,bucket=actions=load:0x400->NXM_NX_REG6[],resubmit(,220),set_field:0x3ff->tun_id,bucket=actions=load:0x500->NXM_NX_REG6[],resubmit(,220),set_field:0x3ff->tun_id
group_id=150005,type=all,bucket=actions=resubmit(,220),set_field:fa:16:3e:d8:67:a4->eth_dst,load:0x1d00->NXM_NX_REG6[],set_field:fa:16:3e:20:c4:5b->eth_src
group_id=150029,type=select,bucket=actions=resubmit(,220),set_field:fa:16:3e:ef:c2:c0->eth_dst,load:0x400->NXM_NX_REG6[],set_field:0x186a0->tun_id,bucket=actions=resubmit(,220),set_field:fa:16:3e:54:19:ef->eth_dst,load:0x400->NXM_NX_REG6[],set_field:0x186a0->tun_id
root@Ubuntu-63:~#
Logs
=====================
Logs attached.
- is duplicated by
-
NETVIRT-696 [l3vpn_ecmp] Groupstats not updated if traffic initiated after deletion and readdition of extra route on VM.
- Resolved