]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoMore unittests for quantum.api.v2.base
Zhongyue Luo [Wed, 12 Dec 2012 06:50:59 +0000 (14:50 +0800)]
More unittests for quantum.api.v2.base

Added unittests for the below methods
* quantum.api.v2.base._fields()
* quantum.api.v2.base._filters()
* quantum.api.v2.base.create_resource()

Fixes bug #1092399

Change-Id: Icdddb3a201b4bc577378e78c7a7cd48486a2d57a

11 years agoFixes inefficiency in quantum.api.v2.base._filters
Zhongyue Luo [Fri, 21 Dec 2012 22:26:05 +0000 (06:26 +0800)]
Fixes inefficiency in quantum.api.v2.base._filters

Use iteritems() instead of getall() on request.GET

Fixes bug #1092995

Change-Id: Ic0b5e3d7c7b1ddd072d9fe918ea22a8e9aef9ee4

11 years agoMerge "Ensure that agents also set control_exchange"
Jenkins [Thu, 17 Jan 2013 01:20:52 +0000 (01:20 +0000)]
Merge "Ensure that agents also set control_exchange"

11 years agoUpdate WebOb version to >=1.2
Doug Hellmann [Wed, 16 Jan 2013 20:56:40 +0000 (15:56 -0500)]
Update WebOb version to >=1.2

The other projects have merged changes to accept
WebOb>=1.2 now, so update Quantum to use the same
version.

See bug #1092227 for details.

Change-Id: I0969752910b92209408d956f633ad2ccacc7fa46
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
11 years agoMerge "Fix ATTR_NOT_SPECIFIED comparison errors"
Jenkins [Wed, 16 Jan 2013 20:44:27 +0000 (20:44 +0000)]
Merge "Fix ATTR_NOT_SPECIFIED comparison errors"

11 years agoMerge "Add migration for network bindings in NVP plugin"
Jenkins [Wed, 16 Jan 2013 20:41:45 +0000 (20:41 +0000)]
Merge "Add migration for network bindings in NVP plugin"

11 years agoEnsure that agents also set control_exchange
Gary Kotton [Wed, 16 Jan 2013 16:28:44 +0000 (16:28 +0000)]
Ensure that agents also set control_exchange

Fixes bug 1100357

Change-Id: I6302edecf851588762d39c99d2f7b2e18ba04bc7

11 years agoFix line endings from CRLF to LF.
David Ripton [Wed, 16 Jan 2013 14:14:19 +0000 (09:14 -0500)]
Fix line endings from CRLF to LF.

Fixes bug #1100234

Change-Id: Idb28558547b69ed4ad64334651405dc70fa9ddb3

11 years agoFixes import order nits
Zhongyue Luo [Wed, 16 Jan 2013 03:36:22 +0000 (11:36 +0800)]
Fixes import order nits

Change-Id: Ide6dff579a126c9af5b593f9ce541873a7643415

11 years agoMerge "NEC OpenFlow plugin supports L3 agent RPC"
Jenkins [Wed, 16 Jan 2013 04:58:19 +0000 (04:58 +0000)]
Merge "NEC OpenFlow plugin supports L3 agent RPC"

11 years agoMerge "Catch up RPC context fixes on NEC OpenFlow plugin"
Jenkins [Wed, 16 Jan 2013 04:47:09 +0000 (04:47 +0000)]
Merge "Catch up RPC context fixes on NEC OpenFlow plugin"

11 years agoFix ATTR_NOT_SPECIFIED comparison errors
Zhongyue Luo [Thu, 3 Jan 2013 02:40:16 +0000 (10:40 +0800)]
Fix ATTR_NOT_SPECIFIED comparison errors

Fixes bug #1099663

Replaced equality operators used with ATTR_NOT_SPECIFIED to 'is' or 'is not'.
Used is_attr_set() where comparsion is done to None and ATTR_NOT_SPECIFIED.

Change-Id: I67c87051b46ca0518fa777cbb1c3e6141a533b61

11 years agoMerge "Update latest OSLO."
Jenkins [Tue, 15 Jan 2013 21:05:47 +0000 (21:05 +0000)]
Merge "Update latest OSLO."

11 years agoMerge "Adding multi switch support to the Cisco Nexus plugin"
Jenkins [Tue, 15 Jan 2013 17:59:45 +0000 (17:59 +0000)]
Merge "Adding multi switch support to the Cisco Nexus plugin"

11 years agoAdd migration for network bindings in NVP plugin
Salvatore Orlando [Tue, 15 Jan 2013 15:49:04 +0000 (07:49 -0800)]
Add migration for network bindings in NVP plugin

Bug 1099895

Ensures the table nvp_network_bindings is created when upgrading
database to head, by adding an appropriate alembic migration

Change-Id: I4a794ed0ec6866d657cb2470d5aa67828e81aa75

11 years agoNEC OpenFlow plugin supports L3 agent RPC
Akihiro MOTOKI [Sun, 30 Dec 2012 20:25:06 +0000 (05:25 +0900)]
NEC OpenFlow plugin supports L3 agent RPC

Fixes bug 1099879

Change-Id: Icbe1d686fea2f821e55c4a25916361dbfe9ad380

11 years agoUpdate latest OSLO.
Gary Kotton [Tue, 15 Jan 2013 13:00:03 +0000 (13:00 +0000)]
Update latest OSLO.

Changes include:
1. Removing the 'extras' in the pip-requires
2. Fixes for fake implementations for RPC calls
3. Version updates due to common version update

Change-Id: Iefd32b3f7d529943b078e6d927d06043286ff94e

11 years agoCatch up RPC context fixes on NEC OpenFlow plugin
Akihiro MOTOKI [Sun, 30 Dec 2012 20:58:36 +0000 (05:58 +0900)]
Catch up RPC context fixes on NEC OpenFlow plugin

Fixes bug 1099179

Change-Id: Ib61081c3aaed8770906dd57874c45358b0418c3f

11 years agoMerge "ensure all enums in loadbalancer models have names"
Jenkins [Tue, 15 Jan 2013 03:00:48 +0000 (03:00 +0000)]
Merge "ensure all enums in loadbalancer models have names"

11 years agoMerge "Optimize if/else logic in quantum.api.v2.base.prepare_request_body()"
Jenkins [Tue, 15 Jan 2013 02:36:52 +0000 (02:36 +0000)]
Merge "Optimize if/else logic in quantum.api.v2.base.prepare_request_body()"

11 years agoMerge "Adds support for deploying Quantum on Windows"
Jenkins [Tue, 15 Jan 2013 01:03:38 +0000 (01:03 +0000)]
Merge "Adds support for deploying Quantum on Windows"

11 years agoMerge "Adds a Hyper-V Quantum plugin"
Jenkins [Mon, 14 Jan 2013 22:47:26 +0000 (22:47 +0000)]
Merge "Adds a Hyper-V Quantum plugin"

11 years agoMerge "Name the securitygrouprules.direction enum."
Jenkins [Mon, 14 Jan 2013 22:27:29 +0000 (22:27 +0000)]
Merge "Name the securitygrouprules.direction enum."

11 years agoensure all enums in loadbalancer models have names
Mark McClain [Mon, 14 Jan 2013 20:31:37 +0000 (15:31 -0500)]
ensure all enums in loadbalancer models have names

fixes bug 1099565

Postgres requires that enums types have names.  This fix adds the name
parameter to the Enum declaration.

Change-Id: Ica67c6cf0b8959761f3022552c1c6a807a4ced82

11 years agoAdding multi switch support to the Cisco Nexus plugin
Arvind Somya [Mon, 7 Jan 2013 23:40:59 +0000 (18:40 -0500)]
Adding multi switch support to the Cisco Nexus plugin

This commit adds intelligent multiple nexus physical switch support for the Cisco plugin.
The plugin also has been modified to scan for the host when an instance is created and
selectively trunk VLAN's for the port for that host only. It also deletes VLANs from nexus
switches when no longer required.

Implements: blueprint cisco-plugin-enhancements

Change-Id: I6275eb1815310d0d5a8123ca2edbc0a0937718e9

11 years agoMerge "Add exception validation for subnet used."
Jenkins [Mon, 14 Jan 2013 17:56:46 +0000 (17:56 +0000)]
Merge "Add exception validation for subnet used."

11 years agoMerge "Remove accessing cfg.CONF.DATABASE in nec-agent"
Jenkins [Mon, 14 Jan 2013 17:56:42 +0000 (17:56 +0000)]
Merge "Remove accessing cfg.CONF.DATABASE in nec-agent"

11 years agoName the securitygrouprules.direction enum.
Dan Prince [Mon, 14 Jan 2013 17:26:36 +0000 (12:26 -0500)]
Name the securitygrouprules.direction enum.

Updates to the SecurityGroupRule model and migration so that we
explicitly name the securitygrouprules.direction enum. This fixes
'Postgresql ENUM type requires a name.' errors.

Fixes LP Bug #1099267.

Change-Id: Ia46fe8d4b0793caaabbfc71b7fa5f0cbb8c6d24b

11 years agoAdds support for deploying Quantum on Windows
Alessandro Pilotti [Sun, 6 Jan 2013 15:27:07 +0000 (17:27 +0200)]
Adds support for deploying Quantum on Windows

Some changes in setup.py are required to properly handle dependencies
and data files on WIndows (including Hyper-V server).

A console script called "quantum-hyperv-agent" has also been added to
start the Hyper-V agent

Change-Id: Ifac2d33afabac242d9dab87b0bc1764421efc16f

11 years agoAdds a Hyper-V Quantum plugin
Alessandro Pilotti [Fri, 4 Jan 2013 18:32:09 +0000 (20:32 +0200)]
Adds a Hyper-V Quantum plugin

Blueprint quantum-plugin-hyper-v

Initial Hyper-V Quantum plugin including VLAN support.
Support for NVGRE networking will be added in a subsequent patch.
The plugin architecture relies heavily on the OVS plugin, with some
design differences to handle different network types via polymorphism.

The plugin contains two main components:

The plugin itself, to be executed on Linux or Windows
The L2 agent, to be executed on each Hyper-V node

L3 networking is currently handled on Linux with the existing agents.

A Nova Quantum Vif plugin is included in the Nova project.

Change-Id: Ie64bff448e3fb1129c5e24baaf148cdcc0aed8b9

11 years agoAdd exception validation for subnet used.
Gary Kotton [Mon, 14 Jan 2013 10:01:20 +0000 (10:01 +0000)]
Add exception validation for subnet used.

As a result of bug 1093754 there was no validation of the actual
exception returned.

Change-Id: Ia3104ca523d30ea40c354afa62ed5ce2b88d5b7e

11 years agoMerge "Remove unsused imports in the plugins package"
Jenkins [Mon, 14 Jan 2013 09:08:15 +0000 (09:08 +0000)]
Merge "Remove unsused imports in the plugins package"

11 years agoRemove accessing cfg.CONF.DATABASE in nec-agent
Akihiro MOTOKI [Sun, 13 Jan 2013 17:57:33 +0000 (02:57 +0900)]
Remove accessing cfg.CONF.DATABASE in nec-agent

Fixes bug 1099162

The database configuration was moved to the common DB module.
There no longer needs to access database configuration in the
plugin specific code.

Change-Id: I4b80ea1e84ffa06d0fffa7f8ccdee08a5b77e239

11 years agoInform a client if Quantum provides port filtering feature
Akihiro MOTOKI [Sat, 12 Jan 2013 12:42:32 +0000 (21:42 +0900)]
Inform a client if Quantum provides port filtering feature

Part of blueprint vif-plugging-improvements

Quantum and Nova have duplicated functionality of packet filtering
such as security groups and anti spoofing filters.
By passing information whether Quantum supports the port filtering feature,
Nova VIF driver can skip its own packet filtering setup.

It is based on Daniel's advise in https://review.openstack.org/#/c/19436/

Change-Id: Ifd260cb61aa3990251510a4a3fe15454d8d584df

11 years agoMerge "DHCP agent unable to access port when restarting"
Jenkins [Sun, 13 Jan 2013 12:26:01 +0000 (12:26 +0000)]
Merge "DHCP agent unable to access port when restarting"

11 years agoRemove unsused imports in the plugins package
Ivan Kolodyazhny [Sat, 12 Jan 2013 16:20:52 +0000 (18:20 +0200)]
Remove unsused imports in the plugins package

Config imports are needed for correct init
quota_db is required to make sure quota database model at the proper timing

Change-Id: I885ed1f673cfc4c6331818ad68e2a505f7d69188

11 years agoMerge "Remove unused imports in unit tests"
Jenkins [Sun, 13 Jan 2013 11:07:39 +0000 (11:07 +0000)]
Merge "Remove unused imports in unit tests"

11 years agoMerge "Fixes quantum.api.v2.base._filters to be more intuitive"
Jenkins [Sun, 13 Jan 2013 10:55:54 +0000 (10:55 +0000)]
Merge "Fixes quantum.api.v2.base._filters to be more intuitive"

11 years agoDHCP agent unable to access port when restarting
Gary Kotton [Sun, 13 Jan 2013 09:58:55 +0000 (09:58 +0000)]
DHCP agent unable to access port when restarting

Fixes bug 1099072

The security groups would return an exception for invalid port ownership.

Change-Id: I8c48adce30b160bd776b5e68bc321e3a2e8cbce2

11 years agoMerge "Use default_notification_level when notification"
Jenkins [Sun, 13 Jan 2013 02:16:42 +0000 (02:16 +0000)]
Merge "Use default_notification_level when notification"

11 years agoRemove unused imports in unit tests
Ivan Kolodyazhny [Wed, 2 Jan 2013 20:40:36 +0000 (22:40 +0200)]
Remove unused imports in unit tests

Change-Id: I10401bc240b2a7aebe6317067dafe8bfe35264f8

11 years agoUse default_notification_level when notification
Akihiro MOTOKI [Tue, 8 Jan 2013 07:57:23 +0000 (16:57 +0900)]
Use default_notification_level when notification

Fix bug 1089773

Notifications in quantum api do not honor default_notification_level
in quantum.conf and always use INFO level. On the other hand
dhcp-agent refers to default_notification_level.
If default_notification_level is set to a value other than INFO,
dhcp-agent cannot receive notification from quantum server.

Change-Id: Ie3ae576d62e91651aa59b2324ec114716181107f

11 years agoLatest OSLO updates
Gary Kotton [Mon, 7 Jan 2013 13:52:21 +0000 (13:52 +0000)]
Latest OSLO updates

Change-Id: Ibf223203c8b34f614357fa4539d0dfa953765d6b

11 years agoMerge "Port to argparse based cfg"
Jenkins [Sat, 12 Jan 2013 00:40:04 +0000 (00:40 +0000)]
Merge "Port to argparse based cfg"

11 years agoNvpPluginException mixes err_msg and err_desc
Aaron Rosen [Thu, 10 Jan 2013 22:40:33 +0000 (14:40 -0800)]
NvpPluginException mixes err_msg and err_desc

In a few places err_msg was passed to NvpPluginException though that
expected err_desc. This patch makes NvpPluginException take err_msg
instead and updates err_desc to err_msg when calling NvpPluginException

Fixes bug 1098351
Change-Id: I10eca5f2b98ce8faa81ad7c7687902b6f08752c1

11 years agoMerge "Fixes i18n messages in nvp plugin"
Jenkins [Fri, 11 Jan 2013 09:51:11 +0000 (09:51 +0000)]
Merge "Fixes i18n messages in nvp plugin"

11 years agoMerge "Fix for loadbalancer vips list"
Jenkins [Fri, 11 Jan 2013 02:54:51 +0000 (02:54 +0000)]
Merge "Fix for loadbalancer vips list"

11 years agoFixes i18n messages in nvp plugin
Aaron Rosen [Fri, 4 Jan 2013 20:53:32 +0000 (12:53 -0800)]
Fixes i18n messages in nvp plugin

Fixes bug 1096205
Change-Id: Icb34b567a8630bb7247b2bb2d6efaf53269bf84b

11 years agoOptimize if/else logic in quantum.api.v2.base.prepare_request_body()
Zhongyue Luo [Wed, 2 Jan 2013 11:46:17 +0000 (19:46 +0800)]
Optimize if/else logic in quantum.api.v2.base.prepare_request_body()

Removed redundant checkups of variables

Fixes bug #1096932

Change-Id: Icdee0e946a77865928b942d3248e39e771af0656

11 years agoFixes quantum.api.v2.base._filters to be more intuitive
Zhongyue Luo [Wed, 19 Dec 2012 03:31:25 +0000 (11:31 +0800)]
Fixes quantum.api.v2.base._filters to be more intuitive

Converts values in one place and sets dictonary according to the return value

Fixes bug #1092977

Change-Id: I05dd9b24a8ab20f8c302c22f5bdda2a80ec90e19

11 years agoMerge "rename port attribute variable to SECURITYGROUPS from SECURITYGROUP"
Jenkins [Thu, 10 Jan 2013 16:25:37 +0000 (16:25 +0000)]
Merge "rename port attribute variable to SECURITYGROUPS from SECURITYGROUP"

11 years agoFix for loadbalancer vips list
Ilya Shakhat [Thu, 10 Jan 2013 15:51:40 +0000 (19:51 +0400)]
Fix for loadbalancer vips list

Fixes bug 1098165

Change-Id: I86106d39afc9d5d8c6d2d0bbdcd829baf2c1b66b

11 years agorename port attribute variable to SECURITYGROUPS from SECURITYGROUP
Aaron Rosen [Wed, 9 Jan 2013 22:24:47 +0000 (14:24 -0800)]
rename port attribute variable to SECURITYGROUPS from SECURITYGROUP

This patch renames the port attribute variable to the plural form since
multiple security groups can be associated with a port. This patch does
not change the security groups api and also does not change the
configuration section name to be SECURITYGROUPS.
Fixes bug 1095885

Change-Id: I1a4df337b48da0ef9c94d74b04c0b86333ce2f0c

11 years agoRemove relative imports from NVP plugin
Aaron Rosen [Fri, 4 Jan 2013 00:52:42 +0000 (16:52 -0800)]
Remove relative imports from NVP plugin

The majority of relative imports in the nvp plugin will be fixed in
blueprint nvp-api-client-loadbalance-request. This patch removes the
rest of them in and moves the vim tabstop line to the top of the
header file to be consistent with the rest of the files in quantum.
Fixes bug 1091596

Change-Id: I6c8299ca73ae5df75c87f302680908f863f81f02

11 years agoPort to argparse based cfg
Gary Kotton [Mon, 7 Jan 2013 13:25:26 +0000 (13:25 +0000)]
Port to argparse based cfg

Implements blueprint argparse-based-cfg

Sync the following changes from oslo-incubator:

479f19c Add deprecated --logdir common opt
27b2ff4 Add deprecated --logfile common opt.
9b81289 Allow nova and others to override some logging defaults
3557d84 Fix ListOpt to trim whitespace
01ab910 Fix set_default() with boolean CLI options
af18eaa Improve cfg's argparse sub-parsers support
f21e1d9 Fix regression with cfg CLI arguments
ceb4aa7 Fix broken --help with CommonConfigOpts
5e9503b Hide the GroupAttr conf and group attributes
b6d24bb updating sphinx documentation
403509e Don't reference argparse._StoreAction
e17deb8 Fix minor coding style issue
0c29e1d Remove ConfigCliParser class
5b9cb41 Add support for positional arguments
dbc72a6 Use stock argparse behaviour for optional args
768a147 Use stock argparse --usage behaviour
ac180b9 Use stock argparse --version behaviour
0787e38 Remove add_option() method
5afead0 Completely remove cfg's disable_interspersed_args()
5f564b2 argparse support for cfg
d7b6397 Add a missing comma in a docstring.
aca1805 cfg: fix required if option has a dash

Note: various utilities/services with command line parameters needed to be
updated due to the changes mentioned above. The downside is that these are
not backward compatible. Unknown arguments are no ignored. Only bound
arguments will be treated.

Thanks to Mark McLoughlin for migration cli code changes.

Change-Id: Ia776e78cc55f4ed33ace5efa8d726b70e3fa4131

11 years agoMerge "Allow nvp_api to load balance requests"
Jenkins [Wed, 9 Jan 2013 16:22:00 +0000 (16:22 +0000)]
Merge "Allow nvp_api to load balance requests"

11 years agoMerge "Fix database configuration of ryu-agent"
Jenkins [Wed, 9 Jan 2013 15:47:12 +0000 (15:47 +0000)]
Merge "Fix database configuration of ryu-agent"

11 years agoMerge "Pass X-Forwarded-For header to Nova"
Jenkins [Wed, 9 Jan 2013 07:02:19 +0000 (07:02 +0000)]
Merge "Pass X-Forwarded-For header to Nova"

11 years agoMerge "add migration support for lb security groups"
Jenkins [Wed, 9 Jan 2013 07:02:13 +0000 (07:02 +0000)]
Merge "add migration support for lb security groups"

11 years agoFix database configuration of ryu-agent
Yoshihiro Kaneko [Tue, 8 Jan 2013 08:49:47 +0000 (17:49 +0900)]
Fix database configuration of ryu-agent

Fixes bug #1097156

The database configuration was moved to the DB module.
This patch makes ryu-agent follow it.

Change-Id: Ib843132eb1a01769725dd89b1e1799c9d10790d3

11 years agoPass X-Forwarded-For header to Nova
Mark McClain [Wed, 9 Jan 2013 00:18:58 +0000 (19:18 -0500)]
Pass X-Forwarded-For header to Nova

fixes bug 1097524

Add X-Forwarded-For header to the proxied Nova metadata request. Nova
needs this value to properly answer /latest/meta-data/local-ipv4
requests.

Change-Id: Icaec38b2ca7e06b50960deb7ab24ff1944a81f45

11 years agoMerge "The change implemented Lbaas CRUD Sqlalchemy operations."
Jenkins [Tue, 8 Jan 2013 22:27:29 +0000 (22:27 +0000)]
Merge "The change implemented Lbaas CRUD Sqlalchemy operations."

11 years agoThe change implemented Lbaas CRUD Sqlalchemy operations.
Leon Cui [Thu, 13 Dec 2012 00:04:24 +0000 (16:04 -0800)]
The change implemented Lbaas CRUD Sqlalchemy operations.

 - This change only contains the database access implementation
 of LBaaS API. There is no real configuration down to device
 side.
 - This change implements a loadbalancer plugin which doesn't
 do much thing but only db access. The object status needs to
 be updated when integrate with the lbaas agent.
 - This change follows the new LBaaS API 1.0 model. Please see
 the spec on wiki.

Implements: blueprint lbaas-plugin-api-crud
Change-Id: I1bccec8c29e3e9486506a5b52ce69af0480b2300

11 years agoIptables security group implementation for LinuxBridge
Nachi Ueno [Wed, 7 Nov 2012 19:00:53 +0000 (11:00 -0800)]
Iptables security group implementation for LinuxBridge

Implements bp quantum-security-groups-iptables-lb
- Added firewall driver
- Added iptables based firewall driver
- Implemented security groups for rpc support mixin classes

Change-Id: I974d2f1cae75ce4a55c2b5d820a0b42ff5661309

11 years agoMerge "Update the migration template's default kwargs"
Jenkins [Tue, 8 Jan 2013 17:54:01 +0000 (17:54 +0000)]
Merge "Update the migration template's default kwargs"

11 years agoUpdate the migration template's default kwargs
Mark McClain [Tue, 8 Jan 2013 16:16:17 +0000 (11:16 -0500)]
Update the migration template's default kwargs

fixes bug 1097327

The default template should accept options as a keyword instead of
specific quota parameter.

Change-Id: I65ceaccea9e764941a1d3f6ba243a2107379e42e

11 years agoadd migration support for lb security groups
Mark McClain [Tue, 8 Jan 2013 05:15:58 +0000 (00:15 -0500)]
add migration support for lb security groups

This is a companion change for the security group models.

Change-Id: If8a75004ddb4e20fb8491529ac7098828edb5c7d

11 years agoFix import for quantum-db-manage
Gary Kotton [Tue, 8 Jan 2013 11:15:17 +0000 (11:15 +0000)]
Fix import for quantum-db-manage

Fixes bug 1097235

Change-Id: I4d44edcfa8efe910f0237fb6248b2f14e734141b

11 years agoMerge "API extension and DB support for service types"
Jenkins [Tue, 8 Jan 2013 07:49:20 +0000 (07:49 +0000)]
Merge "API extension and DB support for service types"

11 years agoMerge "Remove some unused imports"
Jenkins [Tue, 8 Jan 2013 07:49:14 +0000 (07:49 +0000)]
Merge "Remove some unused imports"

11 years agoAllow nvp_api to load balance requests
Aaron Rosen [Wed, 31 Oct 2012 04:35:42 +0000 (21:35 -0700)]
Allow nvp_api to load balance requests

The current version of the nvp_api client does not load balance
requests across multiple controllers. Instead, it just sends all the requests
to one controller and if there is a controller failure it will failover
to use another controller. This blueprint implements the ablility to
utilize all controllers at once.

blueprint nvp-api-client-loadbalance-request

Change-Id: I331be2a23ae360a95786152d5f116359f690d9f3

11 years agoMerge "Add migration support to Quantum"
Jenkins [Tue, 8 Jan 2013 04:10:36 +0000 (04:10 +0000)]
Merge "Add migration support to Quantum"

11 years agoMerge "refactor QuotaV2 import to match to other exts"
Jenkins [Tue, 8 Jan 2013 03:47:00 +0000 (03:47 +0000)]
Merge "refactor QuotaV2 import to match to other exts"

11 years agoAPI extension and DB support for service types
Salvatore Orlando [Fri, 7 Dec 2012 14:33:48 +0000 (06:33 -0800)]
API extension and DB support for service types

Blueprint quantum-service-type

This patch allows for managing service types through the API.
The default service type is specified in the configuration file.
The patch also provides a 'dummy' API extension, which uses the
'dummy' service plugin, as a PoC for usage of service type.
The dummy API extension is used in unit tests only.

Change-Id: I97d400b941fa7925b0efa0fd0d35c07419ff6bfa

11 years agoAdd migration support to Quantum
Mark McClain [Tue, 18 Dec 2012 18:27:39 +0000 (13:27 -0500)]
Add migration support to Quantum

implements blueprint quantum-db-upgrades

This changeset provide database migration capabilities to Quantum by
wrapping the Alembic library.

Change-Id: I8ba3a07f5a65e0fda9c0e85ed9c07c5978c53bc7

11 years agoRemove some unused imports
Mark McLoughlin [Mon, 7 Jan 2013 21:23:41 +0000 (21:23 +0000)]
Remove some unused imports

optparse is unused since 0c0d8f0 and os is unused since f6bc5d0.

Change-Id: I32357293712d30774108041b039410b68a5eb7e0

11 years agoUndo change to require WebOb 1.2.3, instead, require only >=1.0.8
Dan Wendlandt [Mon, 7 Jan 2013 20:17:09 +0000 (12:17 -0800)]
Undo change to require WebOb 1.2.3, instead, require only >=1.0.8

This allows ceilometer to use 1.2.3, without breaking devstack for
quantum in the mean time.

See bug #1092227

Change-Id: I1d1b4c0b6dbb917ddf785bdf7ce90be9beb6540c

11 years agoMerge "Ensure that exception prints UUID and not pointer."
Jenkins [Mon, 7 Jan 2013 17:57:21 +0000 (17:57 +0000)]
Merge "Ensure that exception prints UUID and not pointer."

11 years agoAdd common support for database configuration
Gary Kotton [Sun, 6 Jan 2013 07:22:45 +0000 (07:22 +0000)]
Add common support for database configuration

Fixes bug 1096537

Change-Id: I9b7dbc08ae709af81ca968857f7028c150d2c7e5

11 years agoMerge "Cleans up bulk_body generation in quantum.api.v2.base.prepare_request_body()"
Jenkins [Mon, 7 Jan 2013 13:11:50 +0000 (13:11 +0000)]
Merge "Cleans up bulk_body generation in quantum.api.v2.base.prepare_request_body()"

11 years agoFixup import syntax error in unit test
Kiall Mac Innes [Mon, 7 Jan 2013 11:22:31 +0000 (11:22 +0000)]
Fixup import syntax error in unit test

Change-Id: I12f4d94474a31d25819fe24b70676f81c52bd022

11 years agoEnable the user to enforce validity of the gateway IP
Gary Kotton [Sun, 6 Jan 2013 06:49:57 +0000 (06:49 +0000)]
Enable the user to enforce validity of the gateway IP

Fixes bug 1096532

A new configuration variable is added to enable the user to indicate
if the gateway should be validated on the subnet. For backward
compatibility this is set as False by default.

Change-Id: Ieadd60a945d34703bfee7576aa3b2ff7da3143d4

11 years agoMerge "Fix the replacement placeholder in string"
Jenkins [Mon, 7 Jan 2013 06:55:53 +0000 (06:55 +0000)]
Merge "Fix the replacement placeholder in string"

11 years agoMerge "Add comment to indicate bridge names' length"
Jenkins [Mon, 7 Jan 2013 06:55:45 +0000 (06:55 +0000)]
Merge "Add comment to indicate bridge names' length"

11 years agoAdd comment to indicate bridge names' length
gongysh [Mon, 7 Jan 2013 02:48:46 +0000 (10:48 +0800)]
Add comment to indicate bridge names' length

Bug #1096652

Change-Id: Ic814b59da131fba488b728eb3b67864712cde141

11 years agorefactor QuotaV2 import to match to other exts
Mark McClain [Sun, 6 Jan 2013 00:28:35 +0000 (19:28 -0500)]
refactor QuotaV2 import to match to other exts

fixes bug 1096486

The previous code used a special extension loading mechanism to
selectively load the Quota model is the plugin matched and object path.
This was intended to load models required by plugins, but this loading
actually occurred after the db schema was created, so the model was not
always loaded.  This fix refactors the code to make the QuotaV2 ext
behave similarly to the other extensions ensuring the models are loaded
prior to database schema creation.

Change-Id: Id7d1f7ddee69bfc4419df375366319dedc3dc439

11 years agochange xxx_metadata_agent() into xxx_metadata_proxy()
gongysh [Mon, 7 Jan 2013 02:12:00 +0000 (10:12 +0800)]
change xxx_metadata_agent() into xxx_metadata_proxy()

Bug #1092047

Change-Id: Ic59da98105a7301697ecb5a6477f3c7fc3f8e86a

11 years agoFix the replacement placeholder in string
gongysh [Mon, 7 Jan 2013 01:52:29 +0000 (09:52 +0800)]
Fix the replacement placeholder in string

Bug #1096721

Change-Id: Ief6f410e4532772af3f9775b48ce92ac901f812d

11 years agoEnsure that exception prints UUID and not pointer.
Gary Kotton [Thu, 3 Jan 2013 13:51:42 +0000 (13:51 +0000)]
Ensure that exception prints UUID and not pointer.

Fixes bug 1095648

Change-Id: I3effbc2e93d143ba7a5c3b047c1618f165c1b0b6

11 years agoMerge "Fixes i18n message for nec plugin"
Jenkins [Sat, 5 Jan 2013 03:43:00 +0000 (03:43 +0000)]
Merge "Fixes i18n message for nec plugin"

11 years agoMerge "Fixes i18n message for ryu plugin"
Jenkins [Sat, 5 Jan 2013 02:28:04 +0000 (02:28 +0000)]
Merge "Fixes i18n message for ryu plugin"

11 years agoMerge ".gitignore cleanup"
Jenkins [Sat, 5 Jan 2013 02:17:09 +0000 (02:17 +0000)]
Merge ".gitignore cleanup"

11 years ago.gitignore cleanup
Zhongyue Luo [Fri, 4 Jan 2013 05:17:13 +0000 (13:17 +0800)]
.gitignore cleanup

Removed obsolete files/dirs
Added .coverage and covhtml
Ordered alphabetically

Change-Id: Iac10b075f318c264549ee017688eccd52deae07d

11 years agoMerge "sql_dbpool_enabled not passed to configured_db nvp_plugin"
Jenkins [Fri, 4 Jan 2013 10:05:48 +0000 (10:05 +0000)]
Merge "sql_dbpool_enabled not passed to configured_db nvp_plugin"

11 years agoFixes i18n message for nec plugin
He Jie Xu [Fri, 4 Jan 2013 09:07:12 +0000 (17:07 +0800)]
Fixes i18n message for nec plugin

Fixes bug 1095974

Change-Id: I48394d2f791589552e6f21c56268fed7654e4bbc

11 years agoFixes i18n message for ryu plugin
He Jie Xu [Fri, 4 Jan 2013 09:13:27 +0000 (17:13 +0800)]
Fixes i18n message for ryu plugin

Fixes bug 1095975

Change-Id: I72bbeeb80117f4d5fcf6af9910dc881fd1b1a82e

11 years agoRemove unused imports in debug package
Ivan Kolodyazhny [Wed, 2 Jan 2013 20:28:01 +0000 (22:28 +0200)]
Remove unused imports in debug package

Change-Id: I1fa599e38be86025d69649f8653f4ee28c6f3198

11 years agosql_dbpool_enabled not passed to configured_db nvp_plugin
Aaron Rosen [Thu, 3 Jan 2013 23:18:51 +0000 (15:18 -0800)]
sql_dbpool_enabled not passed to configured_db nvp_plugin

Introduced in 7b5f6fd6. Fixes bug 1095856

Change-Id: I34cca7cb489013b033a7426b37bbf9989f87e7ec

11 years agoMerge "Enable tenants to set non-owned ext network as router gateway"
Jenkins [Fri, 4 Jan 2013 01:07:29 +0000 (01:07 +0000)]
Merge "Enable tenants to set non-owned ext network as router gateway"

11 years agoMerge "Upgrade WebOb to 1.2.3"
Jenkins [Thu, 3 Jan 2013 23:53:13 +0000 (23:53 +0000)]
Merge "Upgrade WebOb to 1.2.3"