mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
CP-19086: Improvements to the PVS cache UI
PVS Tab: - Move the "View PVS sites" button inside the "Configure PVS Cache" dialog (next to Remove button) and make it per-site (showing only the PVS servers from that site) - Remove "Currently attached" column from the VMs section - Rename "Status" column to "Read caching status" Configure PVS Cache" dialog: - Make sure there is a scrollbar to accommodate all hosts in a pool - Add a confirmation dialog when a site is removed. The action is executed when the Remove button is pressed. - When Memory SR is selected, set the maximum value to the dom0-extra-memory.. - Allow empty configuration (but see next point): The OK button should only be disabled if the PVS site name is empty - Add an extra option in the "Cache storage" combobox, with text "Not configured", selected by default on a new site. When this is selected, we will remove the existing entry in pvs_cache_storage and will not create a new one. - When a PVS site is deleted (forgotten), we first delete all the associated PVS_servers, otherwise the site cannot be deleted.
This commit is contained in:
parent
cdfec90fa8
commit
aebffe9b13
@ -77,7 +77,12 @@ namespace XenAdmin.Controls
|
||||
{
|
||||
comboBoxCacheSr.Items.Clear();
|
||||
|
||||
// add Memeory SR first; if no memory SR found, add a placeholder (we will create the memory SR in ConfigurePvsCacheAction)
|
||||
// add the "Not configured" item first
|
||||
var notConfiguredItem = new ToStringWrapper<SR>(null, Messages.PVS_CACHE_NOT_CONFIGURED);
|
||||
comboBoxCacheSr.Items.Add(notConfiguredItem);
|
||||
comboBoxCacheSr.SelectedItem = notConfiguredItem;
|
||||
|
||||
// add Memeory SR; if no memory SR found, add a placeholder (we will create the memory SR in ConfigurePvsCacheAction)
|
||||
var memorySr = Host.Connection.Cache.SRs.FirstOrDefault(s => s.GetSRType(false) == SR.SRTypes.tmpfs && s.CanBeSeenFrom(Host));
|
||||
if (memorySr == null)
|
||||
{
|
||||
@ -162,7 +167,7 @@ namespace XenAdmin.Controls
|
||||
{
|
||||
get
|
||||
{
|
||||
if (OrigPvsCacheStorage == null)
|
||||
if (OrigPvsCacheStorage == null || CacheSr == null)
|
||||
return true;
|
||||
return OrigPvsCacheStorage.SR.opaque_ref != CacheSr.opaque_ref || origCacheSizeGb != numericUpDownCacheSize.Value;
|
||||
}
|
||||
@ -179,7 +184,7 @@ namespace XenAdmin.Controls
|
||||
var selectedSr = CacheSr;
|
||||
if (selectedSr != null)
|
||||
{
|
||||
var maxSize = (decimal)Util.ToGB(selectedSr.GetSRType(false) == SR.SRTypes.tmpfs ? Host.dom0_memory : selectedSr.FreeSpace, 1, RoundingBehaviour.Down); ;
|
||||
var maxSize = (decimal)Util.ToGB(selectedSr.GetSRType(false) == SR.SRTypes.tmpfs ? Host.dom0_memory_extra : selectedSr.FreeSpace, 1, RoundingBehaviour.Down); ;
|
||||
if (maxSize != numericUpDownCacheSize.Maximum)
|
||||
SetupCacheSizeSpinner(numericUpDownCacheSize.Value, numericUpDownCacheSize.Minimum, maxSize);
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using System.Windows.Forms;
|
||||
using XenAdmin.Actions;
|
||||
using XenAdmin.Controls;
|
||||
@ -123,23 +124,41 @@ namespace XenAdmin.Dialogs
|
||||
|
||||
verticalTabs.Items.Add(editPage);
|
||||
}
|
||||
|
||||
private List<PVS_site> deletedSites = new List<PVS_site>();
|
||||
|
||||
|
||||
void DeletePage(PvsCacheConfigurationPage page)
|
||||
{
|
||||
if (page.PvsSite != null && !DeleteSite(page.PvsSite))
|
||||
return;
|
||||
int selectedIndex = verticalTabs.SelectedIndex;
|
||||
verticalTabs.Items.Remove(page);
|
||||
verticalTabs.SelectedIndex = selectedIndex < verticalTabs.Items.Count - 1 ? selectedIndex : verticalTabs.Items.Count - 1;
|
||||
page.Changed -= SomethingChangedOnPage;
|
||||
page.DeleteButtonClicked -= DeleteButtonClickedOnPage;
|
||||
if (page.PvsSite != null)
|
||||
deletedSites.Add(page.PvsSite);
|
||||
ContentPanel.Controls.Remove(page);
|
||||
RefreshButtons();
|
||||
ResizeVerticalTabs(verticalTabs.Items.Count);
|
||||
}
|
||||
|
||||
private bool DeleteSite(PVS_site site)
|
||||
{
|
||||
if (site == null)
|
||||
return false;
|
||||
|
||||
DialogResult dialogResult;
|
||||
using (var dlg = new ThreeButtonDialog(
|
||||
new ThreeButtonDialog.Details(SystemIcons.Warning, string.Format(Messages.CONFIRM_DELETE_PVS_SITE, site.Name), Messages.XENCENTER),
|
||||
ThreeButtonDialog.ButtonOK,
|
||||
ThreeButtonDialog.ButtonCancel))
|
||||
{
|
||||
dialogResult = dlg.ShowDialog(Parent);
|
||||
}
|
||||
if (dialogResult != DialogResult.OK)
|
||||
return false;
|
||||
var action = new DeletePvsSiteAction(site);
|
||||
new ActionProgressDialog(action, ProgressBarStyle.Blocks).ShowDialog(this);
|
||||
return action.Succeeded;
|
||||
}
|
||||
|
||||
private void ResizeVerticalTabs(int itemCount)
|
||||
{
|
||||
int maxHeight = splitContainer.Panel1.Height - AddButton.Height;
|
||||
@ -266,9 +285,7 @@ namespace XenAdmin.Dialogs
|
||||
private void okButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
List<AsyncAction> actions = GetActions();
|
||||
|
||||
actions.AddRange(deletedSites.Select(site => new DeletePvsSiteAction(site)));
|
||||
|
||||
|
||||
if (actions.Count == 0)
|
||||
return;
|
||||
|
||||
|
@ -34,6 +34,7 @@ namespace XenAdmin.Dialogs
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.viewPvsServersButton = new System.Windows.Forms.Button();
|
||||
this.hostsPanel = new XenAdmin.Controls.FlickerFreePanel();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@ -41,17 +42,17 @@ namespace XenAdmin.Dialogs
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
||||
this.tableLayoutPanel1.Controls.Add(this.deleteButton, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.deleteButton, 3, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label7, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.textBox1, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.hostsPanel, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.viewPvsServersButton, 1, 3);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
//
|
||||
// deleteButton
|
||||
//
|
||||
resources.ApplyResources(this.deleteButton, "deleteButton");
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.deleteButton, 2);
|
||||
this.deleteButton.Image = global::XenAdmin.Properties.Resources._000_RemoveSite_h32bit_16;
|
||||
this.deleteButton.Name = "deleteButton";
|
||||
this.deleteButton.UseVisualStyleBackColor = true;
|
||||
@ -60,7 +61,7 @@ namespace XenAdmin.Dialogs
|
||||
// label1
|
||||
//
|
||||
resources.ApplyResources(this.label1, "label1");
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.label1, 2);
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.label1, 3);
|
||||
this.label1.Name = "label1";
|
||||
//
|
||||
// label7
|
||||
@ -70,16 +71,24 @@ namespace XenAdmin.Dialogs
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.textBox1, 2);
|
||||
resources.ApplyResources(this.textBox1, "textBox1");
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.TextChanged += new System.EventHandler(this.SomethingChanged);
|
||||
//
|
||||
// viewPvsServersButton
|
||||
//
|
||||
resources.ApplyResources(this.viewPvsServersButton, "viewPvsServersButton");
|
||||
this.viewPvsServersButton.Name = "viewPvsServersButton";
|
||||
this.viewPvsServersButton.UseVisualStyleBackColor = true;
|
||||
this.viewPvsServersButton.Click += new System.EventHandler(this.viewServersButton_Click);
|
||||
//
|
||||
// hostsPanel
|
||||
//
|
||||
resources.ApplyResources(this.hostsPanel, "hostsPanel");
|
||||
this.hostsPanel.BorderColor = System.Drawing.Color.Black;
|
||||
this.hostsPanel.BorderWidth = 1;
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.hostsPanel, 2);
|
||||
resources.ApplyResources(this.hostsPanel, "hostsPanel");
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.hostsPanel, 3);
|
||||
this.hostsPanel.Name = "hostsPanel";
|
||||
//
|
||||
// PvsCacheConfigurationPage
|
||||
@ -103,5 +112,6 @@ namespace XenAdmin.Dialogs
|
||||
private Controls.FlickerFreePanel hostsPanel;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Button deleteButton;
|
||||
public System.Windows.Forms.Button viewPvsServersButton;
|
||||
}
|
||||
}
|
||||
|
@ -82,8 +82,9 @@ namespace XenAdmin.Dialogs
|
||||
// Generate a unique suggested name for the new site
|
||||
textBox1.Text = Helpers.MakeUniqueName(Messages.PVS_SITE_NAME, takenNames);
|
||||
}
|
||||
|
||||
|
||||
LoadServers();
|
||||
viewPvsServersButton.Enabled = PvsSite != null;
|
||||
}
|
||||
|
||||
public bool ValidToSave
|
||||
@ -148,7 +149,7 @@ namespace XenAdmin.Dialogs
|
||||
{
|
||||
site = PvsSite != null ? new XenRef<PVS_site>(PvsSite) : null,
|
||||
host = new XenRef<Host>(row.Host),
|
||||
SR = new XenRef<SR>(row.CacheSr),
|
||||
SR = row.CacheSr != null ? new XenRef<SR>(row.CacheSr) : null,
|
||||
size = row.CacheSize
|
||||
};
|
||||
|
||||
@ -187,5 +188,13 @@ namespace XenAdmin.Dialogs
|
||||
if (DeleteButtonClicked != null)
|
||||
DeleteButtonClicked(this, e);
|
||||
}
|
||||
|
||||
private void viewServersButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (PvsSite == null)
|
||||
return;
|
||||
using (var dialog = new PvsSiteDialog(PvsSite))
|
||||
dialog.ShowDialog(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -119,7 +119,7 @@
|
||||
</resheader>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
<value>3</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="deleteButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
@ -148,7 +148,7 @@
|
||||
<value>128, 23</value>
|
||||
</data>
|
||||
<data name="deleteButton.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="deleteButton.Text" xml:space="preserve">
|
||||
<value>&Remove PVS Site</value>
|
||||
@ -247,7 +247,7 @@
|
||||
<value>69, 13</value>
|
||||
</data>
|
||||
<data name="textBox1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>354, 20</value>
|
||||
<value>368, 20</value>
|
||||
</data>
|
||||
<data name="textBox1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
@ -264,6 +264,9 @@
|
||||
<data name=">>textBox1.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="hostsPanel.AutoScroll" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="hostsPanel.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
@ -288,6 +291,42 @@
|
||||
<data name=">>hostsPanel.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="viewPvsServersButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Right</value>
|
||||
</data>
|
||||
<data name="viewPvsServersButton.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="viewPvsServersButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="viewPvsServersButton.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>175, 330</value>
|
||||
</data>
|
||||
<data name="viewPvsServersButton.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>5, 0, 5, 0</value>
|
||||
</data>
|
||||
<data name="viewPvsServersButton.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>128, 23</value>
|
||||
</data>
|
||||
<data name="viewPvsServersButton.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="viewPvsServersButton.Text" xml:space="preserve">
|
||||
<value>&View PVS Servers...</value>
|
||||
</data>
|
||||
<data name=">>viewPvsServersButton.Name" xml:space="preserve">
|
||||
<value>viewPvsServersButton</value>
|
||||
</data>
|
||||
<data name=">>viewPvsServersButton.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>viewPvsServersButton.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>viewPvsServersButton.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
@ -319,7 +358,7 @@
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="deleteButton" Row="3" RowSpan="1" Column="0" ColumnSpan="2" /><Control Name="label1" Row="1" RowSpan="1" Column="0" ColumnSpan="2" /><Control Name="label7" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="textBox1" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="hostsPanel" Row="2" RowSpan="1" Column="0" ColumnSpan="2" /></Controls><Columns Styles="AutoSize,0,Percent,100" /><Rows Styles="AutoSize,0,AutoSize,0,Percent,100,AutoSize,0" /></TableLayoutSettings></value>
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="deleteButton" Row="3" RowSpan="1" Column="3" ColumnSpan="1" /><Control Name="label1" Row="1" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="label7" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="textBox1" Row="0" RowSpan="1" Column="1" ColumnSpan="2" /><Control Name="hostsPanel" Row="2" RowSpan="1" Column="0" ColumnSpan="3" /><Control Name="viewPvsServersButton" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,Percent,100,AutoSize,0" /><Rows Styles="AutoSize,0,AutoSize,0,Percent,100,AutoSize,0" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
|
64
XenAdmin/Dialogs/PvsSiteDialog.Designer.cs
generated
64
XenAdmin/Dialogs/PvsSiteDialog.Designer.cs
generated
@ -28,21 +28,17 @@ namespace XenAdmin.Dialogs
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PvsSiteDialog));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.closeButton = new System.Windows.Forms.Button();
|
||||
this.bottomPanel = new System.Windows.Forms.Panel();
|
||||
this.mainPanel = new System.Windows.Forms.Panel();
|
||||
this.gridView = new XenAdmin.Controls.DataGridViewEx.CollapsingPvsSiteServerDataGridView(this.components);
|
||||
this.expansionColumn = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.siteColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.gridView = new XenAdmin.Controls.DataGridViewEx.DataGridViewEx();
|
||||
this.bottomPanel = new System.Windows.Forms.Panel();
|
||||
this.ipAddressesColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.firstPortColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.lastPortColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bottomPanel.SuspendLayout();
|
||||
this.mainPanel.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
|
||||
this.bottomPanel.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// closeButton
|
||||
@ -53,12 +49,6 @@ namespace XenAdmin.Dialogs
|
||||
this.closeButton.UseVisualStyleBackColor = true;
|
||||
this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
|
||||
//
|
||||
// bottomPanel
|
||||
//
|
||||
this.bottomPanel.Controls.Add(this.closeButton);
|
||||
resources.ApplyResources(this.bottomPanel, "bottomPanel");
|
||||
this.bottomPanel.Name = "bottomPanel";
|
||||
//
|
||||
// mainPanel
|
||||
//
|
||||
this.mainPanel.Controls.Add(this.gridView);
|
||||
@ -71,64 +61,42 @@ namespace XenAdmin.Dialogs
|
||||
this.gridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
||||
this.gridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.gridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.expansionColumn,
|
||||
this.siteColumn,
|
||||
this.ipAddressesColumn,
|
||||
this.firstPortColumn,
|
||||
this.lastPortColumn});
|
||||
resources.ApplyResources(this.gridView, "gridView");
|
||||
this.gridView.Name = "gridView";
|
||||
this.gridView.ReadOnly = true;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.gridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.gridView.Updating = false;
|
||||
//
|
||||
// expansionColumn
|
||||
// bottomPanel
|
||||
//
|
||||
this.expansionColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.expansionColumn.FillWeight = 16.66667F;
|
||||
resources.ApplyResources(this.expansionColumn, "expansionColumn");
|
||||
this.expansionColumn.Name = "expansionColumn";
|
||||
this.expansionColumn.ReadOnly = true;
|
||||
this.expansionColumn.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
||||
//
|
||||
// siteColumn
|
||||
//
|
||||
this.siteColumn.FillWeight = 108.4123F;
|
||||
resources.ApplyResources(this.siteColumn, "siteColumn");
|
||||
this.siteColumn.Name = "siteColumn";
|
||||
this.siteColumn.ReadOnly = true;
|
||||
this.siteColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.bottomPanel.Controls.Add(this.closeButton);
|
||||
resources.ApplyResources(this.bottomPanel, "bottomPanel");
|
||||
this.bottomPanel.Name = "bottomPanel";
|
||||
//
|
||||
// ipAddressesColumn
|
||||
//
|
||||
this.ipAddressesColumn.FillWeight = 172.9413F;
|
||||
this.ipAddressesColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.ipAddressesColumn.FillWeight = 105.6863F;
|
||||
resources.ApplyResources(this.ipAddressesColumn, "ipAddressesColumn");
|
||||
this.ipAddressesColumn.Name = "ipAddressesColumn";
|
||||
this.ipAddressesColumn.ReadOnly = true;
|
||||
this.ipAddressesColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// firstPortColumn
|
||||
//
|
||||
this.firstPortColumn.FillWeight = 100.9122F;
|
||||
this.firstPortColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.firstPortColumn.FillWeight = 173.6275F;
|
||||
resources.ApplyResources(this.firstPortColumn, "firstPortColumn");
|
||||
this.firstPortColumn.Name = "firstPortColumn";
|
||||
this.firstPortColumn.ReadOnly = true;
|
||||
this.firstPortColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// lastPortColumn
|
||||
//
|
||||
this.lastPortColumn.FillWeight = 101.0676F;
|
||||
this.lastPortColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.lastPortColumn.FillWeight = 173.6275F;
|
||||
resources.ApplyResources(this.lastPortColumn, "lastPortColumn");
|
||||
this.lastPortColumn.Name = "lastPortColumn";
|
||||
this.lastPortColumn.ReadOnly = true;
|
||||
this.lastPortColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// PvsSiteDialog
|
||||
//
|
||||
@ -143,9 +111,9 @@ namespace XenAdmin.Dialogs
|
||||
this.MinimizeBox = true;
|
||||
this.Name = "PvsSiteDialog";
|
||||
this.ShowInTaskbar = true;
|
||||
this.bottomPanel.ResumeLayout(false);
|
||||
this.mainPanel.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
|
||||
this.bottomPanel.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@ -154,9 +122,7 @@ namespace XenAdmin.Dialogs
|
||||
private System.Windows.Forms.Button closeButton;
|
||||
private System.Windows.Forms.Panel bottomPanel;
|
||||
private System.Windows.Forms.Panel mainPanel;
|
||||
private Controls.DataGridViewEx.CollapsingPvsSiteServerDataGridView gridView;
|
||||
private System.Windows.Forms.DataGridViewImageColumn expansionColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn siteColumn;
|
||||
private Controls.DataGridViewEx.DataGridViewEx gridView;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ipAddressesColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn firstPortColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn lastPortColumn;
|
||||
|
@ -30,27 +30,28 @@
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.ComponentModel;
|
||||
using XenAdmin.Network;
|
||||
using XenAdmin.Controls.DataGridViewEx;
|
||||
using System.Windows.Forms;
|
||||
using XenAPI;
|
||||
|
||||
namespace XenAdmin.Dialogs
|
||||
{
|
||||
public partial class PvsSiteDialog : XenDialogBase
|
||||
{
|
||||
private readonly PVS_site pvsSite;
|
||||
|
||||
/// <summary>
|
||||
/// Creates a dialog for viewing the PVS sites and PVS servers on a particular connection.
|
||||
/// Creates a dialog for viewing the PVS servers on a particular site.
|
||||
/// </summary>
|
||||
/// <param name="_connection">May not be null.</param>
|
||||
public PvsSiteDialog(IXenConnection _connection)
|
||||
/// <param name="site">May not be null.</param>
|
||||
public PvsSiteDialog(PVS_site site)
|
||||
{
|
||||
System.Diagnostics.Trace.Assert(_connection != null);
|
||||
connection = _connection;
|
||||
System.Diagnostics.Trace.Assert(site != null);
|
||||
connection = site.Connection;
|
||||
pvsSite = site;
|
||||
|
||||
InitializeComponent();
|
||||
Text = string.Format(Messages.PVS_SITE_DIALOG_TITLE, this.connection.Name);
|
||||
Text = string.Format(Messages.PVS_SITE_DIALOG_TITLE, pvsSite.Name.Ellipsise(50));
|
||||
|
||||
System.Diagnostics.Trace.Assert(gridView.Columns.Count > 0);
|
||||
gridView.Columns[0].DefaultCellStyle.NullValue = null;
|
||||
@ -62,21 +63,14 @@ namespace XenAdmin.Dialogs
|
||||
private void RegisterEventHandlers()
|
||||
{
|
||||
UnregisterEventHandlers();
|
||||
connection.Cache.RegisterBatchCollectionChanged<PVS_site>(PvsSiteBatchCollectionChanged);
|
||||
connection.Cache.RegisterBatchCollectionChanged<PVS_server>(PvsServerBatchCollectionChanged);
|
||||
}
|
||||
|
||||
private void UnregisterEventHandlers()
|
||||
{
|
||||
connection.Cache.DeregisterBatchCollectionChanged<PVS_site>(PvsSiteBatchCollectionChanged);
|
||||
connection.Cache.DeregisterBatchCollectionChanged<PVS_server>(PvsServerBatchCollectionChanged);
|
||||
}
|
||||
|
||||
private void PvsSiteBatchCollectionChanged(object sender, EventArgs e)
|
||||
{
|
||||
Program.Invoke(this, Rebuild);
|
||||
}
|
||||
|
||||
private void PvsServerBatchCollectionChanged(object sender, EventArgs e)
|
||||
{
|
||||
Program.Invoke(this, Rebuild);
|
||||
@ -98,19 +92,10 @@ namespace XenAdmin.Dialogs
|
||||
gridView.SuspendLayout();
|
||||
gridView.Rows.Clear();
|
||||
|
||||
var pvsSites = connection.Cache.PVS_sites.ToList();
|
||||
pvsSites.Sort();
|
||||
|
||||
foreach (var pvsSite in pvsSites)
|
||||
foreach (var pvsServer in connection.ResolveAll(pvsSite.servers))
|
||||
{
|
||||
var siteRow = new CollapsingPvsSiteServerDataGridViewRow(pvsSite);
|
||||
gridView.Rows.Add(siteRow);
|
||||
|
||||
foreach (var pvsServer in connection.ResolveAll(pvsSite.servers))
|
||||
{
|
||||
var serverRow = new CollapsingPvsSiteServerDataGridViewRow(pvsServer);
|
||||
gridView.Rows.Add(serverRow);
|
||||
}
|
||||
var serverRow = NewPvsServerRow(pvsServer);
|
||||
gridView.Rows.Add(serverRow);
|
||||
}
|
||||
}
|
||||
finally
|
||||
@ -119,6 +104,21 @@ namespace XenAdmin.Dialogs
|
||||
}
|
||||
}
|
||||
|
||||
private DataGridViewRow NewPvsServerRow(PVS_server pvsServer)
|
||||
{
|
||||
var ipAddressesCell = new DataGridViewTextBoxCell();
|
||||
var firstPortCell = new DataGridViewTextBoxCell();
|
||||
var lastPortCell = new DataGridViewTextBoxCell();
|
||||
|
||||
ipAddressesCell.Value = string.Join(Messages.LIST_SEPARATOR, pvsServer.addresses);
|
||||
firstPortCell.Value = pvsServer.first_port;
|
||||
lastPortCell.Value = pvsServer.last_port;
|
||||
|
||||
var newRow = new DataGridViewRow { Tag = pvsSite };
|
||||
newRow.Cells.AddRange(ipAddressesCell, firstPortCell, lastPortCell);
|
||||
return newRow;
|
||||
}
|
||||
|
||||
private void closeButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
|
@ -153,54 +153,6 @@
|
||||
<data name=">>closeButton.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="bottomPanel.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Bottom</value>
|
||||
</data>
|
||||
<data name="bottomPanel.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="bottomPanel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>8, 325</value>
|
||||
</data>
|
||||
<data name="bottomPanel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>602, 29</value>
|
||||
</data>
|
||||
<data name="bottomPanel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name=">>bottomPanel.Name" xml:space="preserve">
|
||||
<value>bottomPanel</value>
|
||||
</data>
|
||||
<data name=">>bottomPanel.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>bottomPanel.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>bottomPanel.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<metadata name="expansionColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="expansionColumn.HeaderText" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="expansionColumn.MinimumWidth" type="System.Int32, mscorlib">
|
||||
<value>20</value>
|
||||
</data>
|
||||
<data name="expansionColumn.Width" type="System.Int32, mscorlib">
|
||||
<value>20</value>
|
||||
</data>
|
||||
<metadata name="siteColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="siteColumn.HeaderText" xml:space="preserve">
|
||||
<value>PVS Site</value>
|
||||
</data>
|
||||
<data name="siteColumn.MinimumWidth" type="System.Int32, mscorlib">
|
||||
<value>65</value>
|
||||
</data>
|
||||
<metadata name="ipAddressesColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@ -219,6 +171,9 @@
|
||||
<data name="firstPortColumn.MinimumWidth" type="System.Int32, mscorlib">
|
||||
<value>60</value>
|
||||
</data>
|
||||
<data name="firstPortColumn.Width" type="System.Int32, mscorlib">
|
||||
<value>130</value>
|
||||
</data>
|
||||
<metadata name="lastPortColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@ -228,6 +183,9 @@
|
||||
<data name="lastPortColumn.MinimumWidth" type="System.Int32, mscorlib">
|
||||
<value>60</value>
|
||||
</data>
|
||||
<data name="lastPortColumn.Width" type="System.Int32, mscorlib">
|
||||
<value>130</value>
|
||||
</data>
|
||||
<data name="gridView.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
@ -247,7 +205,7 @@
|
||||
<value>gridView</value>
|
||||
</data>
|
||||
<data name=">>gridView.Type" xml:space="preserve">
|
||||
<value>XenAdmin.Controls.DataGridViewEx.CollapsingPvsSiteServerDataGridView, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
<value>XenAdmin.Controls.DataGridViewEx.DataGridViewEx, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>gridView.Parent" xml:space="preserve">
|
||||
<value>mainPanel</value>
|
||||
@ -285,6 +243,33 @@
|
||||
<data name=">>mainPanel.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="bottomPanel.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Bottom</value>
|
||||
</data>
|
||||
<data name="bottomPanel.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt</value>
|
||||
</data>
|
||||
<data name="bottomPanel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>8, 325</value>
|
||||
</data>
|
||||
<data name="bottomPanel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>602, 29</value>
|
||||
</data>
|
||||
<data name="bottomPanel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name=">>bottomPanel.Name" xml:space="preserve">
|
||||
<value>bottomPanel</value>
|
||||
</data>
|
||||
<data name=">>bottomPanel.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>bottomPanel.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>bottomPanel.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@ -297,6 +282,182 @@
|
||||
<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>
|
||||
AAABAAYAICAQAAAAAADoAgAAZgAAABAQEAAAAAAAKAEAAE4DAAAgIAAAAQAIAKgIAAB2BAAAEBAAAAEA
|
||||
CABoBQAAHg0AACAgAAABACAAqBAAAIYSAAAQEAAAAQAgAGgEAAAuIwAAKAAAACAAAABAAAAAAQAEAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAACAgACAAAAAgACAAICAAACAgIAAwMDAAAAA
|
||||
/wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIoiI
|
||||
iIiIiIiIiIiIiIiIiIiCIigiIiIozMzMzMzMyCIogiIoIiIiKM7m5ubm5sgiKIIiKCIiIijObm5ubm7I
|
||||
IiiCIigiIiIozubm5ubmyCIogiIoIiIiKM5ubm5ubsgiKIIiKCIiIijO5ubm5ubIIiiIiIiIiIiIzm5u
|
||||
bm5uyCIogRERERERGM7u7u7u7sgiKIHZWVlZWRjMzMzMzMzIIiiB1ZWVlZUYiIiIiI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/AKoA/wAAH/8AVR//AKof
|
||||
/wD/H/8AAD//AFU//wCqP/8A/z//AABf/wBVX/8Aql//AP9f/wAAf/8AVX//AKp//wD/f/8AAJ//AFWf
|
||||
/wCqn/8A/5//AAC//wBVv/8Aqr//AP+//wAA3/8AVd//AKrf/wD/3/8AVf//AKr//wD/zMwA/8z/AP//
|
||||
MwD//2YA//+ZAP//zAAAfwAAVX8AAKp/AAD/fwAAAJ8AAFWfAACqnwAA/58AAAC/AABVvwAAqr8AAP+/
|
||||
AAAA3wAAVd8AAKrfAAD/3wAAVf8AAKr/AAAAACoAVQAqAKoAKgD/ACoAAB8qAFUfKgCqHyoA/x8qAAA/
|
||||
KgBVPyoA8Pv/AKSgoACAgIAAAAD/AAD/AAAA//8A/wAAAAAAAAD//wAA////AP39/f39/f39/f39/f39
|
||||
/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39
|
||||
/f39/f39/f39/f39/f39/f39/f39/f39qoYIqoYIhqoIqgiqCaoIqgiqhqqGhoYIhoYIqv39/f0I/f39
|
||||
/ar9/f39/YY2Ng4yDg4ODgoOCgoKCgqG/f39/Yb9/f39CP39/f39qjY7Ozs3Nzc3NjMSMjIOCqr9/f39
|
||||
qv39/f2G/f39/f0IN19fOzs3Nzc3NjcODg4KCP39/f0I/f39/ar9/f39/ao6X19fXzs7Ozc3NzY3NgqG
|
||||
/f39/Yb9/f39CP39/f39hl9jY19jX187Ozs7Nzc3Dqr9/f39qv39/f2G/f39/f0IOodjh19jX19fXztf
|
||||
OzcOCP39/f0ICAmqCAiqCKoICapfCYdjh2ODY19fXzs7Ow6q/f39/QhITEwoSCUoKSQoqmMJCYcJCWNj
|
||||
Y2NfY19fNgj9/f39qkyZmZmYmJRwlCmqX19fXl9fX186WzY3Njc2gv39/f0JcJ2dmZmZlJmUJAmqCaoJ
|
||||
hggIqggICKoIqggI/f39/YZwnp2dnZmZmJVMqnx8fHx8fFR8VHhUVFRUVKr9/f39CHChoZ2dnZ2ZmUwJ
|
||||
fKSkxqSkxqSkpKSkpKBUCP39/f2qcKLDoqGdnZ2ZTKp8ysakxqSkxqSkxqSkpFSq/f39/QiUpqbDoqHE
|
||||
nZ1Mq3ykqMakyqSkxqSkpKSkVAj9/f39hpTIyKbHoqGhoXAIfMrLpMqkxqSkxqTGpKRUqv39/f0IlMym
|
||||
yKbIpcShcAh8y6jKpMqkxsqkpKSkxlQI/f39/aqUzMzMyKbIpqJwqnzLy8qpxsqkpMakxqSkeAj9/f39
|
||||
CJSUlJSUlJSUlJQJgMupy8qpysqkyqSkxqRUqv39/f2GCKoIqgiqCKoIhgigrcvPqcuoy8qkxsqkxnyG
|
||||
/f39/ar9/f39/f39/f39qnzPz6nLy8uoyqnKpKTKVAj9/f39CP39/f39/f39/f0IfNDPz8+py8upyqjG
|
||||
yqR8hv39/f2G/f39/f39/f39/Qik0K7P0M+ty8vLy6jKpXyq/f39/ar9/f39/f39/f39CHzQ09Ctz8/P
|
||||
qcupy6jKeAj9/f39CP39/f39/f39/f2qoNPQ0NPQ0M/Qz8vLy6l8CP39/f2G/f39/f39/f39/QmkfKR8
|
||||
oHx8fHx8fHx8fHyG/f39/aoIqgiqCKoIqgiqCKoIqgiqCKoIqgiqCKoIqgj9/f39/f39/f39/f39/f39
|
||||
/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f3/////////////
|
||||
///AAAAD3vgAA974AAPe+AAD3vgAA974AAPe+AADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AA
|
||||
AAPAAAADwAAAA8AAAAPAAAADwAAAA9/4AAPf+AAD3/gAA9/4AAPf+AAD3/gAA8AAAAP//////////ygA
|
||||
AAAQAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAA
|
||||
gACAgAAAgICAAMDcwADwyqYAqj8qAP8/KgAAXyoAVV8qAKpfKg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AAAAAAAAAAAAAAAAAAAAAD//wAAgAEAALQF
|
||||
wf+0BQAAgAUAAIAFAACAAQAAgAHB/4ABAACAAQAAgAEAALwBAAC8AQAAvAHB/4ABbP///5H/
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>0, 0, 0, 0</value>
|
||||
</data>
|
||||
@ -309,18 +470,6 @@
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>PVS Sites</value>
|
||||
</data>
|
||||
<data name=">>expansionColumn.Name" xml:space="preserve">
|
||||
<value>expansionColumn</value>
|
||||
</data>
|
||||
<data name=">>expansionColumn.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewImageColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>siteColumn.Name" xml:space="preserve">
|
||||
<value>siteColumn</value>
|
||||
</data>
|
||||
<data name=">>siteColumn.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ipAddressesColumn.Name" xml:space="preserve">
|
||||
<value>ipAddressesColumn</value>
|
||||
</data>
|
||||
|
117
XenAdmin/TabPages/PvsPage.Designer.cs
generated
117
XenAdmin/TabPages/PvsPage.Designer.cs
generated
@ -29,19 +29,13 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PvsPage));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.dataGridViewVms = new XenAdmin.Controls.DataGridViewEx.DataGridViewEx();
|
||||
this.columnVM = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnCachingEnabled = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.columnCurrentlyCached = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnPvsSite = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.dataGridViewSites = new XenAdmin.Controls.DataGridViewEx.DataGridViewEx();
|
||||
this.ColumnSite = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@ -50,10 +44,13 @@
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.ConfigureButton = new System.Windows.Forms.Button();
|
||||
this.ViewPvsSitesButton = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.enableButton = new XenAdmin.Commands.CommandButton();
|
||||
this.disableButton = new XenAdmin.Commands.CommandButton();
|
||||
this.columnVM = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnCachingEnabled = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnPvsSite = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pageContainerPanel.SuspendLayout();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridViewVms)).BeginInit();
|
||||
@ -87,7 +84,6 @@
|
||||
this.dataGridViewVms.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.columnVM,
|
||||
this.ColumnCachingEnabled,
|
||||
this.columnCurrentlyCached,
|
||||
this.ColumnPvsSite,
|
||||
this.ColumnStatus});
|
||||
resources.ApplyResources(this.dataGridViewVms, "dataGridViewVms");
|
||||
@ -95,48 +91,6 @@
|
||||
this.dataGridViewVms.Name = "dataGridViewVms";
|
||||
this.dataGridViewVms.ReadOnly = true;
|
||||
//
|
||||
// columnVM
|
||||
//
|
||||
this.columnVM.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.columnVM.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
resources.ApplyResources(this.columnVM, "columnVM");
|
||||
this.columnVM.Name = "columnVM";
|
||||
this.columnVM.ReadOnly = true;
|
||||
//
|
||||
// ColumnCachingEnabled
|
||||
//
|
||||
resources.ApplyResources(this.ColumnCachingEnabled, "ColumnCachingEnabled");
|
||||
this.ColumnCachingEnabled.Name = "ColumnCachingEnabled";
|
||||
this.ColumnCachingEnabled.ReadOnly = true;
|
||||
//
|
||||
// columnCurrentlyCached
|
||||
//
|
||||
this.columnCurrentlyCached.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
this.columnCurrentlyCached.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.columnCurrentlyCached.FillWeight = 30F;
|
||||
resources.ApplyResources(this.columnCurrentlyCached, "columnCurrentlyCached");
|
||||
this.columnCurrentlyCached.Name = "columnCurrentlyCached";
|
||||
this.columnCurrentlyCached.ReadOnly = true;
|
||||
this.columnCurrentlyCached.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// ColumnPvsSite
|
||||
//
|
||||
resources.ApplyResources(this.ColumnPvsSite, "ColumnPvsSite");
|
||||
this.ColumnPvsSite.Name = "ColumnPvsSite";
|
||||
this.ColumnPvsSite.ReadOnly = true;
|
||||
//
|
||||
// ColumnStatus
|
||||
//
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
this.ColumnStatus.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.ColumnStatus.FillWeight = 30F;
|
||||
resources.ApplyResources(this.ColumnStatus, "ColumnStatus");
|
||||
this.ColumnStatus.Name = "ColumnStatus";
|
||||
this.ColumnStatus.ReadOnly = true;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
resources.ApplyResources(this.label2, "label2");
|
||||
@ -160,9 +114,9 @@
|
||||
// ColumnSite
|
||||
//
|
||||
this.ColumnSite.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.ColumnSite.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.ColumnSite.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.ColumnSite.FillWeight = 20F;
|
||||
resources.ApplyResources(this.ColumnSite, "ColumnSite");
|
||||
this.ColumnSite.Name = "ColumnSite";
|
||||
@ -171,8 +125,8 @@
|
||||
// ColumnConfiguration
|
||||
//
|
||||
this.ColumnConfiguration.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
this.ColumnConfiguration.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
this.ColumnConfiguration.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.ColumnConfiguration.FillWeight = 20F;
|
||||
resources.ApplyResources(this.ColumnConfiguration, "ColumnConfiguration");
|
||||
this.ColumnConfiguration.Name = "ColumnConfiguration";
|
||||
@ -182,8 +136,8 @@
|
||||
// ColumnSRs
|
||||
//
|
||||
this.ColumnSRs.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
this.ColumnSRs.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
this.ColumnSRs.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
resources.ApplyResources(this.ColumnSRs, "ColumnSRs");
|
||||
this.ColumnSRs.Name = "ColumnSRs";
|
||||
this.ColumnSRs.ReadOnly = true;
|
||||
@ -197,7 +151,6 @@
|
||||
//
|
||||
resources.ApplyResources(this.panel1, "panel1");
|
||||
this.panel1.Controls.Add(this.ConfigureButton);
|
||||
this.panel1.Controls.Add(this.ViewPvsSitesButton);
|
||||
this.panel1.Name = "panel1";
|
||||
//
|
||||
// ConfigureButton
|
||||
@ -207,13 +160,6 @@
|
||||
this.ConfigureButton.UseVisualStyleBackColor = true;
|
||||
this.ConfigureButton.Click += new System.EventHandler(this.ConfigureButton_Click);
|
||||
//
|
||||
// ViewPvsSitesButton
|
||||
//
|
||||
resources.ApplyResources(this.ViewPvsSitesButton, "ViewPvsSitesButton");
|
||||
this.ViewPvsSitesButton.Name = "ViewPvsSitesButton";
|
||||
this.ViewPvsSitesButton.UseVisualStyleBackColor = true;
|
||||
this.ViewPvsSitesButton.Click += new System.EventHandler(this.ViewPvsSitesButton_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
resources.ApplyResources(this.panel2, "panel2");
|
||||
@ -233,6 +179,39 @@
|
||||
this.disableButton.Name = "disableButton";
|
||||
this.disableButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// columnVM
|
||||
//
|
||||
this.columnVM.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.columnVM.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
resources.ApplyResources(this.columnVM, "columnVM");
|
||||
this.columnVM.Name = "columnVM";
|
||||
this.columnVM.ReadOnly = true;
|
||||
//
|
||||
// ColumnCachingEnabled
|
||||
//
|
||||
this.ColumnCachingEnabled.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||
resources.ApplyResources(this.ColumnCachingEnabled, "ColumnCachingEnabled");
|
||||
this.ColumnCachingEnabled.Name = "ColumnCachingEnabled";
|
||||
this.ColumnCachingEnabled.ReadOnly = true;
|
||||
//
|
||||
// ColumnPvsSite
|
||||
//
|
||||
resources.ApplyResources(this.ColumnPvsSite, "ColumnPvsSite");
|
||||
this.ColumnPvsSite.Name = "ColumnPvsSite";
|
||||
this.ColumnPvsSite.ReadOnly = true;
|
||||
//
|
||||
// ColumnStatus
|
||||
//
|
||||
this.ColumnStatus.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
||||
this.ColumnStatus.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.ColumnStatus.FillWeight = 30F;
|
||||
resources.ApplyResources(this.ColumnStatus, "ColumnStatus");
|
||||
this.ColumnStatus.Name = "ColumnStatus";
|
||||
this.ColumnStatus.ReadOnly = true;
|
||||
//
|
||||
// PvsPage
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
@ -254,7 +233,6 @@
|
||||
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private Controls.DataGridViewEx.DataGridViewEx dataGridViewSites;
|
||||
public System.Windows.Forms.Button ViewPvsSitesButton;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private Controls.DataGridViewEx.DataGridViewEx dataGridViewVms;
|
||||
@ -265,11 +243,10 @@
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private XenAdmin.Commands.CommandButton enableButton;
|
||||
public System.Windows.Forms.Button ConfigureButton;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn columnVM;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnCachingEnabled;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn columnCurrentlyCached;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnPvsSite;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnStatus;
|
||||
public System.Windows.Forms.Button ConfigureButton;
|
||||
}
|
||||
}
|
||||
|
@ -121,8 +121,6 @@ namespace XenAdmin.TabPages
|
||||
{
|
||||
dataGridViewSites.ResumeLayout();
|
||||
}
|
||||
|
||||
ViewPvsSitesButton.Enabled = Connection.Cache.PVS_sites.Length > 0;
|
||||
}
|
||||
|
||||
private DataGridViewRow NewPvsSiteRow(PVS_site pvsSite)
|
||||
@ -267,12 +265,11 @@ namespace XenAdmin.TabPages
|
||||
{
|
||||
var vmCell = new DataGridViewTextBoxCell { Value = vm.Name };
|
||||
var cacheEnabledCell = new DataGridViewTextBoxCell { Value = Messages.NO };
|
||||
var cachedCell = new DataGridViewTextBoxCell { Value = Messages.NO_VALUE };
|
||||
var pvsSiteCell = new DataGridViewTextBoxCell { Value = Messages.NO_VALUE };
|
||||
var statusCell = new DataGridViewTextBoxCell { Value = Messages.NO_VALUE };
|
||||
|
||||
var newRow = new DataGridViewRow { Tag = vm };
|
||||
newRow.Cells.AddRange(vmCell, cacheEnabledCell, cachedCell, pvsSiteCell, statusCell);
|
||||
newRow.Cells.AddRange(vmCell, cacheEnabledCell, pvsSiteCell, statusCell);
|
||||
vm.PropertyChanged += VmPropertyChanged;
|
||||
|
||||
return newRow;
|
||||
@ -285,11 +282,6 @@ namespace XenAdmin.TabPages
|
||||
var vmCell = new DataGridViewTextBoxCell { Value = vm.Name };
|
||||
var cacheEnabledCell = new DataGridViewTextBoxCell { Value = Messages.YES };
|
||||
|
||||
var cachedCell = new DataGridViewTextBoxCell
|
||||
{
|
||||
Value = pvsProxy.currently_attached ? Messages.YES : Messages.NO
|
||||
};
|
||||
|
||||
var pvsSiteCell = new DataGridViewTextBoxCell { Value = Connection.Resolve(pvsProxy.site) };
|
||||
|
||||
var statusCell = new DataGridViewTextBoxCell
|
||||
@ -298,7 +290,7 @@ namespace XenAdmin.TabPages
|
||||
};
|
||||
|
||||
var newRow = new DataGridViewRow { Tag = vm };
|
||||
newRow.Cells.AddRange(vmCell, cacheEnabledCell, cachedCell, pvsSiteCell, statusCell);
|
||||
newRow.Cells.AddRange(vmCell, cacheEnabledCell, pvsSiteCell, statusCell);
|
||||
vm.PropertyChanged += VmPropertyChanged;
|
||||
|
||||
return newRow;
|
||||
@ -372,11 +364,6 @@ namespace XenAdmin.TabPages
|
||||
}
|
||||
}
|
||||
|
||||
private void ViewPvsSitesButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
Program.MainWindow.ShowPerConnectionWizard(connection, new PvsSiteDialog(connection));
|
||||
}
|
||||
|
||||
private void ConfigureButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (var dialog = new PvsCacheConfigurationDialog(connection))
|
||||
|
@ -140,17 +140,8 @@
|
||||
<data name="ColumnCachingEnabled.HeaderText" xml:space="preserve">
|
||||
<value>Read caching enabled</value>
|
||||
</data>
|
||||
<metadata name="columnCurrentlyCached.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="columnCurrentlyCached.HeaderText" xml:space="preserve">
|
||||
<value>Currently cached</value>
|
||||
</data>
|
||||
<data name="columnCurrentlyCached.MinimumWidth" type="System.Int32, mscorlib">
|
||||
<value>120</value>
|
||||
</data>
|
||||
<data name="columnCurrentlyCached.Width" type="System.Int32, mscorlib">
|
||||
<value>122</value>
|
||||
<data name="ColumnCachingEnabled.Width" type="System.Int32, mscorlib">
|
||||
<value>148</value>
|
||||
</data>
|
||||
<metadata name="ColumnPvsSite.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
@ -162,11 +153,14 @@
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="ColumnStatus.HeaderText" xml:space="preserve">
|
||||
<value>Status</value>
|
||||
<value>Read caching status</value>
|
||||
</data>
|
||||
<data name="ColumnStatus.MinimumWidth" type="System.Int32, mscorlib">
|
||||
<value>120</value>
|
||||
</data>
|
||||
<data name="ColumnStatus.Width" type="System.Int32, mscorlib">
|
||||
<value>137</value>
|
||||
</data>
|
||||
<data name="dataGridViewVms.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
@ -366,41 +360,11 @@
|
||||
<data name=">>ConfigureButton.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="ViewPvsSitesButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="ViewPvsSitesButton.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>156, 3</value>
|
||||
</data>
|
||||
<data name="ViewPvsSitesButton.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>5, 0, 5, 0</value>
|
||||
</data>
|
||||
<data name="ViewPvsSitesButton.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>150, 23</value>
|
||||
</data>
|
||||
<data name="ViewPvsSitesButton.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="ViewPvsSitesButton.Text" xml:space="preserve">
|
||||
<value>View PVS &Sites...</value>
|
||||
</data>
|
||||
<data name=">>ViewPvsSitesButton.Name" xml:space="preserve">
|
||||
<value>ViewPvsSitesButton</value>
|
||||
</data>
|
||||
<data name=">>ViewPvsSitesButton.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ViewPvsSitesButton.Parent" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>ViewPvsSitesButton.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 259</value>
|
||||
</data>
|
||||
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>309, 29</value>
|
||||
<value>153, 29</value>
|
||||
</data>
|
||||
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>13</value>
|
||||
@ -561,36 +525,6 @@
|
||||
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>1129, 699</value>
|
||||
</data>
|
||||
<data name=">>columnVM.Name" xml:space="preserve">
|
||||
<value>columnVM</value>
|
||||
</data>
|
||||
<data name=">>columnVM.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnCachingEnabled.Name" xml:space="preserve">
|
||||
<value>ColumnCachingEnabled</value>
|
||||
</data>
|
||||
<data name=">>ColumnCachingEnabled.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>columnCurrentlyCached.Name" xml:space="preserve">
|
||||
<value>columnCurrentlyCached</value>
|
||||
</data>
|
||||
<data name=">>columnCurrentlyCached.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnPvsSite.Name" xml:space="preserve">
|
||||
<value>ColumnPvsSite</value>
|
||||
</data>
|
||||
<data name=">>ColumnPvsSite.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnStatus.Name" xml:space="preserve">
|
||||
<value>ColumnStatus</value>
|
||||
</data>
|
||||
<data name=">>ColumnStatus.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnSite.Name" xml:space="preserve">
|
||||
<value>ColumnSite</value>
|
||||
</data>
|
||||
@ -609,6 +543,30 @@
|
||||
<data name=">>ColumnSRs.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>columnVM.Name" xml:space="preserve">
|
||||
<value>columnVM</value>
|
||||
</data>
|
||||
<data name=">>columnVM.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnCachingEnabled.Name" xml:space="preserve">
|
||||
<value>ColumnCachingEnabled</value>
|
||||
</data>
|
||||
<data name=">>ColumnCachingEnabled.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnPvsSite.Name" xml:space="preserve">
|
||||
<value>ColumnPvsSite</value>
|
||||
</data>
|
||||
<data name=">>ColumnPvsSite.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ColumnStatus.Name" xml:space="preserve">
|
||||
<value>ColumnStatus</value>
|
||||
</data>
|
||||
<data name=">>ColumnStatus.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>PvsPage</value>
|
||||
</data>
|
||||
|
@ -82,7 +82,7 @@ namespace XenAdmin.Actions
|
||||
foreach (var pvsCacheStorage in pvsCacheStorages)
|
||||
{
|
||||
// create Memory SR, if needed
|
||||
if (Helper.IsNullOrEmptyOpaqueRef(pvsCacheStorage.SR.opaque_ref))
|
||||
if (pvsCacheStorage.SR != null && Helper.IsNullOrEmptyOpaqueRef(pvsCacheStorage.SR.opaque_ref))
|
||||
{
|
||||
RelatedTask = SR.async_create(Session, pvsCacheStorage.host, new Dictionary<string, string> { { URI, "" } }, 0,
|
||||
Messages.PVS_CACHE_MEMORY_SR_NAME, "", SR.SRTypes.tmpfs.ToString(), "", false, new Dictionary<string, string>());
|
||||
@ -107,9 +107,16 @@ namespace XenAdmin.Actions
|
||||
}
|
||||
|
||||
// create new PVS_cache_storage
|
||||
pvsCacheStorage.site = new XenRef<PVS_site>(pvsSite); //asign the new site
|
||||
RelatedTask = PVS_cache_storage.async_create(Session, pvsCacheStorage);
|
||||
PollToCompletion(PercentComplete, PercentComplete + inc);
|
||||
if (pvsCacheStorage.SR != null)
|
||||
{
|
||||
pvsCacheStorage.site = new XenRef<PVS_site>(pvsSite); //asign the new site
|
||||
RelatedTask = PVS_cache_storage.async_create(Session, pvsCacheStorage);
|
||||
PollToCompletion(PercentComplete, PercentComplete + inc);
|
||||
}
|
||||
else
|
||||
{
|
||||
PercentComplete += inc;
|
||||
}
|
||||
}
|
||||
PercentComplete = 100;
|
||||
Description = Messages.ACTION_CONFUGURE_PVS_SITE_DONE;
|
||||
|
@ -1,4 +1,6 @@
|
||||
using XenAPI;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using XenAPI;
|
||||
|
||||
namespace XenAdmin.Actions
|
||||
{
|
||||
@ -16,6 +18,22 @@ namespace XenAdmin.Actions
|
||||
|
||||
protected override void Run()
|
||||
{
|
||||
// check if there are any running proxies
|
||||
var pvsProxies = Connection.Cache.PVS_proxies.Where(s => s.site.opaque_ref == pvsSite.opaque_ref).ToList();
|
||||
if (pvsProxies.Count > 0)
|
||||
{
|
||||
throw new Failure(Failure.PVS_SITE_CONTAINS_RUNNING_PROXIES);
|
||||
}
|
||||
|
||||
// delete PVS_servers
|
||||
var pvsServers = Connection.Cache.PVS_servers.Where(s => s.site.opaque_ref == pvsSite.opaque_ref).ToList();
|
||||
int inc = pvsServers.Count > 0 ? 50 / pvsServers.Count : 50;
|
||||
foreach (var pvsServer in pvsServers)
|
||||
{
|
||||
RelatedTask = PVS_server.async_forget(Session, pvsServer.opaque_ref);
|
||||
PollToCompletion(PercentComplete, PercentComplete + inc);
|
||||
}
|
||||
|
||||
RelatedTask = PVS_site.async_forget(Session, pvsSite.opaque_ref);
|
||||
PollToCompletion();
|
||||
Description = Messages.ACTION_DELETE_PVS_SITE_DONE;
|
||||
|
11
XenModel/Messages.Designer.cs
generated
11
XenModel/Messages.Designer.cs
generated
@ -7245,6 +7245,15 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Are you sure you want to delete '{0}'?.
|
||||
/// </summary>
|
||||
public static string CONFIRM_DELETE_PVS_SITE {
|
||||
get {
|
||||
return ResourceManager.GetString("CONFIRM_DELETE_PVS_SITE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Are you sure you want to delete the tag '{0}' from all managed resources?.
|
||||
/// </summary>
|
||||
@ -27877,7 +27886,7 @@ namespace XenAdmin {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to PVS Sites - '{0}'.
|
||||
/// Looks up a localized string similar to PVS Servers on site {0}'.
|
||||
/// </summary>
|
||||
public static string PVS_SITE_DIALOG_TITLE {
|
||||
get {
|
||||
|
@ -9695,7 +9695,7 @@ Press OK to continue the wizard and return to the server and follow the instruct
|
||||
<value>Not configured</value>
|
||||
</data>
|
||||
<data name="PVS_SITE_DIALOG_TITLE" xml:space="preserve">
|
||||
<value>PVS Sites - '{0}'</value>
|
||||
<value>PVS Servers on site {0}'</value>
|
||||
</data>
|
||||
<data name="PVS_SITE_NAME" xml:space="preserve">
|
||||
<value>PVS Site</value>
|
||||
@ -13246,4 +13246,7 @@ You will need to navigate to the Console on each of the selected VMs to complete
|
||||
<data name="YOU_ARE_HERE" xml:space="preserve">
|
||||
<value>You are here</value>
|
||||
</data>
|
||||
<data name="CONFIRM_DELETE_PVS_SITE" xml:space="preserve">
|
||||
<value>Are you sure you want to delete '{0}'?</value>
|
||||
</data>
|
||||
</root>
|
@ -83,6 +83,7 @@ namespace XenAPI
|
||||
public const string HOST_UNKNOWN_TO_MASTER = "HOST_UNKNOWN_TO_MASTER";
|
||||
public const string VM_HAS_VGPU = "VM_HAS_VGPU";
|
||||
public const string OUT_OF_SPACE = "OUT_OF_SPACE";
|
||||
public const string PVS_SITE_CONTAINS_RUNNING_PROXIES = "PVS_SITE_CONTAINS_RUNNING_PROXIES";
|
||||
|
||||
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
|
@ -1284,6 +1284,15 @@ namespace XenAPI
|
||||
}
|
||||
}
|
||||
|
||||
public long dom0_memory_extra
|
||||
{
|
||||
get
|
||||
{
|
||||
VM vm = ControlDomainZero;
|
||||
return vm != null ? vm.memory_static_max - vm.memory_static_min : 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Friendly string showing memory usage on the host
|
||||
|
@ -2078,7 +2078,7 @@ namespace XenAPI
|
||||
{
|
||||
get
|
||||
{
|
||||
return Connection.Cache.PVS_proxies.FirstOrDefault(p => p.VM.Equals(this)); // null if none
|
||||
return Connection.Cache.PVS_proxies.FirstOrDefault(p => p.VM != null && p.VM.Equals(this)); // null if none
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user