647 Commits

Author SHA1 Message Date
Ghe Rivero
f53fb7705a blueprint api-framework-essex
Addressing Dan's comments.

This changeset provides:
- improved framework for API versioning, with separated controllers for each API version
- Taken from nova:'Resource' class in WSGI framework. This class is a container for serializers, deserializers and controller
- Better deserialization thanks to resource class. _parse_request_params has been removed
- Improved management of HTTP client errors
NOTE: this changeset does not update the framework used by API extensions.

Change-Id: I88a669ce418225c415e0da22e951762d0708e0a5
2011-12-06 09:53:11 +00:00
Shweta P
2184460b65 Modified the Readme for Unit Test Execution Instructions
Change-Id: Ib7ff79c166e34c4f99a8df55feb0191f37555597

Removed the trailing whitespaces in the README

Change-Id: Ic2299bf35d9e0d8512ae4f57976884d12ba92159
2011-12-05 11:13:32 -05:00
Salvatore Orlando
bb6cbb09f5 Bug 900093
Remove unused function in db/api.py

Change-Id: Icbf72ea4069bf56e147d7bc5160ed8c9905a6791
2011-12-05 01:10:23 +00:00
Tyler Smith
2c1d1c3257 Fixing find_config_file after packaging changes
Change-Id: I687793b0f8f7284019e05c044e53d91e0f3f09c2
2011-03-29 23:18:15 -04:00
Ghe Rivero
e95aa008ef Added timeout flag to ovs-vsctl to avoid infinte waiting
Fixes bug 890180

Change-Id: Iba76359d5ee4f625b6a7007b318cf0eb5f1119da
2011-11-29 18:21:14 +01:00
Brad Hall
6a08320031 Second round of packaging changes
This change condenses the directory structure to something more similar to
what we had before while producing similar packages.

It also introduces version.py which allows us to get the version from git tags
(or a fallback version if not available).

Fixes lp bug 889336
Fixes lp bug 888795

Change-Id: I86136bd9dbabb5eb1f8366ed665ed9b54f695124
2011-11-28 10:33:52 -08:00
Sumit Naiksatam
0a9faf33f7 Bug 891705
Fix to change reference to the Quantum CLI from within the Cisco extensions' CLI module

Removed "tools" from the PYTHONPATH

Change-Id: Icbd3800668219d16fc33a25da9170e9ec7fb6ddb
2011-11-21 22:17:57 -08:00
Jenkins
6edd49f79c Merge "Add quantum.exceptions path to configed ext paths" 2011-11-18 21:29:51 +00:00
Sumit Naiksatam
912d30ffa2 Correcting the plugins classpath in the Quantum README.
Change-Id: I14645f3c388698ac34cade9f8e8599c12884141a
2011-11-17 19:25:34 -08:00
Edgar Magana
87dbc61c34 The relative path for the "ucs_inventory.ini" file has been fixed
Change-Id: I38053df8b398e3fadcc6820c1118b3685ccd4174
2011-11-16 14:52:40 -08:00
Dan Wendlandt
d2bb51ca25 bug #891267 : for XS, grab iface-id from XAPI directly if needed.
The version of OVS that ships with XenServer by default does not include
the script to automatically sync the XAPI other_config:nicira-iface-id
field of a VIF with the external_ids:iface-id in the OVS interfaces table.
Thus, make the agent grab the value directly from XAPI if iface-id is
not already populated.

Change-Id: Id01d9da1761016bcd983ad06621c62e94b2445c1
2011-11-16 10:07:03 -08:00
Monty Taylor
a73ba62920 Changes to make pip-based tests work with jenkins.
The git line for the cisco pip-requires was wrong.
The venv needs to be installed in the source tree, not in the home
directory for self-contained builds.
The version of python can't be assumed and must be calculated.

Change-Id: I23d381eb273e82796e309483086dc68f27ce6093
2011-11-16 01:32:03 -02:00
Brad Hall
1dffdc3edf Fix for bug 890498
Add mysql-python to pip-requires for the openvswitch plugin

Change-Id: I4f66270cbaa16a6259c130e00c378acbe9abe931
2011-11-14 16:55:15 -08:00
Brad Hall
7699902338 Fix for bug 888811
Use version 0.6.24 of python-distribute which allows us to find all of the
test directories on ubuntu oneiric.

Change-Id: Ibdd7f84e3f344b98cc979b2afcdd3dd2d423dfd1
2011-11-14 11:11:30 -08:00
Tyler Smith
e85d007c07 Add quantum.exceptions path to configed ext paths
Change-Id: Ica9e1de290d963ef8919e15a242655f933df5b03
2011-03-17 22:38:31 -04:00
Tyler Smith
3760868eb0 Fix for Bug #888820 - pip-requires file support for plugins
Change-Id: I6e0833ec0c875ec38db419a88fd6c2db02142f08
2011-03-11 20:21:25 -05:00
Tyler Smith
881a6850e4 Fixing Cisco plugin after update_* change
Also a few fixes from packaging changes

Change-Id: I7ad7d5bc741fed9d09120148ad75f41df6722b59
2011-03-10 20:07:50 -05:00
Brad Hall
e77db9467b Fix for bug 888207
Instead of splitting the tests (server/client) we just run the tests like is
done in run_tests.py.

Change-Id: I204e54eaca4473416b5a540719a13988b90adc30
2011-11-05 04:48:54 -07:00
Brad Hall
7c29727304 Fix for bug 877525
We now have a verbose flag (-v) for run_tests.sh if you want ot see all that
crap printed to the screen.  The default behavior is just to print "test nam
.. OK".  Also, we took the code from nova to cat run_tests.log if there is a
error so that if we hit an import error we will see it in the console jenkin
output.

Change-Id: Id8997c658a61691bf9f25b1c01e6a5db0eca428f
2011-11-05 04:48:54 -07:00
Jenkins
a08016ae93 Merge "Make the openvswitch plugin tests work again" 2011-11-09 16:36:24 +00:00
Jenkins
8aebf5aa3f Merge "Change version numbers to be compatible with debian packaging" 2011-11-09 15:42:47 +00:00
Dan Wendlandt
8a584f4417 Bug #875995: Quantum README fixes
Fix the most obvious issues with the Quantum README and add pointers to
external documentation resources.

In a future commit, we plan to remove most of the content in the README
and leave it just as references to external documentation.  However,
this change requires us to be able to support multiple version of our
external documentation (not yet possible) and have a good location for
developer documentation.

Change-Id: I57d7f99f070d17564b7a5fdcef8ae8ad2a6575a6
2011-11-08 20:04:29 -08:00
Brad Hall
dc5ec29f7b Change version numbers to be compatible with debian packaging
Change-Id: I4548049e678ca04f33857b9ae21c1bc879e30cef
2011-11-05 03:22:16 -07:00
Brad Hall
911f233dc5 Make the openvswitch plugin tests work again
Change-Id: If715d4821b8e689fe836fe2afd12aaa7c3b73468
2011-11-05 03:14:12 -07:00
Brad Hall
687f3d2f5c Swich over to update_{net,port} instead of rename_net and set_port_state
This commit changes the plugin interface so that we have update() functions
that can upate any attributes of the port or network.  In the future when we
add more things like operational state this will give us the flexibility to be
able to update those.  This also allows data extensions to be passed into the
update calls.

Thanks to Tyler and the others at cisco for making the changes to the cisco
plugins and tests (their patch is included in this commit).

Change-Id: If8a0111a7174d94d9f0aed9630e326d428ef994a
2011-11-04 22:32:43 -07:00
Ghe Rivero
1c88385255 Added try import to quantum-server and quantum-cli
Once that quantum is deployed there is no need to modified the python
path importing source_environment.

Change-Id: Iad4cce250137c6e5374ee90af6324f32f32da2ad
2011-11-08 21:20:51 +01:00
Salvatore Orlando
a1707183be Bug 887706
Adding *.pyc to PEP8_EXCLUDE

Change-Id: If2c432e8ce85be585aa3b71a5acb76f2f27a4c07
2011-11-08 18:25:01 +00:00
Salvatore Orlando
e967e1a435 Blueprint authentication-for-quantum
Modifies quantum.conf to include authN filter and pipeline with auth (optional)
Removes bufferedhttp.py (not used anymore as middleware stays in keystone's tree)

Change-Id: Id6410d88cd9a11c41e8813497a8af3286a88e1dc
2011-11-08 12:29:43 +00:00
Tyler Smith
24b0207cbe blueprint quantum-packaging
Change-Id: Ica19170540b06ecddb0fbb6d340ee7a6819c1708
2011-03-07 18:02:05 -05:00
Jenkins
e767b8f463 Merge "Moved the initialization of the blade state so that the interfaces which are configured outside of Quantum are also initialized in the blade state." 2011-10-28 20:17:21 +00:00
Jenkins
c350d7210a Merge "Change the ovs plugin create_*() calls to take the kwargs param" 2011-10-28 18:38:00 +00:00
Sumit Naiksatam
8cfd60e51c Moved the initialization of the blade state so that the interfaces which are configured outside of Quantum are also initialized in the blade state.
Change-Id: Ib3381ea654e3ede7e138184e597cbf98860b049c
2011-10-27 19:11:52 -07:00
Dan Wendlandt
ed7a3527b5 fix minor double-serialization bug in client.py
bug 875468

Change-Id: If79d747c4a2796198e3d968f6bc5fbdca2621f73
2011-10-27 14:53:52 -07:00
Dan Wendlandt
f9a39018eb bug #863635: remove vestigial cheetah import from bin/cli
Change-Id: I8d7d8dcf11f4e9b6748d6714b82684ac2ab4966d
2011-10-27 14:47:10 -07:00
Brad Hall
91b5c06b51 Change the ovs plugin create_*() calls to take the kwargs param
Change-Id: I16fe3386a172f007573eac2c2de6d23b29a348ad
2011-10-26 12:29:12 -07:00
eperdomo
ce2b509c0b Changing the log messages in order to be always identified by their sub-packages of origin, and they can even be filtered on that basis
Change-Id: I900f8052416cbded698a806895fe145e61d47f1c
2011-10-25 14:28:35 -07:00
Jenkins
121a3fe444 Merge "New tests are being adding to the Diablo code (Cisco L2-Network plugin), and some fixes in the case where the tests were failing." 2011-10-25 20:32:09 +00:00
Jenkins
c6a6047361 Merge changes Ie7acb24a,Ief95b806
* changes:
  Add the ability to specify multiple extension directories
  Change port/net create calls to take an additional kwargs param
2011-10-25 03:49:37 +00:00
James E. Blair
f6c958956a Add .gitreview config file for gerrit.
The CI team is developing a new tool, git-review:

  https://github.com/openstack-ci/git-review

which is intendend to replace rfc.sh.  This adds a .gitreview file
so that it can automatically determine the canonical gerrit location
for the repository when first run.  Later, rfc.sh will be updated to
indicate it is deprecated, and then eventually removed.

Change-Id: I49edfa303671de58f54eae4e1d7c27916c41dda7
2011-10-24 15:06:42 -04:00
Sumit Naiksatam
a637d67555 New tests are being adding to the Diablo code (Cisco L2-Network plugin), and some fixes in the case where the tests were failing.
All changes contained within the Cisco L2-Network plugin and extensions.

Change-Id: I696a2aebeb9027f3b0ce0b6673910e02e304673f
2011-10-22 20:03:22 -07:00
Brad Hall
14069f9e0a Add the ability to specify multiple extension directories
This allows for a colon-separated list of extension directories that will be
loaded at startup.

Change-Id: Ie7acb24a929b1782be3e916113a90ede238dee40
2011-10-02 15:46:29 -07:00
Brad Hall
342b8362ee Add code-coverage support to run_tests.sh (lp860160)
Change-Id: I404ba58ea882123b8c6669ea32923fa626b27de5
2011-10-02 15:46:29 -07:00
Brad Hall
aab44f3615 Change port/net create calls to take an additional kwargs param
This is to allow data extensions to flow through the middleware to the actual
plugin.

Change-Id: Ief95b806504e10dd05ce7e941437628ac11a215b
2011-10-02 15:46:29 -07:00
Brad Hall
109f366975 ovs plugin: Remove reference to set_external_ids.sh
This script is no longer needed/used

Change-Id: Ib54909082a0dca6e205ce25eadfa3987523892c0
2011-10-02 15:46:29 -07:00
Dan Wendlandt
7406b69aa4 fix pep8 issues in Cisco plugin
bug 875458

The cisco plugin has some pep8 errors when using pep8 version 0.6.1
which is now what is used to gate trunk.

This fix is not supposed to change any functionality.  I was not able
to test it, so I will need a review + testing from the Cisco team.

Change-Id: I5e95e3ec96d5f53a3bea7cea2764fd421ba0a46e
2011-10-15 20:37:42 -07:00
Jenkins
d20af446ba Merge "Merge from launchpad quantum/diablo branch:" 2011-09-28 23:04:01 +00:00
Brad Hall
73feb9bf01 Remove hack for figuring out the vif interface identifier (lp859864)
Change-Id: I5a62d5663df28294f86c3935e18acb1d6163f37e
2011-09-23 21:52:09 -07:00
Brad Hall
559aedc3d9 Merge from launchpad quantum/diablo branch:
merge salv's fix to remove keystone middleware: lp855151
  one more 202->200 from tyler
  merge tylers additional 202 -> 200 changes
  merge additions to OVS readme describing running with multiple hosts
  merge brad's changes to make create API calls return 200, not 202
  merge unit test for showing unset attachment
  merging API docs branch
  Merge: lp:~yinliu2/quantum/bug856564
  Merge: lp:~bgh/quantum/bug850261

Change-Id: I56fe24c59f918737e57b562343c33ec6dcceac60
2011-09-23 20:17:44 -07:00
Brad Hall
53420d1964 Update openvswitch plugin README
(address code review feedback)

Change-Id: Id9407001d82eea131c0e88775d9836dd1b769430
2011-09-08 15:48:37 -07:00
Brad Hall
56218f5e54 Update openvswitch plugin README
https://bugs.launchpad.net/quantum/+bug/850261

Change-Id: Ifb3d46f9743cb2159582d9a39cb704206505dced
2011-09-08 09:48:13 -07:00