wsp-10323 Convert the VSP provider into one utilizing PowerShell. Step 7

This commit is contained in:
AlexanderTr 2015-03-22 07:35:09 +03:00
parent 8b3332e3c7
commit e96a2195b0
3 changed files with 80 additions and 112 deletions

View file

@ -8,6 +8,16 @@ namespace WebsitePanel.Providers.Virtualization
{
public static class Constants
{
public const string CONFIG_USE_DISKPART_TO_CLEAR_READONLY_FLAG = "WebsitePanel.HyperV.UseDiskPartClearReadOnlyFlag";
public const string WMI_VIRTUALIZATION_NAMESPACE = @"root\virtualization\v2";
public const string WMI_CIMV2_NAMESPACE = @"root\cimv2";
public const string LIBRARY_INDEX_FILE_NAME = "index.xml";
public const string EXTERNAL_NETWORK_ADAPTER_NAME = "External Network Adapter";
public const string PRIVATE_NETWORK_ADAPTER_NAME = "Private Network Adapter";
public const string MANAGEMENT_NETWORK_ADAPTER_NAME = "Management Network Adapter";
public const Int64 Size1G = 0x40000000;
public const Int64 Size1M = 0x100000;
}