Neutron agent for importing existing port groups for vcenter

Registered by zhu zhu

Within existing vmware driver, with non-NSX plugin, it only have very limited function for Vlan network, it only support one port group and require user manually configured in vcenter. And have it configured within the nova.conf (Integration_bridge).

It is good to allow openstack vmware users to deploy VM to certain standard virtual port group or distributed virtual port group under Cluster level.

For this bp, it will cover:
1) Sync/Import existing port groups from vcenter(cluster level) and convert it to openstack network object.
2) Allow nova to deploy VM to these network which map to the network.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
zhu zhu
Direction:
Needs approval
Assignee:
None
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Armando Migliaccio

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/vcenter-neutron-agent,n,z

garyk: feb12: I have a problem with the approach of using an agent. Why no do this form the Neutron service?

zhuzhu: to gark: Thanks for review. Can I assume you are referring to use a new mechnism driver(initialize) in Neutron Server Service to meet this function?

The intention here that we are considering to use a separate agent is that in the future that we can loop check and monitoring the vcenter parts network changes(waitforupdateex) to openstack continuously. If adopt neutron service, it can only do sync once before service restart. comments?

Neutron code change for mechanism driver and neutron agent to sync port groups:

  https://review.openstack.org/75745
  (WIP) Vmware VCenter neutron agent

  https://review.openstack.org/79285
  (WIP) Import distributed port groups into neutron DB

  https://review.openstack.org/#/c/76542/
  (WIP) Register a ml2 mechanism driver for vmware

Nova code change for allowing VM deployment to different portgroups instead of one:

  https://review.openstack.org/#/c/76452/
  (WIP) Map network_name to bridge in VIF VMARE type

(?)

Work Items