Uploaded image for project: 'vpnservice'
  1. vpnservice
  2. VPNSERVICE-81

EVPN remote routes are not pushed to ovs flow table

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • normal
    • 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$

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kiran.n.upadhyaya@ericsson.com Kiran N Upadhyaya
              basavaraju.chickmath@ericsson.com BASAVARAJU CHICKMATH
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: