Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since vCenter doesn't allow to create VMs with same name, vcenter
nova-compute driver uses uuid as vm-name (to provide unique name). When openStack creates VM on Contrail ApiServer, it sets display_name to UUID. When vCenterPlugin does AddPort to vRouterAgent, it needs to passes vm-name as uuid and that's what shows up Contrail WebUI. Solution is for vcnetr nova-compute driver to set annotation field in VM config to VM-name while creating VM. Contrail vcenter-plugin will read annotation field if VM's name is it's uuid and use it during AddPort. Partial-Bug: #1559387 Change-Id: I6d465d35a49c29fab32971688ce88a94589c9987
- Loading branch information