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