A.74 edit Network

Edits an Ethernet-based network.

Syntax

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

Where instance is:

{ id=value | name=value }

Description

This command edits the attributes of 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'

To set an empty roles option, use roles="".

It is not possible to edit the roles for a local network. Any attempts to do so are simply ignored.

Note

If the network is used by many servers, modifying this parameter may cause the edit operation to take several minutes to complete.

name=value

A name to identify the network.

description=value

Optional description for the network. value is a maximum of 4,000 characters.

To set an empty description, use description="".

{ id=value | name=value }

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

Examples

Example A.96 Editing a network

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

See Also