heidebock
heidebock

Reputation: 23

opendaylight bgp-linkstate not making "loc-rib"

ODL version: Carbon

I'm having a problem with getting BGP-LS into the Network Topology. As you can see from below REST output, I set up "bgp-example" and homed to an external eBGP linkstate peer. "effective-rib-in", "adj-rib-in", and "adj-rib-out" all populate - but "loc-rib" does not. For some reason, it is not inheriting the linkstate afi/safi.

I tried debugs for bgp & karaf but saw nothing out of the ordinary (that I could see) - any help would be much appreciated.

thanks Erik

*bgp configuration http://192.168.3.42:8181/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/protocols/protocol/openconfig-policy-types:BGP/bgp-example

{
  "protocol": [
    {
      "name": "bgp-example",
      "identifier": "openconfig-policy-types:BGP",
      "bgp-openconfig-extensions:bgp": {
        "global": {
          "config": {
            "router-id": "192.168.3.42",
            "as": 65000
          }
        },
        "neighbors": {
          "neighbor": [
            {
              "neighbor-address": "192.168.3.41",
              "config": {
                "peer-type": "EXTERNAL",
                "peer-as": 65111
              },
              "afi-safis": {
                "afi-safi": [
                  {
                    "afi-safi-name": "bgp-openconfig-extensions:LINKSTATE"
                  }
                ]
              }
            }
          ]
        }
      }
    }
  ]
}

*loc-rib empty http://192.168.3.42:8181/restconf/operational/bgp-rib:bgp-rib/rib/bgp-example/loc-rib

{
  "loc-rib": {
    "tables": [
      {
        "afi": "bgp-types:ipv4-address-family",
        "safi": "bgp-types:unicast-subsequent-address-family",
        "bgp-inet:ipv4-routes": {}
      }
    ]
  }
}

Upvotes: 0

Views: 187

Answers (1)

heidebock
heidebock

Reputation: 23

OK, figured this out.... turns out I had not enabled LINKSTATE afi/safi in the global config for ODL BGP. I had to DELETE my existing global config, then POST, add neighbors, peers, etc. Now I have the linkstate DB in the loc-rib, AND it's made it to the network topology - BUT - no idea how to view this topology via DLUX....

Upvotes: 0

Related Questions