shwstppr commented on a change in pull request #5178:
URL: https://github.com/apache/cloudstack/pull/5178#discussion_r670177179
##########
File path: ui/src/views/infra/zone/ZoneWizardPhysicalNetworkSetupStep.vue
##########
@@ -429,7 +470,15 @@ export default {
this.form.validateFields((err, values) => {
if (!err) {
this.showEditTraffic = false
- trafficInEdit.traffic.label = values.trafficLabel
+ if (this.hypervisor === 'VMware') {
+ trafficInEdit.traffic.vSwitchName = values.vSwitchName
+ trafficInEdit.traffic.vlanId = values.vlanId
+ if (this.isAdvancedZone) {
+ trafficInEdit.traffic.vSwitchType = values.vSwitchType
+ }
+ } else {
+ trafficInEdit.traffic.label = values.trafficLabel
+ }
this.trafficInEdit = null
Review comment:
@utchoang is this line of code correct? Are we emitting correct values
here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]