A.33 create Vnic

Creates a VNIC on a network.

Syntax

create Vnic network=value name=value [description=value]

Description

This command creates a VNIC. To create multiple VNICs, use the vnicCreate command. Assigning VNICs to a specific network is optional and can be achieved by specifying the network ID or name as an additional parameter.

Options

The following table shows the available options for this command.

Option

Description

network=value

Optional parameter to assign the VNIC to a network. The name or ID of the network on which to create the VNIC must be specified as the value..

name=value

A MAC address for the VNIC.

description=value

Optional description for the VNIC.

Note

Any create command only creates a single instance of an object, and therefore only accepts a single object instance as an attribute. Providing more than one object of the same attribute type as a parameter always results in the last attribute value taking precedence.

Examples

Example A.44 Creating a VNIC

OVM> create Vnic name=00:21:f6:00:00:18 network=MyVMNetwork

See Also