A.99 embeddedEdit

Edits an IP address object on a network related object.

Syntax

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

Where instance is:

{ id=value | name=value }

Description

This command edits the attributes of an IP address and its associated configuration (ipAddressConfig object) on a bond port, port, or VLAN interface.

Options

The following table shows the available options for this command.

Option

Description

{ BondPort | Port | VlanInterface }

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

id=value

The index value of the ipAddressConfig object. To find the index value, use the show command and look for the embedded object's IP address information. For example, to find the index value for an IP address object on a port:

OVM> show Port id=0004fb00002000003ea1bffb91ece960
...
Ip Address Config 1 - Address Type = Ipv4 
Ip Address Config 1 - Config Type =  Static 
Ip Address Config 1 - Address = 10.172.76.100 
Ip Address Config 1 - Netmask = 255.255.254.0 
Interface Name = eth2
...

The index value in this case is 1.

ipAddressConfigType= { STATIC | DYNAMIC }

The IP addressing configuration type.

[ ipAddress=value ]

The IP address.

[ ipNetmask=value ]

The netmask.

{ id=value | name=value }

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

Examples

Example A.126 Editing an IP address on a port

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

Example A.127 Editing an IP address on a bond port

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

See Also