You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2013/11/21 10:02:36 UTC

git commit: updated refs/heads/4.3 to b792e56

Updated Branches:
  refs/heads/4.3 b1e0f5014 -> b792e5627


Modified GetExternalVirtSwitch to take the switchname param and return the same or default one


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b792e562
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b792e562
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b792e562

Branch: refs/heads/4.3
Commit: b792e5627f7414a1f2084977a09852061404130a
Parents: b1e0f50
Author: Rajesh Battala <ra...@citrix.com>
Authored: Thu Nov 21 14:29:54 2013 +0530
Committer: Rajesh Battala <ra...@citrix.com>
Committed: Thu Nov 21 14:30:20 2013 +0530

----------------------------------------------------------------------
 .../hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b792e562/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs b/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
index c99c305..0a3f008 100644
--- a/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
+++ b/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
@@ -1168,7 +1168,7 @@ namespace HypervResource
         /// With V2 API, there are two kinds of lan endpoint:  one on the computer system and one on the switch
         /// e.g. Msvm_ExternalEthernetPort -> LANEndpoint -> LANEdnpoint -> EthernetSwitchPort -> VirtualEthernetSwitch
         /// </remarks>
-        public static VirtualEthernetSwitch GetExternalVirtSwitch()
+        public static VirtualEthernetSwitch GetExternalVirtSwitch(String vSwitchName)
         {
             // Work back from the first *bound* external NIC we find.
             var externNICs = ExternalEthernetPort.GetInstances("IsBound = TRUE");