]> git.puffer.fish Git - mirror/frr.git/commitdiff
yang: added as-notation leaf to global-bgp-config 16891/head
authorali aqrabawi <aaqrabaw@okdanetworks.com>
Sat, 21 Sep 2024 17:57:37 +0000 (20:57 +0300)
committerali aqrabawi <aaqrabaw@okdanetworks.com>
Sat, 21 Sep 2024 17:57:37 +0000 (20:57 +0300)
Signed-off-by: ali aqrabawi <aaqrabaw@okdanetworks.com>
yang/frr-bgp-common.yang

index 2b1babdd2807dc7f814aea955788a2141f6d8136..9d21597304de7e39645ffcd68bf8e65180e286e1 100644 (file)
@@ -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";