summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorDiogo Oliveira <14191454+dorDiogo@users.noreply.github.com>2023-01-21 02:08:45 +0100
committerDiogo Oliveira <14191454+dorDiogo@users.noreply.github.com>2023-02-28 17:48:30 +0100
commite36ec6acbc347625e7fa1c6f63722292117884b5 (patch)
treec3f1ac316c9b755e027bac93ee9b4f4ffc869169 /yang
parentMerge pull request #12840 from dorDiogo/isis_advertise_passive_only (diff)
downloadfrr-e36ec6acbc347625e7fa1c6f63722292117884b5.tar.xz
frr-e36ec6acbc347625e7fa1c6f63722292117884b5.zip
isisd: Add support for isis hello padding sometimes
New configuration to pad ISIS hello packets during adjacency formation only. Signed-off-by: Diogo Oliveira <14191454+dorDiogo@users.noreply.github.com>
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 ff3ba5d12..f2927339a 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 "sometimes" {
+ 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 {