Skip to content

Commit c090a2d

Browse files
author
Jessica Wang
committed
CLOUDSTACK-730: UI > VPC > Router > site-to-site VPN > VPN Connection > Create VPN Connection - add new checkbox "passive", default it as unchecked.
1 parent 152e23a commit c090a2d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎ui/scripts/vpc.js‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2792,7 +2792,12 @@
27922792
}
27932793
});
27942794
}
2795-
}
2795+
},
2796+
passive: {
2797+
label: 'Passive',
2798+
isBoolean: true,
2799+
isChecked: false
2800+
}
27962801
}
27972802
},
27982803
action: function(args) {
@@ -2819,7 +2824,8 @@
28192824
url: createURL('createVpnConnection'),
28202825
data: {
28212826
s2svpngatewayid: vpngatewayid,
2822-
s2scustomergatewayid: args.data.vpncustomergatewayid
2827+
s2scustomergatewayid: args.data.vpncustomergatewayid,
2828+
passive: (args.data.passive == 'on'? true: false)
28232829
},
28242830
success: function(json) {
28252831
var jid = json.createvpnconnectionresponse.jobid;

0 commit comments

Comments
 (0)