Somik Behera [Tue, 16 Aug 2011 18:12:37 +0000 (11:12 -0700)]
Merging Cisco's contribution to Quantum. Thanks to various folks at Cisco Systems, Quantum will have plugins
to integrate with Cisco UCS blade servers using 802.1Qbh, Cisco Nexus family of switches and the ability for
Quantum plugin to have multiple switches/devices within a single Quantum plugin.
added:
quantum/plugins/cisco/
quantum/plugins/cisco/README
quantum/plugins/cisco/__init__.py
quantum/plugins/cisco/common/
quantum/plugins/cisco/common/__init__.py
quantum/plugins/cisco/common/cisco_configparser.py
quantum/plugins/cisco/common/cisco_constants.py
quantum/plugins/cisco/common/cisco_credentials.py
quantum/plugins/cisco/common/cisco_exceptions.py
quantum/plugins/cisco/common/cisco_nova_configuration.py
quantum/plugins/cisco/common/cisco_utils.py
quantum/plugins/cisco/conf/
quantum/plugins/cisco/conf/credentials.ini
quantum/plugins/cisco/conf/l2network_plugin.ini
quantum/plugins/cisco/conf/nexus.ini
quantum/plugins/cisco/conf/nova.ini
quantum/plugins/cisco/conf/plugins.ini
quantum/plugins/cisco/conf/ucs.ini
quantum/plugins/cisco/db/
quantum/plugins/cisco/db/__init__.py
quantum/plugins/cisco/l2device_plugin_base.py
quantum/plugins/cisco/l2network_model.py
quantug/plugins/cisco/l2network_model_base.py
quantum/plugins/cisco/l2network_plugin.py
quantum/plugins/cisco/l2network_plugin_configuration.py
quantum/plugins/cisco/nexus/
quantum/plugins/cisco/nexus/__init__.py
quantum/plugins/cisco/nexus/cisco_nexus_configuration.py
quantum/plugins/cisco/nexus/cisco_nexus_network_driver.py
quantum/plugins/cisco/nexus/cisco_nexus_plugin.py
quantum/plugins/cisco/run_tests.py
quantum/plugins/cisco/tests/
quantum/plugins/cisco/tests/__init__.py
quantum/plugins/cisco/tests/unit/
quantum/plugins/cisco/tests/unit/__init__.py
quantum/plugins/cisco/tests/unit/test_l2networkApi.py
quantum/plugins/cisco/tests/unit/test_nexus_plugin.py
quantum/plugins/cisco/tests/unit/test_ucs_driver.py
quantum/plugins/cisco/tests/unit/test_ucs_plugin.py
quantum/plugins/cisco/ucs/
quantum/plugins/cisco/ucs/__init__.py
quantum/plugins/cisco/ucs/cisco_getvif.py
quantum/plugins/cisco/ucs/cisco_ucs_configuration.py
quantum/plugins/cisco/ucs/cisco_ucs_network_driver.py
quantum/plugins/cisco/ucs/cisco_ucs_plugin.py
pending merges:
Sumit Naiksatam 2011-08-15 Changes in the README file to incorporate Somik's comments.
Edgar Magana 2011-08-15 Removing extra testing function on Nexus Driver
Sumit Naiksatam 2011-08-13 Removed main from modules as per review comments.
Sumit Naiksatam 2011-08-09 Tiny change to the README file, instructions on how to get ncclient.
Sumit Naiksatam 2011-08-08 Changed to default plugin class name.
Sumit Naiksatam 2011-08-08 [merge] Added tests directory to list of modules in the README file.
Edgar Magana 2011-08-08 Adding the required build for Nexus support
Sumit Naiksatam 2011-08-08 [merge] Merge latest from lp:quantum
Sumit Naiksatam 2011-08-08 Added "tests" directory to the list modules in the README file.
Sumit Naiksatam 2011-08-08 Fixed typo in README
Sumit Naiksatam 2011-08-08 README file updates (pointer to Nova Cactus branch), and numerous other edits based on Mark's template.
Sumit Naiksatam 2011-08-08 [merge] L2 Network Plugin Framework merge.
Sumit Naiksatam 2011-08-08 Incorporated changes in response to review comments from Ram.
Sumit Naiksatam 2011-08-08 Making a check for the presence of UCS/Nexus plugin (earlier it was not in certain cases). With this change, if th...
Sumit Naiksatam 2011-08-08 [merge] Merging test cases from Shwetas' branch, and further modified README file.
Sumit Naiksatam 2011-08-07 RHEL limitation updated.
Sumit Naiksatam 2011-08-07 Changes to enhance L2 network plugin framework.
Sumit Naiksatam 2011-08-06 Added QuantunPluginBase as the base class for the l2network_plugin.
Sumit Naiksatam 2011-08-06 Generalized and put placeholders.
Sumit Naiksatam 2011-08-05 Added info about ssh conf required for nexus switch.
Sumit Naiksatam 2011-08-05 Nexus plugin classpath was incorrect, fixed it.
Sumit Naiksatam 2011-08-05 [merge] Merge latest from lp:quantum (via lp:~cisco-openstack/quantum/l2network-plugin).
Sumit Naiksatam 2011-08-05 Edits to reflect conf changes, made it easier to follow.
Sumit Naiksatam 2011-08-05 Fixed issue with creating new port profiles (one configuration parameter got left out during the migration to the ...
Sumit Naiksatam 2011-08-05 Fixes the broken call to second level of plugins. Renaming will work now.
Sumit Naiksatam 2011-08-05 Loading of device-specific plugins and drivers is done dynamically by setting configuration.
Sumit Naiksatam 2011-08-08 [merge] Merging the test framework from Shweta's branch.
Shweta P 2011-08-08 Adding Unit Test Cases Now
Shweta P 2011-08-08 Adding Cisco Unit Tests
Sumit Naiksatam 2011-08-05 [merge] Merge from lp:quantum
Edgar Magana 2011-08-04 [merge] Removing extra file in Nexus Driver
Edgar Magana 2011-08-04 Removing extra file in Nexus Driver
Sumit Naiksatam 2011-08-03 Removed quantum/plugins/cisco/db/ and quantum/cisco_extensions since these will be merged separately.
Sumit Naiksatam 2011-08-03 Adding conf directory for configuration files.
Sumit Naiksatam 2011-08-03 Fixed pep8 error.
Sumit Naiksatam 2011-08-03 [merge] Merging changes.
Edgar Magana 2011-08-03 Fixed an issue selecting the right port interface and also properly switching off the Nexus Interface
Sumit Naiksatam 2011-08-03 [merge] Merging changes from lp:quantum
Sumit Naiksatam 2011-08-02 [merge] Merging the port profile client name fix.
Sumit Naiksatam 2011-08-02 Earlier fix resulted in a different issue (profile client name, was also being used as profile name, hence breaking).
Sumit Naiksatam 2011-08-02 Truncated the port profile client name length to 16 characters (ucsm excepts max 17 chars).
Edgar Magana 2011-08-01 Including a flag to activate the NX-OS driver
Edgar Magana 2011-08-01 Adding the Nexus OS driver based on the new PlugIn structure
rohitagarwalla 2011-07-31 [merge] persistence of l2network & ucs plugins using mysql
rohitagarwalla 2011-07-31 [merge] merged the latest changes from plugin-framework branch - revision 39
rohitagarwalla 2011-07-29 persistence of l2network & ucs plugins using mysql
Sumit Naiksatam 2011-07-31 Adding a tests directory, this can be used for plugin-specific test cases.
Sumit Naiksatam 2011-07-31 Including copyright info.
Sumit Naiksatam 2011-07-31 For the modules to get added, missed in the earlier checkin.
Sumit Naiksatam 2011-07-31 Changed the directory structure to a more organized one.
Sumit Naiksatam 2011-07-31 [merge] Merging the latest changes from lp:quantum.
Sumit Naiksatam 2011-07-28 Changed the param name "network-name" to "net-name" since the Quantum service expects the later.
Sumit Naiksatam 2011-07-24 [merge] Merge changes from lp:quantum
Ying Liu 2011-07-15 add extension code in.(last push does not include this directory.)
Ying Liu 2011-07-15 add api extensions (including portprofiles resources and associate/disassociate actions.)
Sumit Naiksatam 2011-07-15 [merge] Merge latest from lp:quantum (picking up API framework changes like quantum/manager.py and resource contro...
Sumit Naiksatam 2011-07-14 Changes to support port-profile extension.
Debo 2011-07-14 Very initial version of the nxos driver .... lets call it ver 0.0.1!
rohitagarwalla 2011-07-13 Porting shell script get-vif.sh to python module get-vif.py for cisco ucsm module
Sumit Naiksatam 2011-07-12 [merge] Merge pep8 changes
Rick Clark 2011-07-08 minor pep8 fix.
Sumit Naiksatam 2011-07-12 Required for recognizing the "cisco" package. Missed in the initial checkin.
Sumit Naiksatam 2011-07-08 Changed some credentials (does not affect functionality).
Sumit Naiksatam 2011-07-08 This file is not required.
Sumit Naiksatam 2011-07-08 Initial checkin for the L2-Network Plugin with all the associated modules and artifacts.
Santhosh Kumar [Tue, 16 Aug 2011 11:24:39 +0000 (16:54 +0530)]
Santhosh/Deepak | Fixed an issue where collection actions for PUT and DELETE methods in resource extension were routing to update and delete action of the resource
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