wsp-10323 Step 10 final
This commit is contained in:
parent
477b82e69c
commit
9fcad0455d
10 changed files with 2270 additions and 319 deletions
|
@ -0,0 +1,404 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="chkVpsFolderIncludesUsername.Text" xml:space="preserve">
|
||||
<value>User name</value>
|
||||
</data>
|
||||
<data name="ComparePasswordsValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Both reseller account passwords should match</value>
|
||||
</data>
|
||||
<data name="DefaultGatewayValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter default gateway IP</value>
|
||||
</data>
|
||||
<data name="DvdLibraryPathValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter DVD library folder</value>
|
||||
</data>
|
||||
<data name="ExportedVpsPathValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter path for storing exported VPS</value>
|
||||
</data>
|
||||
<data name="HostnamePatternValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter host name pattern</value>
|
||||
</data>
|
||||
<data name="locAlternateNameServer.Text" xml:space="preserve">
|
||||
<value>Alternate Name Server:</value>
|
||||
</data>
|
||||
<data name="locDefaultGateway.Text" xml:space="preserve">
|
||||
<value>Default Gateway:</value>
|
||||
</data>
|
||||
<data name="locDiskType.Text" xml:space="preserve">
|
||||
<value>Disk Type:</value>
|
||||
</data>
|
||||
<data name="locWspResellerAccount.Text" xml:space="preserve">
|
||||
<value>WebsitePanel Reseller Account</value>
|
||||
</data>
|
||||
<data name="locDvdIsoPath.Text" xml:space="preserve">
|
||||
<value>DVD Library path:</value>
|
||||
</data>
|
||||
<data name="locExistingPassword.Text" xml:space="preserve">
|
||||
<value>Existing password:</value>
|
||||
</data>
|
||||
<data name="locExportedVpsPath.Text" xml:space="preserve">
|
||||
<value>Exported VPS path:</value>
|
||||
</data>
|
||||
<data name="locExternalNetwork.Text" xml:space="preserve">
|
||||
<value>External Network</value>
|
||||
</data>
|
||||
<data name="locExternalNetworkName.Text" xml:space="preserve">
|
||||
<value>Connect to Network:</value>
|
||||
</data>
|
||||
<data name="locGeneralSettings.Text" xml:space="preserve">
|
||||
<value>General Settings</value>
|
||||
</data>
|
||||
<data name="locHostname.Text" xml:space="preserve">
|
||||
<value>VPS Host name</value>
|
||||
</data>
|
||||
<data name="locHostnamePattern.Text" xml:space="preserve">
|
||||
<value>Host name pattern:</value>
|
||||
</data>
|
||||
<data name="locIPFormat.Text" xml:space="preserve">
|
||||
<value>IP Addresses Format:</value>
|
||||
</data>
|
||||
<data name="locMediaLibrary.Text" xml:space="preserve">
|
||||
<value>DVD Media Library</value>
|
||||
</data>
|
||||
<data name="locNetworkAdapter.Text" xml:space="preserve">
|
||||
<value>Network Adapter</value>
|
||||
</data>
|
||||
<data name="locOSTemplatesPath.Text" xml:space="preserve">
|
||||
<value>OS Templates path:</value>
|
||||
</data>
|
||||
<data name="locPatternText.Text" xml:space="preserve">
|
||||
<value>When user is not allowed to specify their custom host name the system will generate the host name for new VPS based on this pattern.<br/><br/>
|
||||
The following substitution variables can be used in the pattern:<br/>
|
||||
[USERNAME], [USER_ID], [SPACE_ID]</value>
|
||||
</data>
|
||||
<data name="locPreferredNameServer.Text" xml:space="preserve">
|
||||
<value>Preferred Name Server:</value>
|
||||
</data>
|
||||
<data name="locPrivateNetwork.Text" xml:space="preserve">
|
||||
<value>Private Network</value>
|
||||
</data>
|
||||
<data name="locResellerAccountText.Text" xml:space="preserve">
|
||||
<value>For automatic provisioning of WebsitePanel control panel inside VPS please enter WebsitePanel reseller account details below:</value>
|
||||
</data>
|
||||
<data name="locResellerConfirmPassword.Text" xml:space="preserve">
|
||||
<value>Confirm password:</value>
|
||||
</data>
|
||||
<data name="locResellerPassword.Text" xml:space="preserve">
|
||||
<value>Password:</value>
|
||||
</data>
|
||||
<data name="locResellerUsername.Text" xml:space="preserve">
|
||||
<value>Username:</value>
|
||||
</data>
|
||||
<data name="locSeconds.Text" xml:space="preserve">
|
||||
<value>seconds</value>
|
||||
</data>
|
||||
<data name="locStartAction.Text" xml:space="preserve">
|
||||
<value>Automatic Start Action</value>
|
||||
</data>
|
||||
<data name="locStartOptionsText.Text" xml:space="preserve">
|
||||
<value>What do you want VPS to do when the physical computer starts?</value>
|
||||
</data>
|
||||
<data name="locStartupDelay.Text" xml:space="preserve">
|
||||
<value>Startup delay:</value>
|
||||
</data>
|
||||
<data name="locStartupDelayText.Text" xml:space="preserve">
|
||||
<value>Specify a startup delay to reduce resource contention between virtual machines.</value>
|
||||
</data>
|
||||
<data name="locStopAction.Text" xml:space="preserve">
|
||||
<value>Automatic Stop Action</value>
|
||||
</data>
|
||||
<data name="locStopActionText.Text" xml:space="preserve">
|
||||
<value>What do you want VPS to do when the physical shuts down?</value>
|
||||
</data>
|
||||
<data name="locSubnetMask.Text" xml:space="preserve">
|
||||
<value>Subnet Mask:</value>
|
||||
</data>
|
||||
<data name="locVhd.Text" xml:space="preserve">
|
||||
<value>Virtual Hard Drive</value>
|
||||
</data>
|
||||
<data name="locVpsFolderIncludes.Text" xml:space="preserve">
|
||||
<value>VPS folder includes:</value>
|
||||
</data>
|
||||
<data name="locVpsRootFolder.Text" xml:space="preserve">
|
||||
<value>VPS root folder:</value>
|
||||
</data>
|
||||
<data name="ddlPrivateNetworkFormat10.Text" xml:space="preserve">
|
||||
<value>10.0.0.1/8</value>
|
||||
</data>
|
||||
<data name="ddlPrivateNetworkFormat172.Text" xml:space="preserve">
|
||||
<value>172.16.0.1/12</value>
|
||||
</data>
|
||||
<data name="ddlPrivateNetworkFormat192.Text" xml:space="preserve">
|
||||
<value>192.168.0.1/16</value>
|
||||
</data>
|
||||
<data name="radioStartActionAlwaysStart.Text" xml:space="preserve">
|
||||
<value>Always start VPS automatically</value>
|
||||
</data>
|
||||
<data name="radioStartActionNothing.Text" xml:space="preserve">
|
||||
<value>Nothing</value>
|
||||
</data>
|
||||
<data name="radioStartActionStart.Text" xml:space="preserve">
|
||||
<value>Automatically start if it was running when the service stopped</value>
|
||||
</data>
|
||||
<data name="radioStopActionSave.Text" xml:space="preserve">
|
||||
<value>Save VPS state</value>
|
||||
</data>
|
||||
<data name="radioStopActionShutDown.Text" xml:space="preserve">
|
||||
<value>Shut down VPS operating system</value>
|
||||
</data>
|
||||
<data name="radioStopActionTurnOff.Text" xml:space="preserve">
|
||||
<value>Turn off VPS</value>
|
||||
</data>
|
||||
<data name="radioVirtualDiskTypeDynamic.Text" xml:space="preserve">
|
||||
<value>Dynamically expanding</value>
|
||||
</data>
|
||||
<data name="radioVirtualDiskTypeFixed.Text" xml:space="preserve">
|
||||
<value>Fixed size</value>
|
||||
</data>
|
||||
<data name="radioVpsFolderIncludesID.Text" xml:space="preserve">
|
||||
<value>VPS identifier, for example "843FA-A0B2-34404"</value>
|
||||
</data>
|
||||
<data name="radioVpsFolderIncludesName.Text" xml:space="preserve">
|
||||
<value>VPS host name, for example "vps1.domain.com"</value>
|
||||
</data>
|
||||
<data name="RootFolderValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter VPS root folder</value>
|
||||
</data>
|
||||
<data name="StartupDelayValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Startup delay could not be blank</value>
|
||||
</data>
|
||||
<data name="SubnetMaskValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter subnet mask</value>
|
||||
</data>
|
||||
<data name="TemplatesPathValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter OS templates folder</value>
|
||||
</data>
|
||||
<data name="CpuLimitValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter processor limit per VPS</value>
|
||||
</data>
|
||||
<data name="CpuReserveValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter processor reserve per VPS</value>
|
||||
</data>
|
||||
<data name="CpuWeightValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter relative processor weight per VPS</value>
|
||||
</data>
|
||||
<data name="locCpuLimit.Text" xml:space="preserve">
|
||||
<value>Virtual machine limit:</value>
|
||||
</data>
|
||||
<data name="locCpuReserve.Text" xml:space="preserve">
|
||||
<value>Virtual machine reserve:</value>
|
||||
</data>
|
||||
<data name="locCpuWeight.Text" xml:space="preserve">
|
||||
<value>Relative weight:</value>
|
||||
</data>
|
||||
<data name="locFolderVariables.Text" xml:space="preserve">
|
||||
<value>The following variables are supported: [VPS_HOSTNAME], [USERNAME], [USER_ID], [SPACE_ID]</value>
|
||||
</data>
|
||||
<data name="locProcessorSettings.Text" xml:space="preserve">
|
||||
<value>Processor Resource Settings</value>
|
||||
</data>
|
||||
<data name="btnConnect.Text" xml:space="preserve">
|
||||
<value>Connect</value>
|
||||
</data>
|
||||
<data name="ErrorReadingNetworksList.Text" xml:space="preserve">
|
||||
<value><Cannot read networks list></value>
|
||||
</data>
|
||||
<data name="locErrorReadingNetworksList.Text" xml:space="preserve">
|
||||
<value><br/><b>Unable to connect to Hyper-V server</b><br/><br/>Possible reasons:<ol><li>You are going to manage remote Hyper-V server (either Server Core or Hyper-V Server 2008 machine) where WebsitePanel Server is not installed. Type the correct server name at the top of this form and then click "Connect" button.</li><li>WebsitePanel Server has insufficient permissions to connect remote Hyper-V server. Please refer administrator guide for client and server setup instructions.</li><li>Lost connectivity with WebsitePanel Server installed on Hyper-V virtualization server. Check connectivity and open service properties page once again.</li></ol></value>
|
||||
</data>
|
||||
<data name="locHyperVServer.Text" xml:space="preserve">
|
||||
<value>Hyper-V Server</value>
|
||||
</data>
|
||||
<data name="locServerName.Text" xml:space="preserve">
|
||||
<value>Server name:</value>
|
||||
</data>
|
||||
<data name="radioServerLocal.Text" xml:space="preserve">
|
||||
<value><b>Local</b> - Hyper-V role is installed on this server</value>
|
||||
</data>
|
||||
<data name="radioServerRemote.Text" xml:space="preserve">
|
||||
<value><b>Remote</b> - Remote Windows 2008 Server Core or Hyper-V Server 2008</value>
|
||||
</data>
|
||||
<data name="ServerNameValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter server name</value>
|
||||
</data>
|
||||
<data name="ddlManagementNetworks.Text" xml:space="preserve">
|
||||
<value><Do not connect VPS to Management Network></value>
|
||||
</data>
|
||||
<data name="locManagementNetwork.Text" xml:space="preserve">
|
||||
<value>Management Network</value>
|
||||
</data>
|
||||
<data name="locManagementNetworkName.Text" xml:space="preserve">
|
||||
<value>Connect to Network:</value>
|
||||
</data>
|
||||
<data name="ddlManageNicConfigDhcp.Text" xml:space="preserve">
|
||||
<value>DHCP</value>
|
||||
</data>
|
||||
<data name="ddlManageNicConfigPool.Text" xml:space="preserve">
|
||||
<value>IP Addresses Pool</value>
|
||||
</data>
|
||||
<data name="ddlPrivateNetworkFormatCustom.Text" xml:space="preserve">
|
||||
<value>Custom</value>
|
||||
</data>
|
||||
<data name="locManageNicConfig.Text" xml:space="preserve">
|
||||
<value>Network Card Configuration:</value>
|
||||
</data>
|
||||
<data name="locPrivCustomFormat.Text" xml:space="preserve">
|
||||
<value>IP Address / CIDR:</value>
|
||||
</data>
|
||||
<data name="privateSubnetMaskValidator.ErrorMessage" xml:space="preserve">
|
||||
<value>Enter subnet mask in CIDR format</value>
|
||||
</data>
|
||||
<data name="chkAssignIPAutomatically.Text" xml:space="preserve">
|
||||
<value>Automatically assign IP addresses to the space on creation</value>
|
||||
</data>
|
||||
<data name="lblCoreSvcEndpoint.Text" xml:space="preserve">
|
||||
<value>Core Svc Endpoint</value>
|
||||
</data>
|
||||
<data name="lblSCCMEndPoint.Text" xml:space="preserve">
|
||||
<value>SCCM Endpoint</value>
|
||||
</data>
|
||||
<data name="lblSCCMServer.Text" xml:space="preserve">
|
||||
<value>SCCM Server</value>
|
||||
</data>
|
||||
<data name="lblSCDPMEndPoint.Text" xml:space="preserve">
|
||||
<value>SCDPM Endpoint</value>
|
||||
</data>
|
||||
<data name="lblSCDPMServer.Text" xml:space="preserve">
|
||||
<value>SCDPM Server</value>
|
||||
</data>
|
||||
<data name="lblSCOMEndPoint.Text" xml:space="preserve">
|
||||
<value>SCOM Endpoint</value>
|
||||
</data>
|
||||
<data name="lblSCOMServer.Text" xml:space="preserve">
|
||||
<value>SCOM Server</value>
|
||||
</data>
|
||||
<data name="lblSCVMMEndPoint.Text" xml:space="preserve">
|
||||
<value>SCVMM Endpoint</value>
|
||||
</data>
|
||||
<data name="lblSCVMMServer.Text" xml:space="preserve">
|
||||
<value>SCVMM Server</value>
|
||||
</data>
|
||||
<data name="lblStorageEndPoint.Text" xml:space="preserve">
|
||||
<value>Storage Endpoint</value>
|
||||
</data>
|
||||
<data name="locHyperVCloud.Text" xml:space="preserve">
|
||||
<value>Hyper-V Cloud</value>
|
||||
</data>
|
||||
</root>
|
|
@ -0,0 +1,408 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HyperV2012R2_Settings.ascx.cs" Inherits="WebsitePanel.Portal.ProviderControls.HyperV2012R2_Settings" %>
|
||||
<%@ Register Src="../UserControls/EditIPAddressControl.ascx" TagName="EditIPAddressControl" TagPrefix="wsp" %>
|
||||
|
||||
<asp:ValidationSummary ID="ValidationSummary" runat="server" ShowMessageBox="true" ShowSummary="false" />
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locHyperVServer" runat="server" meta:resourcekey="locHyperVServer" Text="Hyper-V Server"></asp:Localize>
|
||||
</legend>
|
||||
<table cellpadding="2" cellspacing="0" style="margin: 10px;">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<asp:RadioButtonList ID="radioServer" runat="server" AutoPostBack="true"
|
||||
onselectedindexchanged="radioServer_SelectedIndexChanged">
|
||||
<asp:ListItem Value="local" meta:resourcekey="radioServerLocal" Selected="True">Local</asp:ListItem>
|
||||
<asp:ListItem Value="remote" meta:resourcekey="radioServerRemote">Remote</asp:ListItem>
|
||||
</asp:RadioButtonList>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="ServerNameRow" runat="server">
|
||||
<td class="SubHead" style="padding-left:30px;" colspan="2">
|
||||
<asp:Localize ID="locServerName" runat="server" meta:resourcekey="locServerName" Text="Server name:"></asp:Localize>
|
||||
<asp:TextBox Width="200px" CssClass="NormalTextBox" Runat="server" ID="txtServerName"></asp:TextBox>
|
||||
<asp:Button ID="btnConnect" runat="server" meta:resourcekey="btnConnect"
|
||||
CssClass="Button1" Text="Connect" CausesValidation="false"
|
||||
onclick="btnConnect_Click" />
|
||||
|
||||
<asp:RequiredFieldValidator ID="ServerNameValidator" runat="server" ControlToValidate="txtServerName"
|
||||
Text="*" meta:resourcekey="ServerNameValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="ServerErrorRow" runat="server">
|
||||
<td colspan="2">
|
||||
<asp:Label ID="locErrorReadingNetworksList" runat="server"
|
||||
meta:resourcekey="locErrorReadingNetworksList" ForeColor="Red"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<br />
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locGeneralSettings" runat="server" meta:resourcekey="locGeneralSettings" Text="General Settings"></asp:Localize>
|
||||
</legend>
|
||||
<table cellpadding="2" cellspacing="0" width="100%" style="margin: 10px;">
|
||||
<tr>
|
||||
<td class="SubHead" style="width:200px;">
|
||||
<asp:Localize ID="locVpsRootFolder" runat="server" meta:resourcekey="locVpsRootFolder" Text="VPS root folder:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox Width="400px" CssClass="NormalTextBox" Runat="server" ID="txtVpsRootFolder"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RootFolderValidator" runat="server" ControlToValidate="txtVpsRootFolder"
|
||||
Text="*" meta:resourcekey="RootFolderValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<asp:Localize ID="locFolderVariables" runat="server" meta:resourcekey="locFolderVariables" Text="The following variables..."></asp:Localize>
|
||||
<br />
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="SubHead">
|
||||
<asp:Localize ID="locOSTemplatesPath" runat="server" meta:resourcekey="locOSTemplatesPath" Text="OS Templates path:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox Width="300px" CssClass="NormalTextBox" Runat="server" ID="txtOSTemplatesPath"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="TemplatesPathValidator" runat="server" ControlToValidate="txtOSTemplatesPath"
|
||||
Text="*" meta:resourcekey="TemplatesPathValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="SubHead">
|
||||
<asp:Localize ID="locExportedVpsPath" runat="server" meta:resourcekey="locExportedVpsPath" Text="Exported VPS path:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox Width="300px" CssClass="NormalTextBox" Runat="server" ID="txtExportedVpsPath"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="ExportedVpsPathValidator" runat="server" ControlToValidate="txtExportedVpsPath"
|
||||
Text="*" meta:resourcekey="ExportedVpsPathValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<br />
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locProcessorSettings" runat="server" meta:resourcekey="locProcessorSettings" Text="Processor Resource Settings"></asp:Localize>
|
||||
</legend>
|
||||
<table cellpadding="2" cellspacing="0" width="100%" style="margin: 10px;">
|
||||
<tr>
|
||||
<td class="SubHead" style="width:200px;">
|
||||
<asp:Localize ID="locCpuReserve" runat="server" meta:resourcekey="locCpuReserve" Text="Virtual machine reserve:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox Width="50px" CssClass="NormalTextBox" Runat="server" ID="txtCpuReserve"></asp:TextBox>
|
||||
%
|
||||
<asp:RequiredFieldValidator ID="CpuReserveValidator" runat="server" ControlToValidate="txtCpuReserve"
|
||||
Text="*" meta:resourcekey="CpuReserveValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="SubHead" style="width:200px;">
|
||||
<asp:Localize ID="locCpuLimit" runat="server" meta:resourcekey="locCpuLimit" Text="Virtual machine limit:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox Width="50px" CssClass="NormalTextBox" Runat="server" ID="txtCpuLimit"></asp:TextBox>
|
||||
%
|
||||
<asp:RequiredFieldValidator ID="CpuLimitValidator" runat="server" ControlToValidate="txtCpuLimit"
|
||||
Text="*" meta:resourcekey="CpuLimitValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="SubHead" style="width:200px;">
|
||||
<asp:Localize ID="locCpuWeight" runat="server" meta:resourcekey="locCpuWeight" Text="Relative weight:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox Width="50px" CssClass="NormalTextBox" Runat="server" ID="txtCpuWeight"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="CpuWeightValidator" runat="server" ControlToValidate="txtCpuWeight"
|
||||
Text="*" meta:resourcekey="CpuWeightValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<br />
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locMediaLibrary" runat="server" meta:resourcekey="locMediaLibrary" Text="DVD Media Library"></asp:Localize>
|
||||
</legend>
|
||||
<table cellpadding="2" cellspacing="0" width="100%" style="margin: 10px;">
|
||||
<tr>
|
||||
<td class="SubHead" style="width:200px;">
|
||||
<asp:Localize ID="locDvdIsoPath" runat="server" meta:resourcekey="locDvdIsoPath" Text="Path to DVD ISO files:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox Width="300px" CssClass="NormalTextBox" Runat="server" ID="txtDvdLibraryPath"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="DvdLibraryPathValidator" runat="server" ControlToValidate="txtDvdLibraryPath"
|
||||
Text="*" meta:resourcekey="DvdLibraryPathValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<br />
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locVhd" runat="server" meta:resourcekey="locVhd" Text="Virtual Hard Drive"></asp:Localize>
|
||||
</legend>
|
||||
<table cellpadding="2" cellspacing="0" width="100%" style="margin: 10px;">
|
||||
<tr>
|
||||
<td class="SubHead" style="width:200px;" valign="top">
|
||||
<asp:Localize ID="locDiskType" runat="server" meta:resourcekey="locDiskType" Text="Disk Type:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:RadioButtonList ID="radioVirtualDiskType" runat="server">
|
||||
<asp:ListItem Value="dynamic" meta:resourcekey="radioVirtualDiskTypeDynamic" Selected="True">Dynamic</asp:ListItem>
|
||||
<asp:ListItem Value="fixed" meta:resourcekey="radioVirtualDiskTypeFixed">Fixed</asp:ListItem>
|
||||
</asp:RadioButtonList>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<br />
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locExternalNetwork" runat="server" meta:resourcekey="locExternalNetwork" Text="External Network"></asp:Localize>
|
||||
</legend>
|
||||
<table cellpadding="2" cellspacing="0" width="100%" style="margin: 10px;">
|
||||
<tr>
|
||||
<td class="SubHead" style="width:200px;">
|
||||
<asp:Localize ID="locExternalNetworkName" runat="server" meta:resourcekey="locExternalNetworkName" Text="Connect to Network:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="ddlExternalNetworks" runat="server" CssClass="NormalTextBox" Width="450"
|
||||
DataValueField="SwitchId" DataTextField="Name"></asp:DropDownList>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="SubHead">
|
||||
<asp:Localize ID="locPreferredNameServer" runat="server" meta:resourcekey="locPreferredNameServer" Text="Preferred Name Server:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<wsp:EditIPAddressControl id="externalPreferredNameServer" runat="server" Required="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="SubHead">
|
||||
<asp:Localize ID="locAlternateNameServer" runat="server" meta:resourcekey="locAlternateNameServer" Text="Alternate Name Server:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<wsp:EditIPAddressControl id="externalAlternateNameServer" runat="server" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<asp:CheckBox ID="chkAssignIPAutomatically" runat="server" meta:resourcekey="chkAssignIPAutomatically" Text="Assign IP addresses to the space on creation" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<br />
|
||||
|
||||
<asp:UpdatePanel ID="ManageUpdatePanel" runat="server" ChildrenAsTriggers="true">
|
||||
<ContentTemplate>
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locManagementNetwork" runat="server" meta:resourcekey="locManagementNetwork" Text="Management Network"></asp:Localize>
|
||||
</legend>
|
||||
<table cellpadding="2" cellspacing="0" width="100%" style="margin: 10px;">
|
||||
<tr>
|
||||
<td style="width:200px;">
|
||||
<asp:Localize ID="locManagementNetworkName" runat="server" meta:resourcekey="locManagementNetworkName" Text="Connect to Network:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="ddlManagementNetworks" runat="server"
|
||||
CssClass="NormalTextBox" Width="450"
|
||||
DataValueField="SwitchId" DataTextField="Name" AutoPostBack="true"
|
||||
onselectedindexchanged="ddlManagementNetworks_SelectedIndexChanged"></asp:DropDownList>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="ManageNicConfigRow" runat="server">
|
||||
<td>
|
||||
<asp:Localize ID="locManageNicConfig" runat="server" meta:resourcekey="locManageNicConfig" Text="Network Adapter Configuration:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="ddlManageNicConfig" runat="server" AutoPostBack="true"
|
||||
onselectedindexchanged="ddlManageNicConfig_SelectedIndexChanged">
|
||||
<asp:ListItem Value="Pool" meta:resourcekey="ddlManageNicConfigPool" Selected="True">POOL</asp:ListItem>
|
||||
<asp:ListItem Value="DHCP" meta:resourcekey="ddlManageNicConfigDhcp">DHCP</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="ManagePreferredNameServerRow" runat="server">
|
||||
<td>
|
||||
<asp:Localize ID="locManagePreferredNameServer" runat="server" meta:resourcekey="locPreferredNameServer" Text="Preferred Name Server:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<wsp:EditIPAddressControl id="managePreferredNameServer" runat="server" Required="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="ManageAlternateNameServerRow" runat="server">
|
||||
<td>
|
||||
<asp:Localize ID="locManageAlternateNameServer" runat="server" meta:resourcekey="locAlternateNameServer" Text="Alternate Name Server:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<wsp:EditIPAddressControl id="manageAlternateNameServer" runat="server" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<br />
|
||||
|
||||
<asp:UpdatePanel ID="PrivUpdatePanel" runat="server" ChildrenAsTriggers="true">
|
||||
<ContentTemplate>
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locPrivateNetwork" runat="server" meta:resourcekey="locPrivateNetwork" Text="Private Network"></asp:Localize>
|
||||
</legend>
|
||||
<table cellpadding="2" cellspacing="0" width="100%" style="margin: 10px;">
|
||||
<tr>
|
||||
<td class="SubHead" style="width:200px;">
|
||||
<asp:Localize ID="locIPFormat" runat="server" meta:resourcekey="locIPFormat" Text="IP addresses format:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="ddlPrivateNetworkFormat" runat="server"
|
||||
AutoPostBack="true" onselectedindexchanged="ddlPrivateNetworkFormat_SelectedIndexChanged">
|
||||
<asp:ListItem Value="" meta:resourcekey="ddlPrivateNetworkFormatCustom">Custom</asp:ListItem>
|
||||
<asp:ListItem Value="192.168.0.1/16" meta:resourcekey="ddlPrivateNetworkFormat192" Selected="True">192.168.0.1</asp:ListItem>
|
||||
<asp:ListItem Value="172.16.0.1/12" meta:resourcekey="ddlPrivateNetworkFormat172">172.16.0.1</asp:ListItem>
|
||||
<asp:ListItem Value="10.0.0.1/8" meta:resourcekey="ddlPrivateNetworkFormat10">10.0.0.1</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="PrivCustomFormatRow" runat="server">
|
||||
<td class="SubHead">
|
||||
<asp:Localize ID="locPrivCustomFormat" runat="server" meta:resourcekey="locPrivCustomFormat" Text="Start IP Address:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<wsp:EditIPAddressControl id="privateIPAddress" runat="server" Required="true" />
|
||||
/
|
||||
<asp:TextBox ID="privateSubnetMask" runat="server" MaxLength="3" Width="40px" CssClass="NormalTextBox"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="privateSubnetMaskValidator" runat="server" ControlToValidate="privateSubnetMask"
|
||||
Text="*" meta:resourcekey="privateSubnetMaskValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="SubHead">
|
||||
<asp:Localize ID="locPrivDefaultGateway" runat="server" meta:resourcekey="locDefaultGateway" Text="Default Gateway:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<wsp:EditIPAddressControl id="privateDefaultGateway" runat="server" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="SubHead">
|
||||
<asp:Localize ID="locPrivPreferredNameServer" runat="server" meta:resourcekey="locPreferredNameServer" Text="Preferred Name Server:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<wsp:EditIPAddressControl id="privatePreferredNameServer" runat="server" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="SubHead">
|
||||
<asp:Localize ID="locPrivAlternateNameServer" runat="server" meta:resourcekey="locAlternateNameServer" Text="Alternate Name Server:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<wsp:EditIPAddressControl id="privateAlternateNameServer" runat="server" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<br />
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locHostname" runat="server" meta:resourcekey="locHostname" Text="Host name"></asp:Localize>
|
||||
</legend>
|
||||
<table cellpadding="2" cellspacing="0" width="100%" style="margin: 10px;">
|
||||
<tr>
|
||||
<td class="SubHead" style="width:200px;">
|
||||
<asp:Localize ID="locHostnamePattern" runat="server" meta:resourcekey="locHostnamePattern" Text="VPS host name pattern:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox Width="200px" CssClass="NormalTextBox" Runat="server" ID="txtHostnamePattern"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="HostnamePatternValidator" runat="server" ControlToValidate="txtHostnamePattern"
|
||||
Text="*" meta:resourcekey="HostnamePatternValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin: 10px;">
|
||||
<asp:Localize ID="locPatternText" runat="server" meta:resourcekey="locPatternText" Text="Help text goes here..."></asp:Localize>
|
||||
</p>
|
||||
</fieldset>
|
||||
<br />
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locStartAction" runat="server" meta:resourcekey="locStartAction" Text="Automatic Start Action"></asp:Localize>
|
||||
</legend>
|
||||
|
||||
<table cellpadding="2" cellspacing="0" width="100%" style="margin: 10px;">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize ID="locStartOptionsText" runat="server" meta:resourcekey="locStartOptionsText" Text="What do you want VPS to do when the physical computer starts?"></asp:Localize>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:RadioButtonList ID="radioStartAction" runat="server">
|
||||
<asp:ListItem Value="0" meta:resourcekey="radioStartActionNothing">Nothing</asp:ListItem>
|
||||
<asp:ListItem Value="1" meta:resourcekey="radioStartActionStart" Selected="True">Start</asp:ListItem>
|
||||
<asp:ListItem Value="2" meta:resourcekey="radioStartActionAlwaysStart">AlwaysStart</asp:ListItem>
|
||||
</asp:RadioButtonList>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize ID="locStartupDelayText" runat="server" meta:resourcekey="locStartupDelayText" Text="Specify a startup delay to reduce resource contention between virtual machines."></asp:Localize>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize ID="locStartupDelay" runat="server" meta:resourcekey="locStartupDelay" Text="Startup delay:"></asp:Localize>
|
||||
<asp:TextBox ID="txtStartupDelay" runat="server" Width="30px"></asp:TextBox>
|
||||
<asp:Localize ID="locSeconds" runat="server" meta:resourcekey="locSeconds" Text="seconds"></asp:Localize>
|
||||
<asp:RequiredFieldValidator ID="StartupDelayValidator" runat="server" ControlToValidate="txtStartupDelay"
|
||||
Text="*" meta:resourcekey="StartupDelayValidator" Display="Dynamic" SetFocusOnError="true" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<br />
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<asp:Localize ID="locStopAction" runat="server" meta:resourcekey="locStopAction" Text="Automatic Stop Action"></asp:Localize>
|
||||
</legend>
|
||||
|
||||
<table cellpadding="2" cellspacing="0" width="100%" style="margin: 10px;">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize ID="locStopActionText" runat="server" meta:resourcekey="locStopActionText" Text="What do you want VPS to do when the physical shuts down?"></asp:Localize>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:RadioButtonList ID="radioStopAction" runat="server">
|
||||
<asp:ListItem Value="1" meta:resourcekey="radioStopActionSave">Save</asp:ListItem>
|
||||
<asp:ListItem Value="0" meta:resourcekey="radioStopActionTurnOff">TurnOff</asp:ListItem>
|
||||
<asp:ListItem Value="2" meta:resourcekey="radioStopActionShutDown" Selected="True">ShutDown</asp:ListItem>
|
||||
</asp:RadioButtonList>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<br />
|
|
@ -0,0 +1,227 @@
|
|||
// Copyright (c) 2015, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Collections.Specialized;
|
||||
using WebsitePanel.Providers.Virtualization;
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
using System.Web.UI.MobileControls;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace WebsitePanel.Portal.ProviderControls
|
||||
{
|
||||
public partial class HyperV2012R2_Settings : WebsitePanelControlBase, IHostingServiceProviderSettings
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
void IHostingServiceProviderSettings.BindSettings(StringDictionary settings)
|
||||
{
|
||||
txtServerName.Text = settings["ServerName"];
|
||||
radioServer.SelectedIndex = (txtServerName.Text == "") ? 0 : 1;
|
||||
|
||||
// bind networks
|
||||
BindNetworksList();
|
||||
|
||||
// general settings
|
||||
txtVpsRootFolder.Text = settings["RootFolder"];
|
||||
txtOSTemplatesPath.Text = settings["OsTemplatesPath"];
|
||||
txtExportedVpsPath.Text = settings["ExportedVpsPath"];
|
||||
|
||||
// CPU
|
||||
txtCpuLimit.Text = settings["CpuLimit"];
|
||||
txtCpuReserve.Text = settings["CpuReserve"];
|
||||
txtCpuWeight.Text = settings["CpuWeight"];
|
||||
|
||||
// DVD library
|
||||
txtDvdLibraryPath.Text = settings["DvdLibraryPath"];
|
||||
|
||||
// VHD type
|
||||
radioVirtualDiskType.SelectedValue = settings["VirtualDiskType"];
|
||||
|
||||
// External network
|
||||
ddlExternalNetworks.SelectedValue = settings["ExternalNetworkId"];
|
||||
externalPreferredNameServer.Text = settings["ExternalPreferredNameServer"];
|
||||
externalAlternateNameServer.Text = settings["ExternalAlternateNameServer"];
|
||||
chkAssignIPAutomatically.Checked = Utils.ParseBool(settings["AutoAssignExternalIP"], true);
|
||||
|
||||
// Private network
|
||||
ddlPrivateNetworkFormat.SelectedValue = settings["PrivateNetworkFormat"];
|
||||
privateIPAddress.Text = settings["PrivateIPAddress"];
|
||||
privateSubnetMask.Text = settings["PrivateSubnetMask"];
|
||||
privateDefaultGateway.Text = settings["PrivateDefaultGateway"];
|
||||
privatePreferredNameServer.Text = settings["PrivatePreferredNameServer"];
|
||||
privateAlternateNameServer.Text = settings["PrivateAlternateNameServer"];
|
||||
|
||||
// Management network
|
||||
ddlManagementNetworks.SelectedValue = settings["ManagementNetworkId"];
|
||||
ddlManageNicConfig.SelectedValue = settings["ManagementNicConfig"];
|
||||
managePreferredNameServer.Text = settings["ManagementPreferredNameServer"];
|
||||
manageAlternateNameServer.Text = settings["ManagementAlternateNameServer"];
|
||||
|
||||
// host name
|
||||
txtHostnamePattern.Text = settings["HostnamePattern"];
|
||||
|
||||
// start action
|
||||
radioStartAction.SelectedValue = settings["StartAction"];
|
||||
txtStartupDelay.Text = settings["StartupDelay"];
|
||||
|
||||
// stop
|
||||
radioStopAction.SelectedValue = settings["StopAction"];
|
||||
|
||||
ToggleControls();
|
||||
}
|
||||
|
||||
void IHostingServiceProviderSettings.SaveSettings(StringDictionary settings)
|
||||
{
|
||||
settings["ServerName"] = txtServerName.Text.Trim();
|
||||
|
||||
// general settings
|
||||
settings["RootFolder"] = txtVpsRootFolder.Text.Trim();
|
||||
settings["OsTemplatesPath"] = txtOSTemplatesPath.Text.Trim();
|
||||
settings["ExportedVpsPath"] = txtExportedVpsPath.Text.Trim();
|
||||
|
||||
// CPU
|
||||
settings["CpuLimit"] = txtCpuLimit.Text.Trim();
|
||||
settings["CpuReserve"] = txtCpuReserve.Text.Trim();
|
||||
settings["CpuWeight"] = txtCpuWeight.Text.Trim();
|
||||
|
||||
// DVD library
|
||||
settings["DvdLibraryPath"] = txtDvdLibraryPath.Text.Trim();
|
||||
|
||||
// VHD type
|
||||
settings["VirtualDiskType"] = radioVirtualDiskType.SelectedValue;
|
||||
|
||||
// External network
|
||||
settings["ExternalNetworkId"] = ddlExternalNetworks.SelectedValue;
|
||||
settings["ExternalPreferredNameServer"] = externalPreferredNameServer.Text;
|
||||
settings["ExternalAlternateNameServer"] = externalAlternateNameServer.Text;
|
||||
settings["AutoAssignExternalIP"] = chkAssignIPAutomatically.Checked.ToString();
|
||||
|
||||
// Private network
|
||||
settings["PrivateNetworkFormat"] = ddlPrivateNetworkFormat.SelectedValue;
|
||||
settings["PrivateIPAddress"] = ddlPrivateNetworkFormat.SelectedIndex == 0 ? privateIPAddress.Text : "";
|
||||
settings["PrivateSubnetMask"] = ddlPrivateNetworkFormat.SelectedIndex == 0 ? privateSubnetMask.Text : "";
|
||||
settings["PrivateDefaultGateway"] = privateDefaultGateway.Text;
|
||||
settings["PrivatePreferredNameServer"] = privatePreferredNameServer.Text;
|
||||
settings["PrivateAlternateNameServer"] = privateAlternateNameServer.Text;
|
||||
|
||||
// Management network
|
||||
settings["ManagementNetworkId"] = ddlManagementNetworks.SelectedValue;
|
||||
settings["ManagementNicConfig"] = ddlManageNicConfig.SelectedValue;
|
||||
settings["ManagementPreferredNameServer"] = ddlManageNicConfig.SelectedIndex == 0 ? managePreferredNameServer.Text : "";
|
||||
settings["ManagementAlternateNameServer"] = ddlManageNicConfig.SelectedIndex == 0 ? manageAlternateNameServer.Text : "";
|
||||
|
||||
// host name
|
||||
settings["HostnamePattern"] = txtHostnamePattern.Text.Trim();
|
||||
|
||||
// start action
|
||||
settings["StartAction"] = radioStartAction.SelectedValue;
|
||||
settings["StartupDelay"] = Utils.ParseInt(txtStartupDelay.Text.Trim(), 0).ToString();
|
||||
|
||||
// stop
|
||||
settings["StopAction"] = radioStopAction.SelectedValue;
|
||||
}
|
||||
|
||||
private void BindNetworksList()
|
||||
{
|
||||
try
|
||||
{
|
||||
VirtualSwitch[] switches = ES.Services.VPS.GetExternalSwitches(PanelRequest.ServiceId, txtServerName.Text.Trim());
|
||||
|
||||
ddlExternalNetworks.DataSource = switches;
|
||||
ddlExternalNetworks.DataBind();
|
||||
|
||||
ddlManagementNetworks.DataSource = switches;
|
||||
ddlManagementNetworks.DataBind();
|
||||
ddlManagementNetworks.Items.Insert(0, new ListItem(GetLocalizedString("ddlManagementNetworks.Text"), ""));
|
||||
|
||||
locErrorReadingNetworksList.Visible = false;
|
||||
}
|
||||
catch
|
||||
{
|
||||
ddlExternalNetworks.Items.Add(new ListItem(GetLocalizedString("ErrorReadingNetworksList.Text"), ""));
|
||||
ddlManagementNetworks.Items.Add(new ListItem(GetLocalizedString("ErrorReadingNetworksList.Text"), ""));
|
||||
locErrorReadingNetworksList.Visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void ToggleControls()
|
||||
{
|
||||
ServerNameRow.Visible = (radioServer.SelectedIndex == 1);
|
||||
|
||||
if (radioServer.SelectedIndex == 0)
|
||||
{
|
||||
txtServerName.Text = "";
|
||||
}
|
||||
|
||||
// private network
|
||||
PrivCustomFormatRow.Visible = (ddlPrivateNetworkFormat.SelectedIndex == 0);
|
||||
|
||||
// management network
|
||||
ManageNicConfigRow.Visible = (ddlManagementNetworks.SelectedIndex > 0);
|
||||
ManageAlternateNameServerRow.Visible = ManageNicConfigRow.Visible && (ddlManageNicConfig.SelectedIndex == 0);
|
||||
ManagePreferredNameServerRow.Visible = ManageNicConfigRow.Visible && (ddlManageNicConfig.SelectedIndex == 0);
|
||||
}
|
||||
|
||||
protected void radioServer_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
ToggleControls();
|
||||
}
|
||||
|
||||
protected void btnConnect_Click(object sender, EventArgs e)
|
||||
{
|
||||
BindNetworksList();
|
||||
}
|
||||
|
||||
protected void ddlPrivateNetworkFormat_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
ToggleControls();
|
||||
}
|
||||
|
||||
protected void ddlManageNicConfig_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
ToggleControls();
|
||||
}
|
||||
|
||||
protected void ddlManagementNetworks_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
ToggleControls();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,825 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebsitePanel.Portal.ProviderControls {
|
||||
|
||||
|
||||
public partial class HyperV2012R2_Settings {
|
||||
|
||||
/// <summary>
|
||||
/// ValidationSummary control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary;
|
||||
|
||||
/// <summary>
|
||||
/// locHyperVServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locHyperVServer;
|
||||
|
||||
/// <summary>
|
||||
/// radioServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RadioButtonList radioServer;
|
||||
|
||||
/// <summary>
|
||||
/// ServerNameRow control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTableRow ServerNameRow;
|
||||
|
||||
/// <summary>
|
||||
/// locServerName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locServerName;
|
||||
|
||||
/// <summary>
|
||||
/// txtServerName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtServerName;
|
||||
|
||||
/// <summary>
|
||||
/// btnConnect control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnConnect;
|
||||
|
||||
/// <summary>
|
||||
/// ServerNameValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator ServerNameValidator;
|
||||
|
||||
/// <summary>
|
||||
/// ServerErrorRow control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTableRow ServerErrorRow;
|
||||
|
||||
/// <summary>
|
||||
/// locErrorReadingNetworksList control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label locErrorReadingNetworksList;
|
||||
|
||||
/// <summary>
|
||||
/// locGeneralSettings control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locGeneralSettings;
|
||||
|
||||
/// <summary>
|
||||
/// locVpsRootFolder control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locVpsRootFolder;
|
||||
|
||||
/// <summary>
|
||||
/// txtVpsRootFolder control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtVpsRootFolder;
|
||||
|
||||
/// <summary>
|
||||
/// RootFolderValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator RootFolderValidator;
|
||||
|
||||
/// <summary>
|
||||
/// locFolderVariables control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locFolderVariables;
|
||||
|
||||
/// <summary>
|
||||
/// locOSTemplatesPath control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locOSTemplatesPath;
|
||||
|
||||
/// <summary>
|
||||
/// txtOSTemplatesPath control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtOSTemplatesPath;
|
||||
|
||||
/// <summary>
|
||||
/// TemplatesPathValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator TemplatesPathValidator;
|
||||
|
||||
/// <summary>
|
||||
/// locExportedVpsPath control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locExportedVpsPath;
|
||||
|
||||
/// <summary>
|
||||
/// txtExportedVpsPath control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtExportedVpsPath;
|
||||
|
||||
/// <summary>
|
||||
/// ExportedVpsPathValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator ExportedVpsPathValidator;
|
||||
|
||||
/// <summary>
|
||||
/// locProcessorSettings control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locProcessorSettings;
|
||||
|
||||
/// <summary>
|
||||
/// locCpuReserve control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locCpuReserve;
|
||||
|
||||
/// <summary>
|
||||
/// txtCpuReserve control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtCpuReserve;
|
||||
|
||||
/// <summary>
|
||||
/// CpuReserveValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator CpuReserveValidator;
|
||||
|
||||
/// <summary>
|
||||
/// locCpuLimit control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locCpuLimit;
|
||||
|
||||
/// <summary>
|
||||
/// txtCpuLimit control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtCpuLimit;
|
||||
|
||||
/// <summary>
|
||||
/// CpuLimitValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator CpuLimitValidator;
|
||||
|
||||
/// <summary>
|
||||
/// locCpuWeight control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locCpuWeight;
|
||||
|
||||
/// <summary>
|
||||
/// txtCpuWeight control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtCpuWeight;
|
||||
|
||||
/// <summary>
|
||||
/// CpuWeightValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator CpuWeightValidator;
|
||||
|
||||
/// <summary>
|
||||
/// locMediaLibrary control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locMediaLibrary;
|
||||
|
||||
/// <summary>
|
||||
/// locDvdIsoPath control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locDvdIsoPath;
|
||||
|
||||
/// <summary>
|
||||
/// txtDvdLibraryPath control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtDvdLibraryPath;
|
||||
|
||||
/// <summary>
|
||||
/// DvdLibraryPathValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator DvdLibraryPathValidator;
|
||||
|
||||
/// <summary>
|
||||
/// locVhd control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locVhd;
|
||||
|
||||
/// <summary>
|
||||
/// locDiskType control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locDiskType;
|
||||
|
||||
/// <summary>
|
||||
/// radioVirtualDiskType control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RadioButtonList radioVirtualDiskType;
|
||||
|
||||
/// <summary>
|
||||
/// locExternalNetwork control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locExternalNetwork;
|
||||
|
||||
/// <summary>
|
||||
/// locExternalNetworkName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locExternalNetworkName;
|
||||
|
||||
/// <summary>
|
||||
/// ddlExternalNetworks control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlExternalNetworks;
|
||||
|
||||
/// <summary>
|
||||
/// locPreferredNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locPreferredNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// externalPreferredNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.UserControls.EditIPAddressControl externalPreferredNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// locAlternateNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locAlternateNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// externalAlternateNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.UserControls.EditIPAddressControl externalAlternateNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// chkAssignIPAutomatically control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkAssignIPAutomatically;
|
||||
|
||||
/// <summary>
|
||||
/// ManageUpdatePanel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel ManageUpdatePanel;
|
||||
|
||||
/// <summary>
|
||||
/// locManagementNetwork control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locManagementNetwork;
|
||||
|
||||
/// <summary>
|
||||
/// locManagementNetworkName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locManagementNetworkName;
|
||||
|
||||
/// <summary>
|
||||
/// ddlManagementNetworks control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlManagementNetworks;
|
||||
|
||||
/// <summary>
|
||||
/// ManageNicConfigRow control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTableRow ManageNicConfigRow;
|
||||
|
||||
/// <summary>
|
||||
/// locManageNicConfig control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locManageNicConfig;
|
||||
|
||||
/// <summary>
|
||||
/// ddlManageNicConfig control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlManageNicConfig;
|
||||
|
||||
/// <summary>
|
||||
/// ManagePreferredNameServerRow control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTableRow ManagePreferredNameServerRow;
|
||||
|
||||
/// <summary>
|
||||
/// locManagePreferredNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locManagePreferredNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// managePreferredNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.UserControls.EditIPAddressControl managePreferredNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// ManageAlternateNameServerRow control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTableRow ManageAlternateNameServerRow;
|
||||
|
||||
/// <summary>
|
||||
/// locManageAlternateNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locManageAlternateNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// manageAlternateNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.UserControls.EditIPAddressControl manageAlternateNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// PrivUpdatePanel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel PrivUpdatePanel;
|
||||
|
||||
/// <summary>
|
||||
/// locPrivateNetwork control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locPrivateNetwork;
|
||||
|
||||
/// <summary>
|
||||
/// locIPFormat control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locIPFormat;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPrivateNetworkFormat control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlPrivateNetworkFormat;
|
||||
|
||||
/// <summary>
|
||||
/// PrivCustomFormatRow control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTableRow PrivCustomFormatRow;
|
||||
|
||||
/// <summary>
|
||||
/// locPrivCustomFormat control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locPrivCustomFormat;
|
||||
|
||||
/// <summary>
|
||||
/// privateIPAddress control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.UserControls.EditIPAddressControl privateIPAddress;
|
||||
|
||||
/// <summary>
|
||||
/// privateSubnetMask control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox privateSubnetMask;
|
||||
|
||||
/// <summary>
|
||||
/// privateSubnetMaskValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator privateSubnetMaskValidator;
|
||||
|
||||
/// <summary>
|
||||
/// locPrivDefaultGateway control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locPrivDefaultGateway;
|
||||
|
||||
/// <summary>
|
||||
/// privateDefaultGateway control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.UserControls.EditIPAddressControl privateDefaultGateway;
|
||||
|
||||
/// <summary>
|
||||
/// locPrivPreferredNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locPrivPreferredNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// privatePreferredNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.UserControls.EditIPAddressControl privatePreferredNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// locPrivAlternateNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locPrivAlternateNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// privateAlternateNameServer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.UserControls.EditIPAddressControl privateAlternateNameServer;
|
||||
|
||||
/// <summary>
|
||||
/// locHostname control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locHostname;
|
||||
|
||||
/// <summary>
|
||||
/// locHostnamePattern control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locHostnamePattern;
|
||||
|
||||
/// <summary>
|
||||
/// txtHostnamePattern control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtHostnamePattern;
|
||||
|
||||
/// <summary>
|
||||
/// HostnamePatternValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator HostnamePatternValidator;
|
||||
|
||||
/// <summary>
|
||||
/// locPatternText control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locPatternText;
|
||||
|
||||
/// <summary>
|
||||
/// locStartAction control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locStartAction;
|
||||
|
||||
/// <summary>
|
||||
/// locStartOptionsText control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locStartOptionsText;
|
||||
|
||||
/// <summary>
|
||||
/// radioStartAction control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RadioButtonList radioStartAction;
|
||||
|
||||
/// <summary>
|
||||
/// locStartupDelayText control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locStartupDelayText;
|
||||
|
||||
/// <summary>
|
||||
/// locStartupDelay control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locStartupDelay;
|
||||
|
||||
/// <summary>
|
||||
/// txtStartupDelay control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtStartupDelay;
|
||||
|
||||
/// <summary>
|
||||
/// locSeconds control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locSeconds;
|
||||
|
||||
/// <summary>
|
||||
/// StartupDelayValidator control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator StartupDelayValidator;
|
||||
|
||||
/// <summary>
|
||||
/// locStopAction control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locStopAction;
|
||||
|
||||
/// <summary>
|
||||
/// locStopActionText control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locStopActionText;
|
||||
|
||||
/// <summary>
|
||||
/// radioStopAction control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RadioButtonList radioStopAction;
|
||||
}
|
||||
}
|
|
@ -258,6 +258,13 @@
|
|||
<Compile Include="ExchangeServer\UserControls\EnterpriseStorageOwaUsersList.ascx.designer.cs">
|
||||
<DependentUpon>EnterpriseStorageOwaUsersList.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ProviderControls\HyperV2012R2_Settings.ascx.cs">
|
||||
<DependentUpon>HyperV2012R2_Settings.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ProviderControls\HyperV2012R2_Settings.ascx.designer.cs">
|
||||
<DependentUpon>HyperV2012R2_Settings.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="VPS\ProviderControls\HyperV2012R2_Create.ascx.cs">
|
||||
<DependentUpon>HyperV2012R2_Create.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
@ -4517,6 +4524,7 @@
|
|||
<Content Include="ExchangeServer\ExchangeCheckDomainName.ascx" />
|
||||
<Content Include="ExchangeServer\UserControls\EnterpriseStorageEditFolderTabs.ascx" />
|
||||
<Content Include="ExchangeServer\UserControls\EnterpriseStorageOwaUsersList.ascx" />
|
||||
<Content Include="ProviderControls\HyperV2012R2_Settings.ascx" />
|
||||
<Content Include="VPS\ProviderControls\HyperV2012R2_Create.ascx" />
|
||||
<Content Include="ProviderControls\SmarterMail100_EditAccount.ascx" />
|
||||
<Content Include="ProviderControls\SmarterMail100_EditDomain.ascx" />
|
||||
|
@ -4570,6 +4578,9 @@
|
|||
<Content Include="VPS\ProviderControls\App_LocalResources\HyperV2012R2_Create.ascx.resx">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
<Content Include="ProviderControls\App_LocalResources\HyperV2012R2_Settings.ascx.resx">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
<EmbeddedResource Include="RDS\App_LocalResources\RDSEditCollectionSettings.ascx.resx" />
|
||||
<Content Include="RDSServersEditServer.ascx" />
|
||||
<Content Include="RDS\AssignedRDSServers.ascx" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue