Build #2,392

FreeRangeRouting Protocol Suite

Build: #2392 was successful Changes by Sri Mohana Singamsetty <srimohans@gmail.com>

Code commits

FRR - FreeRangeRouting

  • Sri Mohana Singamsetty <srimohans@gmail.com>

    Sri Mohana Singamsetty <srimohans@gmail.com> 84f4f72638d7f82fbbcb65599d8a27e7ef88bc8c

    Merge pull request #4670 from chiragshah6/evpn_dev1
    bgpd: fix show bgp l2vpn evpn route json

  • Chirag Shah

    Chirag Shah c684d47726fcdca52b84b743a29a1aa303e97b4f m

    bgpd: fix show bgp l2vpn evpn route json
    PR-4544 has introduced a new filed extended community
    in show bgp l2vpn evpn route command.
    The header has missed checking json is enabled.

    Ticket:CM-25581
    Reviewed By:
    Testing Done:

    TORS1# show bgp l2vpn evpn route json
    {
      "27.0.0.15:8":{
        "rd":"27.0.0.15:8",
        "[2]:[0]:[48]:[00:02:00:00:00:0a]":{
          "prefix":"[2]:[0]:[48]:[00:02:00:00:00:0a]",
          "prefixLen":288,
          "paths":[
            [
              {
                "valid":true,
                "bestpath":true,
                "pathFrom":"external",
                "routeType":2,
                "ethTag":0,
                "macLen":48,
                "mac":"00:02:00:00:00:0a",
                "weight":32768,
                "peerId":"(unspec)",
                "aspath":"",
                "path":"",
                "origin":"IGP",
                "extendedCommunity":{
                  "string":"ET:8 RT:5550:1002"
                },
                "nexthops":[
                  {
                    "ip":"27.0.0.15",
                    "afi":"ipv4",
                    "used":true
                  }
                ]
              }
            ]
          ]
        },
       ...
      },
      "numPrefix":187,
      "numPaths":343
    }

    Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>