[VPNSERVICE-81] EVPN remote routes are not pushed to ovs flow table Created: 05/Jul/17  Updated: 20/Sep/17  Resolved: 20/Sep/17

Status: Resolved
Project: vpnservice
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: BASAVARAJU CHICKMATH Assignee: Kiran N Upadhyaya
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File EVPN.tar.gz    
Issue Links:
Duplicate
is duplicated by NETVIRT-907 NPE while installing received EVPN flow Resolved
Severity: normal
External issue ID: 8801

 Description   

We have created a inter DC setup and populated few routes from ODL.

ODL VM routes are published to DC-GW but when I added some static routes in DCGW those are not pushed to ovs flows.
I see that those routes are there in the fib.

opendaylight-user@root>fib-show
RD Prefix NextHop Label Origin
-------------------------------------------------------------------
200:1 11.0.0.3/32 11.11.11.250 null l
200:1 11.0.0.5/32 11.11.11.236 null l
200:1 11.0.0.2/32 11.11.11.250 null l
200:1 11.0.0.4/32 11.11.11.236 null l
200:1 12.0.0.0/24 11.11.11.236 0 c
200:1 11.0.0.0/24 11.11.11.236 0 c
200:1 12.0.0.2/32 11.11.11.250 null l
200:1 2.2.2.236/32 10.164.24.236 null b
200:1 12.0.0.3/32 11.11.11.250 null l
200:1 12.0.0.5/32 11.11.11.236 null l
200:1 12.0.0.4/32 11.11.11.236 null l
opendaylight-user@root>

2.2.2.236 is the DC-GW static entry

below is the odl-fib config entry.

{
"destPrefix": "2.2.2.236/32",
"gateway_mac_address": "aa:bb:cc:dd:ee:ff",
"l3vni": 4,
"origin": "b",
"encap-type": "vxlan",
"route-paths": [

{ "nexthop-address": "10.164.24.236" }

]
},

stack@XFT11-FT-BASAV-CSS1:~/devstack$ flows | grep -i table=21,
cookie=0x8000003, duration=1819.505s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=11.0.0.5 actions=set_field:fa:16:3e:c6:9c:92->eth_dst,set_field:0x409->tun_id,load:0x100->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=1819.505s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=11.0.0.4 actions=set_field:fa:16:3e:e5:7d:c0->eth_dst,set_field:0x409->tun_id,load:0x100->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=1819.185s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=11.0.0.2 actions=group:150002
cookie=0x8000003, duration=1819.185s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=11.0.0.3 actions=group:150003
cookie=0x8000003, duration=1793.940s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=12.0.0.5 actions=set_field:fa:16:3e:6a:4b:4a->eth_dst,set_field:0x446->tun_id,load:0x100->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=1793.940s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=12.0.0.4 actions=set_field:fa:16:3e:49:7d:86->eth_dst,set_field:0x446->tun_id,load:0x100->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=1793.514s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=12.0.0.2 actions=group:150004
cookie=0x8000003, duration=1793.514s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=12.0.0.3 actions=group:150005
cookie=0x8000003, duration=1819.569s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d40/0xfffffe,nw_dst=11.0.0.0/24 actions=write_metadata:0x1389030d40/0xfffffffffe,goto_table:22
cookie=0x8000003, duration=1793.940s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d40/0xfffffe,nw_dst=12.0.0.0/24 actions=write_metadata:0x138a030d40/0xfffffffffe,goto_table:22
stack@XFT11-FT-BASAV-CSS1:~/devstack$



 Comments   
Comment by BASAVARAJU CHICKMATH [ 05/Jul/17 ]

Attachment EVPN.tar.gz has been added with description: ODL logs

Comment by Kiran N Upadhyaya [ 05/Jul/17 ]

https://git.opendaylight.org/gerrit/#/c/59974

Comment by Kiran N Upadhyaya [ 05/Jul/17 ]

https://git.opendaylight.org/gerrit/#/c/59974

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