A.98 embeddedDelete

Deletes an IP address object and removes it from a network related object.

Syntax

embeddedDelete { BondPort | Port | VlanInterface } instance ipAddressConfig id=value

Where instance is:

{ id=value | name=value }

Description

This command removes an IP address and its associated configuration (ipAddressConfig object) from 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 from which to remove 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.

{ id=value | name=value }

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

Examples

Example A.124 Deleting an IP address from a port

OVM> embeddedDelete Port id=0004fb00002000003ea1bffb91ece960 ipAddressConfig id=1

Example A.125 Deleting an IP address from a bond port

OVM> embeddedDelete BondPort id=0004fb00002000000a5389824228bdf1 ipAddressConfig id=1

See Also