]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoAllow admin to delete default security groups
Aaron Rosen [Thu, 2 May 2013 00:12:11 +0000 (17:12 -0700)]
Allow admin to delete default security groups

Previously there was no way to delete a default security groups which
isn't ideal if you want to clean up after deleting a tenant. This patch
allows default security groups to be deleted by the admin.

Fixes bug 1175393

Change-Id: I2214c7dabf0f2ec960ce10ebbbcdc513bc73664c

11 years agoMerge "Update RPC code from OSLO"
Jenkins [Wed, 1 May 2013 20:13:50 +0000 (20:13 +0000)]
Merge "Update RPC code from OSLO"

11 years agoMerge "Fix port_id filter not honored"
Jenkins [Wed, 1 May 2013 19:22:31 +0000 (19:22 +0000)]
Merge "Fix port_id filter not honored"

11 years agoMerge "Fix 'null' response on router-interface-remove operation"
Jenkins [Wed, 1 May 2013 19:19:25 +0000 (19:19 +0000)]
Merge "Fix 'null' response on router-interface-remove operation"

11 years agoFix port_id filter not honored
openstack [Fri, 26 Apr 2013 12:31:06 +0000 (14:31 +0200)]
Fix port_id filter not honored

Add dict. to map API params to DB columns

Change-Id: I5f10eea77533e91afeb690e39301d7282e1b1620
Fixes: bug #1169706
11 years agoUpdate RPC code from OSLO
Gary Kotton [Wed, 1 May 2013 13:47:59 +0000 (13:47 +0000)]
Update RPC code from OSLO

Fixes bug 1172922

Change-Id: Ieb5f58fe3d2c879bc71f4241288e48e35ab54366

11 years agoMerge "Use sql alchemy to fetch a scalar for the max tunnel id"
Jenkins [Wed, 1 May 2013 06:43:53 +0000 (06:43 +0000)]
Merge "Use sql alchemy to fetch a scalar for the max tunnel id"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 1 May 2013 06:42:40 +0000 (06:42 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Docstrings formatted according to pep257"
Jenkins [Wed, 1 May 2013 05:29:29 +0000 (05:29 +0000)]
Merge "Docstrings formatted according to pep257"

11 years agoMerge "Docstrings formatted according to pep257"
Jenkins [Wed, 1 May 2013 05:28:18 +0000 (05:28 +0000)]
Merge "Docstrings formatted according to pep257"

11 years agoUse sql alchemy to fetch a scalar for the max tunnel id
Salvatore Orlando [Wed, 1 May 2013 00:57:55 +0000 (02:57 +0200)]
Use sql alchemy to fetch a scalar for the max tunnel id

Bug 1174998

Change-Id: I77203c81c2c910a1a601416efc4567f1320a2eef

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 1 May 2013 00:09:17 +0000 (00:09 +0000)]
Imported Translations from Transifex

Change-Id: Ifad1de1eb9891cc0639470a19058135c21753db7

11 years agoFix 'null' response on router-interface-remove operation
armando-migliaccio [Tue, 30 Apr 2013 23:19:04 +0000 (16:19 -0700)]
Fix 'null' response on router-interface-remove operation

To avoid a 'null' response body, the delete operation returns a response
that is consistent with its add counterpart, i.e. we return the router
id with details about the interface being affected by the operation, as
well as the tenant id.

A unit test is added to ensure that the right body is returned and minor
adjustments have been made to the plugins affected by the change.

Long-term, a delete operation should really return 204 w/o a body, but
this requires some major rework of the WSGI handling within Quantum.
This is an interim solution that deals with an 'ugly' response body,
whilst keeping backward compatibility.

Fixes bug 1173284

Change-Id: Icaab87ad0c8561c0690c8f0a14db815d8886bc71

11 years agoMerge "Docstrings formatted according to pep257"
Jenkins [Tue, 30 Apr 2013 23:46:47 +0000 (23:46 +0000)]
Merge "Docstrings formatted according to pep257"

11 years agoDocstrings formatted according to pep257
Sergey Skripnick [Tue, 30 Apr 2013 07:47:43 +0000 (10:47 +0300)]
Docstrings formatted according to pep257

Bug #1020184

quantum/plugins/cisco/*

Change-Id: Ibb6a865a17de0ea4f1865972624e4c5da0e96b34

11 years agoDocstrings formatted according to pep257
Sergey Skripnick [Tue, 30 Apr 2013 13:52:33 +0000 (16:52 +0300)]
Docstrings formatted according to pep257

Bug #1020184

quantum/tests/*

Change-Id: I5c31a70e80c7fd448b92b43d34341301533b59ba

11 years agoDocstrings formatted according to pep257
Sergey Skripnick [Tue, 30 Apr 2013 10:35:37 +0000 (13:35 +0300)]
Docstrings formatted according to pep257

Bug #1020184

quantum/plugins/hyperv/*
quantum/plugins/linuxbridge/*
quantum/plugins/nec/*
quantum/plugins/nicira/*
quantum/plugins/plumgrid/*
quantum/plugins/ryu/*
quantum/plugins/services/*

Change-Id: I3525aa57235935d90ec7b70c65ba15012ce575a3

11 years agoMerge "Use Query instances as iterables when possible"
Jenkins [Tue, 30 Apr 2013 13:06:12 +0000 (13:06 +0000)]
Merge "Use Query instances as iterables when possible"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Tue, 30 Apr 2013 06:54:46 +0000 (06:54 +0000)]
Merge "Imported Translations from Transifex"

11 years agoDocstrings formatted according to pep257
Sergey Skripnick [Mon, 29 Apr 2013 13:46:51 +0000 (16:46 +0300)]
Docstrings formatted according to pep257

Bug #1020184

quantum/plugins/bigswitch/*
quantum/plugins/brocade/*

Change-Id: I9bf4381738319551a5993d4b279a5cec3425b7ef

11 years agoMerge "Improve Python 3.x compatibility"
Jenkins [Tue, 30 Apr 2013 06:18:07 +0000 (06:18 +0000)]
Merge "Improve Python 3.x compatibility"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 30 Apr 2013 00:09:19 +0000 (00:09 +0000)]
Imported Translations from Transifex

Change-Id: I7f8f822413f4e11310700882540c6e276016b75f

11 years agoStub out get_networks_count properly for pnet unit tests
Salvatore Orlando [Mon, 29 Apr 2013 18:20:12 +0000 (20:20 +0200)]
Stub out get_networks_count properly for pnet unit tests

Bug 1174457

Change-Id: I30a5c549d5d236124a7798a757601e970067b284

11 years agoMerge "Docstrings formatted according to pep257"
Jenkins [Mon, 29 Apr 2013 11:59:07 +0000 (11:59 +0000)]
Merge "Docstrings formatted according to pep257"

11 years agoMerge "Remove calls to policy.enforce from plugin and db logic"
Jenkins [Mon, 29 Apr 2013 11:57:58 +0000 (11:57 +0000)]
Merge "Remove calls to policy.enforce from plugin and db logic"

11 years agoMerge "Add tests for LinuxBridge and OVS agents"
Jenkins [Mon, 29 Apr 2013 11:10:45 +0000 (11:10 +0000)]
Merge "Add tests for LinuxBridge and OVS agents"

11 years agoRemove calls to policy.enforce from plugin and db logic
Salvatore Orlando [Thu, 14 Mar 2013 17:47:51 +0000 (18:47 +0100)]
Remove calls to policy.enforce from plugin and db logic

Blueprint make-authz-orthogonal

This patch implementes item #2 of the blueprint
Remove calls to policy.enforce when the policy check can be performed
safely at the API level, and modify policy.json to this aim.
This patch does not address enforce calls in the agent scheduler
extension, as that extension is currently not defined as a quantum.v2.api
resource class.
This patch also adds an API-level test case for the provider networks
extension, which was missing in Quantum and was necessary to validate
the API behaviour with the default policy settings.

Change-Id: I1c20a5870279bc5fce4470c90a210eae59675b0c

11 years agoImprove Python 3.x compatibility
Dirk Mueller [Mon, 29 Apr 2013 09:41:46 +0000 (11:41 +0200)]
Improve Python 3.x compatibility

Replace the deprecated except x,y: construct with
except x as y:, as that one works with all Python
versions starting with 2.6.x

Change-Id: I13080cfdad32eaef21aa2707fe5d2818bda68535

11 years agoDocstrings formatted according to pep257
Sergey Skripnick [Fri, 26 Apr 2013 09:03:12 +0000 (12:03 +0300)]
Docstrings formatted according to pep257

Bug #1020184

quantum/common/*
quantum/db/*
quantum/debug/*
quantum/extensions/*

Change-Id: I8fdf72ae1702ef2a2652a1db683d8b31e09e6f84

11 years agoDocstrings formatted according to pep257
Sergey Skripnick [Fri, 26 Apr 2013 08:41:38 +0000 (11:41 +0300)]
Docstrings formatted according to pep257

Bug #1020184

quantum/agent/*
quantum/api/*

Change-Id: I206206b66b4adf5cda73a6bb709a0935d7efa821

11 years agoUse Query instances as iterables when possible
Roman Podolyaka [Thu, 25 Apr 2013 13:15:59 +0000 (16:15 +0300)]
Use Query instances as iterables when possible

A Query.all() call creates a list of a DB query results.
We can actually use a Query instance as an iterable and
thus avoid creation of a list if we just need to iterate
over those values only once.

Fixes bug 1173133

Change-Id: I06d8eaa9eaba4c71aa0c98000735cb9d83ea19a3

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 29 Apr 2013 00:05:28 +0000 (00:05 +0000)]
Imported Translations from Transifex

Change-Id: Ief9e62e02c2105f4f0a3f5308afd77e670785b4c

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 28 Apr 2013 21:38:24 +0000 (21:38 +0000)]
Merge "Imported Translations from Transifex"

11 years agoAdd tests for LinuxBridge and OVS agents
Eugene Nikanorov [Thu, 25 Apr 2013 04:19:58 +0000 (08:19 +0400)]
Add tests for LinuxBridge and OVS agents

Fixes bug 988067

Patch introduces some more unit tests for LinuxBridge
and OVS agents.

Change-Id: I95b8856e75b303520af654b08854c6bd0bc5d7ea

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 28 Apr 2013 00:06:00 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I019cb6c0a7314f4b1af5b3cdfe875ce8f5facb6a

11 years agoFix logic issue in OVSQuantumAgent.port_unbound method
Eugene Nikanorov [Sat, 27 Apr 2013 16:43:13 +0000 (20:43 +0400)]
Fix logic issue in OVSQuantumAgent.port_unbound method

Fixes bug 1173463

Change-Id: If2978fc4c38304667f6910085cb220491d236a11

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 27 Apr 2013 00:08:22 +0000 (00:08 +0000)]
Imported Translations from Transifex

Change-Id: I59376d539d7f294e237602fc1eb63e85f7b25618

11 years agoMerge "Update latest OSLO code"
Jenkins [Fri, 26 Apr 2013 05:47:04 +0000 (05:47 +0000)]
Merge "Update latest OSLO code"

11 years agoMerge "Simplify delete_health_monitor() using cascades"
Jenkins [Fri, 26 Apr 2013 04:35:37 +0000 (04:35 +0000)]
Merge "Simplify delete_health_monitor() using cascades"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 26 Apr 2013 04:13:21 +0000 (04:13 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Create veth peer in namespace."
Jenkins [Fri, 26 Apr 2013 03:27:30 +0000 (03:27 +0000)]
Merge "Create veth peer in namespace."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 26 Apr 2013 00:09:24 +0000 (00:09 +0000)]
Imported Translations from Transifex

Change-Id: I9d2a1a68d17f4b11e338f84d40f7ae3d0b7ffa04

11 years agoSimplify NVP plugin configuration
armando-migliaccio [Tue, 9 Apr 2013 00:40:21 +0000 (17:40 -0700)]
Simplify NVP plugin configuration

Fixes bug #1121605

This patch replacest the nvp_controller_connection configuration option
with a set of options more intutitive to user which also avoid
repetitions in ini files.

In order to simplify the configuration of the plugin, this patch also
removes named clusters. As the plugin supports a single cluster at
the moment, this can be simply specified in the [DEFAULT] configuration
section.

Also, this patch restrucures nvp_cluster.NvpCluster so that per-cluster
configuration options are not store anymore multiple times.

Change-Id: Id5f84220122d7c5f3239e3333cb772247d1ed05e

11 years agoCreate veth peer in namespace.
Maru Newby [Tue, 2 Apr 2013 22:43:37 +0000 (22:43 +0000)]
Create veth peer in namespace.

 * Update veth pair creation to set the namespace of the peer
   device on creation rather than subsequently adding it to the
   namespace.
 * This change supports kernels with limited namespace support
   (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
 * Addresses bug 1171727

Change-Id: I1885acc9934e7627bb9872703df7f5edf2980722

11 years agoMerge "Send 400 error if device specification contains unexpected attributes"
Jenkins [Thu, 25 Apr 2013 03:04:40 +0000 (03:04 +0000)]
Merge "Send 400 error if device specification contains unexpected attributes"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 25 Apr 2013 00:07:58 +0000 (00:07 +0000)]
Imported Translations from Transifex

Change-Id: Ica3123c46290d48cc344e0f99a71be7307aed8e5

11 years agoSend 400 error if device specification contains unexpected attributes
Salvatore Orlando [Wed, 24 Apr 2013 00:11:07 +0000 (02:11 +0200)]
Send 400 error if device specification contains unexpected attributes

Bug #1171926

This patch simply enhances the validator for the 'devices' attribute
by verifying each element in the device list does not contain
unexpected attributes.

Change-Id: Id3fd182a7f711b482ad371752983264ad73b100f

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 24 Apr 2013 01:05:01 +0000 (01:05 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Make the 'admin' role configurable"
Jenkins [Wed, 24 Apr 2013 00:43:49 +0000 (00:43 +0000)]
Merge "Make the 'admin' role configurable"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 24 Apr 2013 00:05:32 +0000 (00:05 +0000)]
Imported Translations from Transifex

Change-Id: I80e45f91d74c197d81a561379c0740a6d9aa4d68

11 years agoMerge "lbaas: check object state before update for pools, members, health monitors"
Jenkins [Tue, 23 Apr 2013 20:04:03 +0000 (20:04 +0000)]
Merge "lbaas: check object state before update for pools, members, health monitors"

11 years agoMerge "Metadata agent: reuse authentication info across eventlet threads"
Jenkins [Tue, 23 Apr 2013 16:43:18 +0000 (16:43 +0000)]
Merge "Metadata agent: reuse authentication info across eventlet threads"

11 years agoMerge "Add string 'quantum'/ version to scope/tag in NVP"
Jenkins [Tue, 23 Apr 2013 16:43:14 +0000 (16:43 +0000)]
Merge "Add string 'quantum'/ version to scope/tag in NVP"

11 years agolbaas: check object state before update for pools, members, health monitors
Oleg Bondarev [Thu, 11 Apr 2013 12:56:08 +0000 (16:56 +0400)]
lbaas: check object state before update for pools, members, health monitors

Fixes bug 1166365

Change-Id: I027bb1465ab08a643a02bddea30db82652be55ed

11 years agoMetadata agent: reuse authentication info across eventlet threads
Oleg Bondarev [Mon, 18 Mar 2013 15:36:27 +0000 (19:36 +0400)]
Metadata agent: reuse authentication info across eventlet threads

Fixes bug 1152429

Change-Id: Ib65f08a46feb14abc97c0c83e57d076abd372a2c

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 23 Apr 2013 00:08:11 +0000 (00:08 +0000)]
Imported Translations from Transifex

Change-Id: I74583df2967e7c60a69072edd75877ccb64df5fd

11 years agoMake the 'admin' role configurable
Salvatore Orlando [Mon, 22 Apr 2013 07:44:14 +0000 (09:44 +0200)]
Make the 'admin' role configurable

Bug 1158434

This patch adds a new policy named 'context_is_admin' which defines
an admin user as a collection of roles or else. The quantum context
has been updated to check for this policy when setting the is_admin
flag.
This patch also adds a method for gathering 'admin' roles from policy
rules as current logic requires the context to be always populate with
the correct roles for admin rules, even when the context is implicitly
generated with get_admin_context or context.elevated.
Backward compatibility is ensuring by preserving the old behavior if
the 'context_is_admin' policy is not found in policy.json

Change-Id: I9acea75cca0c47e083a9149e358328ea3ca12d68

11 years agoSimplify delete_health_monitor() using cascades
Roman Podolyaka [Mon, 15 Apr 2013 15:10:07 +0000 (18:10 +0300)]
Simplify delete_health_monitor() using cascades

Currently delete_health_monitor() emulates behaviour of
cascade deletion: when a HealthMonitor instance is deleted,
all corresponding PoolMonitorAssociations are queried and
deleted one by one. This can be done automatically by means
of SQLAlchemy if we set proper cascade flags on the relationship
between HealthMonitor and PoolMonitorAssociations models.

Fixes bug 1169107.

Change-Id: I674c381192719a56433f67be53a32203c36ebe2b

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 22 Apr 2013 00:08:17 +0000 (00:08 +0000)]
Imported Translations from Transifex

Change-Id: I5ceeb67e2053d40d527859da22cc8853438eb654

11 years agoMerge "Remove locals() from strings substitutions"
Jenkins [Sun, 21 Apr 2013 18:52:06 +0000 (18:52 +0000)]
Merge "Remove locals() from strings substitutions"

11 years agoUpdate latest OSLO code
Gary Kotton [Sat, 20 Apr 2013 12:19:26 +0000 (12:19 +0000)]
Update latest OSLO code

Change-Id: I804d1eae92e89740339546f0d0f490a3e4f21204

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 21 Apr 2013 00:07:08 +0000 (00:07 +0000)]
Imported Translations from Transifex

Change-Id: If69359e85c521da70870fbc19d6326e79001cbef

11 years agoRemove locals() from strings substitutions
Gary Kotton [Tue, 16 Apr 2013 07:20:31 +0000 (07:20 +0000)]
Remove locals() from strings substitutions

Fixes bug 1168988

Change-Id: Ifd1e7a027f16062ff35e777cf2d953f652a806a7

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sat, 20 Apr 2013 02:21:31 +0000 (02:21 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Changed DHCPV6_PORT from 467 to 547, the correct port for DHCPv6."
Jenkins [Sat, 20 Apr 2013 00:53:05 +0000 (00:53 +0000)]
Merge "Changed DHCPV6_PORT from 467 to 547, the correct port for DHCPv6."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 20 Apr 2013 00:05:39 +0000 (00:05 +0000)]
Imported Translations from Transifex

Change-Id: Ia6d5ab319da40342b72e9202c70239d7ba756f8b

11 years agoAdd string 'quantum'/ version to scope/tag in NVP
Aaron Rosen [Thu, 21 Feb 2013 23:31:31 +0000 (15:31 -0800)]
Add string 'quantum'/ version to scope/tag in NVP

This patch adds scope='quantum', tag=QUANTUM_VERSION to each element
created in NVP via quantum. This patch also removes the function
set_tenant_id_tag() as it was only used in one place and wasn't very useful.

Fixes bug 1128674

Change-Id: I9f1f8e9b49154012a82d24e31cc9fb7f2df9c604

11 years agoChanged DHCPV6_PORT from 467 to 547, the correct port for DHCPv6.
John Jason Brzozowski [Wed, 17 Apr 2013 23:38:27 +0000 (16:38 -0700)]
Changed DHCPV6_PORT from 467 to 547, the correct port for DHCPv6.

Fixes bug 1170160.

Change-Id: Ic5a4c0cc0ed016d83bde311a38924aa98bb45e11

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 19 Apr 2013 00:07:57 +0000 (00:07 +0000)]
Imported Translations from Transifex

Change-Id: I45916b14ecb7b0f613332128dcfd64ad727503f8

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 18 Apr 2013 00:09:08 +0000 (00:09 +0000)]
Imported Translations from Transifex

Change-Id: I80b2c702354f39b969109789b1c9ebdef619af25

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 17 Apr 2013 00:08:25 +0000 (00:08 +0000)]
Imported Translations from Transifex

Change-Id: I9a7548f64384ab4f3e29f7313e7481df89ca5901

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 16 Apr 2013 00:08:16 +0000 (00:08 +0000)]
Imported Translations from Transifex

Change-Id: I7aadfd763ee1904ad11fb5c4f82101f5a4e6dc5e

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 14 Apr 2013 00:07:19 +0000 (00:07 +0000)]
Imported Translations from Transifex

Change-Id: I9ce7385c4134a5d81164b989d033e3fce8f158a4

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 13 Apr 2013 00:08:23 +0000 (00:08 +0000)]
Imported Translations from Transifex

Change-Id: Ia14f9917bece2fc7add0d389ef91f6611de7023a

11 years agoMerge "Enable automatic validation of many HACKING rules."
Jenkins [Fri, 12 Apr 2013 15:10:32 +0000 (15:10 +0000)]
Merge "Enable automatic validation of many HACKING rules."

11 years agoMerge "Shorten the path of the nicira nvp plugin."
Jenkins [Fri, 12 Apr 2013 04:08:58 +0000 (04:08 +0000)]
Merge "Shorten the path of the nicira nvp plugin."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 12 Apr 2013 00:07:23 +0000 (00:07 +0000)]
Imported Translations from Transifex

Change-Id: Ib2ba93e3c9754de63f030b9572a108343bae9c74

11 years agoMerge "Ensure unit tests work with all interface types"
Jenkins [Thu, 11 Apr 2013 23:56:22 +0000 (23:56 +0000)]
Merge "Ensure unit tests work with all interface types"

11 years agoEnable automatic validation of many HACKING rules.
Maru Newby [Fri, 5 Apr 2013 23:08:40 +0000 (23:08 +0000)]
Enable automatic validation of many HACKING rules.

 * Add hacking to the tox build - a set of flake8 plugins that
   perform automatic validation of many HACKING.rst rules.
 * This patch configures hacking in the tox build and performs
   the mechanical cleanup required to allow the checks to pass.
 * See https://pypi.python.org/pypi/hacking

Change-Id: Ie9b3eb5627a9b6dd181f79225abae422e6cf3777

11 years agoEnsure unit tests work with all interface types
Gary Kotton [Wed, 10 Apr 2013 19:15:12 +0000 (19:15 +0000)]
Ensure unit tests work with all interface types

Fixes bug 1167520

Change-Id: I42ed3a5718d771924caffba3f58340e7f1d2e2ad

11 years agoShorten the path of the nicira nvp plugin.
Maru Newby [Fri, 5 Apr 2013 16:59:58 +0000 (16:59 +0000)]
Shorten the path of the nicira nvp plugin.

 * s+[/.]nicira_nvp_plugin++
 * Backwards compatibility is maintained by importing the
   nicira package as nicira_nvp_plugin in the plugins package.
 * It may be necessary to remove stale .pyc/.pyo files under the
   nicira path after applying this patch.
 * DocImpact
 * Addresses bug 1166307

Change-Id: I241a2a75106398506b01bcb7a6ddbaafa1b7bd30

11 years agoImplement LB plugin delete_pool_health_monitor().
Roman Podolyaka [Thu, 11 Apr 2013 10:12:14 +0000 (13:12 +0300)]
Implement LB plugin delete_pool_health_monitor().

Fixes bug 1166400.

Change-Id: I58145366bab3798232d616c98ed9532f71834089

11 years agoMerge "Parallelize quantum unit testing:"
Jenkins [Wed, 10 Apr 2013 21:38:13 +0000 (21:38 +0000)]
Merge "Parallelize quantum unit testing:"

11 years agoMake "shared" filter more compatible with diff DBs
zhhuabj [Mon, 1 Apr 2013 05:30:00 +0000 (13:30 +0800)]
Make "shared" filter more compatible with diff DBs

For the type BOOLEAN, in sqlalchemy,
it's mapped to BOOLEAN type if the backend database supports it,
otherwise, it's mapped to one of the Integer types, like SMALLINT,
and restrict the values to 1(True) and 0(False).

query_filter = (... | model.shared))
The above filter will generate a SQL where clause like:
where ... OR xxx.shared

This is not supported in databases which don't support BOOLEAN type.
Change it as below to make it more compatible:
query_filter = (... | model.shared == True))

It will generate a SQL where clause as below:
where ... OR xxx.shared = ?

In Python, True == 1, so this change is compatible
with both databases supporting BOOLEAN and those not supporting it.

Fix bug 1161195

Change-Id: Ic0ce0816d63b576a3469de0ed92cae4b19a3690e

11 years agoMerge "Allow pdb debugging in manually-invoked tests."
Jenkins [Wed, 10 Apr 2013 06:28:53 +0000 (06:28 +0000)]
Merge "Allow pdb debugging in manually-invoked tests."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 10 Apr 2013 00:14:04 +0000 (00:14 +0000)]
Imported Translations from Transifex

Change-Id: Ia4090ae2421dc2df9e97f18cdc6830aebafdba1a

11 years agoImprove the deprecated message about DEFAULT.root_helper
Akihiro MOTOKI [Tue, 9 Apr 2013 10:15:46 +0000 (19:15 +0900)]
Improve the deprecated message about DEFAULT.root_helper

bug #1166706

Change-Id: Ic90fefefc0c3339cbc876e4402b6d6c5aa841c47

11 years agoUpdate to the latest oslo loopingcall.
Michael Still [Tue, 9 Apr 2013 03:42:47 +0000 (13:42 +1000)]
Update to the latest oslo loopingcall.

This renames a class from loopingcall.LoopingCall to
loopingcall.FixedIntervalLoopingCall.

Change-Id: If51d3f4cc2a393f730cd168b16d444725151dbf4

11 years agoAllow pdb debugging in manually-invoked tests.
Maru Newby [Tue, 9 Apr 2013 02:33:03 +0000 (02:33 +0000)]
Allow pdb debugging in manually-invoked tests.

 * The old behavior required setting environment variables to
   disable capture of stdout and stderr to allow debugging via pdb.
   The new behavior requires enabling capture of stdout/stderr
   instead. This is already the case in nova.
 * testr behavior is unmodified.
 * Tip 'o the hat to Robert Collins (lifeless)

Change-Id: Ica021eeab07d5a540ce42436c9cc8000c3fd239a

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 9 Apr 2013 00:14:24 +0000 (00:14 +0000)]
Imported Translations from Transifex

Change-Id: I39ef28abfa51c6f41eace1b116b5d444d0c04207

11 years agoMerge "refactor _get_sync_routers to use get_routers."
Jenkins [Mon, 8 Apr 2013 09:02:03 +0000 (09:02 +0000)]
Merge "refactor _get_sync_routers to use get_routers."

11 years agoMerge "Sync with oslo-incubator copy of setup.py"
Jenkins [Mon, 8 Apr 2013 07:40:58 +0000 (07:40 +0000)]
Merge "Sync with oslo-incubator copy of setup.py"

11 years agorefactor _get_sync_routers to use get_routers.
gongysh [Wed, 20 Mar 2013 01:22:52 +0000 (09:22 +0800)]
refactor _get_sync_routers to use get_routers.

By using get_routers, get_sync_data() can get all attributes
including attributes provided by extensions which extend router ext.

Change-Id: I4be761dadd18eed19f4e54676e77d99bcc4a4745

11 years agoL3NatExtensionTestCase: super.setup should be invoked once
Salvatore Orlando [Sun, 7 Apr 2013 20:05:48 +0000 (22:05 +0200)]
L3NatExtensionTestCase: super.setup should be invoked once

Bug 1165989

Change-Id: If05342701162982035f6f857557df219ce65f240

11 years agoSync with oslo-incubator copy of setup.py
Davanum Srinivas [Mon, 8 Apr 2013 00:44:21 +0000 (20:44 -0400)]
Sync with oslo-incubator copy of setup.py

Keep up with the changes to the master copy

Change-Id: I5c8f9053b95a1eb0e903365ba12247458d3fb8de

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 8 Apr 2013 00:03:39 +0000 (00:03 +0000)]
Imported Translations from Transifex

Change-Id: Ie45e8014df4e416f96657cc7bd89930bd953228a

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 7 Apr 2013 00:03:52 +0000 (00:03 +0000)]
Imported Translations from Transifex

Change-Id: I46c5a94d3e495fe2c64642a1d4e5d4af34203aec

11 years agoMerge "Reformat openstack-common.conf"
Jenkins [Sat, 6 Apr 2013 20:43:00 +0000 (20:43 +0000)]
Merge "Reformat openstack-common.conf"

11 years agoReformat openstack-common.conf
Zhongyue Luo [Sat, 6 Apr 2013 03:06:41 +0000 (11:06 +0800)]
Reformat openstack-common.conf

Use the new 'module' option in openstack-common.conf which is a
multi-string option, allowing each module name to be placed on a
separate line.

This makes it much easier to review changes to the modules list.

Change-Id: I64dff89639f9d136ded3d25aab9f8f85a2d7112b

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 6 Apr 2013 00:06:00 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I264a93786f74aaed378c89ee19dab8a5a289d731