From e6b203092da5db395c25bf73c5fd24f874d4f14d Mon Sep 17 00:00:00 2001 From: ali aqrabawi Date: Sat, 21 Sep 2024 20:57:37 +0300 Subject: [PATCH] yang: added as-notation leaf to global-bgp-config Signed-off-by: ali aqrabawi --- yang/frr-bgp-common.yang | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/yang/frr-bgp-common.yang b/yang/frr-bgp-common.yang index 2b1babdd2807..9d21597304de 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";