CLOUDSTACK-730: UI > VPC > Router > site-to-site VPN > VPN Connection > Create VPN Connection - add new checkbox "passive", default it as unchecked.

This commit is contained in:
Jessica Wang 2013-10-31 11:33:15 -07:00
parent 152e23a00b
commit c090a2df7a
1 changed files with 8 additions and 2 deletions

View File

@ -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;