summaryrefslogtreecommitdiffstats
path: root/yang/frr-pim.yang
diff options
context:
space:
mode:
Diffstat (limited to 'yang/frr-pim.yang')
-rw-r--r--yang/frr-pim.yang49
1 files changed, 49 insertions, 0 deletions
diff --git a/yang/frr-pim.yang b/yang/frr-pim.yang
index 732a38a9..6a6c5218 100644
--- a/yang/frr-pim.yang
+++ b/yang/frr-pim.yang
@@ -5,6 +5,10 @@ module frr-pim {
prefix frr-pim;
+ import frr-filter {
+ prefix frr-filter;
+ }
+
import frr-interface {
prefix frr-interface;
}
@@ -118,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";
@@ -267,6 +302,20 @@ module frr-pim {
description
"MSDP source IP address.";
}
+
+ leaf sa-filter-in {
+ type frr-filter:access-list-name;
+ description
+ "Access list name used to filter the incoming SAs exchanged.";
+ }
+
+ leaf sa-filter-out {
+ type frr-filter:access-list-name;
+ description
+ "Access list name used to filter the outgoing SAs exchanged.";
+ }
+
+ uses msdp-authentication;
}
container mlag {