483 Commits

Author SHA1 Message Date
Tyler Smith
b090b380e9 Fix for bug/893663
Making Cisco CLI usable from installed packages

Change-Id: I35c34d2d0f5c050016663cf04673582806f35b39
2011-01-04 21:03:13 -05:00
Jenkins
219e0b1b8d Merge "Bug 903684: functions defined twice in utils.py" 2011-12-13 16:07:31 +00:00
Salvatore Orlando
8dc864f42c Bug 903684: functions defined twice in utils.py
Removing duplicate definition for import_class and import_object

Change-Id: Ib651ca7b0f87c36f6d4f51ed2d55745e3576c390
2011-12-13 12:23:49 +00:00
Salvatore Orlando
6e38dcb70e blueprint api-operational-status
Adds a new attribute expressing current operational status for port and network resources

Also includes:
- db models: changes to accomodate operational status concept
- unit tests: changes to include different validation functions for API v1.0 and v.1.1

This changeset does not include changes to the client library

NOTE: Addressing issue concerning unit tests for OVS plugin. API unit tests launched with
PLUGIN_DIR set to Cisco's plugin work fine as well.

Change-Id: I0c4f0f8a8c392bae75c668c28070364ca230f965
2011-12-13 10:51:44 +00:00
Ghe Rivero
2ccf22e98a Adds sqlalchemy support for ovs_quantum_plugin.
Fixes bug 890672

Allow to use any database as backend (supported by sqlalchemy).
Need to change ovs_quantum_plugin.ini and add variable sql_connection under DATABASE entry using specific sqlalchemy url schema (same as nova confs)

Change-Id: Ic490b09aad84c7f24d68064c18a8c1b33774cb05
2011-12-13 09:15:59 +01:00
Jenkins
1a048e944e Merge "bug #891246: Fix paths in agent Makefile" 2011-12-11 07:12:06 +00:00
Jenkins
7ee5686494 Merge "blueprint api-framework-essex" 2011-12-11 07:06:01 +00:00
Shweta P
f8152805b1 Readme Fix
Change-Id: I3bf79cbd591b911e4f6d9329a7bf0c77f811ee8a
2011-12-09 09:29:18 -05:00
Jenkins
d957efd706 Merge "Fix for bug 900277" 2011-12-08 16:38:31 +00:00
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
Rohit Agarwalla
9f6c2e0ee6 Fix for bug 900277
Removes duplicate network name checks from cisco db api module

Change-Id: I620b3abefeb2cb80eb98778807fd26c5a084bb0e
2011-12-05 09:58:26 -08: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
Brad Hall
fd73a5019e bug #891246: Fix paths in agent Makefile
Change-Id: I7093ca14eaf45986fcc50e914f9ccf8fa868fb07
2011-11-28 16:56:29 -08: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
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
dc5ec29f7b Change version numbers to be compatible with debian packaging
Change-Id: I4548049e678ca04f33857b9ae21c1bc879e30cef
2011-11-05 03:22:16 -07: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
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
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
Dan Wendlandt
6080d44f34 merge tyler's unit tests for cisco plugin changes lp845140 2011-09-09 16:38:20 -07:00
Salvatore Orlando
6554f92989 Merge trunk 2011-09-09 21:21:23 +01:00
Salvatore Orlando
1028fb81e4 Addressing Dan's comment on output generator 2011-09-09 21:20:47 +01:00
Dan Wendlandt
9b6efba5e9 merge sumit's branch for lp837752 2011-09-09 09:01:30 -07:00
Dan Wendlandt
9ab9129ba2 merge salv's branch for bug834013 2011-09-09 08:59:55 -07:00
Dan Wendlandt
b358e9ed58 merge salv's branch for keystone token on client bug838006 2011-09-08 16:44:55 -07:00
Dan Wendlandt
91430f20a1 merge salv fix for bug 841982, fix minor pep8 violation 2011-09-08 16:32:18 -07:00
Dan Wendlandt
7b1e1c03fa merge salv fix for bug834008 2011-09-08 16:28:16 -07:00
Sumit Naiksatam
bdcbf15946 Changes to address Salvatore's review comments, removed unnecessary imports, and changed a debug message. 2011-09-07 23:29:55 -07:00
Sumit Naiksatam
f7d259a28f Merging latest from lp:quantum 2011-09-07 18:24:31 -07:00
Salvatore Orlando
0d990913ff Merge trunk 2011-09-07 11:24:55 +01:00
Salvatore Orlando
84fe27e774 Implementing Dan's suggestion concerning fixing the bug in db api rather than FakePlugin 2011-09-07 11:21:56 +01:00
Salvatore Orlando
fd52a945b9 Fixing bad indent 2011-09-07 11:19:10 +01:00