4.3.22.1 ADD NETWORK
Syntax
ADD NETWORK
NETWORKTYPE=network_type
HOSTNAME=hostname
IP=ip_addr
NETMASK=netmask
DOMAINNAME=domain_name
MASTER=master
[ MTU=mtu ]
[ GATEWAY=gateway ]
[ SSHENABLED={ true | false } ]
[ MAC=mac_addr ]
[ LINKSPEED=nic_speed ]
[ SLAVE='slave' ]
[ PKEY=pkey ]
[ PKEYNAME=pkey_name ]
[ STATUS = status ]
[ LACP={ true | false } ]
[ VLANID=vlan_id ]
[ INTERFACENAME=interface_name ]
[ DESCRIPTION='network_description' ]
[ VSWITCHNETWORKPARAMS='vswitchnetwork_parameters' ]
[ NATHOSTNAME=nat_host_name ]
[ NATIP=nat_ip_addr ]
[ NATDOMAINNAME=nat_domain_name ]
[ NATNETMASK=nat_mask ]
WHERE
{ HOSTNAME=hostname |
CLUSTERNAME=cluster_name { COMPUTENUMBER=compute_number | STORAGENUMBER=storage_number } |
CLUSTERNUMBER=cluster_name { COMPUTENUMBER=compute_number | STORAGENUMBER=storage_number } }Arguments
You can specify the following attributes when adding a network:
-
NETWORKTYPE: Specifies the type of network, which can beADMIN,CLIENT,BACKUP,PRIVATE,OTHER,INGESTVIP,REPLICATIONVIP, orILOM. -
HOSTNAME: Specifies the short host name for the network -
IP: Specifies the IP address of the network -
NETMASK: Specifies the network netmask -
DOMAINNAME: Specifies the domain name of the network -
MASTER: Specifies the primary adapter name -
MTU: Specifies the network MTU (maximum transmission unit). Not applicable forPRIVATEorILOMnetworks. -
GATEWAY: Specifies the network subnet gateway -
SSHENABLED:TRUEindicates that SSH should be enabled for this adapter -
MAC: Specifies the MAC address -
LINKSPEED: Either10000or25000. Only for X7-2 or later 2-socket compute nodes. -
SLAVE: Specifies a space-separated list of secondary devices for a bonded network, enclosed in single quotes -
PKEY: Specifies the pkey, forPRIVATEnetworks only -
PKEYNAME: Specifies the pkey name, forPRIVATEnetworks only -
STATUS: Specifies the status of the network -
LACP:TRUEindicates that LACP should be enabled -
VLANID: Specifies the VLAN identifier. Applicable if the network is a non-private VLAN network, or a VLAN network on a KVM guest. -
INTERFACENAME: The name for the private network on the VLAN for a KVM guest and cell,clre[0-1]orstre[0-1]. -
DESCRIPTION: The text description for this network, surrounded by single quotes. -
VSWITCHNETWORKPARAMS: Parameters required for vswitches, surrounded by single quotes. -
NATHOSTNAME: Specifies the NAT host name -
NATIP: Specifies the NAT IP address -
NATDOMAINNAME: Specifies the NAT domain name -
NATNETMASK: Specifies the NAT netmask
The following arguments are available in the WHERE clause:
-
HOSTNAME: Specifies the host name for an existing compute node -
CLUSTERNUMBER: Specifies the cluster number in thees.xml, starting at 1 -
CLUSTERNAME: Specifies the name of an existing cluster -
COMPUTENUMBER: Specifies the number of an existing compute node in the cluster, starting at 1 -
STORAGENUMBER: Specifies the umber of an existing storage cell in the cluster, starting at 1
Parent topic: NETWORK