diff options
Diffstat (limited to 'templates/protocols/ripng/distribute-list/access-list/out/node.def')
-rw-r--r-- | templates/protocols/ripng/distribute-list/access-list/out/node.def | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/protocols/ripng/distribute-list/access-list/out/node.def b/templates/protocols/ripng/distribute-list/access-list/out/node.def new file mode 100644 index 00000000..f11f5c03 --- /dev/null +++ b/templates/protocols/ripng/distribute-list/access-list/out/node.def @@ -0,0 +1,12 @@ +type: u32 +help: Set access-list to apply to output packets + +commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy access-list $VAR(@)\" ";"access-list $VAR(@) doesn't exist" + +update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ + -c "router ripng" \ + -c "distribute-list $VAR(@) out" + +delete: $vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ + -c "router ripng" \ + -c "no distribute-list $VAR(@) out" |