From c090a2df7ac45495e85bb6fb16ad987277d37ff1 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 31 Oct 2013 11:33:15 -0700 Subject: [PATCH] CLOUDSTACK-730: UI > VPC > Router > site-to-site VPN > VPN Connection > Create VPN Connection - add new checkbox "passive", default it as unchecked. --- ui/scripts/vpc.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index f25e57dc0a6..2dc916244a0 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -2792,7 +2792,12 @@ } }); } - } + }, + passive: { + label: 'Passive', + isBoolean: true, + isChecked: false + } } }, action: function(args) { @@ -2819,7 +2824,8 @@ url: createURL('createVpnConnection'), data: { s2svpngatewayid: vpngatewayid, - s2scustomergatewayid: args.data.vpncustomergatewayid + s2scustomergatewayid: args.data.vpncustomergatewayid, + passive: (args.data.passive == 'on'? true: false) }, success: function(json) { var jid = json.createvpnconnectionresponse.jobid;