Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-782

Different peer-id on different versions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Fluorine
    • Fluorine
    • BGP
    • None

      Overview peer-id in full rib is different on oxygen and less, where router-id is taken instead of neighbor address/local-address from exabgp. On flurine there is neighbor address as it should be (imo).

      Steps to reproduce

      • install:feature odl-restconf odl-bgpcep-bgp odl-bgpcep-bgp-config-example
      • conf_peer.py (configures internal neighbor ::1)
      • env exabgp.tcp.port=1790 exabgp --debug default.cfg
        (starts exabgp with one ipv6 route)

      In case of <=oxygen peer-id is set to 1.2.3.4 from router-id from exabgp config, even though there is no neighbor configured at that address.
      Fluorine correctly assigns peer-id as ipv6 as is neighbor configuration and local-address in exabgp config.

      fluorine output from full-rib

      {
                "peer-id": "bgp://::1",
                "peer-role": "ibgp",
                "adj-rib-in": {
                  "tables": [
                    {
      

      output from oxygen

      {
                "peer-id": "bgp://1.2.3.4",
                "peer-role": "ibgp",
                "adj-rib-in": {
                  "tables": [
                    {
      

      routes are the same in both cases, and are present in ipv6 topology as well.

        1. conf_peer.py
          1 kB
        2. default.cfg
          0.3 kB
        3. get_ipv6_topology.sh
          0.2 kB

            cdgasparini Claudio David Gasparini
            tomas.markovic Tomas Markovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: