diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-06-23 12:19:32 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-06-23 12:19:32 +0200 |
commit | 745355d412ec1cd7de4303e19474d1b7c4f84489 (patch) | |
tree | 68949e7c156a12b5cb0ebca477b4961d3bc018be /op-mode-definitions | |
parent | 3d3308b5556e6720e0876d0099a83a7ab3307d3c (diff) | |
parent | 921849da85c634fb34d331c318992697db6449e7 (diff) | |
download | vyos-1x-745355d412ec1cd7de4303e19474d1b7c4f84489.tar.gz vyos-1x-745355d412ec1cd7de4303e19474d1b7c4f84489.zip |
Merge branch 'bfd' into current
* bfd:
bfd: T1183: support show of individual BFD peer
bfd: T1183: move "multiplier" configuration node to "interval multiplier"
bfd: T1183: add rx/tx interval configuration
bfd: T1183: multihop doesn't accept interface names
bfd: T1183: add support to configure detection multiplier
bfd: T1183: adjust CLI syntax for source address/interface
bfd: T1137: add 'show protocols bfd peer' command
bfd: T1183: add support for multihop
bfd: T1183: first working FRR bfd peer configuration
bfd: T1183: IPv6 peers require explicit local address/interface
bfd: T1183: initial CLI implementation
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-protocols-bfd.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/op-mode-definitions/show-protocols-bfd.xml b/op-mode-definitions/show-protocols-bfd.xml new file mode 100644 index 000000000..3c682d6f7 --- /dev/null +++ b/op-mode-definitions/show-protocols-bfd.xml @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="protocols"> + <children> + <node name="bfd"> + <children> + <node name="peer"> + <properties> + <help>Show all Bidirectional Forwarding Detection (BFD) peer status</help> + </properties> + <command>/usr/bin/vtysh -c "show bfd peers"</command> + </node> + <tagNode name="peer"> + <properties> + <help>Show Bidirectional Forwarding Detection (BFD) peer status</help> + <completionHelp> + <script>/usr/bin/vtysh -c "show bfd peer" | grep peer | awk '{print $2}'</script> + </completionHelp> + </properties> + <command>/usr/bin/vtysh -c "show bfd peer $5"</command> + </tagNode> + </children> + </node> + </children> + </node> + </children> + </node> +</interfaceDefinition> |