mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
VPC UI: IP address configuration fix
After acquiring a new IP, immeditaly clicking on its configuration tab will show an enabled firewall, which is incorrect. This fix always disables the firewall if in a VPC network.
This commit is contained in:
parent
4a38f2be17
commit
00af517003
@ -1714,7 +1714,11 @@
|
||||
});
|
||||
}
|
||||
else { //a VPC network from Guest Network section or from VPC section
|
||||
havingFirewallService = false; //firewall is not supported in IP from VPC section (because ACL has already supported in tier from VPC section)
|
||||
// Firewall is not supported in IP from VPC section
|
||||
// (because ACL has already supported in tier from VPC section)
|
||||
havingFirewallService = false;
|
||||
disallowedActions.push("firewall");
|
||||
|
||||
havingVpnService = false; //VPN is not supported in IP from VPC section
|
||||
|
||||
if(args.context.ipAddresses[0].associatednetworkid == null) { //IP is not associated with any tier yet
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user