EVPN remote routes are not pushed to ovs flow table

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$

Environment

Operating System: All
Platform: All

Attachments

1
  • 05 Jul 2017, 10:01 AM

Activity

Show:

Former user July 5, 2017 at 1:32 PM

Former user July 5, 2017 at 1:29 PM

BASAVARAJU CHICKMATH July 5, 2017 at 10:01 AM

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

Done

Details

Assignee

Reporter

Severity (migrated)

normal

External issue ID

Components

Affects versions

Priority

Created July 5, 2017 at 10:01 AM
Updated September 20, 2017 at 2:00 PM
Resolved September 20, 2017 at 2:00 PM