From: Rafael Zalamena Date: Tue, 6 Dec 2022 12:58:22 +0000 (-0300) Subject: yang: MSDP authentication support X-Git-Tag: base_10.2~229^2~4 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=13126dec147ec7c8f94ca2adb870e5b6646fb3bb;p=matthieu%2Ffrr.git yang: MSDP authentication support Specify MSDP authentication specification model. Signed-off-by: Rafael Zalamena --- diff --git a/yang/frr-pim.yang b/yang/frr-pim.yang index cc8d6445aa..6a6c52185d 100644 --- a/yang/frr-pim.yang +++ b/yang/frr-pim.yang @@ -122,6 +122,37 @@ module frr-pim { } } + grouping msdp-authentication { + description + "MSDP authentication options."; + + leaf authentication-type { + type enumeration { + enum None { + value 0; + description + "No authentication."; + } + enum MD5 { + value 1; + description + "Use MD5 digest."; + } + } + default None; + description + "Authentication method."; + } + + leaf authentication-key { + when "../authentication-type = 'MD5'"; + mandatory true; + type string; + description + "Authentication key."; + } + } + grouping global-pim-config-attributes { description "A grouping defining per address family pim global attributes"; @@ -283,6 +314,8 @@ module frr-pim { description "Access list name used to filter the outgoing SAs exchanged."; } + + uses msdp-authentication; } container mlag {