rohitagarwalla [Mon, 1 Aug 2011 06:46:15 +0000 (23:46 -0700)]
persistence of l2network & ucs plugins using mysql
- db_conn.ini - configuration details of making a connection to the database
- db_test_plugin.py - contains abstraction methods for storing database values in a dict and unit test cases for DB testing
- l2network_db.py - db methods for l2network models
- l2network_models.py - class definitions for the l2 network tables
- ucs_db.py - db methods for ucs models
- ucs_models.py - class definition for the ucs tables
dynamic loading of the 2nd layer plugin db's based on passed arguments
Create, Delete, Get, Getall, Update database methods at - Quantum, L2Network and Ucs
Unit test cases for create, delete, getall and update operations for L2Network and Ucs plugins
pep8 checks done
branch based off revision 34 plugin-framework
changes after review comments -
merged the latest changes from plugin-framework branch - revision 39
confirming to the new directory structure and moving all db related modules into cisco/db folder
updated db_test_plugin.py
- added import of cisco constants module
- added getLogger to LOG for logging component name
- updated import module paths for l2network_models/db and ucs_models/db to use the new directory structure
- updated (rearranged) imports section to obey openstack alphabetical placement convention
updated db_conn.ini
- updated database name from cisco_naas to quantum_l2network
unit test cases ran successfully and pep8 checks done again
-------------s This line and the following will be ignored --------------
added:
quantum/plugins/cisco/db/db_conn.ini
quantum/plugins/cisco/db/db_test_plugin.py
quantum/plugins/cisco/db/l2network_db.py
quantum/plugins/cisco/db/l2network_models.py
quantum/plugins/cisco/db/ucs_db.py
quantum/plugins/cisco/db/ucs_models.py
modified:
quantum/plugins/cisco/README
pending merges:
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
rohitagarwalla [Mon, 1 Aug 2011 03:31:42 +0000 (20:31 -0700)]
merged the latest changes from plugin-framework branch - revision 39
conforming to the new cisco plugin directory structure and moving all db related modules into cisco/db folder
updated db_test_plugin.py
- added import of cisco constants module
- added LOG.getLogger for logging component name
- updated import module paths for l2network_models/db and ucs_models/db to use the new directory structure
- updated (rearranged) imports section to obey openstack alphabetical placement convention
updated db_conn.ini
- updated database name from cisco_naas to quantum_l2network
unit test cases ran successfully and pep8 checks done again
persistence of l2network & ucs plugins using mysql
- db_conn.ini - configuration details of making a connection to the database
- db_test_plugin.py - contains abstraction methods for storing database values in a dict and unit test cases for DB testing
- l2network_db.py - db methods for l2network models
- l2network_models.py - class definitions for the l2 network tables
- ucs_db.py - db methods for ucs models
- ucs_models.py - class definition for the ucs tables
dynamic loading of the 2nd layer plugin db's based on passed arguments
Create, Delete, Get, Getall, Update database methods at - Quantum, L2Network and Ucs
Unit test cases for create, delete, getall and update operations for L2Network and Ucs plugins
pep8 checks done
branch based off revision 34 plugin-framework
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
Somik Behera [Mon, 27 Jun 2011 23:34:28 +0000 (16:34 -0700)]
Merging dan wendlandt's bugfixes for Bug #800466 and improvements that enable Quantum to seamlessly
run on KVM!
removed:
quantum/plugins/openvswitch/agent/set_external_ids.sh
added:
tools/batch_config.py
renamed:
quantum/plugins/openvswitch/agent/install.sh => quantum/plugins/openvswitch/agent/xenserver_install.sh
modified:
quantum/cli.py
quantum/db/api.py
quantum/plugins/openvswitch/README
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
quantum/plugins/openvswitch/ovs_db.py
quantum/plugins/openvswitch/ovs_models.py
quantum/plugins/openvswitch/ovs_quantum_plugin.ini
quantum/plugins/openvswitch/ovs_quantum_plugin.py
pending merges:
Dan Wendlandt 2011-06-27 fix pep8 introduced by trunk merge
Dan Wendlandt 2011-06-27 [merge] merge
Dan Wendlandt 2011-06-27 more pep8 goodness
Dan Wendlandt 2011-06-25 refactor batch_config, allow multiple attaches with the empty string
Dan Wendlandt 2011-06-21 [merge] merge and pep8 cleanup
Dan Wendlandt 2011-06-21 add example to usage string for batch_config.py
Dan Wendlandt 2011-06-21 Bug fixes and clean-up, including supporting libvirt
Somik Behera [Tue, 21 Jun 2011 17:37:34 +0000 (10:37 -0700)]
Merging latest changes from parent repo - lp:network-service , Parent repo had approved merge proposal for merging lp:~santhom/network-service/quantum_testing_framework , which has now been merged into lp:network-service
Santhosh [Wed, 8 Jun 2011 10:21:47 +0000 (15:51 +0530)]
Santhosh/Vinkesh | Fixed all the pep8 violations. Modified the 'req' to 'request' across all the services and wsgi so that it's consistent with other projects