summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-23 14:10:05 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-23 14:10:05 +0200
commitf7a0fb097aa592a6b3ee7d9ccdcd03c861efd9c3 (patch)
tree1990700c9ccddbd1f02d5b61f367f5107ed7b8f4 /templates
parentedeebf4e82e3f750d35ed19e137b877b6149f107 (diff)
downloadvyatta-cfg-quagga-f7a0fb097aa592a6b3ee7d9ccdcd03c861efd9c3.tar.gz
vyatta-cfg-quagga-f7a0fb097aa592a6b3ee7d9ccdcd03c861efd9c3.zip
VRF: T2368: add completion helper for default VRF
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/vrf/node.tag/static/interface-route/node.tag/next-hop-interface/node.tag/next-hop-vrf/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/protocols/vrf/node.tag/static/interface-route/node.tag/next-hop-interface/node.tag/next-hop-vrf/node.def b/templates/protocols/vrf/node.tag/static/interface-route/node.tag/next-hop-interface/node.tag/next-hop-vrf/node.def
index 06c90fdc..ee872997 100644
--- a/templates/protocols/vrf/node.tag/static/interface-route/node.tag/next-hop-interface/node.tag/next-hop-vrf/node.def
+++ b/templates/protocols/vrf/node.tag/static/interface-route/node.tag/next-hop-interface/node.tag/next-hop-vrf/node.def
@@ -1,7 +1,8 @@
type: txt
help: VRF to leak route
allowed: local -a params
- eval "params=($(cli-shell-api listNodes vrf name))"
+ params=('default')
+ eval "params+=($(cli-shell-api listNodes vrf name))"
echo -n "${params[@]}"
val_help: <vrf> ; Name of VRF to leak to
end: