mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-29 23:30:10 +01:00
Merge pull request #1517 from MihaelaStoica/REQ-411
CP-21574: Add checkbox on the Select Servers page for applying all th…
This commit is contained in:
commit
e2fb8d87bf
@ -163,8 +163,10 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
var selectedServers = PatchingWizard_SelectServers.SelectedServers;
|
var selectedServers = PatchingWizard_SelectServers.SelectedServers;
|
||||||
var selectedPools = PatchingWizard_SelectServers.SelectedPools;
|
var selectedPools = PatchingWizard_SelectServers.SelectedPools;
|
||||||
var selectedMasters = PatchingWizard_SelectServers.SelectedMasters;
|
var selectedMasters = PatchingWizard_SelectServers.SelectedMasters;
|
||||||
|
var applyUpdatesToNewVersion = PatchingWizard_SelectServers.ApplyUpdatesToNewVersion;
|
||||||
|
|
||||||
PatchingWizard_PrecheckPage.SelectedServers = selectedServers;
|
PatchingWizard_PrecheckPage.SelectedServers = selectedServers;
|
||||||
|
PatchingWizard_PrecheckPage.ApplyUpdatesToNewVersion = applyUpdatesToNewVersion;
|
||||||
|
|
||||||
PatchingWizard_ModePage.SelectedServers = selectedServers;
|
PatchingWizard_ModePage.SelectedServers = selectedServers;
|
||||||
|
|
||||||
@ -176,6 +178,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
PatchingWizard_UploadPage.SelectedServers = selectedServers;
|
PatchingWizard_UploadPage.SelectedServers = selectedServers;
|
||||||
|
|
||||||
PatchingWizard_AutomatedUpdatesPage.SelectedPools = selectedPools;
|
PatchingWizard_AutomatedUpdatesPage.SelectedPools = selectedPools;
|
||||||
|
PatchingWizard_AutomatedUpdatesPage.ApplyUpdatesToNewVersion = applyUpdatesToNewVersion;
|
||||||
}
|
}
|
||||||
else if (prevPageType == typeof(PatchingWizard_UploadPage))
|
else if (prevPageType == typeof(PatchingWizard_UploadPage))
|
||||||
{
|
{
|
||||||
|
@ -65,6 +65,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
|
|
||||||
public XenServerPatchAlert UpdateAlert { private get; set; }
|
public XenServerPatchAlert UpdateAlert { private get; set; }
|
||||||
public WizardMode WizardMode { private get; set; }
|
public WizardMode WizardMode { private get; set; }
|
||||||
|
public bool ApplyUpdatesToNewVersion { private get; set; }
|
||||||
|
|
||||||
private List<PoolPatchMapping> patchMappings = new List<PoolPatchMapping>();
|
private List<PoolPatchMapping> patchMappings = new List<PoolPatchMapping>();
|
||||||
public Dictionary<XenServerPatch, string> AllDownloadedPatches = new Dictionary<XenServerPatch, string>();
|
public Dictionary<XenServerPatch, string> AllDownloadedPatches = new Dictionary<XenServerPatch, string>();
|
||||||
@ -166,7 +167,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
bool automatedUpdatesRestricted = pool.Connection.Cache.Hosts.Any(Host.RestrictBatchHotfixApply);
|
bool automatedUpdatesRestricted = pool.Connection.Cache.Hosts.Any(Host.RestrictBatchHotfixApply);
|
||||||
|
|
||||||
var us = WizardMode == WizardMode.NewVersion
|
var us = WizardMode == WizardMode.NewVersion
|
||||||
? Updates.GetUpgradeSequence(pool.Connection, UpdateAlert, !automatedUpdatesRestricted)
|
? Updates.GetUpgradeSequence(pool.Connection, UpdateAlert, ApplyUpdatesToNewVersion && !automatedUpdatesRestricted)
|
||||||
: Updates.GetUpgradeSequence(pool.Connection);
|
: Updates.GetUpgradeSequence(pool.Connection);
|
||||||
|
|
||||||
Debug.Assert(us != null, "Update sequence should not be null.");
|
Debug.Assert(us != null, "Update sequence should not be null.");
|
||||||
|
@ -68,6 +68,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
|
|
||||||
public XenServerPatchAlert UpdateAlert { private get; set; }
|
public XenServerPatchAlert UpdateAlert { private get; set; }
|
||||||
public WizardMode WizardMode { private get; set; }
|
public WizardMode WizardMode { private get; set; }
|
||||||
|
public bool ApplyUpdatesToNewVersion { private get; set; }
|
||||||
|
|
||||||
public PatchingWizard_PrecheckPage()
|
public PatchingWizard_PrecheckPage()
|
||||||
{
|
{
|
||||||
@ -396,7 +397,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
bool automatedUpdatesRestricted = pool.Connection.Cache.Hosts.Any(Host.RestrictBatchHotfixApply);
|
bool automatedUpdatesRestricted = pool.Connection.Cache.Hosts.Any(Host.RestrictBatchHotfixApply);
|
||||||
|
|
||||||
var us = WizardMode == WizardMode.NewVersion
|
var us = WizardMode == WizardMode.NewVersion
|
||||||
? Updates.GetUpgradeSequence(pool.Connection, UpdateAlert, !automatedUpdatesRestricted)
|
? Updates.GetUpgradeSequence(pool.Connection, UpdateAlert, ApplyUpdatesToNewVersion && !automatedUpdatesRestricted)
|
||||||
: Updates.GetUpgradeSequence(pool.Connection);
|
: Updates.GetUpgradeSequence(pool.Connection);
|
||||||
|
|
||||||
if (us == null)
|
if (us == null)
|
||||||
|
@ -34,8 +34,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PatchingWizard_SelectServers));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PatchingWizard_SelectServers));
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.buttonSelectAll = new System.Windows.Forms.Button();
|
|
||||||
this.buttonClearAll = new System.Windows.Forms.Button();
|
this.buttonClearAll = new System.Windows.Forms.Button();
|
||||||
this.dataGridViewHosts = new XenAdmin.Wizards.PatchingWizard.PatchingWizard_SelectServers.PatchingHostsDataGridView();
|
this.dataGridViewHosts = new XenAdmin.Wizards.PatchingWizard.PatchingWizard_SelectServers.PatchingHostsDataGridView();
|
||||||
this.ColumnPoolCheckBox = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
this.ColumnPoolCheckBox = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||||
@ -43,20 +42,22 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
this.ColumnPoolIconHostCheck = new System.Windows.Forms.DataGridViewImageColumn();
|
this.ColumnPoolIconHostCheck = new System.Windows.Forms.DataGridViewImageColumn();
|
||||||
this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.ColumnVersion = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.ColumnVersion = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.applyUpdatesCheckBox = new System.Windows.Forms.CheckBox();
|
||||||
|
this.buttonSelectAll = new System.Windows.Forms.Button();
|
||||||
|
this.tableLayoutPanel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridViewHosts)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewHosts)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// label1
|
// tableLayoutPanel1
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.label1, "label1");
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
||||||
this.label1.Name = "label1";
|
this.tableLayoutPanel1.Controls.Add(this.buttonClearAll, 1, 2);
|
||||||
//
|
this.tableLayoutPanel1.Controls.Add(this.dataGridViewHosts, 0, 1);
|
||||||
// buttonSelectAll
|
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
|
||||||
//
|
this.tableLayoutPanel1.Controls.Add(this.applyUpdatesCheckBox, 0, 3);
|
||||||
resources.ApplyResources(this.buttonSelectAll, "buttonSelectAll");
|
this.tableLayoutPanel1.Controls.Add(this.buttonSelectAll, 0, 2);
|
||||||
this.buttonSelectAll.Name = "buttonSelectAll";
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||||
this.buttonSelectAll.UseVisualStyleBackColor = true;
|
|
||||||
this.buttonSelectAll.Click += new System.EventHandler(this.buttonSelectAll_Click);
|
|
||||||
//
|
//
|
||||||
// buttonClearAll
|
// buttonClearAll
|
||||||
//
|
//
|
||||||
@ -77,6 +78,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
this.ColumnPoolIconHostCheck,
|
this.ColumnPoolIconHostCheck,
|
||||||
this.ColumnName,
|
this.ColumnName,
|
||||||
this.ColumnVersion});
|
this.ColumnVersion});
|
||||||
|
this.tableLayoutPanel1.SetColumnSpan(this.dataGridViewHosts, 2);
|
||||||
this.dataGridViewHosts.Name = "dataGridViewHosts";
|
this.dataGridViewHosts.Name = "dataGridViewHosts";
|
||||||
this.dataGridViewHosts.Updating = false;
|
this.dataGridViewHosts.Updating = false;
|
||||||
//
|
//
|
||||||
@ -115,15 +117,36 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
resources.ApplyResources(this.ColumnVersion, "ColumnVersion");
|
resources.ApplyResources(this.ColumnVersion, "ColumnVersion");
|
||||||
this.ColumnVersion.Name = "ColumnVersion";
|
this.ColumnVersion.Name = "ColumnVersion";
|
||||||
//
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.tableLayoutPanel1.SetColumnSpan(this.label1, 2);
|
||||||
|
resources.ApplyResources(this.label1, "label1");
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
//
|
||||||
|
// applyUpdatesCheckBox
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.applyUpdatesCheckBox, "applyUpdatesCheckBox");
|
||||||
|
this.applyUpdatesCheckBox.Checked = true;
|
||||||
|
this.applyUpdatesCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
|
this.tableLayoutPanel1.SetColumnSpan(this.applyUpdatesCheckBox, 2);
|
||||||
|
this.applyUpdatesCheckBox.Name = "applyUpdatesCheckBox";
|
||||||
|
this.applyUpdatesCheckBox.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// buttonSelectAll
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.buttonSelectAll, "buttonSelectAll");
|
||||||
|
this.buttonSelectAll.Name = "buttonSelectAll";
|
||||||
|
this.buttonSelectAll.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonSelectAll.Click += new System.EventHandler(this.buttonSelectAll_Click);
|
||||||
|
//
|
||||||
// PatchingWizard_SelectServers
|
// PatchingWizard_SelectServers
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||||
this.Controls.Add(this.dataGridViewHosts);
|
this.Controls.Add(this.tableLayoutPanel1);
|
||||||
this.Controls.Add(this.buttonClearAll);
|
|
||||||
this.Controls.Add(this.buttonSelectAll);
|
|
||||||
this.Controls.Add(this.label1);
|
|
||||||
this.Name = "PatchingWizard_SelectServers";
|
this.Name = "PatchingWizard_SelectServers";
|
||||||
|
this.tableLayoutPanel1.ResumeLayout(false);
|
||||||
|
this.tableLayoutPanel1.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridViewHosts)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewHosts)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
@ -131,14 +154,16 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private Label label1;
|
|
||||||
private Button buttonSelectAll;
|
private Button buttonSelectAll;
|
||||||
private Button buttonClearAll;
|
private Button buttonClearAll;
|
||||||
private XenAdmin.Wizards.PatchingWizard.PatchingWizard_SelectServers.PatchingHostsDataGridView dataGridViewHosts;
|
private TableLayoutPanel tableLayoutPanel1;
|
||||||
|
private CheckBox applyUpdatesCheckBox;
|
||||||
|
private PatchingWizard_SelectServers.PatchingHostsDataGridView dataGridViewHosts;
|
||||||
private DataGridViewCheckBoxColumn ColumnPoolCheckBox;
|
private DataGridViewCheckBoxColumn ColumnPoolCheckBox;
|
||||||
private DataGridViewImageColumn ColumnExpander;
|
private DataGridViewImageColumn ColumnExpander;
|
||||||
private DataGridViewImageColumn ColumnPoolIconHostCheck;
|
private DataGridViewImageColumn ColumnPoolIconHostCheck;
|
||||||
private DataGridViewTextBoxColumn ColumnName;
|
private DataGridViewTextBoxColumn ColumnName;
|
||||||
private DataGridViewTextBoxColumn ColumnVersion;
|
private DataGridViewTextBoxColumn ColumnVersion;
|
||||||
|
private Label label1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -118,6 +118,8 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
|
|
||||||
List<IXenConnection> xenConnections = ConnectionsManager.XenConnectionsCopy;
|
List<IXenConnection> xenConnections = ConnectionsManager.XenConnectionsCopy;
|
||||||
xenConnections.Sort();
|
xenConnections.Sort();
|
||||||
|
int licensedPoolCount = 0;
|
||||||
|
int poolCount = 0;
|
||||||
foreach (IXenConnection xenConnection in xenConnections)
|
foreach (IXenConnection xenConnection in xenConnections)
|
||||||
{
|
{
|
||||||
// add pools, their members and standalone hosts
|
// add pools, their members and standalone hosts
|
||||||
@ -131,6 +133,15 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
}
|
}
|
||||||
|
|
||||||
Host[] hosts = xenConnection.Cache.Hosts;
|
Host[] hosts = xenConnection.Cache.Hosts;
|
||||||
|
|
||||||
|
if (hosts.Length > 0)
|
||||||
|
{
|
||||||
|
poolCount++;
|
||||||
|
var automatedUpdatesRestricted = hosts.Any(Host.RestrictBatchHotfixApply); //if any host is not licensed for automated updates
|
||||||
|
if (!automatedUpdatesRestricted)
|
||||||
|
licensedPoolCount++;
|
||||||
|
}
|
||||||
|
|
||||||
Array.Sort(hosts);
|
Array.Sort(hosts);
|
||||||
foreach (Host host in hosts)
|
foreach (Host host in hosts)
|
||||||
{
|
{
|
||||||
@ -139,6 +150,18 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (WizardMode == WizardMode.NewVersion && licensedPoolCount > 0) // in NewVersion mode and at least one pool licensed for automated updates
|
||||||
|
{
|
||||||
|
applyUpdatesCheckBox.Visible = true;
|
||||||
|
applyUpdatesCheckBox.Text = poolCount == licensedPoolCount
|
||||||
|
? Messages.PATCHINGWIZARD_SELECTSERVERPAGE_APPLY_UPDATES
|
||||||
|
: Messages.PATCHINGWIZARD_SELECTSERVERPAGE_APPLY_UPDATES_MIXED;
|
||||||
|
}
|
||||||
|
else // not in NewVersion mode or all pools unlicensed
|
||||||
|
{
|
||||||
|
applyUpdatesCheckBox.Visible = false;
|
||||||
|
}
|
||||||
|
|
||||||
// restore server selection
|
// restore server selection
|
||||||
SelectServers(selectedServers);
|
SelectServers(selectedServers);
|
||||||
}
|
}
|
||||||
@ -533,6 +556,14 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool ApplyUpdatesToNewVersion
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return applyUpdatesCheckBox.Visible && applyUpdatesCheckBox.Checked;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public UpdateType SelectedUpdateType { private get; set; }
|
public UpdateType SelectedUpdateType { private get; set; }
|
||||||
|
|
||||||
public void SelectServers(List<Host> selectedServers)
|
public void SelectServers(List<Host> selectedServers)
|
||||||
|
@ -117,65 +117,20 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
<data name="label1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
|
||||||
<value>Top</value>
|
|
||||||
</data>
|
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
||||||
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
|
|
||||||
<value>0, 0</value>
|
|
||||||
</data>
|
|
||||||
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
|
|
||||||
<value>608, 37</value>
|
|
||||||
</data>
|
|
||||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
<data name="label1.TabIndex" type="System.Int32, mscorlib">
|
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||||
<value>1</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>label1.Name" xml:space="preserve">
|
|
||||||
<value>label1</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>label1.Type" xml:space="preserve">
|
|
||||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>label1.Parent" xml:space="preserve">
|
|
||||||
<value>$this</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>label1.ZOrder" xml:space="preserve">
|
|
||||||
<value>3</value>
|
|
||||||
</data>
|
|
||||||
<data name="buttonSelectAll.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
|
||||||
<value>Bottom, Left</value>
|
|
||||||
</data>
|
|
||||||
<data name="buttonSelectAll.Location" type="System.Drawing.Point, System.Drawing">
|
|
||||||
<value>0, 382</value>
|
|
||||||
</data>
|
|
||||||
<data name="buttonSelectAll.Size" type="System.Drawing.Size, System.Drawing">
|
|
||||||
<value>75, 23</value>
|
|
||||||
</data>
|
|
||||||
<data name="buttonSelectAll.TabIndex" type="System.Int32, mscorlib">
|
|
||||||
<value>2</value>
|
|
||||||
</data>
|
|
||||||
<data name="buttonSelectAll.Text" xml:space="preserve">
|
|
||||||
<value>&Select All</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>buttonSelectAll.Name" xml:space="preserve">
|
|
||||||
<value>buttonSelectAll</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>buttonSelectAll.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=">>buttonSelectAll.Parent" xml:space="preserve">
|
|
||||||
<value>$this</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>buttonSelectAll.ZOrder" xml:space="preserve">
|
|
||||||
<value>2</value>
|
<value>2</value>
|
||||||
</data>
|
</data>
|
||||||
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
<data name="buttonClearAll.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
<data name="buttonClearAll.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||||
<value>Bottom, Left</value>
|
<value>Bottom, Left</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="buttonClearAll.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||||
|
<value>NoControl</value>
|
||||||
|
</data>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<data name="buttonClearAll.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="buttonClearAll.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>81, 382</value>
|
<value>84, 359</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="buttonClearAll.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="buttonClearAll.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>75, 23</value>
|
<value>75, 23</value>
|
||||||
@ -193,10 +148,10 @@
|
|||||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>buttonClearAll.Parent" xml:space="preserve">
|
<data name=">>buttonClearAll.Parent" xml:space="preserve">
|
||||||
<value>$this</value>
|
<value>tableLayoutPanel1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>buttonClearAll.ZOrder" xml:space="preserve">
|
<data name=">>buttonClearAll.ZOrder" xml:space="preserve">
|
||||||
<value>1</value>
|
<value>0</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="dataGridViewHosts.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
<data name="dataGridViewHosts.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||||
<value>Top, Bottom, Left, Right</value>
|
<value>Top, Bottom, Left, Right</value>
|
||||||
@ -211,7 +166,7 @@
|
|||||||
<value>16</value>
|
<value>16</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ColumnPoolCheckBox.Width" type="System.Int32, mscorlib">
|
<data name="ColumnPoolCheckBox.Width" type="System.Int32, mscorlib">
|
||||||
<value>16</value>
|
<value>5</value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="ColumnExpander.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="ColumnExpander.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
@ -223,7 +178,7 @@
|
|||||||
<value>16</value>
|
<value>16</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ColumnExpander.Width" type="System.Int32, mscorlib">
|
<data name="ColumnExpander.Width" type="System.Int32, mscorlib">
|
||||||
<value>16</value>
|
<value>5</value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="ColumnPoolIconHostCheck.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="ColumnPoolIconHostCheck.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
@ -235,7 +190,7 @@
|
|||||||
<value>16</value>
|
<value>16</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ColumnPoolIconHostCheck.Width" type="System.Int32, mscorlib">
|
<data name="ColumnPoolIconHostCheck.Width" type="System.Int32, mscorlib">
|
||||||
<value>16</value>
|
<value>5</value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="ColumnName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="ColumnName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
@ -253,10 +208,10 @@
|
|||||||
<value>67</value>
|
<value>67</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="dataGridViewHosts.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="dataGridViewHosts.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>0, 40</value>
|
<value>3, 40</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="dataGridViewHosts.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="dataGridViewHosts.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>608, 336</value>
|
<value>602, 313</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="dataGridViewHosts.TabIndex" type="System.Int32, mscorlib">
|
<data name="dataGridViewHosts.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
@ -268,11 +223,122 @@
|
|||||||
<value>XenAdmin.Wizards.PatchingWizard.PatchingWizard_SelectServers+PatchingHostsDataGridView, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
<value>XenAdmin.Wizards.PatchingWizard.PatchingWizard_SelectServers+PatchingHostsDataGridView, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>dataGridViewHosts.Parent" xml:space="preserve">
|
<data name=">>dataGridViewHosts.Parent" xml:space="preserve">
|
||||||
<value>$this</value>
|
<value>tableLayoutPanel1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>dataGridViewHosts.ZOrder" xml:space="preserve">
|
<data name=">>dataGridViewHosts.ZOrder" xml:space="preserve">
|
||||||
|
<value>1</value>
|
||||||
|
</data>
|
||||||
|
<data name="label1.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||||
|
<value>NoControl</value>
|
||||||
|
</data>
|
||||||
|
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
|
<value>3, 0</value>
|
||||||
|
</data>
|
||||||
|
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
|
<value>602, 37</value>
|
||||||
|
</data>
|
||||||
|
<data name="label1.TabIndex" type="System.Int32, mscorlib">
|
||||||
|
<value>1</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>label1.Name" xml:space="preserve">
|
||||||
|
<value>label1</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>label1.Type" xml:space="preserve">
|
||||||
|
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>label1.Parent" xml:space="preserve">
|
||||||
|
<value>tableLayoutPanel1</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>label1.ZOrder" xml:space="preserve">
|
||||||
|
<value>2</value>
|
||||||
|
</data>
|
||||||
|
<data name="applyUpdatesCheckBox.AutoSize" type="System.Boolean, mscorlib">
|
||||||
|
<value>True</value>
|
||||||
|
</data>
|
||||||
|
<data name="applyUpdatesCheckBox.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||||
|
<value>NoControl</value>
|
||||||
|
</data>
|
||||||
|
<data name="applyUpdatesCheckBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
|
<value>3, 388</value>
|
||||||
|
</data>
|
||||||
|
<data name="applyUpdatesCheckBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
|
<value>15, 14</value>
|
||||||
|
</data>
|
||||||
|
<data name="applyUpdatesCheckBox.TabIndex" type="System.Int32, mscorlib">
|
||||||
|
<value>4</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>applyUpdatesCheckBox.Name" xml:space="preserve">
|
||||||
|
<value>applyUpdatesCheckBox</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>applyUpdatesCheckBox.Type" xml:space="preserve">
|
||||||
|
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>applyUpdatesCheckBox.Parent" xml:space="preserve">
|
||||||
|
<value>tableLayoutPanel1</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>applyUpdatesCheckBox.ZOrder" xml:space="preserve">
|
||||||
|
<value>3</value>
|
||||||
|
</data>
|
||||||
|
<data name="buttonSelectAll.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||||
|
<value>Bottom, Left</value>
|
||||||
|
</data>
|
||||||
|
<data name="buttonSelectAll.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||||
|
<value>NoControl</value>
|
||||||
|
</data>
|
||||||
|
<data name="buttonSelectAll.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
|
<value>3, 359</value>
|
||||||
|
</data>
|
||||||
|
<data name="buttonSelectAll.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
|
<value>75, 23</value>
|
||||||
|
</data>
|
||||||
|
<data name="buttonSelectAll.TabIndex" type="System.Int32, mscorlib">
|
||||||
|
<value>2</value>
|
||||||
|
</data>
|
||||||
|
<data name="buttonSelectAll.Text" xml:space="preserve">
|
||||||
|
<value>&Select All</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>buttonSelectAll.Name" xml:space="preserve">
|
||||||
|
<value>buttonSelectAll</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>buttonSelectAll.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=">>buttonSelectAll.Parent" xml:space="preserve">
|
||||||
|
<value>tableLayoutPanel1</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>buttonSelectAll.ZOrder" xml:space="preserve">
|
||||||
|
<value>4</value>
|
||||||
|
</data>
|
||||||
|
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||||
|
<value>Fill</value>
|
||||||
|
</data>
|
||||||
|
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
|
<value>0, 0</value>
|
||||||
|
</data>
|
||||||
|
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
|
||||||
|
<value>4</value>
|
||||||
|
</data>
|
||||||
|
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
|
<value>608, 405</value>
|
||||||
|
</data>
|
||||||
|
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
|
||||||
|
<value>4</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>tableLayoutPanel1.Name" xml:space="preserve">
|
||||||
|
<value>tableLayoutPanel1</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>tableLayoutPanel1.Type" xml:space="preserve">
|
||||||
|
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>tableLayoutPanel1.Parent" xml:space="preserve">
|
||||||
|
<value>$this</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>tableLayoutPanel1.ZOrder" xml:space="preserve">
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</data>
|
</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="buttonClearAll" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="dataGridViewHosts" Row="1" RowSpan="1" Column="0" ColumnSpan="2" /><Control Name="label1" Row="0" RowSpan="1" Column="0" ColumnSpan="2" /><Control Name="applyUpdatesCheckBox" Row="3" RowSpan="1" Column="0" ColumnSpan="2" /><Control Name="buttonSelectAll" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,Percent,100" /><Rows Styles="AutoSize,0,Percent,100,AutoSize,0,AutoSize,0" /></TableLayoutSettings></value>
|
||||||
|
</data>
|
||||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
18
XenModel/Messages.Designer.cs
generated
18
XenModel/Messages.Designer.cs
generated
@ -27108,6 +27108,24 @@ namespace XenAdmin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Also apply all released updates on the new version.
|
||||||
|
/// </summary>
|
||||||
|
public static string PATCHINGWIZARD_SELECTSERVERPAGE_APPLY_UPDATES {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("PATCHINGWIZARD_SELECTSERVERPAGE_APPLY_UPDATES", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Also apply all released updates on the new version (only on servers licensed for automated updates).
|
||||||
|
/// </summary>
|
||||||
|
public static string PATCHINGWIZARD_SELECTSERVERPAGE_APPLY_UPDATES_MIXED {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("PATCHINGWIZARD_SELECTSERVERPAGE_APPLY_UPDATES_MIXED", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Automated updates are not supported on this [XenServer] version.
|
/// Looks up a localized string similar to Automated updates are not supported on this [XenServer] version.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -9353,6 +9353,12 @@ However, there is not enough space to perform the repartitioning, so the current
|
|||||||
<data name="PATCHINGWIZARD_SELECTPATCHPAGE_UPDATESEXT" xml:space="preserve">
|
<data name="PATCHINGWIZARD_SELECTPATCHPAGE_UPDATESEXT" xml:space="preserve">
|
||||||
<value>[XenServer] Updates and Supplemental Packs (*.{0}, *.iso)|*.{0};*.iso</value>
|
<value>[XenServer] Updates and Supplemental Packs (*.{0}, *.iso)|*.{0};*.iso</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="PATCHINGWIZARD_SELECTSERVERPAGE_APPLY_UPDATES" xml:space="preserve">
|
||||||
|
<value>Also apply all released updates on the new version</value>
|
||||||
|
</data>
|
||||||
|
<data name="PATCHINGWIZARD_SELECTSERVERPAGE_APPLY_UPDATES_MIXED" xml:space="preserve">
|
||||||
|
<value>Also apply all released updates on the new version (only on servers licensed for automated updates)</value>
|
||||||
|
</data>
|
||||||
<data name="PATCHINGWIZARD_SELECTSERVERPAGE_AUTOMATED_UPDATES_NOT_SUPPORTED_HOST_VERSION" xml:space="preserve">
|
<data name="PATCHINGWIZARD_SELECTSERVERPAGE_AUTOMATED_UPDATES_NOT_SUPPORTED_HOST_VERSION" xml:space="preserve">
|
||||||
<value>Automated updates are not supported on this [XenServer] version</value>
|
<value>Automated updates are not supported on this [XenServer] version</value>
|
||||||
</data>
|
</data>
|
||||||
|
Loading…
Reference in New Issue
Block a user