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"> <Comment>Comment</Comment> <Vlanid>VLAN ID</Vlanid> <ExternalPorts> <NetworkSwitchPort number="LAN switch blade port name" switch="LAN switch blade name"/> <NetworkSwitchPort number="LAN switch blade port name" switch="LAN switch blade name"/> </ExternalPorts> <AddressSet name="Address set name" subnet="subnet address" mask="subnet mask"> <Exclude> <AddressRange start="Start IP address #1" end="End IP address #1" /> <AddressRange start="Start IP address #2" end="End IP address #2" /> </Exclude> <DefaultGateway address="XXX.XXX.XXX.XXX"/> </AddressSet> </Network> </Pool> |
The XXX.XXX.XXX.XXX format (dot-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 | 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 | Name of the network resource | Character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-") |
Label | Label for the network resource (optional) | Character string of up to 32 alphanumeric characters or symbols |
Comment | Comment for the network resource (optional) | Character string of up to 256 alphanumeric characters or symbols |
VLAN ID | VLAN ID | An integer between 1 and 4094 |
LAN switch blade external port 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 | Name of a LAN switch blade with an external port | - |
Address set 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 | Subnet | Subnet value |
Subnet mask | Subnet mask | Subnet mask value |
IP address exclusion range (start, end) | 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 |
Default gateway | Default gateway | IP address |
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> |