OVS plugin support for v2 Quantum API
We will need to update the OVS plugin to work with the new v2 plugin API. This will likely be done by subclasses the database Plugin base class, which does almost all of the non-agent work. We will likely only need to update the vlan_bindings table (and rename it to context?)
Blueprint information
- Status:
- Complete
- Approver:
- dan wendlandt
- Priority:
- High
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Aaron Rosen
- Definition:
- New
- Series goal:
- Accepted for folsom
- Implementation:
- Implemented
- Milestone target:
- 2012.2
- Started by
- dan wendlandt
- Completed by
- dan wendlandt
Related branches
Related bugs
Sprints
Whiteboard
Basic outline of work required.
OVS v2 plugin should leverage quantum/
Since the db base plugin only stored logical data, the OVS plugin will still need to worry about generating and storing a "context_id" for each network. When running in vlan mode, this context ID corresponds to a VLAN-ID, and when running in tunnel mode, it corresponds to a tunnel-id. This network->context_id mapping needs to be added when a network is created and removed when a network is deleted.
Note: rkukura from redhat is working on a related path that may partially change some of the vlan code in the v1 plugin. We'll want to incorporate that code into our change, so we should coordinate with him on this. Note: one goal is to avoid storing the context-id in memory, as that prevents us from running multiple instances of quantum at once.
The OVS quantum agent (quantum/
we'll also need to update the tests in quantum/
Gerrit topic: https:/
Addressed by: https:/
OVS plugin support for v2 Quantum API
Addressed by: https:/
OVS plugin support for v2 Quantum API
Gerrit topic: https:/
Work Items
Dependency tree
* Blueprints in grey have been implemented.