forked from Mirror/frr
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>
This commit is contained in:
parent
80b82d5289
commit
d267d77668
|
@ -90,8 +90,6 @@ submodule frr-bgp-neighbor {
|
|||
"Don't send open messages to this neighbor.";
|
||||
}
|
||||
|
||||
uses structure-neighbor-group-capability-options;
|
||||
|
||||
uses neighbor-update-source;
|
||||
|
||||
uses structure-neighbor-group-ebgp-multihop;
|
||||
|
|
|
@ -76,6 +76,8 @@ submodule frr-bgp-peer-group {
|
|||
uses neighbor-remote-as;
|
||||
|
||||
uses neighbor-parameters;
|
||||
|
||||
uses structure-neighbor-group-capability-options;
|
||||
}
|
||||
|
||||
grouping bgp-peer-group-list {
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue