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:
jishengx 2018-03-16 03:42:01 +08:00 committed by Cheng Zhang
parent 89716cf258
commit 9cfac68d8d
4 changed files with 259 additions and 276 deletions

View File

@ -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

View File

@ -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;
}
}

View File

@ -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;

View File

@ -125,235 +125,12 @@
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="&gt;&gt;infoMtuPanel.Name" xml:space="preserve">
<value>infoMtuPanel</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;infoMtuPanel.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;infoMtuPanel.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;labelNIC.Name" xml:space="preserve">
<value>labelNIC</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;labelNIC.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;labelNIC.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="&gt;&gt;labelVLAN.Name" xml:space="preserve">
<value>labelVLAN</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;labelVLAN.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;labelVLAN.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="&gt;&gt;lblNicHelp.Name" xml:space="preserve">
<value>lblNicHelp</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;lblNicHelp.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;lblNicHelp.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="&gt;&gt;numericUpDownVLAN.Name" xml:space="preserve">
<value>numericUpDownVLAN</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;numericUpDownVLAN.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;numericUpDownVLAN.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="&gt;&gt;comboBoxNICList.Name" xml:space="preserve">
<value>comboBoxNICList</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;comboBoxNICList.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;comboBoxNICList.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="&gt;&gt;checkBoxAutomatic.Name" xml:space="preserve">
<value>checkBoxAutomatic</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;checkBoxAutomatic.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;checkBoxAutomatic.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="&gt;&gt;labelMTU.Name" xml:space="preserve">
<value>labelMTU</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;labelMTU.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;labelMTU.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="&gt;&gt;numericUpDownMTU.Name" xml:space="preserve">
<value>numericUpDownMTU</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;numericUpDownMTU.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;numericUpDownMTU.ZOrder" xml:space="preserve">
<value>8</value>
</data>
<data name="&gt;&gt;panelVLANInfo.Name" xml:space="preserve">
<value>panelVLANInfo</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;panelVLANInfo.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;tableLayoutPanel1.Name" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;tableLayoutPanel1.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="infoMtuPanel" Row="3" RowSpan="1" Column="2" ColumnSpan="2" /&gt;&lt;Control Name="labelNIC" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="labelVLAN" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lblNicHelp" Row="0" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="numericUpDownVLAN" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="comboBoxNICList" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="checkBoxAutomatic" Row="4" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="labelMTU" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="numericUpDownMTU" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="panelVLANInfo" Row="2" RowSpan="1" Column="2" ColumnSpan="2" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Absolute,120,Absolute,127,Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</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="&gt;&gt;panel1.Name" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;panel1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;infoMtuMessage.Name" xml:space="preserve">
<value>infoMtuMessage</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;infoMtuMessage.Parent" xml:space="preserve">
<value>infoMtuPanel</value>
</data>
<data name="&gt;&gt;infoMtuMessage.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;pictureBox2.Name" xml:space="preserve">
<value>pictureBox2</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;pictureBox2.Parent" xml:space="preserve">
<value>infoMtuPanel</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;infoMtuPanel.Name" xml:space="preserve">
<value>infoMtuPanel</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;infoMtuPanel.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;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="&gt;&gt;infoMtuPanel.Name" xml:space="preserve">
<value>infoMtuPanel</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;infoMtuPanel.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;labelVlanError.Name" xml:space="preserve">
<value>labelVlanError</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;labelVlanError.Parent" xml:space="preserve">
<value>panelVLANInfo</value>
</data>
<data name="&gt;&gt;labelVlanError.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;labelVLAN0Info.Name" xml:space="preserve">
<value>labelVLAN0Info</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;labelVLAN0Info.Parent" xml:space="preserve">
<value>panelVLANInfo</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;panelVLANInfo.Name" xml:space="preserve">
<value>panelVLANInfo</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;panelVLANInfo.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;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="&gt;&gt;panelVLANInfo.Name" xml:space="preserve">
<value>panelVLANInfo</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;panelVLANInfo.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;checkBoxSriov.Name" xml:space="preserve">
<value>checkBoxSriov</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;checkBoxSriov.Parent" xml:space="preserve">
<value>groupBoxSriovConfig</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;lblSriov.Name" xml:space="preserve">
<value>lblSriov</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;lblSriov.Parent" xml:space="preserve">
<value>groupBoxSriovConfig</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;groupBoxSriovConfig.Name" xml:space="preserve">
<value>groupBoxSriovConfig</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;groupBoxSriovConfig.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;tableLayoutPanel1.Name" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;tableLayoutPanel1.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="infoMtuPanel" Row="3" RowSpan="1" Column="2" ColumnSpan="2" /&gt;&lt;Control Name="labelNIC" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="labelVLAN" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lblNicHelp" Row="0" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="numericUpDownVLAN" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="comboBoxNICList" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="checkBoxAutomatic" Row="4" RowSpan="1" Column="0" ColumnSpan="4" /&gt;&lt;Control Name="labelMTU" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="numericUpDownMTU" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="panelVLANInfo" Row="2" RowSpan="1" Column="2" ColumnSpan="2" /&gt;&lt;Control Name="groupBoxSriovConfig" Row="4" RowSpan="1" Column="3" ColumnSpan="4" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Absolute,120,Absolute,127,Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</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="&gt;&gt;panel1.Name" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;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="&gt;&gt;panel1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;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>