diff options
| author | Christian Hopps <chopps@gmail.com> | 2021-05-23 20:26:49 +0000 | 
|---|---|---|
| committer | Christian Hopps <chopps@gmail.com> | 2021-05-23 20:30:04 +0000 | 
| commit | d267d776680f63fde34e21ef911f558659d7116c (patch) | |
| tree | 155bda391620bc9dd61c2bd197f681832818e12b /yang/frr-bgp.yang | |
| parent | 80b82d528917dd168d94d1ceac920a81dcf9dea1 (diff) | |
bgpd: fix default for extended-nexthop-capability
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>
Diffstat (limited to 'yang/frr-bgp.yang')
| -rw-r--r-- | yang/frr-bgp.yang | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/yang/frr-bgp.yang b/yang/frr-bgp.yang index 264ad70d65..0e15195dd5 100644 --- a/yang/frr-bgp.yang +++ b/yang/frr-bgp.yang @@ -230,6 +230,8 @@ module frr-bgp {            }            uses neighbor-parameters; + +          uses structure-neighbor-group-capability-options;          }          list unnumbered-neighbor { @@ -264,6 +266,12 @@ module frr-bgp {            uses neighbor-remote-as;            uses neighbor-parameters; + +          uses structure-neighbor-group-capability-options { +            refine "frr-bgp:capability-options/extended-nexthop-capability" { +              default "true"; +            } +          }          }        }  | 
