forked from Mirror/frr
yang: MSDP authentication support
Specify MSDP authentication specification model. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
1877596ebc
commit
13126dec14
|
@ -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 {
|
grouping global-pim-config-attributes {
|
||||||
description
|
description
|
||||||
"A grouping defining per address family pim global attributes";
|
"A grouping defining per address family pim global attributes";
|
||||||
|
@ -283,6 +314,8 @@ module frr-pim {
|
||||||
description
|
description
|
||||||
"Access list name used to filter the outgoing SAs exchanged.";
|
"Access list name used to filter the outgoing SAs exchanged.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uses msdp-authentication;
|
||||||
}
|
}
|
||||||
|
|
||||||
container mlag {
|
container mlag {
|
||||||
|
|
Loading…
Reference in a new issue