summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorali aqrabawi <aaqrabaw@okdanetworks.com>2024-09-21 19:57:37 +0200
committerali aqrabawi <aaqrabaw@okdanetworks.com>2024-09-21 19:57:37 +0200
commite6b203092da5db395c25bf73c5fd24f874d4f14d (patch)
tree4a38d017ce53aad84cf77244fca5197ed466981f /yang
parentMerge pull request #16718 from louis-6wind/fix-asla-length (diff)
downloadfrr-e6b203092da5db395c25bf73c5fd24f874d4f14d.tar.xz
frr-e6b203092da5db395c25bf73c5fd24f874d4f14d.zip
yang: added as-notation leaf to global-bgp-config
Signed-off-by: ali aqrabawi <aaqrabaw@okdanetworks.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-bgp-common.yang13
1 files changed, 13 insertions, 0 deletions
diff --git a/yang/frr-bgp-common.yang b/yang/frr-bgp-common.yang
index 2b1babdd2..9d2159730 100644
--- a/yang/frr-bgp-common.yang
+++ b/yang/frr-bgp-common.yang
@@ -320,6 +320,19 @@ submodule frr-bgp-common {
When set to 'false' BGP instance type is regular.";
}
+ leaf as-notation {
+ type enumeration {
+ enum "plain" { value 0; }
+ enum "dot" { value 1; }
+ enum "dot+" { value 2; }
+ }
+ description
+ "The as-notation type:
+ - plain: use plain format for all AS values
+ - dot: use 'AA.BB' format for AS 4 byte values.
+ - dot+: use 'AA.BB' format for all AS values.";
+ }
+
leaf ebgp-multihop-connected-route-check {
type boolean;
default "false";