summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-03-20 22:00:57 +0100
committerGitHub <noreply@github.com>2023-03-20 22:00:57 +0100
commit55cf5ea672580193a9d419486b7bda2df1186cd4 (patch)
tree49f2010bac3e51ac41a9a3fbd5d633016fabe2f6 /yang
parentMerge pull request #13050 from opensourcerouting/fix/update_snmp_mibs_doc (diff)
parentisisd,tests,doc: Rename hello padding sometimes to hello padding during-adjac... (diff)
downloadfrr-55cf5ea672580193a9d419486b7bda2df1186cd4.tar.xz
frr-55cf5ea672580193a9d419486b7bda2df1186cd4.zip
Merge pull request #12688 from dorDiogo/isis_hello_padding_sometimes
isisd: Add support for IS-IS hello padding during-adjacency-formation
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-isisd.yang26
1 files changed, 23 insertions, 3 deletions
diff --git a/yang/frr-isisd.yang b/yang/frr-isisd.yang
index 0c2cf232f..66ec6a410 100644
--- a/yang/frr-isisd.yang
+++ b/yang/frr-isisd.yang
@@ -116,6 +116,26 @@ module frr-isisd {
associated with an interface.";
}
+ typedef hello-padding-type {
+ type enumeration {
+ enum "always" {
+ value 0;
+ description
+ "Add padding to all hello packets.";
+ }
+ enum "disabled" {
+ value 1;
+ description
+ "Do not add any padding to hello packets.";
+ }
+ enum "during-adjacency-formation" {
+ value 2;
+ description
+ "Add padding to hello packets during adjacency formation only.";
+ }
+ }
+ }
+
typedef network-type {
type enumeration {
enum "unknown" {
@@ -605,10 +625,10 @@ module frr-isisd {
description
"Parameters related to IS-IS hello PDUs.";
leaf padding {
- type boolean;
- default "true";
+ type hello-padding-type;
+ default "always";
description
- "Add padding to IS-IS hello PDUs.";
+ "Type of padding for IS-IS hello packets.";
}
container interval {