4. Automated Import of Virtual Machines to vCloud Director
   
4. Automated Import of Virtual Machines to vCloud Director
The vCloud Director UI allows the import of vSphere virtual machines as a vApp to an organization virtual datacenter. After importing, additional configuration tasks are required for these virtual machines to operate such as connecting them to the appropriate networks. This process involves several steps for each virtual machine. In the private vCloud context, importing a large number of virtual machines in a short time is not possible without providing some automation.
The following implementation of workflows enables the processing of a large number of imports and configuration by:
*Selecting a vCenter resource pool or virtual machine folder that contains virtual machines.
*Creating vCloud Director external networks and organization virtual datacenter networks required for the virtual machines the resource pool or virtual machine folder contains.
*Importing each virtual machine as a vApp.
*Configuring the virtual machine network cards with a network directly connected to the created organization virtual datacenter network.
*Powering on the vApp.