Previous page

Next page

Locate page in Contents

Print this page

add

Linux This call is available on Linux only.

Summary:

Adds a network device.

Request specification:

Name

Min/Max

Type

Description

add

 

 

 

{

 

 

 

net_device

1..1

net_deviceType

Network device information. Use the appropriate subtype of the net_deviceType based on the type of the device that you would like to add.

}

 

 

 

 

 

 

 

Returns:

Name

Min/Max

Type

Description

net_device

0..[]

net_deviceType

Information about the newly created device.

Description:

To manage network devices for Virtuozzo-based systems, use the implementation of this call in the vzaenvm interface.

This call allows to do the following:

Depending on the type of operation, use the appropriate subtype of the net_deviceType when populating the net_device parameter structure. For example, when adding a VLAN adapter, use net_vlanType; when adding a network bridge, use net_bridgeType.

In This Section

Creating a network bridge on the Hardware Node.

Adding a VLAN adapter to the Hardware Node.

Please send us your feedback on this help page