diff options
author | Cheeze_It <none@none.com> | 2020-11-04 15:43:36 -0700 |
---|---|---|
committer | Cheeze_It <none@none.com> | 2020-11-04 15:43:36 -0700 |
commit | f0ba15aadbfca4ecb7f438a8f92f634e333b7976 (patch) | |
tree | 98f7d07e6fe357249807d44fbc5235c90c016762 /interface-definitions/protocols-mpls.xml.in | |
parent | 84c7ed21629db338b207dfb11320b49fffda3b3d (diff) | |
download | vyos-1x-f0ba15aadbfca4ecb7f438a8f92f634e333b7976.tar.gz vyos-1x-f0ba15aadbfca4ecb7f438a8f92f634e333b7976.zip |
mpls-conf: T915: Add session hold time adjustment for static LDP neighbors
The commit has to do with the addition of session hold time parameter for LDP neighbors. This allows for being able to change said hold time on a static neighbor.
The way that this works is to have it either delegated to a value (15-65535), or to just be default to whatever FRR stipulates or per the other session configuration values.
I opted to remove the "-ipv4-" only because we know it's an IPv4 session that one has to create first. I figure it's redundant to add it there so I removed it.
Diffstat (limited to 'interface-definitions/protocols-mpls.xml.in')
-rw-r--r-- | interface-definitions/protocols-mpls.xml.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/protocols-mpls.xml.in b/interface-definitions/protocols-mpls.xml.in index 38c553489..0255b1275 100644 --- a/interface-definitions/protocols-mpls.xml.in +++ b/interface-definitions/protocols-mpls.xml.in @@ -59,6 +59,18 @@ </valueHelp> </properties> </leafNode> + <leafNode name="session-holdtime"> + <properties> + <help>Session ipv4 holdtime</help> + <valueHelp> + <format>15-65535</format> + <description>Time in seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 15-65535"/> + </constraint> + </properties> + </leafNode> </children> </tagNode> <node name="discovery"> |