[CP-16936] Implement GUI for viewing the PVS farms and PVS servers (read-only)

Removed unused properties.
Added new string resource to set the pvs farm dialog's title.
Extended XenAPI's PVS_farm class to override Name property to allow for simpler sorting code.
Removed embedded icon in resource file; dialog now inherits the application's icon.

Signed-off-by: Frezzle <frederico.mazzone@citrix.com>
This commit is contained in:
Frezzle 2016-07-26 15:19:18 +01:00
parent e6dfddb98c
commit d0a4f9cb81
9 changed files with 64 additions and 203 deletions

View File

@ -102,31 +102,6 @@ namespace XenAdmin.Controls.DataGridViewEx
}
}
public int ExpansionCellIndex
{
get { return Cells.IndexOf(expansionCell); }
}
public int FarmCellIndex
{
get { return Cells.IndexOf(farmCell); }
}
public int IpAddressesCellIndex
{
get { return Cells.IndexOf(ipAddressesCell); }
}
public int FirstPortCellIndex
{
get { return Cells.IndexOf(firstPortCell); }
}
public int LastPortCellIndex
{
get { return Cells.IndexOf(lastPortCell); }
}
public bool IsFarmRow
{
get { return isPvsFarmRow; }

View File

@ -30,7 +30,6 @@
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using XenAdmin.Network;
@ -99,9 +98,10 @@ namespace XenAdmin.Dialogs
gridView.SuspendLayout();
gridView.Rows.Clear();
PVS_farm[] pvsFarmsArray = connection.Cache.PVS_farms;
List<PVS_farm> sortedPvsFarms = pvsFarmsArray.OrderBy(farm => farm.name).ToList();
foreach (var pvsFarm in sortedPvsFarms)
var pvsFarms = connection.Cache.PVS_farms.ToList();
pvsFarms.Sort();
foreach (var pvsFarm in pvsFarms)
{
var farmRow = new CollapsingPvsFarmServerDataGridViewRow(pvsFarm);
gridView.Rows.Add(farmRow);

View File

@ -297,179 +297,6 @@
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Tahoma, 8pt</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAYAICAQAAAAAADoAgAAZgAAABAQEAAAAAAAKAEAAE4DAAAgIAAAA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q
jf8Gao3/B2qN/8DAwP8AAAAAAAAAAMDAwP8KJrv/r7Tz/5CU6v8PIJ//wMDA/w+Dq/87y/z/Kcb8/xrD
/P8QwPv/EMD7/wdqjf/AwMD/AAAAAAAAAADAwMD/CCrI/woowP8LJrf/DSSu/8DAwP8Sjbj/Zdb9/0/Q
/P88y/v/Kcf7/xrC+/8IbZD/wMDA/wAAAAAAAAAAwMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/FpfG/43h
/f962/3/Zdb8/0/Q/P87zPz/CXSZ/8DAwP8AAAAAAAAAAMDAwP8AAAAAAAAAAAAAAAAAAAAAwMDA/xif
z/+u6f7/n+X9/47h/f953P3/ZNb9/w19pP/AwMD/AAAAAAAAAADAwMD/AAAAAAAAAAAAAAAAAAAAAMDA
wP8apNX/uez+/7ns/v+u6f7/oOX9/43h/f8Rh7H/wMDA/wAAAAAAAAAAwMDA/wAAAAAAAAAAAAAAAAAA
AADAwMD/GqTV/xqk1f8apNX/GaHR/xecy/8WmMb/FJK+/8DAwP8AAAAAAAAAAMDAwP/AwMD/wMDA/8DA
wP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/AAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wAAgAEAALQF
wf+0BQAAgAUAAIAFAACAAQAAgAHB/4ABAACAAQAAgAEAALwBAAC8AQAAvAHB/4ABbP///5H/
</value>
</data>
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value>
</data>

View File

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@ -27233,6 +27233,15 @@ namespace XenAdmin {
}
}
/// <summary>
/// Looks up a localized string similar to PVS Farm - &apos;{0}&apos;.
/// </summary>
public static string PVS_FARM_DIALOG_TITLE {
get {
return ResourceManager.GetString("PVS_FARM_DIALOG_TITLE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to PVS Read Cache.
/// </summary>

View File

@ -9429,6 +9429,9 @@ VM が再起動したら、[[XenServer product] Tools のインストール] を
<data name="PROXY_SERVERS_NOT_SUPPORTED" xml:space="preserve">
<value>プロキシ サーバーはサポートされません。</value>
</data>
<data name="PVS_FARM_DIALOG_TITLE" xml:space="preserve">
<value>PVS Farm - '{0}'</value>
</data>
<data name="PV_DRIVERS_NOT_INSTALLED" xml:space="preserve">
<value>[XenServer product] Tools 未インストール</value>
</data>

View File

@ -9477,6 +9477,9 @@ Press OK to continue the wizard and return to the server and follow the instruct
<data name="PVS_CACHE_MEMORY_ONLY" xml:space="preserve">
<value>Memory only</value>
</data>
<data name="PVS_FARM_DIALOG_TITLE" xml:space="preserve">
<value>PVS Farm - '{0}'</value>
</data>
<data name="PVS_TAB_TITLE" xml:space="preserve">
<value>PVS Read Cache</value>
</data>

View File

@ -9428,6 +9428,9 @@ VM 克隆使用文件管理器的快照和克隆功能来实现高性能,并
<data name="PROXY_SERVERS_NOT_SUPPORTED" xml:space="preserve">
<value>不支持代理服务器。</value>
</data>
<data name="PVS_FARM_DIALOG_TITLE" xml:space="preserve">
<value>PVS Farm - '{0}'</value>
</data>
<data name="PV_DRIVERS_NOT_INSTALLED" xml:space="preserve">
<value>未安装 [XenServer product] Tools</value>
</data>

View File

@ -0,0 +1,40 @@
/*
* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2) Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
namespace XenAPI
{
public partial class PVS_farm : XenObject<PVS_farm>
{
public override string Name
{
get { return name; }
}
}
}

View File

@ -324,6 +324,7 @@
<Compile Include="WLB\WlbHostConfiguration.cs" />
<Compile Include="WLB\WlbServerState.cs" />
<Compile Include="XenAPI-Extensions\Blob.cs" />
<Compile Include="XenAPI-Extensions\PVS_farm.cs" />
<Compile Include="XenAPI-Extensions\PVS_proxy.cs" />
<Compile Include="XenAPI-Extensions\VM_Docker_Info.cs" />
<Compile Include="XenAPI-Extensions\GPU_group.cs" />