diff options
author | Saurabh Mohan <saurabh@vyatta.com> | 2012-05-16 17:44:36 -0700 |
---|---|---|
committer | Saurabh Mohan <saurabh@vyatta.com> | 2012-05-16 17:44:36 -0700 |
commit | 2403afbb9b6b58877b6b8a8ae932ff06827be026 (patch) | |
tree | 30c974d191f20041eb952a7460ec278c9fc7ae4f /templates | |
parent | e46d2937711e4fec4c09191cbdbbd9149206eb6d (diff) | |
download | vyatta-cfg-vpn-2403afbb9b6b58877b6b8a8ae932ff06827be026.tar.gz vyatta-cfg-vpn-2403afbb9b6b58877b6b8a8ae932ff06827be026.zip |
Vti config support.
Diffstat (limited to 'templates')
6 files changed, 11 insertions, 0 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/bind/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/bind/node.def new file mode 100644 index 0000000..01bb112 --- /dev/null +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/bind/node.def @@ -0,0 +1,3 @@ +type: txt +help: VTI tunnel interface associated with this configuration [REQUIRED] +allowed: cli-shell-api listActiveNodes interfaces vti diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/disable/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/disable/node.def new file mode 100644 index 0000000..b797d44 --- /dev/null +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/disable/node.def @@ -0,0 +1 @@ +help: Option to disable vpn tunnel diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/esp-group/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/esp-group/node.def new file mode 100644 index 0000000..700d0ee --- /dev/null +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/esp-group/node.def @@ -0,0 +1,3 @@ +help: ESP group name [REQUIRED] +type: txt +allowed: cli-shell-api listActiveNodes vpn ipsec esp-group diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def new file mode 100644 index 0000000..1d29970 --- /dev/null +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def @@ -0,0 +1,2 @@ +type: u32 +help: Mark associated with the secure tunnel interface [REQUIRED] diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/node.def new file mode 100644 index 0000000..2915f9e --- /dev/null +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/node.def @@ -0,0 +1 @@ +help: Virtual tunnel interface [REQUIRED] diff --git a/templates/vpn/node.def b/templates/vpn/node.def index f16f39a..8adc512 100644 --- a/templates/vpn/node.def +++ b/templates/vpn/node.def @@ -6,3 +6,4 @@ end:sudo /opt/vyatta/sbin/vpn-config.pl \ --init_script='/etc/init.d/ipsec' || exit 1 sudo /opt/vyatta/sbin/vyatta-update-l2tp.pl || exit 1 sudo /opt/vyatta/sbin/vyatta-update-pptp.pl || exit 1 + sudo /opt/vyatta/sbin/vyatta-vti-config.pl || exit 1 |