Document navigation

SR-IOV

Overview

Single-root input/output virtualization (SR-IOV) is a PCI device virtualization specification that can divide a physical function (PF) into multiple virtual functions (VFs). These VFs share a PCI Express (PCIe).

For example, you can assign a VF NIC to a VM instance without considering the virtualization layer. Compared with traditional virtualization solutions, SR-IOV has the following advantages:
  • Shorten the data transmission path, improving the I/O performance of VM instances.
  • Reduce the consumption of host CPU resources, avoiding packet loss even a host has huge CPU load.

Operations

IsVfNicAvailableInL3Network

Checks whether a VF NIC is available on an L3 network. For example,
IsVfNicAvailableInL3Network l3NetworkUuid=443e156ec6883356974f97f803187310 hostUuid=037404d26b033e9d9fe0d3e7e4bbaa8b

Parameters

Name Description Optional Valid Value Starting Version
l3NetworkUuid The L3 network UUID. 3.9.0
hostUuid The host UUID. 3.9.0
userTags The user tags. For more information, see CreateUserTag. Yes 3.9.0
systemTags The system tags. For more information, see CreateSystemTag. Yes 3.9.0
timeout Yes

ChangeVmNicType

Change the VM NIC type. For example,
ChangeVmNicType vmNicUuid=ba83aa15bafd33e792267c428465b1e5 vmNicType=VNIC

Parameters

Name Description Optional Valid Value Starting Version
vmNicUuid The VM NIC UUID. 3.9.0
vmNicType The VM NIC type.
  • VNIC
3.9.0
userTags The user tags. For more information, see CreateUserTag. Yes 3.9.0
systemTags The system tags. For more information, see CreateSystemTag. Yes 3.9.0
timeout Yes
CLI Command Manual | 4.8.38 | ZStack Cloud · ZCF | ZStack Resource Center