summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-06-23 12:39:36 +0200
committerChristian Poessinger <christian@poessinger.com>2019-06-23 12:39:36 +0200
commit3cb86c636fcc4e6e5594b67e01bbb9147d7cbd05 (patch)
tree10c1cc0e27d029eed818a37ac7aa5ca009fa7685
parent275b3aa2e9add3074db893a5e4a32f22c7af108c (diff)
parent01a1df5cb52f82e6110f63a5c47d73e01153c358 (diff)
downloadvyatta-cfg-quagga-3cb86c636fcc4e6e5594b67e01bbb9147d7cbd05.tar.gz
vyatta-cfg-quagga-3cb86c636fcc4e6e5594b67e01bbb9147d7cbd05.zip
Merge branch 'ospfv3-network' into current
* ospfv3-network: ospfv3: T1464: support configuring explicit network type
-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