summaryrefslogtreecommitdiff
path: root/yang/frr-bgp-common-structure.yang
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2020-10-24 17:49:46 -0700
committerChirag Shah <chirag@nvidia.com>2020-10-27 11:29:16 -0700
commitcc4440c3177f312294ec0cec836f41e453b367fb (patch)
tree9333de66bfdbd5ec2a9aa3a0db6914d038592f65 /yang/frr-bgp-common-structure.yang
parent8611c7f3b6f33cb5ef8687bc126354d06eadbfcf (diff)
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 9917560825..507928f28e 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.";