]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
1) Created a DummDataPlugin in SamplePlugin module.
authorSomik Behera <somik@nicira.com>
Sun, 15 May 2011 20:31:23 +0000 (13:31 -0700)
committerSomik Behera <somik@nicira.com>
Sun, 15 May 2011 20:31:23 +0000 (13:31 -0700)
commitc7e632d3f9e86a3eb42617d8e5ddc4349c6b2240
tree4679f06c73f353ce8f4c2a3783ab30b666c77797
parent1290f3a0e0a6f9fb3c576058326d3ffa26d754ba
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.
quantum/cli.py [new file with mode: 0644]
quantum/manager.py
quantum/plugins/SamplePlugin.py
quantum/quantumCLI.py [deleted file]
quantum/quantum_plugin_base.py