Updated Branches: refs/heads/4.2-forward 8d60e4436 -> ff4f931cd
CLOUDSTACK-4089: UI > zone wizard > VMware hypervisor > physical network > edit traffic type > set default value for vSwitchName field upon selected vSwitchType. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ff4f931c Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ff4f931c Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ff4f931c Branch: refs/heads/4.2-forward Commit: ff4f931cd8b29983b5ad82675ccc65b651839a62 Parents: 8d60e44 Author: Jessica Wang <jessicaw...@apache.org> Authored: Fri Aug 30 15:18:32 2013 -0700 Committer: Jessica Wang <jessicaw...@apache.org> Committed: Fri Aug 30 15:18:32 2013 -0700 ---------------------------------------------------------------------- ui/scripts/ui-custom/zoneWizard.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ff4f931c/ui/scripts/ui-custom/zoneWizard.js ---------------------------------------------------------------------- diff --git a/ui/scripts/ui-custom/zoneWizard.js b/ui/scripts/ui-custom/zoneWizard.js index a1c5803..695534f 100644 --- a/ui/scripts/ui-custom/zoneWizard.js +++ b/ui/scripts/ui-custom/zoneWizard.js @@ -340,11 +340,14 @@ }); if (useNexusDvs == true) { trafficData.vSwitchType = 'nexusdvs'; + fields.vSwitchName.defaultValue = 'epp0'; } else { trafficData.vSwitchType = 'vmwaredvs'; + fields.vSwitchName.defaultValue = 'dvSwitch0'; } } else { //useDvs == false trafficData.vSwitchType = 'vmwaresvs'; + fields.vSwitchName.defaultValue = 'vSwitch0'; } }