summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-08-17 18:23:44 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-08-17 18:23:44 -0700
commit583494f3a261fd4359239949462e98b87ad5f941 (patch)
tree372e59b3d8c56cc620135ac6ae41c0344e99aa08 /templates
parent26f81e4259f3faa26263c57623d0fc108b616ce2 (diff)
downloadvyatta-cfg-vpn-583494f3a261fd4359239949462e98b87ad5f941.tar.gz
vyatta-cfg-vpn-583494f3a261fd4359239949462e98b87ad5f941.zip
remove low-level config dir usage
Diffstat (limited to 'templates')
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/ike-group/node.def4
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/tunnel/node.tag/esp-group/node.def4
2 files changed, 2 insertions, 6 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/ike-group/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/ike-group/node.def
index f7871cb..343f1fb 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/ike-group/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/ike-group/node.def
@@ -1,5 +1,3 @@
help: Internet Key Exchange (IKE) group name [REQUIRED]
type: txt
-allowed: local -a ike_grps
- ike_grps=( /opt/vyatta/config/active/vpn/ipsec/ike-group/* )
- echo -n ${ike_grps[@]##*/}
+allowed: cli-shell-api listActiveNodes vpn ipsec ike-group
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/tunnel/node.tag/esp-group/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/tunnel/node.tag/esp-group/node.def
index 5425a2d..700d0ee 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/tunnel/node.tag/esp-group/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/tunnel/node.tag/esp-group/node.def
@@ -1,5 +1,3 @@
help: ESP group name [REQUIRED]
type: txt
-allowed: local -a esp_grps
- esp_grps=( /opt/vyatta/config/active/vpn/ipsec/esp-group/* )
- echo -n ${esp_grps[@]##*/}
+allowed: cli-shell-api listActiveNodes vpn ipsec esp-group