Updated Branches: refs/heads/hyperv 8eabfdcfb -> 9bfc1c0c3
Remove the unused wmi v1 interface file. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9bfc1c0c Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9bfc1c0c Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9bfc1c0c Branch: refs/heads/hyperv Commit: 9bfc1c0c385674f9dc67c6e6289c37448230c2f6 Parents: 8eabfdc Author: Devdeep Singh <devd...@gmail.com> Authored: Wed Oct 30 13:35:40 2013 +0530 Committer: Devdeep Singh <devd...@gmail.com> Committed: Wed Oct 30 13:35:40 2013 +0530 ---------------------------------------------------------------------- .../ServerResource/HypervResource/IWmiCalls.cs | 44 -------------------- 1 file changed, 44 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9bfc1c0c/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/IWmiCalls.cs ---------------------------------------------------------------------- diff --git a/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/IWmiCalls.cs b/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/IWmiCalls.cs deleted file mode 100644 index 2f48f6a..0000000 --- a/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/IWmiCalls.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using CloudStack.Plugin.WmiWrappers.ROOT.VIRTUALIZATION; -using System.Management; - -namespace HypervResource -{ - public interface IWmiCalls - { - ComputerSystem CreateVM(string name, long memory_mb, int vcpus); - void DestroyVm(string displayName); - void DestroyVm(dynamic jsonObj); - void patchSystemVmIso(String vmName, String systemVmIso); - void AttachIso(string displayName, string iso); - void GetProcessorResources(out uint cores, out uint mhz); - void GetMemoryResources(out ulong physicalRamKBs, out ulong freeMemoryKBs); - string GetDefaultVirtualDiskFolder(); - ComputerSystem DeployVirtualMachine(dynamic jsonObj, string systemVmIso); - ComputerSystem GetComputerSystem(string displayName); - void GetProcessorUsageInfo(out double cpuUtilization); - SyntheticEthernetPortSettingData CreateNICforVm(ComputerSystem vm, string mac, string vlan); - ManagementPath AddDiskDriveToVm(ComputerSystem vm, string vhdfile, string cntrllerAddr, string driveResourceType); - void SetState(ComputerSystem vm, ushort requiredState); - bool DeleteSwitchPort(string elementName); - VLANEndpointSettingData GetVlanEndpointSettings(VirtualSwitchManagementService vmNetMgmtSvc, ManagementPath newSwitchPath); - VirtualSwitch GetExternalVirtSwitch(); - VirtualSwitchManagementService GetVirtualSwitchManagementService(); - void CreateDynamicVirtualHardDisk(ulong MaxInternalSize, string Path); - ImageManagementService GetImageManagementService(); - VirtualSystemManagementService GetVirtualisationSystemManagementService(); - List<string> GetVmElementNames(); - ProcessorSettingData GetProcSettings(VirtualSystemSettingData vmSettings); - MemorySettingData GetMemSettings(VirtualSystemSettingData vmSettings); - ResourceAllocationSettingData GetIDEControllerSettings(VirtualSystemSettingData vmSettings, string cntrllerAddr); - ResourceAllocationSettingData.ResourceAllocationSettingDataCollection GetResourceAllocationSettings(VirtualSystemSettingData vmSettings); - SwitchPort[] GetSwitchPorts(ComputerSystem vm); - SwitchPort GetSwitchPort(SyntheticEthernetPort nic); - SyntheticEthernetPortSettingData[] GetEthernetPorts(ComputerSystem vm); - VirtualSystemSettingData GetVmSettings(ComputerSystem vm); - } -}