Skip to content

Commit

Permalink
yang: MSDP authentication support
Browse files Browse the repository at this point in the history
Specify MSDP authentication specification model.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
  • Loading branch information
rzalamena committed Jul 29, 2024
1 parent 1877596 commit 13126de
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions yang/frr-pim.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -283,6 +314,8 @@ module frr-pim {
description
"Access list name used to filter the outgoing SAs exchanged.";
}

uses msdp-authentication;
}

container mlag {
Expand Down

0 comments on commit 13126de

Please sign in to comment.