diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-10-09 18:30:09 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-10-09 18:30:09 -0700 |
commit | 8838b759aee6cec9071f835bdb516f99c70b59a5 (patch) | |
tree | 9766f1c3e643035681b96953c3f5e41d91fa6b5d /templates/vpn | |
parent | 84fbfaeb9c7d153485ed2f850f4a15cf998820f4 (diff) | |
download | vyatta-cfg-vpn-8838b759aee6cec9071f835bdb516f99c70b59a5.tar.gz vyatta-cfg-vpn-8838b759aee6cec9071f835bdb516f99c70b59a5.zip |
add allowed values for ike, esp groups
Diffstat (limited to 'templates/vpn')
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/ike-group/node.def | 3 | ||||
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/tunnel/node.tag/esp-group/node.def | 3 |
2 files changed, 6 insertions, 0 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 2610ddd..9be5411 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,2 +1,5 @@ help: Set Internet Key Exchange (IKE) group name type: txt +allowed: local -a ike_grps + ike_grps=( /opt/vyatta/config/active/vpn/ipsec/ike-group/* ) + echo -n ${ike_grps[@]##*/} 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 e6fe3b9..4c64105 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,2 +1,5 @@ help: Set ESP group name type: txt +allowed: local -a esp_grps + esp_grps=( /opt/vyatta/config/active/vpn/ipsec/esp-group/* ) + echo -n ${esp_grps[@]##*/} |