mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
[UI] bug fix: vpn configuration does not show/update ipsec pre-shared key
This commit is contained in:
parent
2554cfb140
commit
131dca84dd
@ -2363,7 +2363,7 @@
|
||||
}
|
||||
|
||||
return {
|
||||
vpn: json.queryasyncjobresultresponse.jobresult.remoteaccessvpn,
|
||||
remoteaccessvpn: json.queryasyncjobresultresponse.jobresult.remoteaccessvpn,
|
||||
vpnenabled: vpnenabledAndRunning
|
||||
};
|
||||
},
|
||||
@ -2388,8 +2388,8 @@
|
||||
},
|
||||
complete: function(args) {
|
||||
var msg;
|
||||
if (args.vpn.state == "Running") {
|
||||
msg = _l('message.enabled.vpn') + ' ' + args.vpn.publicip + '.' + '<br/>' + _l('message.enabled.vpn.ip.sec') + '<br/>' + args.vpn.presharedkey;
|
||||
if (args.remoteaccessvpn.state == "Running") {
|
||||
msg = _l('message.enabled.vpn') + ' ' + args.remoteaccessvpn.publicip + '.' + '<br/>' + _l('message.enabled.vpn.ip.sec') + '<br/>' + args.remoteaccessvpn.presharedkey;
|
||||
} else {
|
||||
msg = "Remote Access VPN configuration has been generated, but it failed to apply. Please check connectivity of the network element, then re-try.";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user