cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject [30/50] [abbrv] git commit: updated refs/heads/disk-cache to 72f2f12
Date Tue, 03 Sep 2013 11:09:35 GMT
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/e8269562
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e8269562
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e8269562

Branch: refs/heads/disk-cache
Commit: e826956290c5788a5eb9dd774b64e5f1d8cc3a1f
Parents: 94cd470
Author: Jessica Wang <jessicawang@apache.org>
Authored: Fri Aug 30 15:18:32 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Fri Aug 30 15:20:29 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui-custom/zoneWizard.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e8269562/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';
                          }                         
             		}
             		


Mime
View raw message