summaryrefslogtreecommitdiff
path: root/yang/frr-bgp.yang
AgeCommit message (Collapse)Author
2023-10-11Revert "yang: add bgp link-state"Donald Sharp
This reverts commit 3cf5ff27155138ad7b7bafd2e815ca1bba5744ea. (cherry picked from commit 9c44816398d5a4710e06f0d7597538bf77aa94b1)
2023-09-18yang: add bgp link-stateLouis Scalbert
Add bgp link-state yang structure Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2023-02-09yang: add SPDX License IDsDavid Lamparter
YANG files get to keep their license boilerplate in addition to the SPDX header, since they are likely to be copied around individually. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-05-23bgpd: fix default for extended-nexthop-capabilityChristian Hopps
The default for extended-nexthop-capability is true for unnumbered (interface) neighbors, false for other types. Break the inner grouping out of the outer neighbor-parameters grouping so that we can refine the default in that uses case. Signed-off-by: Christian Hopps <chopps@gmail.com>
2021-05-21yang: fix BGP multicast prefix typeRafael Zalamena
Fix many of the commands in the `address-family ipv4 multicast` to use the proper type to avoid wrong YANG model validation failures. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2021-05-13lib: adapt to version 2 of libyangChristian Hopps
Compile with v2.0.0 tag of `libyang2` branch of: https://github.com/CESNET/libyang staticd init load time of 10k routes now 6s vs ly1 time of 150s Signed-off-by: Christian Hopps <chopps@labn.net>
2021-03-25yang: add policy support for l2vpn-evpn nbr treeChirag Shah
Add bgp routing policy support for unnumbered and peer-group. For numbered peer the policy support is already present. +--rw bgp! +--rw neighbors | +--rw unnumbered-neighbor* [interface] | +--rw afi-safis | +--rw afi-safi* [afi-safi-name] +--rw l2vpn-evpn | | | +--rw filter-config | | | +--rw rmap-import? frr-route-map:route-map-ref | | | +--rw rmap-export? frr-route-map:route-map-ref | | | +--rw plist-import? frr-bgp-types:plist-ref | | | +--rw plist-export? frr-bgp-types:plist-ref | | | +--rw access-list-import? frr-bgp-types:access-list-ref | | | +--rw access-list-export? frr-bgp-types:access-list-ref | | | +--rw as-path-filter-list-import? frr-bgp-types:as-path-filter-ref | | | +--rw as-path-filter-list-export? frr-bgp-types:as-path-filter-ref | | | +--rw unsuppress-map-import? frr-route-map:route-map-ref | | | +--rw unsuppress-map-export? frr-route-map:route-map-ref ... +--rw peer-groups +--rw peer-group* [peer-group-name] | +--rw afi-safis | +--rw afi-safi* [afi-safi-name] +--rw l2vpn-evpn | | | +--rw filter-config | | | +--rw rmap-import? frr-route-map:route-map-ref | | | +--rw rmap-export? frr-route-map:route-map-ref | | | +--rw plist-import? frr-bgp-types:plist-ref | | | +--rw plist-export? frr-bgp-types:plist-ref | | | +--rw access-list-import? frr-bgp-types:access-list-ref | | | +--rw access-list-export? frr-bgp-types:access-list-ref | | | +--rw as-path-filter-list-import? frr-bgp-types:as-path-filter-ref | | | +--rw as-path-filter-list-export? frr-bgp-types:as-path-filter-ref | | | +--rw unsuppress-map-import? frr-route-map:route-map-ref | | | +--rw unsuppress-map-export? frr-route-map:route-map-ref ... Signed-off-by: Chirag Shah <chirag@nvidia.com>
2021-01-09yang: nbr plist nb conversion for more afi-safisChirag Shah
Signed-off-by: Chirag Shah <chirag@nvidia.com>
2020-10-27bgpd: shorten names for default originate nb callbacksChirag Shah
Signed-off-by: Chirag Shah <chirag@nvidia.com>
2020-10-27bgpd: neighbor peergrp config to transactional cliChirag Shah
Signed-off-by: Chirag Shah <chirag@nvidia.com>
2020-10-26yang: update bgp module afi-safi parametersChirag Shah
add vnc-direct route-type. Signed-off-by: Chirag Shah <chirag@nvidia.com>
2020-10-03bgpd: move router bgp nb callbackChirag Shah
move `router bgp` nb callback at `bgp` node level to have access to bgp context at neighbor and peer-group level and align create/destroy callbacks call during no router bgp. Earlier `no router bgp` is performed first global destroy callback is called which essentially removes `bgp context` then it calls to remove (parallel nodes) neighbor and peer-group which does not have access to bgp context. Moving router bgp at bgp solves this destroy callback ordering issue. Signed-off-by: Chirag Shah <chirag@nvidia.com>
2020-08-14bgpd: yang definationvdhingra
Yang files for bgpd to use northbound APIs Co-authored-by: Santosh P K <sapk@vmware.com> Co-authored-by: vishaldhingra <vdhingra@vmware.com> Signed-off-by: vishaldhingra <vdhingra@vmware.com>