]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
13 years agoMerging branch lp:~netstack/quantum/quantum-unit-tests
Salvatore Orlando [Fri, 22 Jul 2011 07:01:43 +0000 (08:01 +0100)]
Merging branch lp:~netstack/quantum/quantum-unit-tests

Provides functionality as specified by blueprint https://blueprints.launchpad.net/quantum/+spec/api-spec-unit-tests

13 years agoFixing silly pep8 error
Salvatore Orlando [Thu, 21 Jul 2011 16:37:24 +0000 (17:37 +0100)]
Fixing silly pep8 error

13 years agoRestoring quantum_plugin_base to previous state.
Salvatore Orlando [Thu, 21 Jul 2011 15:34:58 +0000 (16:34 +0100)]
Restoring quantum_plugin_base to previous state.
Will discuss in the future whether allow API layer to pass options to plugins upon initialization.

13 years agoUnit tests for API completed
Salvatore Orlando [Mon, 18 Jul 2011 22:51:22 +0000 (23:51 +0100)]
Unit tests for API completed
fixed pep8 errors

13 years agoAdd TESTING document: description and polices for quantum tests
Brad Hall [Mon, 18 Jul 2011 20:44:48 +0000 (13:44 -0700)]
Add TESTING document: description and polices for quantum tests

13 years agoAdding more unit tests
Salvatore Orlando [Mon, 18 Jul 2011 16:56:42 +0000 (17:56 +0100)]
Adding more unit tests

13 years agoRemoving code related to functional tests
Salvatore Orlando [Thu, 14 Jul 2011 11:47:49 +0000 (12:47 +0100)]
Removing code related to functional tests

13 years agoApplying fix for bug #804237
Salvatore Orlando [Fri, 8 Jul 2011 23:34:49 +0000 (00:34 +0100)]
Applying fix for bug #804237
from branch lp:~salvatore-orlando/quantum/bug804237

13 years agoremoving pep8 errors
Salvatore Orlando [Wed, 6 Jul 2011 11:41:13 +0000 (12:41 +0100)]
removing pep8 errors

13 years agoAdded more unit tests for API
Salvatore Orlando [Wed, 6 Jul 2011 11:23:18 +0000 (12:23 +0100)]
Added more unit tests for API
Starting work on functional tests, importing code from Glance

13 years agoNow REALLY using in-memory db
Salvatore Orlando [Tue, 5 Jul 2011 17:27:26 +0000 (18:27 +0100)]
Now REALLY using in-memory db

13 years agoAdapated plugin infrastructure to allow API to pass options to plugins
Salvatore Orlando [Tue, 5 Jul 2011 16:50:30 +0000 (17:50 +0100)]
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

13 years agoFixing error introduced in find_config
Salvatore Orlando [Tue, 5 Jul 2011 10:27:12 +0000 (11:27 +0100)]
Fixing error introduced in find_config

13 years agoRemoving excess debug line
Salvatore Orlando [Tue, 5 Jul 2011 09:24:13 +0000 (10:24 +0100)]
Removing excess debug line

13 years agoFixing syntax errors in db/models.py
Salvatore Orlando [Tue, 5 Jul 2011 00:08:18 +0000 (01:08 +0100)]
Fixing syntax errors in db/models.py

13 years agoTemporary commit
Salvatore Orlando [Mon, 4 Jul 2011 17:50:45 +0000 (18:50 +0100)]
Temporary commit

13 years agoNow loading plugin before setting up routes.
Salvatore Orlando [Mon, 4 Jul 2011 10:43:16 +0000 (11:43 +0100)]
Now loading plugin before setting up routes.
Passing same plugin instance to API controllers.

Also renamed 'network_manager' to 'plugin' in API controllers.

13 years agoAdding unit test
Salvatore Orlando [Fri, 1 Jul 2011 11:20:31 +0000 (12:20 +0100)]
Adding unit test
Applying pep8 fixes

Note: teardown does not yet work properly. Thinking about replacing it with something that simply deletes the temporary sql lite db.

13 years agoStarting implementation of unit tests
Salvatore Orlando [Thu, 30 Jun 2011 17:13:01 +0000 (18:13 +0100)]
Starting implementation of unit tests
Fixing minor bugs with FakePlugin

13 years agoRemoving static data for FakePlugin
Salvatore Orlando [Wed, 29 Jun 2011 15:48:55 +0000 (16:48 +0100)]
Removing static data for FakePlugin

13 years ago- Unit tests will use FakePlugin
Salvatore Orlando [Wed, 29 Jun 2011 15:40:15 +0000 (16:40 +0100)]
- 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

13 years agoWork in progress - just starting
Salvatore Orlando [Tue, 28 Jun 2011 17:04:27 +0000 (18:04 +0100)]
Work in progress - just starting

13 years agoMerging dan wendlandt's bugfixes for Bug #800466 and improvements that enable Quantum...
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

13 years agofix pep8 introduced by trunk merge
Dan Wendlandt [Mon, 27 Jun 2011 23:11:09 +0000 (16:11 -0700)]
fix pep8 introduced by trunk merge

13 years agoA small start on unit tests: mostly a proof of concept that contains a test
Brad Hall [Mon, 27 Jun 2011 23:08:58 +0000 (16:08 -0700)]
A small start on unit tests: mostly a proof of concept that contains a test
for api/ports.py

13 years agoAdded some more plugin agnostic tests (attachment and negative tests) and some
Brad Hall [Mon, 27 Jun 2011 23:07:03 +0000 (16:07 -0700)]
Added some more plugin agnostic tests (attachment and negative tests) and some
pep8 fixes.

13 years agomerge
Dan Wendlandt [Mon, 27 Jun 2011 16:30:08 +0000 (09:30 -0700)]
merge

13 years agomore pep8 goodness
Dan Wendlandt [Mon, 27 Jun 2011 16:27:18 +0000 (09:27 -0700)]
more pep8 goodness

13 years agorefactor batch_config, allow multiple attaches with the empty string
Dan Wendlandt [Sat, 25 Jun 2011 09:04:55 +0000 (02:04 -0700)]
refactor batch_config, allow multiple attaches with the empty string

13 years agoMerge: bzr merge lp:~bgh/quantum/bugfixes
Brad Hall [Fri, 24 Jun 2011 18:41:48 +0000 (11:41 -0700)]
Merge: bzr merge lp:~bgh/quantum/bugfixes

13 years agoFix cut and paste error in api_unplug_iface
Brad Hall [Fri, 24 Jun 2011 18:20:03 +0000 (11:20 -0700)]
Fix cut and paste error in api_unplug_iface

This fixes lp issue: https://bugs.launchpad.net/quantum/+bug/801598

13 years agomerge and pep8 cleanup
Dan Wendlandt [Wed, 22 Jun 2011 00:40:05 +0000 (17:40 -0700)]
merge and pep8 cleanup

13 years agoMerging latest changes from parent repo - lp:network-service , Parent repo had approv...
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

13 years ago Merging pep8 and functional test related changes lp:~santhom/network-service/quantum...
Somik Behera [Tue, 21 Jun 2011 17:27:04 +0000 (10:27 -0700)]
 Merging pep8 and functional test related changes lp:~santhom/network-service/quantum_testing_framework branch

13 years agoadd example to usage string for batch_config.py
Dan Wendlandt [Tue, 21 Jun 2011 17:13:07 +0000 (10:13 -0700)]
add example to usage string for batch_config.py

13 years agoBug fixes and clean-up, including supporting libvirt
Dan Wendlandt [Tue, 21 Jun 2011 07:14:14 +0000 (00:14 -0700)]
Bug fixes and clean-up, including supporting libvirt

13 years agoFix typo in mysql package check
Brad Hall [Fri, 17 Jun 2011 18:06:19 +0000 (11:06 -0700)]
Fix typo in mysql package check

issue: https://bugs.launchpad.net/bugs/798080

13 years agoFix typo in mysql package check
Brad Hall [Thu, 16 Jun 2011 17:03:29 +0000 (10:03 -0700)]
Fix typo in mysql package check

issue: https://bugs.launchpad.net/bugs/798080

13 years agoREADME fixes
Brad Hall [Thu, 9 Jun 2011 14:42:19 +0000 (07:42 -0700)]
README fixes

13 years agoSanthosh/Deepak | Fixed the import issue and config.load_paste_app issue
Santhosh [Thu, 9 Jun 2011 04:59:30 +0000 (10:29 +0530)]
Santhosh/Deepak | Fixed the import issue and config.load_paste_app issue

13 years agoSanthosh/Vinkesh | Fixed all the pep8 violations. Modified the 'req' to 'request...
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

13 years agoSanthosh/Vinkesh | Added the testing framework. Moved the smoketest to tests/functional
Santhosh [Wed, 8 Jun 2011 08:52:51 +0000 (14:22 +0530)]
Santhosh/Vinkesh | Added the testing framework. Moved the smoketest to tests/functional

13 years agomerged remote README changes
Somik Behera [Tue, 7 Jun 2011 23:58:14 +0000 (16:58 -0700)]
merged remote README changes

13 years agoFix cli.py from last merge when it got overwritten
Somik Behera [Tue, 7 Jun 2011 23:56:53 +0000 (16:56 -0700)]
Fix cli.py from last merge when it got overwritten

13 years agoAdd dependencies to README and fix whitespace
Brad Hall [Tue, 7 Jun 2011 17:17:56 +0000 (10:17 -0700)]
Add dependencies to README and fix whitespace

13 years ago Fix merge indentation errors
Somik Behera [Tue, 7 Jun 2011 06:09:53 +0000 (23:09 -0700)]
 Fix merge indentation errors

13 years ago Merged Brad's ovsplugin code
Somik Behera [Tue, 7 Jun 2011 06:07:05 +0000 (23:07 -0700)]
 Merged Brad's ovsplugin code

13 years agopep8 changes for quantum-framework code pieces.
Somik Behera [Tue, 7 Jun 2011 05:48:57 +0000 (22:48 -0700)]
pep8 changes for quantum-framework code pieces.

13 years agoMerge changes from quantum-framework-bgh branch
Brad Hall [Mon, 6 Jun 2011 23:50:33 +0000 (16:50 -0700)]
Merge changes from quantum-framework-bgh branch

13 years agoUpdate Quantum README file with instructions to launch the service and get going.
Somik Behera [Mon, 6 Jun 2011 23:35:47 +0000 (16:35 -0700)]
Update Quantum README file with instructions to launch the service and get going.

13 years agoMerge changes from quantum-framework
Brad Hall [Mon, 6 Jun 2011 21:17:43 +0000 (14:17 -0700)]
Merge changes from quantum-framework

13 years agoUpdated quantum_plugin_base with with return type dataformats as well as exceptions.
Somik Behera [Mon, 6 Jun 2011 18:49:12 +0000 (11:49 -0700)]
Updated quantum_plugin_base with with return type dataformats as well as exceptions.

13 years agoAdded a basic README file and updated Quantum plugin base class with appropriate...
Somik Behera [Mon, 6 Jun 2011 17:34:43 +0000 (10:34 -0700)]
Added a basic README file and updated Quantum plugin base class with appropriate exceptions.

13 years agoInitial commit of exceptions that are raised by a quantum plugin.
Somik Behera [Mon, 6 Jun 2011 16:22:05 +0000 (09:22 -0700)]
Initial commit of exceptions that are raised by a quantum plugin.

This list of exceptions is consistent with exceptions being expected by the API service. Please note that the exception list is still evolving and will soon be concrete.

13 years agoMake the wording a little clearer
Brad Hall [Mon, 6 Jun 2011 05:54:44 +0000 (22:54 -0700)]
Make the wording a little clearer

13 years agoRemove -a option from examples (it no longer exists)
Brad Hall [Mon, 6 Jun 2011 05:42:46 +0000 (22:42 -0700)]
Remove -a option from examples (it no longer exists)

13 years agoMake the API the default
Brad Hall [Mon, 6 Jun 2011 05:41:46 +0000 (22:41 -0700)]
Make the API the default

13 years agoAddress Dan's review comments
Brad Hall [Mon, 6 Jun 2011 05:38:04 +0000 (22:38 -0700)]
Address Dan's review comments

13 years agoMake the manager a little smarter about finding its config file
Brad Hall [Mon, 6 Jun 2011 04:52:09 +0000 (21:52 -0700)]
Make the manager a little smarter about finding its config file

13 years agoFix another TODO: remove main function from manager
Brad Hall [Sun, 5 Jun 2011 05:00:50 +0000 (22:00 -0700)]
Fix another TODO: remove main function from manager

13 years agoFix detail_net and list_ports commands
Brad Hall [Sun, 5 Jun 2011 04:58:27 +0000 (21:58 -0700)]
Fix detail_net and list_ports commands

13 years agoRemove get_all_interfaces and fix detail_network commands
Brad Hall [Sun, 5 Jun 2011 01:46:44 +0000 (18:46 -0700)]
Remove get_all_interfaces and fix detail_network commands

13 years agoInitial version of openvswitch plugin
Brad Hall [Sun, 5 Jun 2011 01:19:37 +0000 (18:19 -0700)]
Initial version of openvswitch plugin

13 years ago* Merged changes from Salvatore's branch - quantum-api-workinprogress
Somik Behera [Sun, 5 Jun 2011 00:45:36 +0000 (17:45 -0700)]
* Merged changes from Salvatore's branch - quantum-api-workinprogress
* Removed spurious methods from quantum_base_plugin class.
* Updated the sample plugins to be compliant with the new QuantumBase class.

13 years agoUpdate readme with quantum specific instructions
Brad Hall [Sat, 4 Jun 2011 20:23:29 +0000 (13:23 -0700)]
Update readme with quantum specific instructions

13 years agoAddress some of the remaining TODOs and general cleanup
Brad Hall [Sat, 4 Jun 2011 20:17:32 +0000 (13:17 -0700)]
Address some of the remaining TODOs and general cleanup

13 years agoAdd headers
Brad Hall [Sat, 4 Jun 2011 03:59:49 +0000 (20:59 -0700)]
Add headers

13 years agoInitial cut of openvswitch plugin
Brad Hall [Sat, 4 Jun 2011 03:56:32 +0000 (20:56 -0700)]
Initial cut of openvswitch plugin

13 years agoAdd database models/functions for ports and networks
Brad Hall [Sat, 4 Jun 2011 03:55:26 +0000 (20:55 -0700)]
Add database models/functions for ports and networks

13 years agoPrint the command list in the help
Brad Hall [Fri, 3 Jun 2011 18:02:54 +0000 (11:02 -0700)]
Print the command list in the help

13 years agoWhitespace fixes
Brad Hall [Fri, 3 Jun 2011 17:26:36 +0000 (10:26 -0700)]
Whitespace fixes

13 years agoAdded api functions for the interface commands
Brad Hall [Fri, 3 Jun 2011 17:25:43 +0000 (10:25 -0700)]
Added api functions for the interface commands

13 years agoInitial rework of cli to use the WS api
Brad Hall [Fri, 3 Jun 2011 05:30:37 +0000 (22:30 -0700)]
Initial rework of cli to use the WS api

- Still need to implement the interface commands and also address TODO's in
  the code.

13 years agoCopy over miniclient from testscripts and port tests.py to use unittest
Brad Hall [Wed, 1 Jun 2011 18:00:15 +0000 (11:00 -0700)]
Copy over miniclient from testscripts and port tests.py to use unittest

13 years agoAdding ports.py to source control
Salvatore Orlando [Tue, 31 May 2011 17:48:43 +0000 (18:48 +0100)]
Adding ports.py to source control

13 years agopep8 fixes (1st batch)
Salvatore Orlando [Tue, 31 May 2011 17:15:00 +0000 (18:15 +0100)]
pep8 fixes (1st batch)

13 years agoFirst working version of Quantum API
Salvatore Orlando [Mon, 30 May 2011 00:08:46 +0000 (01:08 +0100)]
First working version of Quantum API

13 years agoAdding views/networks.py to bzr
Salvatore Orlando [Sat, 28 May 2011 20:52:09 +0000 (21:52 +0100)]
Adding views/networks.py to bzr

13 years agoAdding serialization/deserilization for network resources.
Salvatore Orlando [Fri, 27 May 2011 16:52:06 +0000 (17:52 +0100)]
Adding serialization/deserilization for network resources.
Adding fake plugin

13 years agonetworks api with final URL structure.
salvatore [Thu, 26 May 2011 23:52:11 +0000 (00:52 +0100)]
networks api with final URL structure.
No serialization yet

13 years agoImplementing interface with plugin
Salvatore Orlando [Thu, 26 May 2011 17:53:48 +0000 (18:53 +0100)]
Implementing interface with plugin

13 years agoadpating wsgi files
salvatore [Wed, 25 May 2011 12:11:12 +0000 (13:11 +0100)]
adpating wsgi files

13 years agoWork in progress on network API
Salvatore Orlando [Tue, 24 May 2011 16:45:16 +0000 (17:45 +0100)]
Work in progress on network API

13 years agoAdding first files for quantum API
Salvatore Orlando [Mon, 23 May 2011 20:51:00 +0000 (21:51 +0100)]
Adding first files for quantum API

13 years agoMinor fixes: indentation in bin/quantum and fix import in config.py
Brad Hall [Fri, 20 May 2011 23:22:48 +0000 (16:22 -0700)]
Minor fixes: indentation in bin/quantum and fix import in config.py

13 years agoAdding api paste configuration file
Salvatore Orlando [Fri, 20 May 2011 14:30:12 +0000 (15:30 +0100)]
Adding api paste configuration file

13 years agoRemoving .pydevproject from version control
Salvatore Orlando [Fri, 20 May 2011 13:53:02 +0000 (14:53 +0100)]
Removing .pydevproject from version control

13 years agoBranching from quantum-framework
Salvatore Orlando [Fri, 20 May 2011 13:51:28 +0000 (14:51 +0100)]
Branching from quantum-framework

13 years agoAdding flags.py to infrastructure code
Salvatore Orlando [Fri, 20 May 2011 08:05:39 +0000 (09:05 +0100)]
Adding flags.py to infrastructure code

13 years agoMove plugin configuration to plugins.ini - a config file.
Somik Behera [Fri, 20 May 2011 00:21:48 +0000 (17:21 -0700)]
Move plugin configuration to plugins.ini - a config file.

13 years ago1) Created a DummDataPlugin in SamplePlugin module.
Somik Behera [Sun, 15 May 2011 20:31:23 +0000 (13:31 -0700)]
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.

13 years agomerged salvatore's changes to local branch
Somik Behera [Fri, 13 May 2011 22:49:08 +0000 (15:49 -0700)]
merged salvatore's changes to local branch

13 years ago1) Added a bare-bones framework for quantum plugins.
Somik Behera [Fri, 13 May 2011 21:23:37 +0000 (14:23 -0700)]
1) Added a bare-bones framework for quantum plugins.
2) Created demo quantum plugin that conforms to QuantumPluginBase
    Abstract class specification.
3) Demonstrated plugin registration and invocation using the demo
    plugin called "QuantumEchoPlugin"
4) Created the initial file structure for a quantum CLI
5) Seeded the utils module that will contain frequently used Quantum utilities.
6) Modified the manager module to initialize and register the quantum plugin
    defined in a configuration file. I have hard-coded the path to plugin for now
    but this will move to a quantum.conf file.

TODO:

1) Finish up the Quantum CLI
2) Write Quantum unit tests that can be run against any plug-in for certification.
3) Create a working quantum plugin.

13 years agoFixing pep8 errors
Salvatore Orlando [Fri, 13 May 2011 11:54:18 +0000 (12:54 +0100)]
Fixing pep8 errors

13 years agoadding /bzrignore to precent checking in pyc files and that sort of stuff...
Somik Behera [Wed, 11 May 2011 21:41:02 +0000 (14:41 -0700)]
adding /bzrignore to precent checking in pyc files and that sort of stuff...

13 years agoPushing initial started code based on Glance project and infrstructure work done...
Somik Behera [Wed, 11 May 2011 21:29:35 +0000 (14:29 -0700)]
Pushing initial started code based on Glance project and infrstructure work done by the melange team.