Somik Behera [Mon, 6 Jun 2011 16:22:05 +0000 (09:22 -0700)]
Initial commit of exceptions that are raised by a quantum plugin.
This list of exceptions is consistent with exceptions being expected by the API service. Please note that the exception list is still evolving and will soon be concrete.
Somik Behera [Sun, 5 Jun 2011 00:45:36 +0000 (17:45 -0700)]
* Merged changes from Salvatore's branch - quantum-api-workinprogress
* Removed spurious methods from quantum_base_plugin class.
* Updated the sample plugins to be compliant with the new QuantumBase class.
Somik Behera [Sun, 15 May 2011 20:31:23 +0000 (13:31 -0700)]
1) Created a DummDataPlugin in SamplePlugin module.
- 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.
Somik Behera [Fri, 13 May 2011 21:23:37 +0000 (14:23 -0700)]
1) Added a bare-bones framework for quantum plugins.
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.