]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoEnable NEC OpenFlow plugin to use per-tenant quota
Akihiro MOTOKI [Fri, 18 Jan 2013 17:53:25 +0000 (02:53 +0900)]
Enable NEC OpenFlow plugin to use per-tenant quota

Fixes bug 1099889

Change-Id: I0b778371d0775e594c3217ceb329a7f4e58609f6

11 years agoMerge "Fix i18n messages in quantum.api.api_common"
Jenkins [Tue, 22 Jan 2013 03:48:56 +0000 (03:48 +0000)]
Merge "Fix i18n messages in quantum.api.api_common"

11 years agoMerge "Completes unittest coverage of quantum.api.api_common"
Jenkins [Mon, 21 Jan 2013 23:06:53 +0000 (23:06 +0000)]
Merge "Completes unittest coverage of quantum.api.api_common"

11 years agoMerge "Enforces generic sqlalchemy types in migrations."
Jenkins [Mon, 21 Jan 2013 18:57:59 +0000 (18:57 +0000)]
Merge "Enforces generic sqlalchemy types in migrations."

11 years agoEnforces generic sqlalchemy types in migrations.
Matt Dietz [Mon, 21 Jan 2013 17:40:50 +0000 (17:40 +0000)]
Enforces generic sqlalchemy types in migrations.

Fixes bug 1102491

Modifies the service_type migration to use sqlalchemy types instead of
mysql types. Also removes the import of mysql from several of the
migrations.

Change-Id: I0495a711cd14f64ced4d32857e30586a42b83839

11 years agoRemove redudant code
Avishay Balderman [Mon, 21 Jan 2013 15:14:31 +0000 (07:14 -0800)]
Remove redudant code

Fixes bug 1102402

Change-Id: Ib4a226cdc18506c1aa08707cc06fa76d4090287f

11 years agoFix i18n messages in quantum.api.api_common
Zhongyue Luo [Mon, 21 Jan 2013 01:56:13 +0000 (09:56 +0800)]
Fix i18n messages in quantum.api.api_common

Change-Id: I30dc9ad76dbfb6cc038c283d81e449cf64d7ffec

11 years agoCompletes unittest coverage of quantum.api.api_common
Zhongyue Luo [Mon, 21 Jan 2013 08:31:08 +0000 (16:31 +0800)]
Completes unittest coverage of quantum.api.api_common

Fixes bug #1102245

Change-Id: I01c8a563440f56db19d33a743549d2d50f5b48ee

11 years agoAdd help strings to config file options in Quantum code.
Kyle Mestery [Thu, 17 Jan 2013 11:46:59 +0000 (11:46 +0000)]
Add help strings to config file options in Quantum code.

Fixes bug 1094989

Change-Id: Ic8f875b41871c79be6a26b829a5af6d3e95b6052

11 years agoMerge "Add a common test case for Port Binding Extension"
Jenkins [Fri, 18 Jan 2013 13:04:12 +0000 (13:04 +0000)]
Merge "Add a common test case for Port Binding Extension"

11 years agoDocument that code is on github now in README.
Robert Collins [Fri, 18 Jan 2013 03:27:46 +0000 (16:27 +1300)]
Document that code is on github now in README.

Change-Id: I1c50fabdee9fc3f6cffc24025e75d48ed1f65dc2

11 years agoMerge "Config lockutils to use a temp path for tests."
Jenkins [Thu, 17 Jan 2013 19:45:41 +0000 (19:45 +0000)]
Merge "Config lockutils to use a temp path for tests."

11 years agoMerge "Update Oslo rpc module"
Jenkins [Thu, 17 Jan 2013 18:57:56 +0000 (18:57 +0000)]
Merge "Update Oslo rpc module"

11 years agoMerge "More unittests for quantum.api.v2.base"
Jenkins [Thu, 17 Jan 2013 18:50:04 +0000 (18:50 +0000)]
Merge "More unittests for quantum.api.v2.base"

11 years agoMerge "Provide atomic database access nvp plugin"
Jenkins [Thu, 17 Jan 2013 18:48:46 +0000 (18:48 +0000)]
Merge "Provide atomic database access nvp plugin"

11 years agoMerge "Fix downgrade revision to make db migration linear"
Jenkins [Thu, 17 Jan 2013 18:47:47 +0000 (18:47 +0000)]
Merge "Fix downgrade revision to make db migration linear"

11 years agoConfig lockutils to use a temp path for tests.
Maru Newby [Thu, 17 Jan 2013 18:42:37 +0000 (18:42 +0000)]
Config lockutils to use a temp path for tests.

 * Tests for iptables_manager were leaving lockfiles in the source
   tree due to the default lock path being in the openstack common
   tree.  This patch sets the lock_path option to an empty string
   for unit tests to ensure that a temporary location is used
   instead.

Change-Id: I5d36dca8cfeba991dfe0803e536d3d74dd2ffe7f

11 years agoFix downgrade revision to make db migration linear
Akihiro MOTOKI [Thu, 17 Jan 2013 13:19:45 +0000 (22:19 +0900)]
Fix downgrade revision to make db migration linear

Fixes bug 1100767

The recent commit 7999282 creates db migration branches.
The migration timeline should be linear and this commit fixes it.

Change-Id: I94e1088352112e8c6ec989a54df83e61797b38c5

11 years agoSend notification on router interface create/delete
Julien Danjou [Fri, 4 Jan 2013 15:29:20 +0000 (16:29 +0100)]
Send notification on router interface create/delete

This fixes bug #1060985 for Quantum

Change-Id: I39d2d15340913dd0fad753c3e95fb74d329481a9
Signed-off-by: Julien Danjou <julien@danjou.info>
11 years agoMerge "_validate_security_groups_on_port was not validating external_ids"
Jenkins [Thu, 17 Jan 2013 09:40:21 +0000 (09:40 +0000)]
Merge "_validate_security_groups_on_port was not validating external_ids"

11 years agoMerge "Refactor hyperv plugin and agent."
Jenkins [Thu, 17 Jan 2013 07:44:30 +0000 (07:44 +0000)]
Merge "Refactor hyperv plugin and agent."

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 agoRefactor hyperv plugin and agent.
gongysh [Wed, 16 Jan 2013 03:26:32 +0000 (11:26 +0800)]
Refactor hyperv plugin and agent.

Remove unused imports.
Add an empty tunnel_sync method so that we can run ovs-quantum-agent
with the hyper-v plugin when we are using vlan networks.

Change-Id: I94b1d0cf188d0a1e03e0948708975594f2615fbf

11 years agoUpdate Oslo rpc module
Zhongyue Luo [Thu, 17 Jan 2013 05:00:46 +0000 (13:00 +0800)]
Update Oslo rpc module

Updates rpc/impl_qpid and rpc/impl_zmq

Change-Id: Ie1b2a9d9dc3228528c501ef92d3db2133c3fe127

11 years agoProvide atomic database access nvp plugin
Aaron Rosen [Thu, 10 Jan 2013 21:36:35 +0000 (13:36 -0800)]
Provide atomic database access nvp plugin

* This patch ensures that if multiple queries are done against the
  database they are atomic.
* Removes outdated doc string comments.
* Changes update_network so that it doesn't update the network name in nvp
  since the name is retreved from the database.
* Fixes get_network to return the correct status from nvp. Previously,
  it was always returning ACTIVE.
Fixes bug 1097990

Change-Id: Ie3eb67c98dcb36b18cbef2e0905b59eba48ca81d

11 years ago_validate_security_groups_on_port was not validating external_ids
Aaron Rosen [Wed, 9 Jan 2013 23:08:02 +0000 (15:08 -0800)]
_validate_security_groups_on_port was not validating external_ids

The function _validate_security_groups_on_port was not validating a ports
security group id if the id was an external id. The unit tests now use
set_override() rather than setting cfg values directly. Lastly, quantum.conf
now has the proxy_mode option exposed.
Fixes bug 1095864

Change-Id: I0ec7f9ed36f1a46156c47a115be936bb41ef75d9

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 agoAdd a common test case for Port Binding Extension
Akihiro MOTOKI [Wed, 16 Jan 2013 02:13:15 +0000 (11:13 +0900)]
Add a common test case for Port Binding Extension

This commit merges the test cases for Port Binding Extension in
Linux Bridge plugin and Open vSwitch plugin into a common one.
It makes it easier for each plugin to support the port binding extension.

This commit also adds binding:capabilities attribute to OVS plugin.
Note that binding:capabilities is under discussion and it may be changed
in the future. This change is done just to make OVS plugin support
same as Linux Bridge plugin and pass the common unit test for the extension.

blueprint vif-plugging-improvements

Change-Id: Idc38ea65fe2059e23814d94cd0a0f11a09d1f43e

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