diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-06-22 15:18:31 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-06-22 15:24:53 +0200 |
commit | 8b8c7424c90275a3814e7c17939cfb3a66145a19 (patch) | |
tree | 0492867ee03304e1552653de1d2ebe6e803413d9 /interface-definitions | |
parent | 67a35cfc37a5cc34a1b874f69626802ec3d35f94 (diff) | |
download | vyos-1x-8b8c7424c90275a3814e7c17939cfb3a66145a19.tar.gz vyos-1x-8b8c7424c90275a3814e7c17939cfb3a66145a19.zip |
bfd: T1183: add rx/tx interval configuration
vyos@vyos# show protocols
bfd {
peer 1.1.1.1 {
interval {
receive 400
transmit 300
}
}
}
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/protocols-bfd.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/interface-definitions/protocols-bfd.xml b/interface-definitions/protocols-bfd.xml index a731334a0..0e92a7ddd 100644 --- a/interface-definitions/protocols-bfd.xml +++ b/interface-definitions/protocols-bfd.xml @@ -62,6 +62,37 @@ </constraint> </properties> </leafNode> + <node name="interval"> + <properties> + <help>Configure timer intervals</help> + </properties> + <children> + <leafNode name="receive"> + <properties> + <help>Minimum interval of receiving control packets</help> + <valueHelp> + <format>10-60000</format> + <description>Interval in milliseconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 10-60000"/> + </constraint> + </properties> + </leafNode> + <leafNode name="transmit"> + <properties> + <help>Minimum interval of transmitting control packets</help> + <valueHelp> + <format>10-60000</format> + <description>Interval in milliseconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 10-60000"/> + </constraint> + </properties> + </leafNode> + </children> + </node> <leafNode name="shutdown"> <properties> <help>Disable this peer</help> |