xenadmin/XenModel/XenModel.csproj

617 lines
33 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{B306FC59-4441-4A5F-9F54-D3F68D4EE38D}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>XenAdmin</RootNamespace>
<AssemblyName>XenModel</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="CookComputing.XmlRpcV2, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\CookComputing.XmlRpcV2.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\log4net.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.ServiceProcess" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Actions\Action.cs" />
<Compile Include="Actions\HealthCheck\HealthCheckAuthenticationAction.cs" />
<Compile Include="Actions\HealthCheck\SaveHealthCheckSettingsAction.cs" />
<Compile Include="Actions\HealthCheck\TransferHealthCheckSettingAction.cs" />
<Compile Include="Actions\HealthCheck\TransferProxySettingsAction.cs" />
<Compile Include="Actions\HealthCheck\GetHealthCheckAnalysisResultAction.cs" />
<Compile Include="Actions\HealthCheck\TransferXenCenterMetadataAction.cs" />
<Compile Include="Actions\HealthCheck\UploadServerStatusReportAction.cs" />
<Compile Include="Actions\HealthCheck\XenServerHealthCheckUpload.cs" />
<Compile Include="Actions\CancellingAction.cs" />
<Compile Include="Actions\DockerContainer\DockerContainerLifetimeAction.cs" />
<Compile Include="Actions\DockerContainer\ExecuteContainerPluginAction.cs" />
<Compile Include="Actions\DockerContainer\VMEnlightenmentAction.cs" />
<Compile Include="Actions\DR\GetMetadataVDIsAction.cs" />
<Compile Include="Actions\DR\DrTaskCreateAction.cs" />
<Compile Include="Actions\DR\DrRecoverAction.cs" />
<Compile Include="Actions\DR\VdiLoadMetadataAction.cs" />
<Compile Include="Actions\Folders\FolderAction.cs" />
<Compile Include="Actions\GPU\VgpuConfigurationAction.cs" />
<Compile Include="Actions\Host\ApplyLicenseEditionAction.cs" />
<Compile Include="Actions\Host\ChangeControlDomainMemoryAction.cs" />
<Compile Include="Actions\Host\DestroyHostAction.cs" />
<Compile Include="Actions\Host\EnableHostAction.cs" />
<Compile Include="Actions\Host\EvacuateHostAction.cs" />
<Compile Include="Actions\Host\FibreChannelDevice.cs" />
<Compile Include="Actions\Host\HostAbstractAction.cs" />
<Compile Include="Actions\Host\RebootHostAction.cs" />
<Compile Include="Actions\Host\RestartToolstackAction.cs" />
<Compile Include="Actions\Host\ShutdownHostAction.cs" />
<Compile Include="Actions\Host\UpdateIntegratedGpuPassthroughAction.cs" />
<Compile Include="Actions\Message\DestroyMessageAction.cs" />
<Compile Include="Actions\Host\HostBackupRestoreAction.cs" />
<Compile Include="Actions\Host\SingleHostStatusAction.cs" />
<Compile Include="Actions\MultipleAction.cs" />
<Compile Include="Actions\MultipleActionLauncher.cs" />
<Compile Include="Actions\Network\CreateSriovAction.cs" />
<Compile Include="Actions\Network\SetSecondaryManagementPurposeAction.cs" />
<Compile Include="Actions\ParallelAction.cs" />
<Compile Include="Actions\Pool\AddHostToPoolAction.cs" />
<Compile Include="Actions\Pool\CreatePoolAction.cs" />
<Compile Include="Actions\Pool\DisableClusteringAction.cs" />
<Compile Include="Actions\Pool\EnableClusteringAction.cs" />
<Compile Include="Actions\Pool\PoolAction.cs" />
<Compile Include="Actions\Pool\SetGpuPlacementPolicyAction.cs" />
<Compile Include="Actions\Pool\SetSslLegacyAction.cs" />
<Compile Include="Actions\Pool_Patch\CheckDiskSpaceForPatchUploadAction.cs" />
<Compile Include="Actions\Pool_Patch\CleanupDiskSpaceAction.cs" />
<Compile Include="Actions\Pool_Patch\GetDiskSpaceRequirementsAction.cs" />
<Compile Include="Actions\Pool_Patch\PoolPatchCleanAction.cs" />
<Compile Include="Actions\Pool_update\ApplyUpdateAction.cs" />
<Compile Include="Actions\PVS\ConfigurePvsSiteAction.cs" />
<Compile Include="Actions\PVS\DeletePvsSiteAction.cs" />
<Compile Include="Actions\PVS\PvsProxyCreateAction.cs" />
<Compile Include="Actions\PVS\PvsProxyDestroyAction.cs" />
<Compile Include="Actions\StatusReportAction.cs" />
<Compile Include="Actions\SupplementalPack\InstallSupplementalPackAction.cs" />
<Compile Include="Actions\SupplementalPack\UploadSupplementalPackAction.cs" />
<Compile Include="Actions\Pool_Patch\ApplyPatchAction.cs" />
<Compile Include="Actions\Pool_Patch\UploadPatchAction.cs" />
<Compile Include="Actions\ProduceConsumerQueue.cs" />
<Compile Include="Actions\SR\SrTrimAction.cs" />
<Compile Include="Actions\StorageLink\SrCslgAdaptersScanAction.cs" />
<Compile Include="Actions\Updates\DownloadAndUnzipXenServerPatchAction.cs" />
<Compile Include="Actions\Updates\DownloadUpdatesXmlAction.cs" />
<Compile Include="Actions\Updates\XenCenterVersion.cs" />
<Compile Include="Actions\Updates\XenServerPatch.cs" />
<Compile Include="Actions\Updates\XenServerVersion.cs" />
<Compile Include="Actions\USB\CreateVUSBAction.cs" />
<Compile Include="Actions\USB\DeleteVUSBAction.cs" />
<Compile Include="Actions\USB\SetUsbPassthroughAction.cs" />
<Compile Include="Actions\VBD\VbdEditAction.cs" />
<Compile Include="Actions\VBD\VbdSaveAndPlugAction.cs" />
<Compile Include="Actions\DR\VdiOpenDatabaseAction.cs" />
<Compile Include="Actions\VDI\CreateDiskAction.cs" />
<Compile Include="Actions\VDI\MigrateVirtualDiskAction.cs" />
<Compile Include="Actions\VDI\VDIDisableCbtAction.cs" />
<Compile Include="Actions\VMAppliances\AssignVMsToVMApplianceAction.cs" />
<Compile Include="Actions\VMAppliances\CreateVMApplianceAction.cs" />
<Compile Include="Actions\VMAppliances\DestroyVMApplianceAction.cs" />
<Compile Include="Actions\VMAppliances\ShutDownApplianceAction.cs" />
<Compile Include="Actions\VMAppliances\StartApplianceAction.cs" />
<Compile Include="Actions\VM\ChangeMemorySettingsAction.cs" />
<Compile Include="Actions\VM\CreateCdDriveAction.cs" />
<Compile Include="Actions\VM\CreateVMAction.cs" />
<Compile Include="Actions\VM\CreateVMFastAction.cs" />
<Compile Include="Actions\DR\ShutdownAndDestroyVmAppliancesAction.cs" />
<Compile Include="Actions\VM\ExportVmAction.cs" />
<Compile Include="Actions\VM\GpuAssignAction.cs" />
<Compile Include="Actions\VM\ImportVmAction.cs" />
<Compile Include="Actions\VM\ResumeAndStartVMsAction.cs" />
<Compile Include="Actions\VM\SetVMStartupOptionsAction.cs" />
<Compile Include="Actions\DR\StartVMsAndAppliancesAction.cs" />
<Compile Include="Actions\DR\ShutdownAndDestroyVMsAction.cs" />
<Compile Include="Actions\VM\VMCrossPoolMigrateAction.cs" />
<Compile Include="Actions\VM\VMSnapshotCreateAction.cs" />
<Compile Include="Actions\VM\VMStartAction.cs" />
<Compile Include="Actions\WLB\WlbRetrieveVmRecommendationsAction.cs" />
<Compile Include="Actions\ZipStatusReportAction.cs" />
<Compile Include="Alerts\Types\Alert.cs" />
<Compile Include="DockerContainers.cs" />
<Compile Include="CustomFields\CustomField.cs" />
<Compile Include="CustomFields\CustomFieldDefinition.cs" />
<Compile Include="CustomFields\CustomFieldsCache.cs" />
<Compile Include="CustomFields\CustomFieldsManager.cs" />
<Compile Include="DockerContainer.cs" />
<Compile Include="Folders.cs" />
<Compile Include="FriendlyNames.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>FriendlyNames.resx</DependentUpon>
</Compile>
<Compile Include="FriendlyNameManager.cs" />
<Compile Include="HealthCheckSettings.cs" />
<Compile Include="InvokeHelper.cs" />
<Compile Include="Mappings\LiveMigrateOptionsVmMapping.cs" />
<Compile Include="Mappings\VmMapping.cs" />
2015-10-26 19:09:38 +01:00
<Compile Include="Messages.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Messages.resx</DependentUpon>
</Compile>
<Compile Include="Network\Cache.cs" />
<Compile Include="Network\ConnectTask.cs" />
<Compile Include="Network\Heartbeat.cs" />
<Compile Include="Network\HTTPHelper.cs" />
<Compile Include="Network\ConnectionsManager.cs" />
<Compile Include="Network\SessionFactory.cs" />
<Compile Include="Network\XenConnection.cs" />
<Compile Include="OtherConfigWatcher.cs" />
<Compile Include="PoolJoinRules.cs" />
<Compile Include="ServerDBs\Db.cs" />
<Compile Include="ServerDBs\Db.Dictionaries.cs" />
<Compile Include="ServerDBs\DbProxy.cs" />
<Compile Include="ServerDBs\DbProxyInvokingEventArgs.cs" />
<Compile Include="ServerDBs\FakeAPI\ActivationKeyParser.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeAuth.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeEvent.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeHost.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeHost_Patch.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeNetwork.cs" />
<Compile Include="ServerDBs\FakeAPI\fakePBD.cs" />
<Compile Include="ServerDBs\FakeAPI\fakePool.cs" />
<Compile Include="ServerDBs\FakeAPI\fakePool_Patch.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeSecret.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeSession.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeSR.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeTask.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeUnknown.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeVBD.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeVDI.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeVIF.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeVM.cs" />
<Compile Include="ServerDBs\FakeAPI\fakeXenObject.cs" />
<Compile Include="ServerDBs\HighLoadEventGenerator.cs" />
<Compile Include="ServerDBs\Parser.cs" />
<Compile Include="ServerDBs\ProxyMethodNameParser.cs" />
<Compile Include="ServerDBs\SimulatorWebProxy.cs" />
<Compile Include="ServerDBs\SimulatorWebStream.cs" />
<Compile Include="ServerDBs\StatusReportXmlDocReader.cs" />
<Compile Include="ServerDBs\TypeCache.cs" />
<Compile Include="StorageLinkAPI\StorageLinkAdapterBoston.cs" />
<Compile Include="StringExtensions.cs" />
<Compile Include="Tags.cs" />
<Compile Include="TimeSpanExtensions.cs" />
<Compile Include="Utils\AsyncServerTime.cs" />
<Compile Include="WLB\RetrieveWlbConfigurationAction.cs" />
<Compile Include="WLB\WlbHostEvacuationRecommendation.cs" />
<Compile Include="WLB\WlbOptimizationRecommendation.cs" />
<Compile Include="WLB\WlbReportAction.cs" />
<Compile Include="XenAdminConfigManager.cs" />
<Compile Include="Actions\AD\AddRemoveRolesAction.cs" />
<Compile Include="Actions\AD\AddRemoveSubjectsAction.cs" />
<Compile Include="Actions\AD\DisableAdAction.cs" />
<Compile Include="Actions\AD\EnableAdAction.cs" />
<Compile Include="Actions\AsyncAction.cs" />
<Compile Include="Actions\DelegatedAsyncAction.cs" />
<Compile Include="Actions\GetDataSourcesAction.cs" />
<Compile Include="Actions\Host\ActivationProxy.cs" />
<Compile Include="Actions\Host\ActivationRequestAction.cs" />
<Compile Include="Actions\Host\ApplyLicenseAction.cs" />
<Compile Include="Actions\Host\ChangeHostPasswordAction.cs" />
<Compile Include="Actions\Host\DestroyHostCrashDumpAction.cs" />
<Compile Include="Actions\Host\DisableHostAction.cs" />
<Compile Include="Actions\Host\EditMultipathAction.cs" />
<Compile Include="Actions\Host\ExecutePluginAction.cs" />
<Compile Include="Actions\Host\FibreChannelProbeAction.cs" />
<Compile Include="Actions\Host\GetServerLocalTimeAction.cs" />
<Compile Include="Actions\Host\GetSystemStatusCapabilities.cs" />
<Compile Include="Actions\Host\HostPowerOnAction.cs" />
<Compile Include="Actions\Host\LicensingHelper.cs" />
<Compile Include="Actions\Host\SavePowerOnSettingsAction.cs" />
<Compile Include="Actions\Host\VMsWhichCanBeMigratedAction.cs" />
<Compile Include="Actions\Network\CreateChinAction.cs" />
<Compile Include="Actions\Network\NetworkAction.cs" />
<Compile Include="Actions\Network\NetworkingActionHelpers.cs" />
<Compile Include="Actions\Network\ChangeNetworkingAction.cs" />
<Compile Include="Actions\Network\CreateBondAction.cs" />
<Compile Include="Actions\Network\DestroyBondAction.cs" />
<Compile Include="Actions\Network\RescanPIFsAction.cs" />
<Compile Include="Actions\Network\UnplugPlugNetworkAction.cs" />
<Compile Include="Actions\Perfmon\PerfmonDefinitionAction.cs" />
<Compile Include="Actions\Perfmon\PerfmonOptionsDefinitionAction.cs" />
<Compile Include="Actions\Pool\DestroyPoolAction.cs" />
<Compile Include="Actions\Pool\DisableHAAction.cs" />
<Compile Include="Actions\Pool\EjectHostFromPoolAction.cs" />
<Compile Include="Actions\Pool\EnableHAAction.cs" />
<Compile Include="Actions\Pool\GetHeartbeatSRsAction.cs" />
<Compile Include="Actions\Pool\SyncDatabaseAction.cs" />
<Compile Include="Actions\Pool_Patch\RemovePatchAction.cs" />
<Compile Include="Actions\PureAsyncAction.cs" />
<Compile Include="Actions\SaveChangesAction.cs" />
<Compile Include="Actions\SR\ISCSIPopulateIQNsAction.cs" />
<Compile Include="Actions\SR\ISCSIPopulateLunsAction.cs" />
<Compile Include="Actions\SR\SrAction.cs" />
<Compile Include="Actions\SR\SrIntroduceAction.cs" />
<Compile Include="Actions\SR\SrProbeAction.cs" />
<Compile Include="Actions\SR\SrReattachAction.cs" />
<Compile Include="Actions\SR\SrRefreshAction.cs" />
<Compile Include="Actions\SR\SrRepairAction.cs" />
<Compile Include="Actions\SR\SrScanAction.cs" />
<Compile Include="Actions\StorageLink\SrCreateAction.cs" />
<Compile Include="Actions\StorageLink\SrCslgScanAction.cs" />
<Compile Include="Actions\StorageLink\SrCslgStoragePoolScanAction.cs" />
<Compile Include="Actions\StorageLink\SrCslgStorageSystemScanAction.cs" />
<Compile Include="Actions\VDI\DestroyDiskAction.cs" />
<Compile Include="Actions\VDI\DetachVirtualDiskAction.cs" />
<Compile Include="Actions\VDI\MoveVirtualDiskAction.cs" />
<Compile Include="Actions\VIF\CreateVIFAction.cs" />
<Compile Include="Actions\VIF\UnplugVIFAction.cs" />
<Compile Include="Actions\VIF\DeleteVIFAction.cs" />
<Compile Include="Actions\VIF\PlugVIFAction.cs" />
<Compile Include="Actions\VIF\UpdateVIFAction.cs" />
<Compile Include="Actions\VMSS\AssignVMsToPolicyAction.cs" />
<Compile Include="Actions\VMSS\ChangePolicyEnabledAction.cs" />
<Compile Include="Actions\VMSS\CreateVMPolicy.cs" />
<Compile Include="Actions\VMSS\DestroyPolicyAction.cs" />
<Compile Include="Actions\VMSS\RunPolicyNowAction.cs" />
<Compile Include="Actions\VM\ChangeVCPUSettingsAction.cs" />
<Compile Include="Actions\VM\ChangeVMISOAction.cs" />
<Compile Include="Actions\VM\HAUnprotectVMAction.cs" />
<Compile Include="Actions\VM\HVMBootAction.cs" />
<Compile Include="Actions\VM\InstallPVToolsAction.cs" />
<Compile Include="Actions\VM\SetHaPrioritiesAction.cs" />
<Compile Include="Actions\VM\SetVMOtherConfigAction.cs" />
<Compile Include="Actions\VM\SuspendAndShutdownVMsAction.cs" />
<Compile Include="Actions\VM\VMCloneAction.cs" />
<Compile Include="Actions\VM\VMCopyAction.cs" />
<Compile Include="Actions\VM\VMDestroyAction.cs" />
<Compile Include="Actions\VM\VMMigrateAction.cs" />
<Compile Include="Actions\VM\VMMoveAction.cs" />
<Compile Include="Actions\VM\VMRebootAction.cs" />
<Compile Include="Actions\VM\VMShutdownAction.cs" />
<Compile Include="Actions\VM\VMSnapshotDeleteAction.cs" />
<Compile Include="Actions\VM\VMSnapshotRevertAction.cs" />
<Compile Include="Actions\VM\VMSuspendAction.cs" />
<Compile Include="Actions\VM\VMToTemplateAction.cs" />
<Compile Include="Actions\WLB\DisableWLBAction.cs" />
<Compile Include="Actions\WLB\EnableWLBAction.cs" />
<Compile Include="Actions\WLB\InitializeWLBAction.cs" />
<Compile Include="Actions\WLB\SendWlbConfigurationAction.cs" />
<Compile Include="Actions\WLB\WlbRetrieveRecommendationAction.cs" />
<Compile Include="Alerts\PerfmonDefinition.cs" />
<Compile Include="Alerts\PerfmonOptionsDefinition.cs" />
<Compile Include="InvisibleMessages.Designer.cs">
<DependentUpon>InvisibleMessages.resx</DependentUpon>
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Network\CancelledException.cs" />
<Compile Include="Network\DisconnectionException.cs" />
<Compile Include="Folder.cs" />
<Compile Include="Network\NetworkingHelper.cs" />
<Compile Include="Network\TaskPoller.cs" />
<Compile Include="WLB\WlbConfigurationBase.cs" />
<Compile Include="WLB\WlbHostConfiguration.cs" />
<Compile Include="WLB\WlbServerState.cs" />
<Compile Include="XenAPI-Extensions\Blob.cs" />
<Compile Include="XenAPI-Extensions\PUSB.cs" />
<Compile Include="XenAPI-Extensions\VMSS.cs" />
<Compile Include="XenAPI-Extensions\Pool_update.cs" />
<Compile Include="XenAPI-Extensions\PVS_cache_storage.cs" />
CP-16922: Implement GUI for enabling PVS read caching (#1179) * CP-16922: UI changes to PvsPage to replace the single configure button with a separate enable and disable one, per the design doc * CP-16922: Intermediate checkin - command + dialog implemented, but PVS page has some layout problems. * CP-16922: Implement GUI for enabling PVS read caching and marking/unmarking VMs for prepopulation Fix the broken layout by reverting MainWindow.resx (which shouldn't have changed) back to the previous commit. Also removed duplicate properties button code. * CP-16922: PVS Page changes, to properly display all VMs (not just ones with proxy), only populating proxy columns if there is a proxy set. * CP-16922: Use a CommandButton for the enable button, connected to the same command as the VM main menu button, and using the table selection as its selection manager. * CP-16922: Delete the old enable button click behaviour (because it now has a proper command), was causing the dialog to show up twice * CP-16922: Properly list VMs by hiding those that should be hidden (in addition to non-VMs, also hide the __gui__ prefix and others covered by Show function). Also fixes a bug in NewVMGroupVMsPage discovered when fixing this - it would show VMs that should be hidden if you used the search bar. * CP-16922: Use ButtonText on the Command to set the text on the PVS enable button * CP-16922: Add the disable PVS read-caching command, and its associated proxy destroy action. Both based off enable equivalents (main difference is no dialog for now). Not used yet but will be in main window menu + disable button * CP-16922: Add disable PVS read-caching to the main window menu (under enable), with the disable command attached to it * CP-16922: Add support for disabling PVS read-caching for selected hosts via the PVS tab page by converting the disable button into a CommandButton in the same way as the enable button, using its own command + selection manager (because Selection Managers only bind to one control) * CP-16922: Design - adding the "read caching enabled" column from the design, so that we display both whether caching is enabled and whether the VM is currently cached. If it's disabled all other values are missing. * CP-16922: Add the PVS site column per the design to show the site a VM's PVS Proxy is on if it has a proxy * CP-16922: Add an event handler for VMs changing so that newly provisioned VMs immediately show up in the PVS tab page * CP-16922: Support for properly remembering the selection when the VM list is refreshed. A new method returns the list of VMs for the selected rows, and we can then check if the VM for the row being added is in this list. If there was no previous selection then we still select the first row by default. * CP-16922: Remove prepopulate, which is being removed from the design. The next XAPI version will remove it, so just pass False as prepopulate for now, and remove the option from the dialog and PVS tab page. * CP-16922: Improve UI appearance for a missing Storage Repository. Per the design, if there is no SR show the message None (memory only) instead of an empty cell * CP-16922: Improved sorting behaviour. All columns (except VM name, which always uses it) use the VM tag as a sorting fallback (since they all have duplicates). New default sort which sorts by caching enabled first (yes before no), and then VM tag as a tiebreaker. Support for remembering the current sort on refresh, ie when a value changes. * CP-16922: Refactoring to use a VM extension method to get the PVSProxy (or null if none exists) for a VM. This was used in the PVS Page + commands which are now much simpler. * CP-16922: Move where the SelectionChanged event handler is set when refreshing the PVS table, so that the command buttons are updated correctly. * CP-16922: Improvements to PVS read-caching dialog. Set accept/cancel buttons properly + adjust tab values, so focus acts as expected * CP-16922: Remove the images from the menu for Enable/Disable PVS read-caching, most commands in the menu don't have one * CP-16922: Sorting out the strings for the actions + ParallelAction calls, and moving them into the resx. Also reverting wrong MainWindow.resx changes. * CAR-2184: XAPI changes. I've made the minimal possible changes to PvsPage to ensure it compiles, but it's had a lot of feature work (CP-16922) that supersedes this, these small changes should keep that merge painless. * CAR-2184 XAPI: Reverse the unrelated changes, only keep the PVS ones. * CP-16922: Merge latest XAPI changes, notably changes to Pvs_site.create * CP-16922: Change tab show/hide logic for PVS tab, show it even if there are no PVS sites. * CP-16922: Implement GUI for enabling PVS read caching Design changes - remove the storage repo column and replace it with status, which is populated with a friendly version of the pvs_proxy_status enum. Also populate site list using site.name_label Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com> * CP-16922: Implement GUI for enabling PVS read caching Adjusting the CanExecute of Enable PVS read-caching command to require at least one PVS site to be created. Since the PVS tab can show up without any sites, we need this because we can't create a proxy without a site. * CP-16922: Code review changes. Tidied up messages, and ensured actions run async properly, and without exiting before their task. * CP-16922: Code review changes. Update dialog resx, wider combobox on dialog, update action descriptions before setting RelatedTask, add friendly message body for PVS error notifications.
2016-09-22 16:08:15 +02:00
<Compile Include="XenAPI-Extensions\pvs_proxy_status.cs" />
<Compile Include="XenAPI-Extensions\PVS_site.cs" />
<Compile Include="XenAPI-Extensions\PVS_proxy.cs" />
<Compile Include="XenAPI-Extensions\VM_Docker_Info.cs" />
<Compile Include="XenAPI-Extensions\GPU_group.cs" />
<Compile Include="XenAPI-Extensions\PGPU.cs" />
<Compile Include="XenAPI-Extensions\VGPU.cs" />
<Compile Include="XenAPI-Extensions\VGPU_type.cs" />
<Compile Include="XenAPI-Extensions\VM_appliance.cs" />
<Compile Include="XenAPI-Extensions\VM_Docker_Version.cs" />
<Compile Include="XenAPI-Extensions\vm_power_state.cs" />
<Compile Include="XenAPI\allocation_algorithm.cs" />
<Compile Include="XenAPI\ApiVersion.cs" />
<Compile Include="XenAPI\bond_mode.cs" />
<Compile Include="XenAPI\Cluster.cs" />
<Compile Include="XenAPI\Cluster_host.cs" />
<Compile Include="XenAPI\cluster_host_operation.cs" />
<Compile Include="XenAPI\cluster_operation.cs" />
<Compile Include="XenAPI\Converters.cs" />
<Compile Include="XenAPI\DeprecatedAttribute.cs" />
<Compile Include="XenAPI\domain_type.cs" />
<Compile Include="XenAPI\DR_task.cs" />
<Compile Include="XenAPI\Feature.cs" />
<Compile Include="XenAPI\FriendlyErrorNames.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>FriendlyErrorNames.resx</DependentUpon>
</Compile>
<Compile Include="XenAPI\GPU_group.cs" />
<Compile Include="XenAPI\host_allowed_operations.cs" />
<Compile Include="XenAPI\host_display.cs" />
<Compile Include="XenAPI\ipv6_configuration_mode.cs" />
<Compile Include="XenAPI\JsonRpc.cs" />
<Compile Include="XenAPI\JsonRpcClient.cs" />
<Compile Include="XenAPI\livepatch_status.cs" />
<Compile Include="XenAPI\LVHD.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="XenAPI\network_default_locking_mode.cs" />
<Compile Include="XenAPI\network_purpose.cs" />
2018-01-17 09:58:15 +01:00
<Compile Include="XenAPI\Network_sriov.cs" />
<Compile Include="XenAPI\PCI.cs" />
<Compile Include="XenAPI\PGPU.cs" />
<Compile Include="XenAPI\pgpu_dom0_access.cs" />
<Compile Include="XenAPI\pif_igmp_status.cs" />
<Compile Include="XenAPI\pool_allowed_operations.cs" />
<Compile Include="XenAPI\Pool_update.cs" />
<Compile Include="XenAPI\primary_address_type.cs" />
<Compile Include="XenAPI\Probe_result.cs" />
<Compile Include="XenAPI\PUSB.cs" />
<Compile Include="XenAPI\PVS_cache_storage.cs" />
<Compile Include="XenAPI\PVS_proxy.cs" />
<Compile Include="XenAPI\pvs_proxy_status.cs" />
<Compile Include="XenAPI\PVS_server.cs" />
<Compile Include="XenAPI\PVS_site.cs" />
<Compile Include="XenAPI\SDN_controller.cs" />
<Compile Include="XenAPI\sdn_controller_protocol.cs" />
2018-01-17 09:58:15 +01:00
<Compile Include="XenAPI\sriov_configuration_mode.cs" />
<Compile Include="XenAPI\sr_health.cs" />
<Compile Include="XenAPI\Sr_stat.cs" />
<Compile Include="XenAPI\tristate_type.cs" />
<Compile Include="XenAPI\update_after_apply_guidance.cs" />
<Compile Include="XenAPI\USB_group.cs" />
<Compile Include="XenAPI\Vdi_nbd_server_info.cs" />
<Compile Include="XenAPI\VGPU.cs" />
<Compile Include="XenAPI\VGPU_type.cs" />
<Compile Include="XenAPI\vgpu_type_implementation.cs" />
<Compile Include="XenAPI\vif_ipv4_configuration_mode.cs" />
<Compile Include="XenAPI\vif_ipv6_configuration_mode.cs" />
<Compile Include="XenAPI\vif_locking_mode.cs" />
<Compile Include="XenAPI\VMSS.cs" />
<Compile Include="XenAPI\vmss_frequency.cs" />
<Compile Include="XenAPI\vmss_type.cs" />
<Compile Include="XenAPI\VM_appliance.cs" />
<Compile Include="XenAPI\vm_appliance_operation.cs" />
<Compile Include="XenAPI\VUSB.cs" />
<Compile Include="XenAPI\vusb_operations.cs" />
<Compile Include="XenSearch\Common.cs" />
<Compile Include="XenSearch\GroupAlg.cs" />
<Compile Include="XenSearch\GroupingTypes.cs" />
<Compile Include="XenSearch\MetricUpdater.cs" />
<Compile Include="XenSearch\PropertyAccessorHelper.cs" />
<Compile Include="XenSearch\Query.cs" />
<Compile Include="XenSearch\QueryScope.cs" />
<Compile Include="XenSearch\QueryTypes.cs" />
<Compile Include="XenSearch\Search.cs" />
<Compile Include="XenSearch\SearchMarshalling.cs" />
<Compile Include="XenSearch\Sort.cs" />
<Compile Include="XenServerPlugins.cs" />
<Compile Include="XenServerProxy\ClassGenerator.cs" />
<Compile Include="XenServerProxy\IInvocationHandler.cs" />
<Compile Include="XenServerProxy\InterfaceLister.cs" />
<Compile Include="XenServerProxy\ProxyMethodInfo.cs" />
<Compile Include="XenServerProxy\RbacCollectorProxy.cs" />
<Compile Include="XenServerProxy\SimpleProxyMethodParser.cs" />
<Compile Include="Utils\Helpers.cs" />
<Compile Include="I18NException.cs" />
<Compile Include="Network\ICache.cs" />
<Compile Include="Icons.cs" />
<Compile Include="Network\IXenConnection.cs" />
<Compile Include="ObjectChange.cs" />
<Compile Include="Alerts\PolicyAlert.cs" />
<Compile Include="Utils\PrettyTimeSpan.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RbacMethod.cs" />
<Compile Include="StorageLinkAPI\CowleyLegacy\StorageLinkCredentials.cs" />
<Compile Include="StorageLinkAPI\CowleyLegacy\StorageLinkEnums.cs" />
<Compile Include="StorageLinkAPI\CowleyLegacy\StorageLinkPool.cs" />
<Compile Include="Utils\Util.cs" />
<Compile Include="XenAPI-Extensions\Auth.cs" />
<Compile Include="XenAPI-Extensions\BadServerResponse.cs" />
<Compile Include="XenAPI-Extensions\Bond.cs" />
<Compile Include="XenAPI-Extensions\Failure.cs" />
<Compile Include="XenAPI-Extensions\Host.cs" />
<Compile Include="XenAPI-Extensions\HTTP_actions.cs" />
<Compile Include="XenAPI-Extensions\IXenObject.cs" />
<Compile Include="XenAPI-Extensions\Message.cs" />
<Compile Include="XenAPI-Extensions\Network.cs" />
<Compile Include="XenAPI-Extensions\PBD.cs" />
<Compile Include="XenAPI-Extensions\PIF.cs" />
<Compile Include="XenAPI-Extensions\Pool.cs" />
<Compile Include="XenAPI-Extensions\Pool_patch.cs" />
<Compile Include="XenAPI-Extensions\Role.cs" />
<Compile Include="XenAPI-Extensions\Secret.cs" />
<Compile Include="XenAPI-Extensions\Session.cs" />
<Compile Include="XenAPI-Extensions\SM.cs" />
<Compile Include="XenAPI-Extensions\SR.cs" />
<Compile Include="XenAPI-Extensions\Subject.cs" />
<Compile Include="XenAPI-Extensions\Task.cs" />
<Compile Include="XenAPI-Extensions\VBD.cs" />
<Compile Include="XenAPI-Extensions\VDI.cs" />
<Compile Include="XenAPI-Extensions\VIF.cs" />
<Compile Include="XenAPI-Extensions\VM.cs" />
<Compile Include="XenAPI-Extensions\VM_guest_metrics.cs" />
<Compile Include="XenAPI-Extensions\XenObject.cs" />
<Compile Include="XenAPI\after_apply_guidance.cs" />
<Compile Include="XenAPI\Auth.cs" />
<Compile Include="XenAPI\Blob.cs" />
<Compile Include="XenAPI\Bond.cs" />
<Compile Include="XenAPI\cls.cs" />
<Compile Include="XenAPI\Console.cs" />
<Compile Include="XenAPI\console_protocol.cs" />
<Compile Include="XenAPI\Crashdump.cs" />
<Compile Include="XenAPI\Data_source.cs" />
<Compile Include="XenAPI\Event.cs" />
<Compile Include="XenAPI\Failure.cs" />
<Compile Include="XenAPI\Helper.cs" />
<Compile Include="XenAPI\Host.cs" />
<Compile Include="XenAPI\Host_cpu.cs" />
<Compile Include="XenAPI\Host_crashdump.cs" />
<Compile Include="XenAPI\Host_metrics.cs" />
<Compile Include="XenAPI\Host_patch.cs" />
<Compile Include="XenAPI\HTTP.cs" />
<Compile Include="XenAPI\HTTP_actions.cs" />
<Compile Include="XenAPI\IMockWebProxy.cs" />
<Compile Include="XenAPI\ip_configuration_mode.cs" />
<Compile Include="XenAPI\IXenObject.cs" />
<Compile Include="XenAPI\Maps.cs" />
<Compile Include="XenAPI\Marshalling.cs" />
<Compile Include="XenAPI\Message.cs" />
<Compile Include="XenAPI\Network.cs" />
<Compile Include="XenAPI\network_operations.cs" />
<Compile Include="XenAPI\on_boot.cs" />
<Compile Include="XenAPI\on_crash_behaviour.cs" />
<Compile Include="XenAPI\on_normal_exit.cs" />
<Compile Include="XenAPI\PBD.cs" />
<Compile Include="XenAPI\PIF.cs" />
<Compile Include="XenAPI\PIF_metrics.cs" />
<Compile Include="XenAPI\Pool.cs" />
<Compile Include="XenAPI\Pool_patch.cs" />
<Compile Include="XenAPI\Proxy.cs" />
<Compile Include="XenAPI\Relation.cs" />
<Compile Include="XenAPI\Response.cs" />
<Compile Include="XenAPI\Role.cs" />
<Compile Include="XenAPI\Secret.cs" />
<Compile Include="XenAPI\Session.cs" />
<Compile Include="XenAPI\SM.cs" />
<Compile Include="XenAPI\SR.cs" />
<Compile Include="XenAPI\storage_operations.cs" />
<Compile Include="XenAPI\Subject.cs" />
<Compile Include="XenAPI\Subject2.cs" />
<Compile Include="XenAPI\Task.cs" />
<Compile Include="XenAPI\task_allowed_operations.cs" />
<Compile Include="XenAPI\task_status_type.cs" />
<Compile Include="XenAPI\Tunnel.cs" />
<Compile Include="XenAPI\User.cs" />
<Compile Include="XenAPI\UserDetails.cs" />
<Compile Include="XenAPI\VBD.cs" />
<Compile Include="XenAPI\VBD_metrics.cs" />
<Compile Include="XenAPI\vbd_mode.cs" />
<Compile Include="XenAPI\vbd_operations.cs" />
<Compile Include="XenAPI\vbd_type.cs" />
<Compile Include="XenAPI\VDI.cs" />
<Compile Include="XenAPI\vdi_operations.cs" />
<Compile Include="XenAPI\vdi_type.cs" />
<Compile Include="XenAPI\VIF.cs" />
<Compile Include="XenAPI\VIF_metrics.cs" />
<Compile Include="XenAPI\vif_operations.cs" />
<Compile Include="XenAPI\VLAN.cs" />
<Compile Include="XenAPI\VM.cs" />
<Compile Include="XenAPI\VMPP.cs" />
<Compile Include="XenAPI\vmpp_archive_frequency.cs" />
<Compile Include="XenAPI\vmpp_archive_target_type.cs" />
<Compile Include="XenAPI\vmpp_backup_frequency.cs" />
<Compile Include="XenAPI\vmpp_backup_type.cs" />
<Compile Include="XenAPI\VM_guest_metrics.cs" />
<Compile Include="XenAPI\VM_metrics.cs" />
<Compile Include="XenAPI\vm_operations.cs" />
<Compile Include="XenAPI\vm_power_state.cs" />
<Compile Include="XenAPI\VTPM.cs" />
<Compile Include="XenAPI\XenObject.cs" />
<Compile Include="XenObjectDownloader.cs" />
<Compile Include="XenAPI\XenRef.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="FriendlyNames.resx">
<SubType>Designer</SubType>
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>FriendlyNames.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="FriendlyNames.ja.resx">
<LastGenOutput>FriendlyNames.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FriendlyNames.zh-CN.resx" />
2015-02-04 15:30:55 +01:00
<EmbeddedResource Include="InvisibleMessages.ja.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="InvisibleMessages.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>InvisibleMessages.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
2015-02-04 15:30:55 +01:00
<EmbeddedResource Include="InvisibleMessages.zh-CN.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Messages.ja.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Messages.resx">
<SubType>Designer</SubType>
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Messages.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Messages.zh-CN.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="XenAPI\FriendlyErrorNames.ja.resx" />
<EmbeddedResource Include="XenAPI\FriendlyErrorNames.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>FriendlyErrorNames.Designer.cs</LastGenOutput>
<CustomToolNamespace>XenAPI</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="XenAPI\FriendlyErrorNames.zh-CN.resx" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CommandLib\CommandLib.csproj">
<Project>{6CE6A8FF-CF49-46B6-BEA4-6464A2F0A4D7}</Project>
<Name>CommandLib</Name>
</ProjectReference>
<ProjectReference Include="..\XenCenterLib\XenCenterLib.csproj">
<Project>{9861DFA1-B41F-432D-A43F-226257DEBBB9}</Project>
<Name>XenCenterLib</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>