Previous Topic: dpmresourcemgr createdefaultservice Command--Create Default ServiceNext Topic: dpmresourcemgr createresourcegroup Command--Create Resource Group


dpmresourcemgr createipnetwork Command--Create Network

The dpmresourcemgr createipnetwork command specifies an existing network in your datacenter for use with Reservation Manager. The Reservation Manager end user can then reserve a virtual machine on a specific network.

This command has the following format:

dpmresourcemgr createipnetwork [-sc sc_url] -subnet_address subnetaddress -vlan_id vlanid -ip_netmask ipnetmask -name networkname -ip_gateway_list ipaddresses -dns_domainname domainname [-description description] [-dns_list ipaddresses][-dns_suffix_list suffixes][-netbios_server_list ipaddresses][-ntp_server_list ipaddresses][-ws_user username -ws_password password][-locale iso639value]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-subnet_address address

Defines the IP address of the network. Valid entry: xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxx/xx.

-vlan_id vlanid

Defines the integer for the virtual network (VLAN). Valid entry: Integer 1-4094, where 1 is the default network interface card (NIC).

-ip_mask ipnetmask

Defines the subnet mask. Valid entry: Standard IP netmask in the format: xxx.xxx.xxx.x, or CIDR format: xxx.xxx.xxx.x/8-28. Prefix length is 8-28.

-name name

Defines the item name. Valid entry: 1-128 alphanumeric characters.

-ip_gateway_list ipaddresses

Defines the IP addresses for default and alternate gateways using a comma-separated list. Default and alternate gateways must be on the same network. Valid entry: xxx.xxx.xxx.xxx.

-dns_domainname domainname

Defines the DNS domain name of the network. Valid entry: 1-63 alphanumeric characters per dotted address (for example, xxx.yyy.com). Address cannot start with a number.

-description description

Defines the network for user understanding. Valid entry: 1-128 alphanumeric characters.

-dns_list ipaddresses

Defines the DNS list of preferred and alternate DNS servers, and primary and secondary Windows Internet Name Service (WINS) servers. Valid entry: Comma-separated IP addresses in the format: xxx.xxx.xxx.xxx.

-dns_suffix_list suffixes

Defines a list of DNS suffixes for the network. Valid entry: Comma-separated list in the format, name.name.com.

-netbios_server_list ipaddresses

Defines a list of NETBIOS Name Server IP addresses. Valid entry: Comma-separated list of IP addresses in the format: xxx.xxx.xxx.xxx.

-ntp_server_list ipaddresses

Defines the Network Time Protocol (NTP) servers. Valid entry: Comma-separated list with the format: xxx.xxx.xxx.xxx.

-ws_user username -ws_password password

(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Create a Network

This example specifies the existing datacenter network, san diego 209 subnet, for use by the Reservation Manager end-user portal when reserving a virtual machine.

dpmresourcemgr createipnetwork -subnet_address 10.10.21.0 -vlan_id 4001 -ip_mask 255.255.255.0 -name "san diego 209 subnet" -ip_gateway_list 10.10.21.124,10.10.21.125 -dns_domainname turbo.com -ws_user wsuser -ws_password wsuserpassword