Skip to content

Commit 8c199e9

Browse files
author
Dingane Hlaluku
committed
Remove advanced Zone SG check from the UI logic when creating L2 networks
1 parent 67301e4 commit 8c199e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/scripts/sharedFunctions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ var addL2GuestNetwork = {
860860
url: createURL('listZones'),
861861
success: function(json) {
862862
var zones = $.grep(json.listzonesresponse.zone, function(zone) {
863-
return (zone.networktype == 'Advanced' && zone.securitygroupsenabled != true); //Isolated networks can only be created in Advanced SG-disabled zone (but not in Basic zone nor Advanced SG-enabled zone)
863+
return (zone.networktype == 'Advanced'); // L2 networks only available in Advanced Zones
864864
});
865865

866866
args.response.success({

0 commit comments

Comments
 (0)