summaryrefslogtreecommitdiff
path: root/templates/protocols/ripng/network/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ripng/network/node.def')
-rw-r--r--templates/protocols/ripng/network/node.def13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/protocols/ripng/network/node.def b/templates/protocols/ripng/network/node.def
new file mode 100644
index 00000000..0df3d570
--- /dev/null
+++ b/templates/protocols/ripng/network/node.def
@@ -0,0 +1,13 @@
+multi:
+type: ipv6net
+help: Set RIPng network
+
+syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)"
+
+create: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "router ripng" \
+ -c "network $VAR(@)"
+
+delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "router ripng" \
+ -c "no network $VAR(@)"