summaryrefslogtreecommitdiffstats
path: root/yang/frr-bgp-common-structure.yang
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2020-10-25 02:49:46 +0200
committerChirag Shah <chirag@nvidia.com>2020-10-27 19:29:16 +0100
commitcc4440c3177f312294ec0cec836f41e453b367fb (patch)
tree9333de66bfdbd5ec2a9aa3a0db6914d038592f65 /yang/frr-bgp-common-structure.yang
parentbgpd: convert neighbor peer config to transactional (diff)
downloadfrr-cc4440c3177f312294ec0cec836f41e453b367fb.tar.xz
frr-cc4440c3177f312294ec0cec836f41e453b367fb.zip
bgpd: shorten names for default originate nb callbacks
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'yang/frr-bgp-common-structure.yang')
-rw-r--r--yang/frr-bgp-common-structure.yang6
1 files changed, 3 insertions, 3 deletions
diff --git a/yang/frr-bgp-common-structure.yang b/yang/frr-bgp-common-structure.yang
index 991756082..507928f28 100644
--- a/yang/frr-bgp-common-structure.yang
+++ b/yang/frr-bgp-common-structure.yang
@@ -361,18 +361,18 @@ submodule frr-bgp-common-structure {
description
"Structural grouping used to include default-originate
configuration for both BGP neighbors and peer groups.";
- container default-originate-options {
+ container default-originate {
description
"default originate parameters for the BGP neighbor or
group.";
- leaf send-default-route {
+ leaf originate {
type boolean;
default "false";
description
"If set to 'true', send the default-route to the neighbour(s).";
}
- leaf rmap-policy-export {
+ leaf route-map {
type frr-route-map:route-map-ref;
description
"Route-map to specify criteria to originate default.";