- DummyDataPlugin is a sligh improvment over QuantumEchoPlugin in that
the plugin returns hard-coded data structures.
2) Created a CLI that enabled quantum plugin writers to test their plug-in implementation.
- Currently I am using DummyDataPlugin to test and run the CLI
but if anybody has another better Quantum plug-in, please modify
manager.py to use your plug-in and drive the plug-in using the CLI.
- Running the CLI against wider variety of plug-ins will help the CLI
evolve and improve. Please free to send patches.
3) TODO: list
- Finalize the plug-in data model
- Finalize the exception and make the plug-in throw exceptions
- Write unit tests for plug-in qualification and CLI testing.
2) Created demo quantum plugin that conforms to QuantumPluginBase
Abstract class specification.
3) Demonstrated plugin registration and invocation using the demo
plugin called "QuantumEchoPlugin"
4) Created the initial file structure for a quantum CLI
5) Seeded the utils module that will contain frequently used Quantum utilities.
6) Modified the manager module to initialize and register the quantum plugin
defined in a configuration file. I have hard-coded the path to plugin for now
but this will move to a quantum.conf file.
TODO:
1) Finish up the Quantum CLI
2) Write Quantum unit tests that can be run against any plug-in for certification.
3) Create a working quantum plugin.
Adds a new attribute expressing current operational status for port and network resources
Also includes:
- db models: changes to accomodate operational status concept
- unit tests: changes to include different validation functions for API v1.0 and v.1.1
This changeset does not include changes to the client library
NOTE: Addressing issue concerning unit tests for OVS plugin. API unit tests launched with
PLUGIN_DIR set to Cisco's plugin work fine as well.
Change-Id: I0c4f0f8a8c392bae75c668c28070364ca230f965
Fixes bug 890672
Allow to use any database as backend (supported by sqlalchemy).
Need to change ovs_quantum_plugin.ini and add variable sql_connection under DATABASE entry using specific sqlalchemy url schema (same as nova confs)
Change-Id: Ic490b09aad84c7f24d68064c18a8c1b33774cb05