summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/distribute-list/out/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/rip/distribute-list/out/node.def')
-rw-r--r--templates/protocols/rip/distribute-list/out/node.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/protocols/rip/distribute-list/out/node.def b/templates/protocols/rip/distribute-list/out/node.def
new file mode 100644
index 00000000..0e7ea992
--- /dev/null
+++ b/templates/protocols/rip/distribute-list/out/node.def
@@ -0,0 +1,7 @@
+type: u32
+help: "ACL to be used in redistribution"
+commit: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy access-list $(@)\" ";"access-list $(@) doesn't exist"
+create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \
+ -c \"distribute-list $(@) $(../@) $(../../../@)\" "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \
+ -c \"no distribute-list $(@) $(../@) $(../../../@)\" "