diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-27 22:45:02 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-03-27 22:47:02 +0200 |
commit | b5d940d9f279a8391c8d8c56cc86f4855c9d38b5 (patch) | |
tree | d91e3e2c3bb508f0ae9b96645f7d19994ffd3a98 /interface-definitions/include | |
parent | d9fa39a370c06d8add22a7018d14984e5ac14fc8 (diff) | |
download | vyos-1x-b5d940d9f279a8391c8d8c56cc86f4855c9d38b5.tar.gz vyos-1x-b5d940d9f279a8391c8d8c56cc86f4855c9d38b5.zip |
bgp: T5114: support configuring TCP keepalive messages
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index 2bf2fdfc3..089c36ef3 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -1481,6 +1481,49 @@ </properties> </leafNode> #include <include/router-id.xml.i> + <node name="tcp-keepalive"> + <properties> + <help>TCP keepalive parameters</help> + </properties> + <children> + <leafNode name="idle"> + <properties> + <help>TCP keepalive idle time</help> + <valueHelp> + <format>u32:1-65535</format> + <description>Idle time in seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> + </properties> + </leafNode> + <leafNode name="interval"> + <properties> + <help>TCP keepalive interval</help> + <valueHelp> + <format>u32:1-65535</format> + <description>Interval in seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> + </properties> + </leafNode> + <leafNode name="probes"> + <properties> + <help>TCP keepalive maximum probes</help> + <valueHelp> + <format>u32:1-30</format> + <description>Maximum probes</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-30"/> + </constraint> + </properties> + </leafNode> + </children> + </node> </children> </node> <tagNode name="peer-group"> |