API Doc
Search Docs...
⌘ K
ACOSABSAVEANSABDR

Creating a virtual machine

As shown in the figure above, the main process for creating a virtual machine is as follows:

  1. In the AOC UI, create a virtual machine and configure its vNICs.

  2. AOC calls the AVE virtual machine creation API and AVE creates a task.

  3. AVE asynchronously processes the virtual machine creation task:

    1. AVE calls the VPC controller to create the vNIC.

    2. A port for the vNIC is created on the VPC OVS bridge, containing information such as the vNIC ID.

  4. VPC agent detects the new port event on the VPC bridge and pushes vNIC-related configurations, including:

    1. Based on the vNIC ID and VPC ID of the port, adds the host and TEP IP for the vNIC.

    2. Retrieves the VPC, VPC subnet, security policy, route table, and other local configuration for the port, along with information about other vNICs in the VPC.

    3. Based on the retrieved information, generates data plane rules and pushes them to the VPC OVS bridge.