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 12:32:58 +0200
commit01a1df5cb52f82e6110f63a5c47d73e01153c358 (patch)
tree10c1cc0e27d029eed818a37ac7aa5ca009fa7685
parent275b3aa2e9add3074db893a5e4a32f22c7af108c (diff)
downloadvyatta-cfg-quagga-01a1df5cb52f82e6110f63a5c47d73e01153c358.tar.gz
vyatta-cfg-quagga-01a1df5cb52f82e6110f63a5c47d73e01153c358.zip
ospfv3: T1464: support configuring explicit network type
* broadcast * point-to-point
-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