summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/redistribute/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospfv3/redistribute/node.def')
-rw-r--r--templates/protocols/ospfv3/redistribute/node.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/protocols/ospfv3/redistribute/node.def b/templates/protocols/ospfv3/redistribute/node.def
new file mode 100644
index 00000000..4d7d1bcc
--- /dev/null
+++ b/templates/protocols/ospfv3/redistribute/node.def
@@ -0,0 +1,10 @@
+multi:
+type: txt
+help: Set route type to redistribute
+allowed: echo "static kernel connected ripng bgp"
+create:expression: "vyatta-vtysh -c \"configure terminal\" \
+ -c \"router ospf6 \" \
+ -c \"redistribute $VAR(@) \"; "
+delete:expression: "vyatta-vtysh -c \"configure terminal\" \
+ -c \"router ospf6 \" \
+ -c \"no redistribute $VAR(@) \"; "