summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/network/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/ospf/network/node.def')
-rw-r--r--interface-templates/ip/ospf/network/node.def11
1 files changed, 11 insertions, 0 deletions
diff --git a/interface-templates/ip/ospf/network/node.def b/interface-templates/ip/ospf/network/node.def
new file mode 100644
index 00000000..bac9d333
--- /dev/null
+++ b/interface-templates/ip/ospf/network/node.def
@@ -0,0 +1,11 @@
+type: txt
+help: Set network type
+syntax:expression: $VAR(@) in "broadcast", "non-broadcast", "point-to-multipoint", "point-to-point"; \
+ "Must be (broadcast|non-broadcast|point-to-multipoint|point-to-point)"
+update:vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ip ospf network $VAR(@)"
+delete:vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ip ospf network"
+comp_help: possible completions:
+ broadcast Set broadcast network type
+ non-broadcast Set non-broadcast network type
+ point-to-multipoint Set point-to-multipoint network type
+ point-to-point Set point-to-point network type