]> git.proxmox.com Git - mirror_frr.git/commit
zebra: evpn l3vni map to vrf nb changes
authorChirag Shah <chirag@cumulusnetworks.com>
Tue, 14 Jul 2020 21:23:48 +0000 (14:23 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Tue, 21 Jul 2020 01:33:38 +0000 (18:33 -0700)
commite2bcfa3946aadc62af53cf53ff8d2f9fe7e5bab1
treedd036bc96304489f7072843987a21c6a8e888855
parentee4b89c784416b9c65f5797a5754a8d3247d3604
zebra: evpn l3vni map to vrf nb changes

The set of northbound changes for l3vni configuration
command under vrf.

vrf x
 vni 1000 prefix-routes-only

{
  "frr-vrf:lib": {
    "vrf": [
      {
        "name": "vrf1",
        "frr-zebra:zebra": {
          "l3vni-id": 4001
        }
      },
      {
        "name": "vrf2",
        "frr-zebra:zebra": {
          "l3vni-id": 4002,
          "prefix-only": true
        }
      }
    ]
  }
}

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
zebra/zebra_nb.c
zebra/zebra_nb.h
zebra/zebra_nb_config.c
zebra/zebra_vty.c
zebra/zebra_vxlan.c
zebra/zebra_vxlan_private.h