The XML definition for network resources is shown below.
<?xml version="1.0" encoding="utf-8"?> <Pool name="Name of the resource pool to store the network resource"> <Network name="Network resource name" label="label" auto="Automatic configuration"> <Type="Network resource type"/> <ManagementLanSubnet name="Admin LAN subnet name"/> <Comment>Comment</Comment> <Vlanid>VLAN ID</Vlanid> <ExternalPorts> <NetworkSwitchPort number="LAN switch blade external port number" switch="LAN switch blade name"/> <NetworkSwitchPort number="LAN switch blade external port number" switch="LAN switch blade name"/> </ExternalPorts> <AddressSet name="Address set name" subnet="subnet address" mask="subnet mask"> <Exclude> <AddressRange start="IP address range to exclude (Start IP address #1)" end="IP address range to exclude (End IP address #1)" /> <AddressRange start="IP address range to exclude (Start IP address #2)" end="IP address range to exclude (End IP address #2)" /> </Exclude> <DefaultGateway address="XXX.XXX.XXX.XXX"/> </AddressSet> </Network> </Pool> |
The XXX.XXX.XXX.XXX format (period (".") -decimal notation) is used for the IP address, subnet address, and subnet mask.
The AddressSet tag is optional. If it is omitted, a network resource that cannot be assigned an address is created.
Element Name | Description | Remarks (Possible Values, Examples) |
---|---|---|
Resource pool name (Pool name) | Name of the resource pool to store the network resource | Character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-") |
Network resource name (Network name) | Name of the network resource | Character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-") |
Network resource type (Type) | Network resource type | Specify the type of the network resource.
If omitted, a public LAN is specified. |
Label (Network label) | Label for the network resource (optional) | Character string of up to 32 alphanumeric characters or symbols |
Automatic configuration (Network auto) | Automatic configuration for network resources | Specify whether automatic configuration for virtual networks, virtual switches, or port groups, which are associated with the network resource, is to be performed.
If left blank, "true" is set. |
Admin LAN subnet name (ManagementLanSubnet name) | Specify an admin LAN subnet name. (optional) | Either use a character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters and hyphens ("-"), or leave the field blank |
Comment (Comment) | Comment for the network resource (optional) | Character string of up to 256 alphanumeric characters or symbols |
VLAN ID (Vlanid) | VLAN ID | An integer between 1 and 4094 |
External port number (ExternalPorts) | A collection of LAN switch blade external port numbers (optional) | One or more NetworkSwitchPort tags |
LAN switch blade external port number (NetworkSwitchPort number) | External port number of a LAN switch blade required to create a network resource for external communications | A positive integer |
LAN switch blade name (NetworkSwitchPort switch) | Name of a LAN switch blade with an external port | - |
Address set name (AddressSet name) | Name of the address set | Character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), periods ("."), and hyphens ("-") |
Subnet address (AddressSet subnet) | Subnet | Subnet value |
Subnet mask (AddressSet mask) | Subnet mask | Subnet mask value |
IP Address to Exclude (Exclude) | A collection of exclusion ranges of IP addresses (optional) | One or more AddressRange tags |
IP address exclusion range (Start IP address, End IP address) (AddressRange) | Specify the IP address range (start and end) to exclude from the administration of Resource Orchestrator. Start and end IP addresses are included in the exclusion range. Multiple ranges can be specified. | Specification of start and end IP addresses |
IP address inclusion range (Start IP address) (AddressRange start) | Starting point of exclusion range of IP addresses | IP address in IPv4 format |
IP address inclusion range (End IP address) (AddressRange end) | Endpoint of exclusion range of IP addresses | IP address in IPv4 format |
Default gateway (DefaultGateway address) | Default gateway | IP address |
Note
When specifying a subnet address and not specifying IP addresses for exclusion or a default gateway address, do not specify the end tag for the <AddressSet> tag.
Example
Do not specify an end tag as shown below.
<Pool name="NetworkPool"> <Network name="sample"> <Vlanid>10</Vlanid> <AddressSet name="sample" subnet="192.168.1.0" mask="255.255.255.0"> </AddressSet> </Network> </Pool> |
Specify an empty element tag instead of the end tag.
<Pool name="NetworkPool"> <Network name="sample"> <Vlanid>10</Vlanid> <AddressSet name="sample" subnet="192.168.1.0" mask="255.255.255.0"/> </Network> </Pool> |
Example
<?xml version="1.0" encoding="utf-8"?> <Pool name="NetworkPool"> <Network name="man_net" label="man_net_label"> <Comment>comment</Comment> <Vlanid>4000</Vlanid> <ExternalPorts> <NetworkSwitchPort number="11" switch="bx620-lan1"/> <NetworkSwitchPort number="12" switch="bx620-lan2"/> </ExternalPorts> <AddressSet name="192.168.99.0" subnet="192.168.99.0" mask="255.255.255.0"> <Exclude> <AddressRange start="192.168.99.10" end="192.168.99.20" /> <AddressRange start="192.168.99.30" end="192.168.99.40" /> </Exclude> <DefaultGateway address="192.168.99.254"/> </AddressSet> </Network> </Pool> |