Delegation of network and ports management to dvs-agent

Bug #1516994 reported by Andrzej Skupień
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vmware-dvs
Status tracked in Liberty
Liberty
Fix Committed
Wishlist
Vyacheslav Tabolin

Bug Description

Branch: kilo-dvs-agent

Please move management of ports and networks from dvs-driver to dvs-agent.

tags: removed: kilo-dvs-agent
Revision history for this message
Andrzej Skupień (kendriu) wrote :

Setting as incomplete because I don't now right awser to a question:
How mech_driver communicates to agent that network/port should be created/updated/deleted. Taking to an assumption that mech driver inherits from SimpleAgentMechanismDriverBase

Revision history for this message
Andrzej Skupień (kendriu) wrote :

It looks like that, if we want delegate ports/networks management to agent, we would have to implement everything by hand.
This isn't something that ovs mech driver does either.

Furthermore decision to move this functionality to agent should depend on vSphere API. if it can deal with concurrent requests
then we may leave management in the plugin, if it should be serialized - then we need to put it into the agent.

In our case, port and networks management works fine as it is now implemented, so without other argument it should stay in driver.

Revision history for this message
Vyacheslav Tabolin (slavchick) wrote :

vSphere does not support concurrent access for change resources. And does not support queues for it.
OpenStack can manage vSphere resources by minimal clusters blocks over special compute nodes with vSphere API. It can manage multiple vSpheres because each compute node has its own configuration.

Agent may help us to solve multiple problems:

1. RSG requests serialization
2. Scailing by dividing resources to pools (clusters), no bottleneck
3. Multiple vSphere support (at the future)
4. Multiple physnet support
5. Reducing the load on the controller
...

Changed in vmware-dvs:
status: Incomplete → New
Revision history for this message
Andrzej Skupień (kendriu) wrote :

Ok, so it looks, that we can't rely on AgentNotifierApi class to pass all requests to agent.

Each request should be passed by corresponding driver method (update_port_postcommit, create_network_precommit, etc.) if necessary.

no longer affects: vmware-dvs/kilo
Changed in vmware-dvs:
milestone: dvs-agent → liberty-agent
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.