summaryrefslogtreecommitdiff
path: root/yang
diff options
context:
space:
mode:
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-pim.yang49
-rw-r--r--yang/ietf/frr-deviations-ietf-routing.yang3
-rw-r--r--yang/ietf/ietf-bgp-types.yang2
3 files changed, 53 insertions, 1 deletions
diff --git a/yang/frr-pim.yang b/yang/frr-pim.yang
index 732a38a9e3..6a6c52185d 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 {
diff --git a/yang/ietf/frr-deviations-ietf-routing.yang b/yang/ietf/frr-deviations-ietf-routing.yang
index 15ceb6b929..5c0ae30bea 100644
--- a/yang/ietf/frr-deviations-ietf-routing.yang
+++ b/yang/ietf/frr-deviations-ietf-routing.yang
@@ -6,6 +6,9 @@ module frr-deviations-ietf-routing {
import ietf-routing {
prefix ietf-routing;
}
+ import ietf-rip {
+ prefix ietf-rip;
+ }
organization
"FRRouting";
diff --git a/yang/ietf/ietf-bgp-types.yang b/yang/ietf/ietf-bgp-types.yang
index 9c7a6af76c..ed64b78ad6 100644
--- a/yang/ietf/ietf-bgp-types.yang
+++ b/yang/ietf/ietf-bgp-types.yang
@@ -333,7 +333,7 @@ module ietf-bgp-types {
// TODO: needs more work to make this more precise given the
// variability of extended community attribute specifications
// 8-octet value:
- // <type> 2 octects
+ // <type> 2 octets
// <value> 6 octets
type union {