Somik Behera [Wed, 10 Aug 2011 22:26:13 +0000 (15:26 -0700)]
Merging quantum extenions framework into trunk. Thanks rajaram vinkesh, deepak & santhosh for the great work!
added:
extensions/
extensions/__init__.py
quantum/common/extensions.py
tests/unit/extension_stubs.py
tests/unit/extensions/
tests/unit/extensions/__init__.py
tests/unit/extensions/foxinsocks.py
tests/unit/test_extensions.py
modified:
README
etc/quantum.conf
etc/quantum.conf.sample
etc/quantum.conf.test
quantum/api/__init__.py
quantum/common/flags.py
quantum/common/utils.py
quantum/common/wsgi.py
quantum/db/api.py
quantum/db/models.py
quantum/manager.py
quantum/plugins/SamplePlugin.py
tests/__init__.py
tests/unit/test_api.py
tools/pip-requires
pending merges:
Deepak N 2011-08-10 [merge] Merged quantum trunk
vinkesh banka 2011-08-09 Rajaram/Vinkesh | Added examples of scoping extension alias in request and action extension
vinkesh banka 2011-08-05 Deepak/Vinkesh | Fixed show action in extension controller to return 404, added example to include namespace in a request extension
vinkesh banka 2011-08-05 [merge] Merged quantum trunk
Santhosh Kumar 2011-08-05 Santhosh/Vinkesh | Added extension_stubs file
vinkesh banka 2011-08-02 Vinkesh | Changed import orders according to pep8 recommendations
Santhosh Kumar 2011-08-01 Vinkesh/Santhosh | Moved the stub classes in test_extensions to a separate file extension_stubs
Santhosh Kumar 2011-08-01 [merge] Merged from trunk
Santhosh Kumar 2011-07-27 Vinkesh/Santhosh | Removed loading extensions from 'contrib' and fixed an indentation bug while loading extensions
Rajaram Mallya 2011-07-26 Santhosh/Rajaram|modified extensions section in README
Rajaram Mallya 2011-07-26 Rajaram/Santhosh | Added logging to the PluginAwareExtensionManager failures
Rajaram Mallya 2011-07-26 Rajaram/Santhosh|Added plugin interface in foxinsox and Updated README
Rajaram Mallya 2011-07-25 Rajaram/Santhosh|quantum manager loads plugin only once, even though both extension middleware and APIRouter calls it
Rajaram Mallya 2011-07-25 [merge] Santhosh/Rajaram|latest merge from quantum and made extensions use options to load plugin
Rajaram Mallya 2011-07-22 Rajaram/Vinkesh | Plugins advertise which extensions it supports.
vinkesh banka 2011-07-20 Vinkesh/Santhosh | Added tests to check the member and collection custom actions of ResourceExtensions
Deepak N 2011-07-19 Vinkesh/Deepak | Moved plugin related checks in ExtensionManager code to PluginAwareExtensionManager
Deepak N 2011-07-19 Deepak/Vinkesh | Added an base abstract class which can be inherited by PluginInterface class which defines the contract expected by extension.
Deepak N 2011-07-19 Vinkesh/Deepak| Added doc and small refactoring
Deepak N 2011-07-18 Deepak/Santhosh | ExtensionManager verifies that plugin implements the interface expected by the extension
Deepak N 2011-07-18 Santhosh/Deepak | Made supports_extension method optional for plugin, plugin will be loaded only once
Deepak N 2011-07-18 [merge] Merged from quantum trunk
Deepak N 2011-07-18 Santhosh/deepak| Load extensions supported by plugin
Rajaram Mallya 2011-07-07 Rajaram/Santosh|misc readablity improvements to extension tests
Rajaram Mallya 2011-07-07 Santosh/Rajaram| added extenstion test to show header extensibility
Rajaram Mallya 2011-07-06 Rajaram/Vinkesh | Added tests to confirm extensions can edit previously uneditable field.
Santhosh 2011-06-23 Santhosh/Vinkesh | Added extensions framework
Somik Behera [Tue, 2 Aug 2011 19:40:57 +0000 (12:40 -0700)]
Merging the brand new Quantum-client-library feature.
Thanks to lp:tylesmit for this contribution to the Quantum project.
All, client, CLI, dashboard, Quantum API client, should now start
using this client library as our defacto "SDK" to program against
Quantum's Cloud Networking fabric.
Dan Wendlandt [Sun, 31 Jul 2011 18:53:36 +0000 (11:53 -0700)]
remove PortCount attribute of network object, as it is not in the spec and was causing us to hit bug 818321 (note: this commit does not fix the underlyingproblem with xml deserialization, it just makes sure we don't hit it with the existing API code)
Re-fixing issues with XML deserialization (changes got lost in merges with trunk)
Adapting assertions in unit tests merged from trunk to reflect changes in the API due to RFE requested by Erik Carlin
Adapated plugin infrastructure to allow API to pass options to plugins
Now using in-memory sqlite db for tests on FakePlugin
teardown() now 'resets' the in-memory db
Adding unit tests for APIs
- Unit tests will use FakePlugin
- FakePlugin adapted to db API with sqlite
- db Models updated to inherit from generic Quantum Base model (provides utility functions and capabilities for treating db objects as dicts - see nova.db.models.NovaBase)
- functional tests commented out temporarily. Will un-comment when code for starting actual service is in place