mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
[UI] Fix zone creation wizard stuck on configuring public traffic (#11404)
* [UI] Fix zone wizard creation stuck on configuring public traffic
This commit is contained in:
parent
dc5e475bd2
commit
7d59bfe2b5
@ -903,6 +903,17 @@ export default {
|
||||
this.setStepStatus(STATUS_FAILED)
|
||||
}
|
||||
},
|
||||
async stepNetworkingProviderOrStorageTraffic () {
|
||||
if (this.stepData.isTungstenZone) {
|
||||
await this.stepCreateTungstenFabricPublicNetwork()
|
||||
} else if (this.stepData.isNsxZone) {
|
||||
await this.stepAddNsxController()
|
||||
} else if (this.stepData.isNetrisZone) {
|
||||
await this.stepAddNetrisProvider()
|
||||
} else {
|
||||
await this.stepConfigureStorageTraffic()
|
||||
}
|
||||
},
|
||||
async stepConfigurePublicTraffic (message, trafficType, idx) {
|
||||
if (
|
||||
(this.isBasicZone &&
|
||||
@ -997,17 +1008,11 @@ export default {
|
||||
await this.stepConfigurePublicTraffic('message.configuring.nsx.public.traffic', 'nsxPublicTraffic', 1)
|
||||
} else if (isolationMethods.includes('netris')) {
|
||||
await this.stepConfigurePublicTraffic('message.configuring.netris.public.traffic', 'netrisPublicTraffic', 1)
|
||||
} else {
|
||||
await this.stepNetworkingProviderOrStorageTraffic()
|
||||
}
|
||||
} else {
|
||||
if (this.stepData.isTungstenZone) {
|
||||
await this.stepCreateTungstenFabricPublicNetwork()
|
||||
} else if (this.stepData.isNsxZone) {
|
||||
await this.stepAddNsxController()
|
||||
} else if (this.stepData.isNetrisZone) {
|
||||
await this.stepAddNetrisProvider()
|
||||
} else {
|
||||
await this.stepConfigureStorageTraffic()
|
||||
}
|
||||
await this.stepNetworkingProviderOrStorageTraffic()
|
||||
}
|
||||
} else if (this.isAdvancedZone && this.sgEnabled) {
|
||||
if (this.stepData.isTungstenZone) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user