summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-06-21 19:47:15 +0200
committerChristian Poessinger <christian@poessinger.com>2019-06-21 19:47:15 +0200
commit6bc6b27c86d5b061ab7dfd0cdcd25463a3f594ae (patch)
tree42cc8bf5636e3f2f8903b47c89b715043678b699
parentcfc5f4220407d6fd4f9b637850b5db39ce197be9 (diff)
downloadvyatta-cfg-quagga-6bc6b27c86d5b061ab7dfd0cdcd25463a3f594ae.tar.gz
vyatta-cfg-quagga-6bc6b27c86d5b061ab7dfd0cdcd25463a3f594ae.zip
bfd: T1183: add OSPF BFD support on interface nodes
set interface ethernet eth0 ip ospf bfd delete interface ethernet eth0 ip ospf bfd
-rw-r--r--interface-templates/ip/ospf/bfd/node.def3
-rw-r--r--interface-templates/ipv6/ospfv3/bfd/node.def4
2 files changed, 7 insertions, 0 deletions
diff --git a/interface-templates/ip/ospf/bfd/node.def b/interface-templates/ip/ospf/bfd/node.def
new file mode 100644
index 00000000..fc393c2a
--- /dev/null
+++ b/interface-templates/ip/ospf/bfd/node.def
@@ -0,0 +1,3 @@
+help: Enable Bidirectional Forwarding Detection (BFD) on this interface
+create:vtysh -c "configure terminal" -c "interface $IFNAME" -c "ip ospf bfd"
+delete:vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ip ospf bfd"
diff --git a/interface-templates/ipv6/ospfv3/bfd/node.def b/interface-templates/ipv6/ospfv3/bfd/node.def
new file mode 100644
index 00000000..79de2a18
--- /dev/null
+++ b/interface-templates/ipv6/ospfv3/bfd/node.def
@@ -0,0 +1,4 @@
+help: Enable Bidirectional Forwarding Detection (BFD) on this interface
+create:vtysh -c "configure terminal" -c "interface $VAR(../../../@)" -c "ipv6 ospf6 bfd"
+delete:vtysh -c "configure terminal" -c "interface $VAR(../../../@)" -c "no ipv6 ospf6 bfd"
+