mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: fix creating zone with vxlan if Guest physical network is not the last (#7801)
This fixes #7790
This commit is contained in:
parent
78bdde9e98
commit
5097d2aa8b
@ -483,6 +483,9 @@ export default {
|
||||
} else {
|
||||
this.stepData.physicalNetworkReturned = this.stepData.physicalNetworkItem['createPhysicalNetwork' + index]
|
||||
}
|
||||
if (physicalNetwork.traffics.findIndex(traffic => traffic.type === 'guest') > -1) {
|
||||
this.stepData.guestPhysicalNetworkId = physicalNetworkReturned.id
|
||||
}
|
||||
} catch (e) {
|
||||
this.messageError = e
|
||||
this.processStatus = STATUS_FAILED
|
||||
@ -1181,7 +1184,7 @@ export default {
|
||||
}
|
||||
|
||||
const updateParams = {}
|
||||
updateParams.id = this.stepData.physicalNetworkReturned.id
|
||||
updateParams.id = this.stepData.guestPhysicalNetworkId
|
||||
updateParams.vlan = vlan
|
||||
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user