mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CP-25990: Enable Create VLAN on SR-IOV network (#1975)
* CP-25990: Enable Create VLAN on SR-IOV network Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com> * fix review comments
This commit is contained in:
parent
89716cf258
commit
9cfac68d8d
@ -227,7 +227,27 @@ namespace XenAdmin.Wizards
|
||||
private void CreateNonBonded()
|
||||
{
|
||||
XenAPI.Network network = PopulateNewNetworkObj();
|
||||
PIF nic = pageNetworkDetails.SelectedHostNic;
|
||||
|
||||
PIF nic;
|
||||
if (pageNetworkDetails.CreateVlanOnSriovNetwork)
|
||||
{
|
||||
if (pageNetworkDetails.SelectedHostNic == null || pageNetworkDetails.SelectedHostNic.sriov_physical_PIF_of == null || pageNetworkDetails.SelectedHostNic.sriov_physical_PIF_of.Count == 0)
|
||||
return;
|
||||
|
||||
var sriovPhysicalPif = xenConnection.Resolve(pageNetworkDetails.SelectedHostNic.sriov_physical_PIF_of[0]);
|
||||
if (sriovPhysicalPif == null)
|
||||
return;
|
||||
|
||||
nic = xenConnection.Resolve(sriovPhysicalPif.logical_PIF);
|
||||
if (nic == null)
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
nic = pageNetworkDetails.SelectedHostNic;
|
||||
}
|
||||
|
||||
|
||||
long vlan = pageNetworkDetails.VLAN;
|
||||
|
||||
NetworkAction action = pageNetworkType.SelectedNetworkType == NetworkTypes.External
|
||||
|
@ -45,6 +45,9 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
this.panelVLANInfo = new System.Windows.Forms.Panel();
|
||||
this.labelVlanError = new System.Windows.Forms.Label();
|
||||
this.labelVLAN0Info = new System.Windows.Forms.Label();
|
||||
this.groupBoxSriovConfig = new System.Windows.Forms.GroupBox();
|
||||
this.checkBoxSriov = new System.Windows.Forms.CheckBox();
|
||||
this.lblSriov = new System.Windows.Forms.Label();
|
||||
this.panel1.SuspendLayout();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.infoMtuPanel.SuspendLayout();
|
||||
@ -52,6 +55,7 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownVLAN)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMTU)).BeginInit();
|
||||
this.panelVLANInfo.SuspendLayout();
|
||||
this.groupBoxSriovConfig.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
@ -74,6 +78,7 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelMTU, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.numericUpDownMTU, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.panelVLANInfo, 2, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBoxSriovConfig, 3, 4);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
//
|
||||
// infoMtuPanel
|
||||
@ -181,6 +186,26 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
this.labelVLAN0Info.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.labelVLAN0Info.Name = "labelVLAN0Info";
|
||||
//
|
||||
// groupBoxSriovConfig
|
||||
//
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.groupBoxSriovConfig, 4);
|
||||
this.groupBoxSriovConfig.Controls.Add(this.checkBoxSriov);
|
||||
this.groupBoxSriovConfig.Controls.Add(this.lblSriov);
|
||||
resources.ApplyResources(this.groupBoxSriovConfig, "groupBoxSriovConfig");
|
||||
this.groupBoxSriovConfig.Name = "groupBoxSriovConfig";
|
||||
this.groupBoxSriovConfig.TabStop = false;
|
||||
//
|
||||
// checkBoxSriov
|
||||
//
|
||||
resources.ApplyResources(this.checkBoxSriov, "checkBoxSriov");
|
||||
this.checkBoxSriov.Name = "checkBoxSriov";
|
||||
this.checkBoxSriov.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblSriov
|
||||
//
|
||||
resources.ApplyResources(this.lblSriov, "lblSriov");
|
||||
this.lblSriov.Name = "lblSriov";
|
||||
//
|
||||
// NetWDetails
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
@ -198,6 +223,8 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMTU)).EndInit();
|
||||
this.panelVLANInfo.ResumeLayout(false);
|
||||
this.panelVLANInfo.PerformLayout();
|
||||
this.groupBoxSriovConfig.ResumeLayout(false);
|
||||
this.groupBoxSriovConfig.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@ -220,5 +247,8 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
private System.Windows.Forms.Panel infoMtuPanel;
|
||||
private System.Windows.Forms.Label infoMtuMessage;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.Label lblSriov;
|
||||
private System.Windows.Forms.GroupBox groupBoxSriovConfig;
|
||||
private System.Windows.Forms.CheckBox checkBoxSriov;
|
||||
}
|
||||
}
|
||||
|
@ -113,6 +113,11 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
get { return checkBoxAutomatic.Checked; }
|
||||
}
|
||||
|
||||
public bool CreateVlanOnSriovNetwork
|
||||
{
|
||||
get { return checkBoxSriov.Checked; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Null if the custom MTU option is disabled
|
||||
/// </summary>
|
||||
@ -139,6 +144,7 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
labelNIC.Visible = external;
|
||||
if (comboBoxNICList.Items.Count > 0)
|
||||
comboBoxNICList.SelectedIndex = external ? comboBoxNICList.Items.Count - 1 : -1;
|
||||
groupBoxSriovConfig.Visible = SelectedHostNic != null && SelectedHostNic.sriov_physical_PIF_of != null && SelectedHostNic.sriov_physical_PIF_of.Count != 0;
|
||||
|
||||
OnPageUpdated();
|
||||
}
|
||||
@ -193,7 +199,9 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
|
||||
|
||||
if (SelectedHostNic == null)
|
||||
return;
|
||||
|
||||
|
||||
groupBoxSriovConfig.Visible = SelectedHostNic.sriov_physical_PIF_of.Count != 0;
|
||||
|
||||
numericUpDownMTU.Maximum = Math.Min(SelectedHostNic.MTU, XenAPI.Network.MTU_MAX);
|
||||
|
||||
numericUpDownMTU.Enabled = numericUpDownMTU.Minimum != numericUpDownMTU.Maximum;
|
||||
|
@ -125,235 +125,12 @@
|
||||
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.Name" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.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=">>infoMtuPanel.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>labelNIC.Name" xml:space="preserve">
|
||||
<value>labelNIC</value>
|
||||
</data>
|
||||
<data name=">>labelNIC.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=">>labelNIC.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelNIC.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name=">>labelVLAN.Name" xml:space="preserve">
|
||||
<value>labelVLAN</value>
|
||||
</data>
|
||||
<data name=">>labelVLAN.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=">>labelVLAN.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelVLAN.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name=">>lblNicHelp.Name" xml:space="preserve">
|
||||
<value>lblNicHelp</value>
|
||||
</data>
|
||||
<data name=">>lblNicHelp.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=">>lblNicHelp.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>lblNicHelp.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownVLAN.Name" xml:space="preserve">
|
||||
<value>numericUpDownVLAN</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownVLAN.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownVLAN.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownVLAN.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name=">>comboBoxNICList.Name" xml:space="preserve">
|
||||
<value>comboBoxNICList</value>
|
||||
</data>
|
||||
<data name=">>comboBoxNICList.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>comboBoxNICList.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>comboBoxNICList.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name=">>checkBoxAutomatic.Name" xml:space="preserve">
|
||||
<value>checkBoxAutomatic</value>
|
||||
</data>
|
||||
<data name=">>checkBoxAutomatic.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=">>checkBoxAutomatic.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>checkBoxAutomatic.ZOrder" xml:space="preserve">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name=">>labelMTU.Name" xml:space="preserve">
|
||||
<value>labelMTU</value>
|
||||
</data>
|
||||
<data name=">>labelMTU.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=">>labelMTU.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>labelMTU.ZOrder" xml:space="preserve">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownMTU.Name" xml:space="preserve">
|
||||
<value>numericUpDownMTU</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownMTU.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownMTU.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>numericUpDownMTU.ZOrder" xml:space="preserve">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name=">>panelVLANInfo.Name" xml:space="preserve">
|
||||
<value>panelVLANInfo</value>
|
||||
</data>
|
||||
<data name=">>panelVLANInfo.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=">>panelVLANInfo.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>panelVLANInfo.ZOrder" xml:space="preserve">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>493, 276</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</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>panel1</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.ZOrder" xml:space="preserve">
|
||||
<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="infoMtuPanel" Row="3" RowSpan="1" Column="2" ColumnSpan="2" /><Control Name="labelNIC" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="labelVLAN" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="lblNicHelp" Row="0" RowSpan="1" Column="0" ColumnSpan="4" /><Control Name="numericUpDownVLAN" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="comboBoxNICList" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /><Control Name="checkBoxAutomatic" Row="4" RowSpan="1" Column="0" ColumnSpan="4" /><Control Name="labelMTU" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="numericUpDownMTU" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="panelVLANInfo" Row="2" RowSpan="1" Column="2" ColumnSpan="2" /></Controls><Columns Styles="AutoSize,0,Absolute,120,Absolute,127,Percent,100" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="panel1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>0, 0, 0, 0</value>
|
||||
</data>
|
||||
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>493, 276</value>
|
||||
</data>
|
||||
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>panel1.Name" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>panel1.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=">>panel1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>panel1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Left</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name=">>infoMtuMessage.Name" xml:space="preserve">
|
||||
<value>infoMtuMessage</value>
|
||||
</data>
|
||||
<data name=">>infoMtuMessage.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=">>infoMtuMessage.Parent" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>infoMtuMessage.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Name" xml:space="preserve">
|
||||
<value>pictureBox2</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Parent" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>164, 136</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>6, 0, 0, 2</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>310, 15</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>17</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.Name" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.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=">>infoMtuPanel.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="infoMtuMessage.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
@ -363,6 +140,7 @@
|
||||
<data name="infoMtuMessage.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="infoMtuMessage.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>16, 0</value>
|
||||
</data>
|
||||
@ -423,6 +201,30 @@
|
||||
<data name=">>pictureBox2.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>164, 136</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>6, 0, 0, 2</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>310, 15</value>
|
||||
</data>
|
||||
<data name="infoMtuPanel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>17</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.Name" xml:space="preserve">
|
||||
<value>infoMtuPanel</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.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=">>infoMtuPanel.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>infoMtuPanel.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="labelNIC.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
@ -630,6 +432,9 @@ Select the physical interface you would like to use:</value>
|
||||
<data name="labelMTU.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="labelMTU.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="labelMTU.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 137</value>
|
||||
</data>
|
||||
@ -684,57 +489,6 @@ Select the physical interface you would like to use:</value>
|
||||
<data name="panelVLANInfo.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name=">>labelVlanError.Name" xml:space="preserve">
|
||||
<value>labelVlanError</value>
|
||||
</data>
|
||||
<data name=">>labelVlanError.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=">>labelVlanError.Parent" xml:space="preserve">
|
||||
<value>panelVLANInfo</value>
|
||||
</data>
|
||||
<data name=">>labelVlanError.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>labelVLAN0Info.Name" xml:space="preserve">
|
||||
<value>labelVLAN0Info</value>
|
||||
</data>
|
||||
<data name=">>labelVLAN0Info.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=">>labelVLAN0Info.Parent" xml:space="preserve">
|
||||
<value>panelVLANInfo</value>
|
||||
</data>
|
||||
<data name=">>labelVLAN0Info.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>161, 112</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 13, 0, 0</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>332, 23</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>16</value>
|
||||
</data>
|
||||
<data name=">>panelVLANInfo.Name" xml:space="preserve">
|
||||
<value>panelVLANInfo</value>
|
||||
</data>
|
||||
<data name=">>panelVLANInfo.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=">>panelVLANInfo.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>panelVLANInfo.ZOrder" xml:space="preserve">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="labelVlanError.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
@ -825,6 +579,177 @@ Select the physical interface you would like to use:</value>
|
||||
<data name=">>labelVLAN0Info.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>161, 112</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 13, 0, 0</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>332, 23</value>
|
||||
</data>
|
||||
<data name="panelVLANInfo.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>16</value>
|
||||
</data>
|
||||
<data name=">>panelVLANInfo.Name" xml:space="preserve">
|
||||
<value>panelVLANInfo</value>
|
||||
</data>
|
||||
<data name=">>panelVLANInfo.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=">>panelVLANInfo.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>panelVLANInfo.ZOrder" xml:space="preserve">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="checkBoxSriov.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="checkBoxSriov.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="checkBoxSriov.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>10, 51</value>
|
||||
</data>
|
||||
<data name="checkBoxSriov.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>204, 17</value>
|
||||
</data>
|
||||
<data name="checkBoxSriov.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="checkBoxSriov.Text" xml:space="preserve">
|
||||
<value>Create VLAN on the SR-IOV network.</value>
|
||||
</data>
|
||||
<data name=">>checkBoxSriov.Name" xml:space="preserve">
|
||||
<value>checkBoxSriov</value>
|
||||
</data>
|
||||
<data name=">>checkBoxSriov.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=">>checkBoxSriov.Parent" xml:space="preserve">
|
||||
<value>groupBoxSriovConfig</value>
|
||||
</data>
|
||||
<data name=">>checkBoxSriov.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="lblSriov.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="lblSriov.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="lblSriov.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>7, 20</value>
|
||||
</data>
|
||||
<data name="lblSriov.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>273, 13</value>
|
||||
</data>
|
||||
<data name="lblSriov.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="lblSriov.Text" xml:space="preserve">
|
||||
<value>Those SR-IOV network created VFs will have VLAN tag.</value>
|
||||
</data>
|
||||
<data name=">>lblSriov.Name" xml:space="preserve">
|
||||
<value>lblSriov</value>
|
||||
</data>
|
||||
<data name=">>lblSriov.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=">>lblSriov.Parent" xml:space="preserve">
|
||||
<value>groupBoxSriovConfig</value>
|
||||
</data>
|
||||
<data name=">>lblSriov.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="groupBoxSriovConfig.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 206</value>
|
||||
</data>
|
||||
<data name="groupBoxSriovConfig.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>3, 10, 3, 3</value>
|
||||
</data>
|
||||
<data name="groupBoxSriovConfig.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>487, 67</value>
|
||||
</data>
|
||||
<data name="groupBoxSriovConfig.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>18</value>
|
||||
</data>
|
||||
<data name="groupBoxSriovConfig.Text" xml:space="preserve">
|
||||
<value>SR-IOV configuration</value>
|
||||
</data>
|
||||
<data name="groupBoxSriovConfig.Visible" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name=">>groupBoxSriovConfig.Name" xml:space="preserve">
|
||||
<value>groupBoxSriovConfig</value>
|
||||
</data>
|
||||
<data name=">>groupBoxSriovConfig.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>groupBoxSriovConfig.Parent" xml:space="preserve">
|
||||
<value>tableLayoutPanel1</value>
|
||||
</data>
|
||||
<data name=">>groupBoxSriovConfig.ZOrder" xml:space="preserve">
|
||||
<value>10</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>6</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>493, 276</value>
|
||||
</data>
|
||||
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</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>panel1</value>
|
||||
</data>
|
||||
<data name=">>tableLayoutPanel1.ZOrder" xml:space="preserve">
|
||||
<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="infoMtuPanel" Row="3" RowSpan="1" Column="2" ColumnSpan="2" /><Control Name="labelNIC" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="labelVLAN" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="lblNicHelp" Row="0" RowSpan="1" Column="0" ColumnSpan="4" /><Control Name="numericUpDownVLAN" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="comboBoxNICList" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /><Control Name="checkBoxAutomatic" Row="4" RowSpan="1" Column="0" ColumnSpan="4" /><Control Name="labelMTU" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="numericUpDownMTU" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="panelVLANInfo" Row="2" RowSpan="1" Column="2" ColumnSpan="2" /><Control Name="groupBoxSriovConfig" Row="4" RowSpan="1" Column="3" ColumnSpan="4" /></Controls><Columns Styles="AutoSize,0,Absolute,120,Absolute,127,Percent,100" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,Absolute,20" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="panel1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>0, 0, 0, 0</value>
|
||||
</data>
|
||||
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>493, 276</value>
|
||||
</data>
|
||||
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>panel1.Name" xml:space="preserve">
|
||||
<value>panel1</value>
|
||||
</data>
|
||||
<data name=">>panel1.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=">>panel1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>panel1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
Loading…
Reference in New Issue
Block a user