Updated Branches: refs/heads/master 6aafb9c50 -> 8c6840e48
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/8c6840e4 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8c6840e4 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8c6840e4 Branch: refs/heads/master Commit: 8c6840e4895ba8613c63fc549f9a9cf70db57d3c Parents: 6aafb9c Author: Rajesh Battala <[email protected]> Authored: Thu Nov 21 14:29:54 2013 +0530 Committer: Rajesh Battala <[email protected]> Committed: Thu Nov 21 14:36:47 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/8c6840e4/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");
