Physical Network
Overview
Physical Network: Real networks deployed in a physical environment, which can be divided into different categories based on their application scenarios, such as management networks, storage networks, business networks, backup networks, and migration networks. You can attach tags to a NIC port on ZStack Cloud to mark which type of network it belongs to according to your physical environment planning.
Physical Network Type
Physical networks can be divided into the following categories:
Management Network: A network used to manage physical resources on ZStack Cloud. The management nodes communicate with the hosts, primary storage, image storage, VPC vRouters, and LB instances (performance-dedicated) on the Cloud through the management network. If you deploy a management network, it can be automatically identified by ZStack Cloud.
- The management networks you add in Resource Pool > Network Resource > Dedicated Network comply with the management network definition here.
- The host IP addresses displayed on ZStack Cloud belong to the management network.
- The host callback IP addresses belong to the management network.
Storage Network: A network specified for storage services. ZStack Cloud uses a storage network to get the health status of VM instances. We recommend that you deploy a dedicated storage network to avoid possible risks.
Business Network: A network that can be added as an L2/L3 network on and attached to VM instances on ZStack Cloud. A VM instance uses a business network to provide services.
Backup Network: A network used to back up or recover local business data in a local backup scenario. You need to deploy a backup network if you use Backup Service.
Migration Network: A network used for VM migrations on ZStack Cloud.
Characteristics
The Physical Network page displays physical NIC ports (bonds and non-bonds) in fact. These NIC ports realize the network connections between hosts. You manage physical networks by managing these NIC ports.
You can attach network-type tags to NIC ports according to your physical environment planning. Management network tags are attached to corresponding ports automatically by the system and other tags need to be attached by yourself.
- If you add a management network in Resource Pool > Network Resource > Dedicated Network, the NIC port of the L2 network it belongs to is attached with a management network tag.
- The NIC port of the network to which a host IP address belongs is attached with a management network tag.
- The NIC port of the network to which a host callback IP address belongs is attached with a management network tag.
You can add a custom network type to meet flexible needs.
After you attach tags to corresponding NIC ports, you can view the flow monitoring of different network types, which help you master accurate network workloads more flexibly.
Operations
CreateHostNetworkServiceType
Creates a host network service type. For example,
CreateHostNetworkServiceType serviceType=TestHostNetwork
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| serviceType | The network type. | 5.3.0 | ||
| system | The system service flag. | Yes | 5.3.0 | |
| resourceUuid | The resource UUID. | Yes | 5.3.0 | |
| tagUuids | The tag UUID. | Yes | 5.3.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 5.3.0 | |
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 5.3.0 |
UpdateHostNetworkServiceType
Updates a host network service type. For example,
UpdateHostNetworkServiceType serviceType=UpdatedTestHostNetwork uuid=8219c9e49afa40c6a9441e4f9c168f96
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| uuid | The resource UUID. | 5.3.0 | ||
| serviceType | The network type. | 5.3.0 | ||
| system | The system service flag. | Yes | 5.3.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 5.3.0 | |
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 5.3.0 |
DeleteHostNetworkServiceType
Deletes a host network service type. For example,
DeleteHostNetworkServiceType uuid=d9f5c87bd6d54bcba52123ab18986f6a
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| uuid | The resource UUID. | 5.3.0 | ||
| deleteMode | The deleting mode (Permissive/Enforcing, Permissive). | Yes | 5.3.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 5.3.0 | |
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 5.3.0 |
SetServiceTypeOnHostNetworkInterface
Set the network type of a physical NIC port (non-bond-port). For example,
SetServiceTypeOnHostNetworkInterface interfaceUuids=2894f52c7d84366c85dd115b3bc193ca
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| interfaceUuids | The physical network interface UUID list. | 4.7.11 | ||
| vlanIds | The VLAN interface ID list. | Yes | 4.7.11 | |
| serviceTypes | The network type | Yes |
|
4.7.11 |
| systemTags | The system tags. | Yes | 4.7.11 | |
| userTags | The user tags. | Yes | 4.7.11 |
SetServiceTypeOnHostNetworkBonding
Set the network type of a bond. For example,
SetServiceTypeOnHostNetworkBonding interfaceUuids=e96881d20cde3a9ab337cdf0ab4e8b08
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| bondingUuids | The bond network interface UUID list. | 4.7.11 | ||
| vlanIds | The VLAN interface ID list. | Yes | 4.7.11 | |
| serviceTypes | The network service type | Yes |
|
4.7.11 |
| systemTags | Optional. The system tags. | Yes | 4.7.11 | |
| userTags | Optional. The user tags. | Yes | 4.7.11 |
GetCandidateInterfaceVlanIds
Obtains the vlan interface information of a network interface. For example,
GetCandidateInterfaceVlanIds interfaceUuids=d25e83af6ccf3d9ca8baa1702861a0c8
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| interfaceUuids | The network interface UUIDs. | 4.7.11 | ||
| limit | Yes | 4.7.11 | ||
| start | Yes | 4.7.11 | ||
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 4.7.11 | |
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 4.7.11 |
GetInterfaceServiceTypeStatistic
Obtains the network type information of a NIC port (bond or non-bond) . For example,
GetInterfaceServiceTypeStatistic interfaceUuids=d8797841479d3951bcb698164b56bd9e
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| interfaceUuid | The NIC port UUID. | Yes | 4.7.11 | |
| vlanId | The VLAN interface ID. | Yes | 4.7.11 | |
| interfaceType | The NIC port type. | Yes |
|
4.7.11 |
| serviceType | The network service type. | Yes |
|
4.7.11 |
| zoneUuid | The zone UUID. | Yes | 4.7.11 | |
| clusterUuid | The cluster UUID. | Yes | 4.7.11 | |
| hostUuid | The host UUID. | Yes | 4.7.11 | |
| sortBy | The sort method. | Yes |
|
4.7.11 |
| sortDirection | The sort direction. | Yes |
|
4.7.11 |
| start | The location where the statistics starts. | Yes | 4.7.11 | |
| limit | The count of the statistics. | Yes | 4.7.11 | |
| replyWithCount | Whether to return both the statistics result and count. | Yes | 4.7.11 | |
| systemTags | The system tags. | Yes | 4.7.11 | |
| userTags | The user tags. | Yes | 4.7.11 |
ChangeHostNetworkInterfaceLldpMode
Change the LLDP mode. For example,
ChangeHostNetworkInterfaceLldpMode interfaceUuids=2893ce85c43d4a3a8d78f414da39966e
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| interfaceUuid | The NIC port UUID. | 5.0.0 | ||
| mode | The LLDP mode. | Yes | 5.0.0 | |
| systemTags | The system tags. | Yes |
|
5.0.0 |
| userTags | The user tags. | Yes | 5.0.0 | |
| timeout | Yes |
GetHostNetworkInterfaceLldp
Get the message of LLDP. For example,
GetHostNetworkInterfaceLldp interfaceUuids=2893ce85c43d4a3a8d78f414da39966e
Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| interfaceUuid | The NIC port UUID. | 5.0.0 | ||
| systemTags | The system tags. | Yes |
|
5.0.0 |
| userTags | The user tags. | Yes | 5.0.0 | |
| timeout | Yes |
QueryHostNetworkInterfaceLldp
Queries a LLDP. For example,
QueryHostNetworkInterfaceLldp
