diff options
| author | Diogo Oliveira <14191454+dorDiogo@users.noreply.github.com> | 2023-01-20 17:08:45 -0800 | 
|---|---|---|
| committer | Diogo Oliveira <14191454+dorDiogo@users.noreply.github.com> | 2023-02-28 08:48:30 -0800 | 
| commit | e36ec6acbc347625e7fa1c6f63722292117884b5 (patch) | |
| tree | c3f1ac316c9b755e027bac93ee9b4f4ffc869169 /yang | |
| parent | 617d2b71c0d1b61dfb319f5f629953a95e6beef5 (diff) | |
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.yang | 26 | 
1 files changed, 23 insertions, 3 deletions
diff --git a/yang/frr-isisd.yang b/yang/frr-isisd.yang index ff3ba5d12b..f2927339ad 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 {  | 
