A.42 edit Network

Edits an Ethernet-based network.

Syntax

edit Network instance [roles= { MANAGEMENT | LIVE_MIGRATE | CLUSTER_HEARTBEAT | VIRTUAL_MACHINE | STORAGE }] [vlanSegment=value] [name=value] [description=value]

Where instance is:

{ id=id | name=name }

Description

This command edits an Ethernet-based network.

Although none of the options are mandatory, you must supply at least one option.

Options

The following table shows the available options for this command.

Option

Description

roles= { MANAGEMENT | LIVE_MIGRATE | CLUSTER_HEARTBEAT | VIRTUAL_MACHINE | STORAGE }

The network roles. Enter options separated by commas (,), for example:

roles='VIRTUAL_MACHINE,STORAGE'

vlanSegment=value

The name or ID of a VLAN segment.

name=value

A name to identify the network.

description=value

Optional description for the network.

{ id=id | name=name }

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

Examples

Example A.56 Editing a network

OVM> edit Network name=MyVMNetwork roles='VIRTUAL_MACHINE,LIVE_MIGRATION'

See Also