Top
ServerView Resource Orchestrator V2.3.0 Reference Guide

2.4.1 Creation

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.

Table 2.7 List of Items Specified in XML Definitions for Network Resources

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.

  • For an admin LAN

    Specify "admin".
    Subnet information for admin LANs can be set using the AddressSet tag.

  • For iSCSI boot

    Specify "iSCSI".

  • For a public LAN

    Specify "<Type />".

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.

  • true

    If there are no virtual networks, virtual switches, or port groups associated with the network resource, the network is configured automatically.

  • false

    Automatic configuration of networks is not performed.

    The virtual networks, virtual switches, or port groups created beforehand are used for the network resource.

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
If left blank, the admin LAN subnet that the manager is directly connected to is specified.

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
The maximum value for a subnet mask is 255.255.255.255 (32-bit mask) and the minimum value is 255.255.0.0 (16-bit mask). However, 255.255.255.254 cannot be specified.

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
As the network address and broadcast address are automatically excluded, do not specify them in the IP address range (start and end) to exclude.

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>