summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorali aqrabawi <aaqrabaw@okdanetworks.com>2024-09-21 20:57:37 +0300
committerali aqrabawi <aaqrabaw@okdanetworks.com>2024-09-21 20:57:37 +0300
commite6b203092da5db395c25bf73c5fd24f874d4f14d (patch)
tree4a38d017ce53aad84cf77244fca5197ed466981f
parent571cca28c3eab4f201bad36762f5f90d55a4ba42 (diff)
yang: added as-notation leaf to global-bgp-config
Signed-off-by: ali aqrabawi <aaqrabaw@okdanetworks.com>
-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 2b1babdd28..9d21597304 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";