A.15 add Vnic

Adds a VNIC to a virtual machine.

Syntax

add Vnic instance to Vm instance

Where instance is:

{ id=id | name=name }

Description

This command adds a VNIC to a virtual machine. To add the next available VNIC to a virtual machine without explicitly specifying one, use the addAvailableVnic command.

Options

The following table shows the available options for this command.

Option

Description

{ id=id | name=name }

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

Examples

Example A.19 Adding a VNIC to a virtual machine

OVM> add Vnic name=00:21:f6:00:00:00 to Vm name=MyVM

See Also