rohitagarwalla [Mon, 15 Aug 2011 22:04:53 +0000 (15:04 -0700)]
Moved test_database.py to plugins/cisco/tests/unit/
Edited test_database.py to be able to run like other tests
pylint for cisco/db folder - 8.85/10
pylint for cisco/tests/unit/test_database.py - 8.42/10
pep8 done
Adding a new file with all the XML snippets to make code easier to read
Moving the Nexus SSH server port to the configuration file
Removing main functions
Making some changes based on Dan and Salvatore reviews
rohitagarwalla [Sat, 13 Aug 2011 20:37:20 +0000 (13:37 -0700)]
updated README file to include persistence framework setup instructions
updated db api.py unset_attachment method to return port
moved db_conn.ini into cisco/conf/ with other configuration files
updated l2network_plugin_configuration.py to get db config
cleaned up l2network_db.py - removed config parser code as using cisco config parser
updated l2network_db.py to raise specific exceptions in error cases
updated create_vlanid method in l2network_db.py to not raise exception if vlan rows exist
updated portprofile and portprofile_binding methods to include tenant_id as an argument
added cisco/db/test_database.py containing unit tests for quantum and l2network_plugin tables
edited get_pp_binding method in l2network_db.py to return empty list when no results found
pep8 checks done
rohitagarwalla [Thu, 11 Aug 2011 23:30:58 +0000 (16:30 -0700)]
- Added new tables VlanID to generate ids and maintain usage of vlans
- Added wrapper functions to get next unused vlan, populate vlans, release vlans, getall vlans, isused van and delete van
- Added ported instead of networked for portprofile binding table
- Changed wrapper methods and test cases for portprofile binding to use portid
rohitagarwalla [Thu, 11 Aug 2011 17:39:43 +0000 (10:39 -0700)]
added network and port models similar to quantum with following changes -
- InnoDB as storage engine to allow foreign key constraints
- joinedLoad operation on the queries to make use of relation between Network and Port
Moved out the network and port code to make l2network contain vlanbinding, portprofile and portprofile bindings
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
rohitagarwalla [Wed, 10 Aug 2011 20:01:35 +0000 (13:01 -0700)]
- added network and port models into the l2network plugin instead of using quantum models
- added api methods for network and ports
- restructured code to use the l2network network and port
- added l2network base class for other tables to inherit
- added support for l2network plugin model objects to behave like dictionary (gets rid of code to convert objects into dictionaries)
- added foreign key constraints to l2network plugin model attributes representing columns
- added attributes to represent relation between models in l2network plugin
- added joinedload only to network and port (need to to for others)
- added InnoDB as the storage medium in base table for imposing foreign keys
- updated l2network test cases to handle foreign key constraints
Sumit Naiksatam [Mon, 8 Aug 2011 18:54:19 +0000 (11:54 -0700)]
Making a check for the presence of UCS/Nexus plugin (earlier it was not in certain cases). With this change, if the UCS/Nexus plugins are not enabled, the core API tests can be run even on Ubuntu (and RHEL without the requirement of any specific network hardware).
Sumit Naiksatam [Fri, 5 Aug 2011 19:45:28 +0000 (12:45 -0700)]
Fixed issue with creating new port profiles (one configuration parameter got left out during the migration to the new configuration scheme). Also fixed a bug in the calculation of the profile id.
Sumit Naiksatam [Fri, 5 Aug 2011 09:59:54 +0000 (02:59 -0700)]
Loading of device-specific plugins and drivers is done dynamically by setting configuration.
All configuration is driven through configuration files place in the conf directory.
Each .ini conf file contains info on the configuration.
README file updated to reflect all the changes.
Fixed issue with delete_network deleting the network even when attachments were present.
Fixed issue with port id generation.
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.