diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/ike-group/node.def | 4 | ||||
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/tunnel/node.tag/esp-group/node.def | 4 |
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 |