mirror of https://github.com/apache/cloudstack.git
network: Dont display "isolated network" section for SG enabled zone (#553)
* Dont allow creating isolated network in zone with sg enabled Allow creating isolated networks only in zones with sg disabled. * allow creating l2 in all zones Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
79078ac472
commit
5902b24231
|
|
@ -303,7 +303,7 @@ export default {
|
|||
api('listZones', params).then(json => {
|
||||
for (const i in json.listzonesresponse.zone) {
|
||||
const zone = json.listzonesresponse.zone[i]
|
||||
if (zone.networktype === 'Advanced' && zone.securitygroupsenabled !== true) {
|
||||
if (zone.networktype === 'Advanced') {
|
||||
this.zones.push(zone)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ export default {
|
|||
return true
|
||||
}
|
||||
}
|
||||
return true
|
||||
return false
|
||||
},
|
||||
handleRefresh () {
|
||||
this.fetchData()
|
||||
|
|
|
|||
Loading…
Reference in New Issue