summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-07-01 01:27:28 +0200
committerDaniil Baturin <daniil@baturin.org>2014-07-01 01:27:28 +0200
commit8cebe4e984afd60232d5aa62762b9cfda10fb88c (patch)
treeecefd07c5d0a4d73aa342a333f9ab725f73ea315
parent33b6982cdc73d5fed4c2d8017a9cf20f73e3d85c (diff)
downloadvyatta-cfg-quagga-8cebe4e984afd60232d5aa62762b9cfda10fb88c.tar.gz
vyatta-cfg-quagga-8cebe4e984afd60232d5aa62762b9cfda10fb88c.zip
Bug #102: add completion for as-path-list in route-map rule.
-rw-r--r--templates/policy/route-map/node.tag/rule/node.tag/match/as-path/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/match/as-path/node.def b/templates/policy/route-map/node.tag/rule/node.tag/match/as-path/node.def
index edf514f4..bcef7de9 100644
--- a/templates/policy/route-map/node.tag/rule/node.tag/match/as-path/node.def
+++ b/templates/policy/route-map/node.tag/rule/node.tag/match/as-path/node.def
@@ -1,6 +1,7 @@
type: txt
help: BGP as-path-list to match
val_help: AS path list name
+allowed: cli-shell-api listActiveNodes policy as-path-list
commit:expression: $VAR(../../action/) != ""; "You must specify an action"
commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy as-path-list $VAR(@)\" "; "match as-path: AS path list $VAR(@) doesn't exist"