summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-06-23 12:32:56 +0200
committerChristian Poessinger <christian@poessinger.com>2019-06-23 19:51:05 +0200
commita43d24140ea6e7d72c7c430dfabd9dd3c7ad788d (patch)
tree867d72e78fcae0b62bc60522910a716b7810c35e
parent9764e08bfa318d379c00f3dd9fb4f42e1b118bc8 (diff)
downloadvyatta-cfg-quagga-a43d24140ea6e7d72c7c430dfabd9dd3c7ad788d.tar.gz
vyatta-cfg-quagga-a43d24140ea6e7d72c7c430dfabd9dd3c7ad788d.zip
ospfv3: T1464: support configuring explicit network type
* broadcast * point-to-point (cherry picked from commit 01a1df5cb52f82e6110f63a5c47d73e01153c358)
-rw-r--r--interface-templates/ipv6/ospfv3/network/node.def9
1 files changed, 9 insertions, 0 deletions
diff --git a/interface-templates/ipv6/ospfv3/network/node.def b/interface-templates/ipv6/ospfv3/network/node.def
new file mode 100644
index 00000000..d1f6292d
--- /dev/null
+++ b/interface-templates/ipv6/ospfv3/network/node.def
@@ -0,0 +1,9 @@
+type: txt
+help: Network type
+syntax:expression: $VAR(@) in "broadcast", "point-to-point"; \
+ "Must be (broadcast|point-to-point)"
+update:vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf network $VAR(@)"
+delete:vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf network"
+
+val_help: broadcast; Broadcast network type
+val_help: point-to-point; Point-to-point network type