A.102 embeddedCreate

Creates an IP address object and adds it to a network related object.

Syntax

embeddedCreate { BondPort | Port | VlanInterface } instance ipAddressConfig ipAddressConfigType= { STATIC | DYNAMIC } [ ipAddress=value ] [ ipNetmask=value ]

Where instance is:

{ id=value | name=value }

Description

This command adds an IP address and its associated configuration (ipAddressConfig object) to a bond port, port, or VLAN interface. Note that if the ipAddressConfigType is set to DYNAMIC, then any values specified for ipAddress or ipNetmask are ignored.

Options

The following table shows the available options for this command.

Option

Description

{ BondPort | Port | VlanInterface }

The network related object to which to add the IP address (ipAddressConfig object).

ipAddressConfigType= { STATIC | DYNAMIC }

The IP addressing configuration type.

[ ipAddress=value ]

The IP address. Note that this value is ignored if the ipAddressConfigType is set to DYNAMIC.

[ ipNetmask=value ]

The netmask. Note that this value is ignored if the ipAddressConfigType is set to DYNAMIC.

{ id=value | name=value }

The instance of the object using either the id or name option, for example name=MyPort.

Examples

Example A.127 Adding an IP address to a port

OVM> embeddedCreate Port id=0004fb00002000003ea1bffb91ece960 ipAddressConfig \
  ipAddressConfigType=STATIC ipAddress=10.172.76.100 ipNetmask=255.255.254.0

Example A.128 Adding an IP address to a bond port

OVM> embeddedCreate BondPort id=0004fb00002000000a5389824228bdf1 ipAddressConfig \
  ipAddressConfigType=STATIC ipAddress=10.172.76.100 ipNetmask=255.255.254.0

See Also