]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "remove unsupported middleware"
Jenkins [Fri, 27 Jun 2014 04:55:35 +0000 (04:55 +0000)]
Merge "remove unsupported middleware"

10 years agoMerge "Exit rpc_loop when SIGTERM is recieved in ovs-agent"
Jenkins [Fri, 27 Jun 2014 03:22:47 +0000 (03:22 +0000)]
Merge "Exit rpc_loop when SIGTERM is recieved in ovs-agent"

10 years agoMerge "Add config for performance gate job"
Jenkins [Fri, 27 Jun 2014 03:22:37 +0000 (03:22 +0000)]
Merge "Add config for performance gate job"

10 years agoremove unsupported middleware
Gordon Chung [Thu, 26 Jun 2014 22:21:32 +0000 (18:21 -0400)]
remove unsupported middleware

the audit and notifier middleware from oslo-incubator are not
compatible with oslo.messaging. remove these middleware.

Change-Id: I456c2aa5f24ef977949f589f72d521514d5e97e4

10 years agoMerge "Use patch ports to interconnect integration/physical bridges"
Jenkins [Thu, 26 Jun 2014 21:06:23 +0000 (21:06 +0000)]
Merge "Use patch ports to interconnect integration/physical bridges"

10 years agoAdd config for performance gate job
Sergey Skripnick [Wed, 4 Jun 2014 14:13:36 +0000 (17:13 +0300)]
Add config for performance gate job

This rally scenario is intended to be run in OpenStack CI
by rally-dsvm-neutron-neutron job.

Implements: blueprint neutron-performance-gate-jobs
Closes-Bug: #1334434
Change-Id: If204f3dfc32933792d09fdc929c248fc3f17b0bc

10 years agoUse patch ports to interconnect integration/physical bridges
Cedric Brandily [Wed, 26 Feb 2014 23:00:16 +0000 (00:00 +0100)]
Use patch ports to interconnect integration/physical bridges

Use by default patch ports to interconnect the integration to
physical bridges for the openvswitch agent in order to increase
performance.

For ovs/kernel without ovs patch port support on kernel side, veths
can be used through the new option OVS.use_veth_interconnection.

Patch port support can be tested using:

    neutron-sanity-check --ovs_patch

DocImpact
Closes-Bug: #1285335
Change-Id: I47106e57bf5b23891d7bf43815959e0d10156fba

10 years agoExit rpc_loop when SIGTERM is recieved in ovs-agent
Jakub Libosvar [Wed, 25 Jun 2014 13:06:13 +0000 (15:06 +0200)]
Exit rpc_loop when SIGTERM is recieved in ovs-agent

Previously ovs-agent exited with exit code 1 after SIGTERM was received.
SIGTERM should shutdown agent gracefully and exit code should be 0.

Closes-Bug: #1334264
Change-Id: I23e81cee5ae9e9fdabbe1377420b0902f47be8a7

10 years agoMerge "Introduce bulk calls for get device details"
Jenkins [Thu, 26 Jun 2014 08:00:20 +0000 (08:00 +0000)]
Merge "Introduce bulk calls for get device details"

10 years agoMerge "Remove __init__ method from TunnelCallback mixin"
Jenkins [Thu, 26 Jun 2014 07:54:41 +0000 (07:54 +0000)]
Merge "Remove __init__ method from TunnelCallback mixin"

10 years agoIntroduce bulk calls for get device details
Rossella Sblendido [Wed, 15 Jan 2014 16:10:57 +0000 (17:10 +0100)]
Introduce bulk calls for get device details

Allow to get multiple devices details instead of just one
This change introduces a new method in the rpc api.

blueprint bulk-get-device-details

Change-Id: I8497256d7f4f2fb48b5cb792e35aaedf63f129fc

10 years agoMerge "NSX sync cache: add a flag to skip item deletion"
Jenkins [Wed, 25 Jun 2014 17:26:03 +0000 (17:26 +0000)]
Merge "NSX sync cache: add a flag to skip item deletion"

10 years agoMerge "NSX: return 400 if dscp set for trusted queue"
Jenkins [Wed, 25 Jun 2014 17:25:56 +0000 (17:25 +0000)]
Merge "NSX: return 400 if dscp set for trusted queue"

10 years agoRemove __init__ method from TunnelCallback mixin
Kevin Benton [Thu, 19 Jun 2014 07:19:28 +0000 (00:19 -0700)]
Remove __init__ method from TunnelCallback mixin

Removed an __init__ method from a mixin class that
made mixing with other classes fragile and inflexible.
This replaces it with an explicit setup method.

This allows the ML2 RPCCallbacks class to correctly
inherit the common RpcCallback class.

Closes-Bug: #1332041
Change-Id: I36cb7dcf57147468f252d61f846b2b28dd77c8ff

10 years agoOVS agent: Correct bridge setup ordering
Kevin Benton [Thu, 19 Jun 2014 05:34:00 +0000 (22:34 -0700)]
OVS agent: Correct bridge setup ordering

This patch fixes three issues that combined to break tunnel networks.

The first issue was the the failure mode was being set on the
integration bridge after the canary flow was installed. This
immediately wiped out the canary flow.

The second problem was that the main loop would sync tunnel networks
right before resetting the tunnel bridge when the canary flow was
missing. This meant that it would sync all of the tunnels via RPC and
then wipe them out.

The final issue was that after resetting the tunnel bridge in the
main loop, the tunnel_sync variable was not set to True, so the
tunnels would never be resynchronized.

This patch addresses the three issues in the following ways:
1. Set the failure mode on the bridge before the canary flow is
installed.
2. Run the OVS restart logic before the tunnel synchronization.
3. If the restart logic is triggered, set tunnel_sync to True to
trigger synchronization.

Closes-Bug: #1292105
Change-Id: I6381e3fee49910127c420dd2e3205c64cdb9e185

10 years agoRevert "Revert "ovs-agent: Ensure integration bridge is created""
Kevin Benton [Thu, 19 Jun 2014 06:39:30 +0000 (23:39 -0700)]
Revert "Revert "ovs-agent: Ensure integration bridge is created""

This reverts commit ccaad827b2bdcdcf4b538c5d5367f14cfc22c08f
that reverted e5cdad90f97d3a54a493eca19e7a3ff643426de1, which
was not the real cause of the problem the revert intended to fix.
Once this patch is back, change-id
I6381e3fee49910127c420dd2e3205c64cdb9e185 should fix the actual bug.

Change-Id: I4116bbb61aaf279d6d63a474134d47d97fe806f7

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Wed, 25 Jun 2014 06:09:04 +0000 (06:09 +0000)]
Imported Translations from Transifex

Change-Id: I6d86131382188d4fa3537b235248b81d946be1c3

10 years agoMerge "ofagent: move main module from ryu repository"
Jenkins [Wed, 25 Jun 2014 03:48:22 +0000 (03:48 +0000)]
Merge "ofagent: move main module from ryu repository"

10 years agoMerge "Merge multiple constants defining linux interface maximum length"
Jenkins [Wed, 25 Jun 2014 03:48:13 +0000 (03:48 +0000)]
Merge "Merge multiple constants defining linux interface maximum length"

10 years agoMerge "Moved rpc_compat.py code back into rpc.py"
Jenkins [Wed, 25 Jun 2014 03:48:03 +0000 (03:48 +0000)]
Merge "Moved rpc_compat.py code back into rpc.py"

10 years agoMerge "don't ignore rules that are already enforced"
Jenkins [Wed, 25 Jun 2014 03:01:00 +0000 (03:01 +0000)]
Merge "don't ignore rules that are already enforced"

10 years agoMerge "Don't use root_helper when it's not needed"
Jenkins [Wed, 25 Jun 2014 03:00:51 +0000 (03:00 +0000)]
Merge "Don't use root_helper when it's not needed"

10 years agoMerge "Ensure entries in dnsmasq belong to a subnet using DHCP"
Jenkins [Tue, 24 Jun 2014 22:40:19 +0000 (22:40 +0000)]
Merge "Ensure entries in dnsmasq belong to a subnet using DHCP"

10 years agoMerge "Updated from global requirements"
Jenkins [Tue, 24 Jun 2014 15:09:16 +0000 (15:09 +0000)]
Merge "Updated from global requirements"

10 years agodon't ignore rules that are already enforced
Sean Dague [Tue, 24 Jun 2014 11:03:05 +0000 (07:03 -0400)]
don't ignore rules that are already enforced

H302 / H304 are clean in the neutron source tree, so it seems
like they shouldn't be ignored. This requires no code changes to
enable.

If there is a longer standing reason for these ignores, would be
great to document in tox.ini.

Change-Id: Ib0f483e4f8fbd328815775a2a6f58be448172bd9

10 years agoMerge "Don't convert numeric protocol values to int"
Jenkins [Tue, 24 Jun 2014 10:29:46 +0000 (10:29 +0000)]
Merge "Don't convert numeric protocol values to int"

10 years agoMoved rpc_compat.py code back into rpc.py
Ihar Hrachyshka [Mon, 9 Jun 2014 14:09:26 +0000 (16:09 +0200)]
Moved rpc_compat.py code back into rpc.py

Most of this code will probably stay with us for quite some time, so
let's make things easier and consider them as our way of doing RPC.

blueprint oslo-messaging

Change-Id: Iaf353b23f9c54b82d1e02a6bd5a5960cec827c88

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Tue, 24 Jun 2014 07:22:04 +0000 (07:22 +0000)]
Updated from global requirements

Change-Id: Ie0621bc8226585199a7c36771f23fc125747d3f9

10 years agoMerge "Improve vxlan type driver initialization performance"
Jenkins [Mon, 23 Jun 2014 18:39:02 +0000 (18:39 +0000)]
Merge "Improve vxlan type driver initialization performance"

10 years agoMerge "changes ovs agent_id init to use hostname instead of mac"
Jenkins [Mon, 23 Jun 2014 18:38:53 +0000 (18:38 +0000)]
Merge "changes ovs agent_id init to use hostname instead of mac"

10 years agoMerge "Add test cases for plugins/ml2/plugin.py"
Jenkins [Mon, 23 Jun 2014 18:31:20 +0000 (18:31 +0000)]
Merge "Add test cases for plugins/ml2/plugin.py"

10 years agoMerge multiple constants defining linux interface maximum length
Cedric Brandily [Fri, 20 Jun 2014 14:41:22 +0000 (16:41 +0200)]
Merge multiple constants defining linux interface maximum length

DEVICE_NAME_MAX_LEN constant in neutron.common.constants replaces
and correct multiple constants defining linux interface maximum
length.

Closes-Bug: #1332571
Change-Id: I63f760a21e17dcd57b3685b1e71c913d2722e097

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 23 Jun 2014 12:17:23 +0000 (12:17 +0000)]
Updated from global requirements

Change-Id: I7d528afc3051e423e4a405ba1bdc0cb4cc5a9071

10 years agoofagent: move main module from ryu repository
YAMAMOTO Takashi [Fri, 20 Jun 2014 03:08:18 +0000 (12:08 +0900)]
ofagent: move main module from ryu repository

the recent oslo.messaging transition broke ofagent.
this commit fixes the regression.

historically the main module of ofagent has been maintained
in ryu's repository.  this commit moves it into neutron's
repository and add common_config.init() call which is necesary
for the new rpc code.

Closes-Bug: #1332478
Change-Id: Icf215b20cd84ef44b51439e55b1815d72041ba3f

10 years agoMerge "Pass serializer to oslo.messaging Notifier"
Jenkins [Mon, 23 Jun 2014 09:50:56 +0000 (09:50 +0000)]
Merge "Pass serializer to oslo.messaging Notifier"

10 years agoDon't convert numeric protocol values to int
Ralf Haferkamp [Wed, 18 Jun 2014 15:01:26 +0000 (17:01 +0200)]
Don't convert numeric protocol values to int

They are treated as strings everywhere. Converting them to int causes problems
when using postgresql as the database backend because it doesn't automatically
cast them back to integer.

Change-Id: I9f0a5149d24a4c003409728e50376569c97e7325
Closes-bug: 1330490

10 years agoMerge "Revert "Check NVP router's status before deploying a service""
Jenkins [Mon, 23 Jun 2014 08:30:35 +0000 (08:30 +0000)]
Merge "Revert "Check NVP router's status before deploying a service""

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Mon, 23 Jun 2014 08:25:49 +0000 (08:25 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Remove the useless vim modelines"
Jenkins [Mon, 23 Jun 2014 06:10:21 +0000 (06:10 +0000)]
Merge "Remove the useless vim modelines"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 23 Jun 2014 06:08:38 +0000 (06:08 +0000)]
Imported Translations from Transifex

Change-Id: I94beb2180703a323d6751df9b31602f6f88eb340

10 years agoMerge "ValueError should use '%' instead of ','"
Jenkins [Mon, 23 Jun 2014 05:28:18 +0000 (05:28 +0000)]
Merge "ValueError should use '%' instead of ','"

10 years agoMerge "Fix auto_schedule_networks to resist DBDuplicateEntry"
Jenkins [Mon, 23 Jun 2014 05:05:21 +0000 (05:05 +0000)]
Merge "Fix auto_schedule_networks to resist DBDuplicateEntry"

10 years agoRevert "Check NVP router's status before deploying a service"
berlin [Mon, 23 Jun 2014 02:16:34 +0000 (02:16 +0000)]
Revert "Check NVP router's status before deploying a service"

This reverts commit 25103df197c1f366eac8dd3069fabc01d3bd18e9.
Since it always leads to an gate failure filed on https://bugs.launchpad.net/neutron/+bug/1332502 although can't find the reason until now.

Change-Id: I45cb2b5b82b421c016dcc9603b04edb638ff84cf

10 years agoMerge "Adding static routes data for members"
Jenkins [Sun, 22 Jun 2014 16:02:56 +0000 (16:02 +0000)]
Merge "Adding static routes data for members"

10 years agoMerge "Brocade mechanism driver depends on the brocade plugin templates"
Jenkins [Sun, 22 Jun 2014 14:14:10 +0000 (14:14 +0000)]
Merge "Brocade mechanism driver depends on the brocade plugin templates"

10 years agoMerge "Changing the poll_duration parameter type to int"
Jenkins [Sun, 22 Jun 2014 09:17:26 +0000 (09:17 +0000)]
Merge "Changing the poll_duration parameter type to int"

10 years agoMerge "Removed local modification in incubator code"
Jenkins [Sat, 21 Jun 2014 21:06:22 +0000 (21:06 +0000)]
Merge "Removed local modification in incubator code"

10 years agoMerge "Control active number of REST calls from Cisco N1kv plugin to VSM"
Jenkins [Sat, 21 Jun 2014 20:46:26 +0000 (20:46 +0000)]
Merge "Control active number of REST calls from Cisco N1kv plugin to VSM"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Sat, 21 Jun 2014 20:38:41 +0000 (20:38 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Big Switch: Stop watchdog on interval of 0"
Jenkins [Sat, 21 Jun 2014 07:19:27 +0000 (07:19 +0000)]
Merge "Big Switch: Stop watchdog on interval of 0"

10 years agoRemove the useless vim modelines
liu-sheng [Thu, 19 Jun 2014 06:26:16 +0000 (14:26 +0800)]
Remove the useless vim modelines

Change-Id: I41286e0b8f74c90b7078c3d3fb041b6586d95ab0
Closes-Bug: #1229324

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Sat, 21 Jun 2014 06:09:03 +0000 (06:09 +0000)]
Imported Translations from Transifex

Change-Id: I77134cdd6b3a8177d94a1deac3646d5cd4abb20d

10 years agoMerge "Move _filter_non_model_columns method to CommonDbMixin"
Jenkins [Sat, 21 Jun 2014 00:22:05 +0000 (00:22 +0000)]
Merge "Move _filter_non_model_columns method to CommonDbMixin"

10 years agoMerge "Consistently use jsonutils instead of specific implementation"
Jenkins [Sat, 21 Jun 2014 00:20:07 +0000 (00:20 +0000)]
Merge "Consistently use jsonutils instead of specific implementation"

10 years agoMerge "Change default netpartition behavior in nuage plugin"
Jenkins [Sat, 21 Jun 2014 00:19:57 +0000 (00:19 +0000)]
Merge "Change default netpartition behavior in nuage plugin"

10 years agoMerge "linuxbridge-agent: process port updates in the main loop"
Jenkins [Sat, 21 Jun 2014 00:17:16 +0000 (00:17 +0000)]
Merge "linuxbridge-agent: process port updates in the main loop"

10 years agoMerge "Removed 'rpc' and 'notifier' incubator modules"
Jenkins [Fri, 20 Jun 2014 23:27:39 +0000 (23:27 +0000)]
Merge "Removed 'rpc' and 'notifier' incubator modules"

10 years agoMerge "Removed create_rpc_dispatcher methods"
Jenkins [Fri, 20 Jun 2014 23:25:14 +0000 (23:25 +0000)]
Merge "Removed create_rpc_dispatcher methods"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Fri, 20 Jun 2014 23:12:27 +0000 (23:12 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Pass 'top' to remove_rule so that rule matching succeeds"
Jenkins [Fri, 20 Jun 2014 22:23:00 +0000 (22:23 +0000)]
Merge "Pass 'top' to remove_rule so that rule matching succeeds"

10 years agoChanging the poll_duration parameter type to int
Sayaji [Fri, 20 Jun 2014 20:52:30 +0000 (13:52 -0700)]
Changing the poll_duration parameter type to int

The poll_duration parameter is defined as a Str in config.py
but while using in code, it is converted to int. So just changing
the type in the config file, so no conversion is required when used

Change-Id: I1d10b4641e3ca8e464258857b27c450a43ad2e87
Closes-Bug:#1332283

10 years agoAdd test cases for plugins/ml2/plugin.py
Chuck Carlino [Tue, 10 Jun 2014 06:18:11 +0000 (23:18 -0700)]
Add test cases for plugins/ml2/plugin.py

Test cases which generate MechanismDriverError failures and
validate correct behavior.

Partial-Bug: 1236127
Change-Id: I922e842b54add786723ecb7763d6b4f330794794

10 years agoRemoved local modification in incubator code
Ihar Hrachyshka [Thu, 12 Jun 2014 14:01:19 +0000 (16:01 +0200)]
Removed local modification in incubator code

Now that 'rpc' module is removed from the tree, we're safe to restore
the original code here.

blueprint oslo-messaging

Change-Id: I10ee03a3e2b06cdc25bd071f3cefa06966c6ebf3

10 years agoRemoved 'rpc' and 'notifier' incubator modules
Ihar Hrachyshka [Mon, 9 Jun 2014 13:14:14 +0000 (15:14 +0200)]
Removed 'rpc' and 'notifier' incubator modules

Port to oslo.messaging is done, so remove now unused pieces from the
tree.

Also removed obsolete bin/quantum-rpc-zmq-receiver. It comes from old
days of oslo-rpc, it was reimplemented later as
openstack/common/rpc/zmq_receiver.py in oslo-incubator, and we've
removed the whole tree for old RPC layer anyway.

blueprint oslo-messaging

Change-Id: If7155c59c8ef58d06164938998180f3367b9bb16

10 years agoRemoved create_rpc_dispatcher methods
Ihar Hrachyshka [Mon, 9 Jun 2014 13:10:04 +0000 (15:10 +0200)]
Removed create_rpc_dispatcher methods

Now that we don't have a special dispatcher class and we pass a list of
endpoints to corresponding functions instead, those methods are
unneeded.

blueprint oslo-messaging

Change-Id: If2b187fd8e553594212264f34b51b5b99c4630b2

10 years agoPass serializer to oslo.messaging Notifier
Ihar Hrachyshka [Fri, 20 Jun 2014 11:29:06 +0000 (13:29 +0200)]
Pass serializer to oslo.messaging Notifier

oslo.messaging has a workaround [1] that requires context to be
transformed to pure dict before passing into amqpdriver.

Renamed serializer class to reflect its broader usage.

Updated FakeNotifier to expect serializer and other keyword arguments
supported by oslo.messaging Notifier class.

[1]: oslo/messaging/_drivers/amqpdriver.py#L337

blueprint oslo-messaging

Closes-Bug: #1332412
Change-Id: I7e7658d03639afae7bf6d3ad71445cb5b6459c09

10 years agoMerge "Check port value when creating firewall rule with icmp protocol"
Jenkins [Fri, 20 Jun 2014 11:35:38 +0000 (11:35 +0000)]
Merge "Check port value when creating firewall rule with icmp protocol"

10 years agoMerge "Remove old quantum scripts"
Jenkins [Fri, 20 Jun 2014 10:20:10 +0000 (10:20 +0000)]
Merge "Remove old quantum scripts"

10 years agoFix auto_schedule_networks to resist DBDuplicateEntry
Eugene Nikanorov [Wed, 18 Jun 2014 13:02:42 +0000 (17:02 +0400)]
Fix auto_schedule_networks to resist DBDuplicateEntry

This exception may happen if API and RPC workers are in different
processes.
Also make minor refactoring of auto_schedule_networks method
to avoid unnecessary db queries.
Add missing unit tests and adjust unit test naming style

Change-Id: I6460744e2cffec0b9f009da071597374d8c027f6
Closes-Bug: #1331456

10 years agoMerge "Revert "ovs-agent: Ensure integration bridge is created""
Jenkins [Fri, 20 Jun 2014 09:05:59 +0000 (09:05 +0000)]
Merge "Revert "ovs-agent: Ensure integration bridge is created""

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Fri, 20 Jun 2014 06:09:16 +0000 (06:09 +0000)]
Imported Translations from Transifex

Change-Id: I6b7e125163c2de03344f7c7f017b9171ebb6c2c9

10 years agoMerge "Fix NVP FWaaS occurs error when deleting a shared rule"
Jenkins [Fri, 20 Jun 2014 05:19:57 +0000 (05:19 +0000)]
Merge "Fix NVP FWaaS occurs error when deleting a shared rule"

10 years agoMerge "Allowed address pair: Removing check for overlap with fixed ips"
Jenkins [Fri, 20 Jun 2014 04:15:45 +0000 (04:15 +0000)]
Merge "Allowed address pair: Removing check for overlap with fixed ips"

10 years agoControl active number of REST calls from Cisco N1kv plugin to VSM
Abhishek Raut [Sat, 14 Jun 2014 15:14:24 +0000 (08:14 -0700)]
Control active number of REST calls from Cisco N1kv plugin to VSM

Add a config parameter to Cisco N1kv plugin to determine the total
number of active REST calls that can be made to the VSM.

Change-Id: I66433ef5673d35badcd3adc2defa43e578d4094f
Closes-Bug: #1329099

10 years agoMerge "NSX: propagate network name updates to backend"
Jenkins [Fri, 20 Jun 2014 03:31:15 +0000 (03:31 +0000)]
Merge "NSX: propagate network name updates to backend"

10 years agoRevert "ovs-agent: Ensure integration bridge is created"
Robert Collins [Fri, 20 Jun 2014 02:59:49 +0000 (14:59 +1200)]
Revert "ovs-agent: Ensure integration bridge is created"

This reverts commit e5cdad90f97d3a54a493eca19e7a3ff643426de1.

TripleO's multi-node testing shows that this patch caused a failure to receive
tunnel updates, leading to the first node up to have no agent ports, the second
to have one agent port, the third to have 2 agent ports, etc. Needless to say,
this doesn't work all that well :)

Change-Id: Ie90dd4d113a404948dd5debad48065b7db48faa5
Closes-Bug: #1292105

10 years agoValueError should use '%' instead of ','
Yalei Wang [Tue, 17 Jun 2014 02:56:46 +0000 (10:56 +0800)]
ValueError should use '%' instead of ','

The method _load_service_plugins() in /neutron/neutron/managers.py
 throw a ValueError using ',' to connect log and variables.
ValueError do not support using ',' to connect log and variables,
we should use '%' instead of ','

Change-Id: Ic9b3756ac2bc36ddc689a66c078e205e0674f513
Closes-Bug:#1264210

10 years agoMerge "Renamed argument for create_consumer[s]"
Jenkins [Fri, 20 Jun 2014 01:30:03 +0000 (01:30 +0000)]
Merge "Renamed argument for create_consumer[s]"

10 years agoMerge "Renamed consume_in_thread -> consume_in_threads"
Jenkins [Fri, 20 Jun 2014 01:29:54 +0000 (01:29 +0000)]
Merge "Renamed consume_in_thread -> consume_in_threads"

10 years agoMerge "Renamed start_rpc_listener -> start_rpc_listeners"
Jenkins [Fri, 20 Jun 2014 01:29:44 +0000 (01:29 +0000)]
Merge "Renamed start_rpc_listener -> start_rpc_listeners"

10 years agoMerge "Port to oslo.messaging"
Jenkins [Fri, 20 Jun 2014 01:24:22 +0000 (01:24 +0000)]
Merge "Port to oslo.messaging"

10 years agoNSX: return 400 if dscp set for trusted queue
Salvatore Orlando [Thu, 19 Jun 2014 12:49:18 +0000 (05:49 -0700)]
NSX: return 400 if dscp set for trusted queue

If qos_marking is set to True, the code currently silently
drops the dscp setting and continues.

It is preferrable instead to notify the user of the invalid
setting returning a 400 error.

Change-Id: I7db1867712bd20f2030c56a42baac20e6ae76d0d
Closes-Bug: 1332062

10 years agoNSX sync cache: add a flag to skip item deletion
Salvatore Orlando [Thu, 19 Jun 2014 12:20:49 +0000 (05:20 -0700)]
NSX sync cache: add a flag to skip item deletion

This new flag will prevent updates on single resources, which
can happen asynchronously to the main synchronization thread,
from processing the 'changed' flag for items in the cache and
delete items not present anymore in NSX.

This will avoid failures seen in CI runs where the sync
thread failed because of a KeyError because some items where
concurrently removed from the NSX cache.

Change-Id: I6a11b8dabb1e9481dc807b5fbba17c9027dad5f2
Closes-Bug: #1329650

10 years agoNSX: propagate network name updates to backend
Salvatore Orlando [Thu, 19 Jun 2014 11:01:03 +0000 (04:01 -0700)]
NSX: propagate network name updates to backend

This patch updates the logical switch name on the NSX backend
if a new network name is provided in the update request.

This patches also fixes tag management for update_lswitch in
neutron.plugins.vmware.nsxlib.switch and add relevant unit
tests.

Closes-Bug: 1276128
Change-Id: Ic8921c059012a875006701ac10d2dcae97f30253

10 years agoRenamed argument for create_consumer[s]
Ihar Hrachyshka [Mon, 9 Jun 2014 12:42:25 +0000 (14:42 +0200)]
Renamed argument for create_consumer[s]

Now that we don't have explicit dispatcher class to pass into RPC layer,
and we pass a list of endpoints instead, fix names for corresponding
arguments of the functions.

blueprint oslo-messaging

Change-Id: I84c6428574c155cdfaf535210b236c58604de268

10 years agoRenamed consume_in_thread -> consume_in_threads
Ihar Hrachyshka [Mon, 9 Jun 2014 12:38:09 +0000 (14:38 +0200)]
Renamed consume_in_thread -> consume_in_threads

Now that we explicitly start multiple RPC servers, and each listener is
served in a separate thread, renamed the method to reflect new
behaviour.

blueprint oslo-messaging

Change-Id: I616f3a23e23e982e13f9b56ce417ca3623247f95

10 years agoRenamed start_rpc_listener -> start_rpc_listeners
Ihar Hrachyshka [Mon, 9 Jun 2014 12:32:05 +0000 (14:32 +0200)]
Renamed start_rpc_listener -> start_rpc_listeners

Now that we explicitly start multiple RPC servers, renamed the method to
reflect behaviour.

blueprint oslo-messaging

Change-Id: I7c51cc1b44b4b4c8899255b9bedce1792c38634e

10 years agoPort to oslo.messaging
Ihar Hrachyshka [Mon, 2 Jun 2014 15:40:38 +0000 (17:40 +0200)]
Port to oslo.messaging

Now that all preparations are done, actually port the code to use
oslo.messaging. This patch does as little as possible. Follow up patches
that refactor and cleanup the code and configuration files, will be
merged later. The reason for this is to make the patch as slim as
possible, to make review process more smooth and concentrated.

Details:
* neutron/common/rpc.py:
  - added init() and cleanup() to set global RPC layer state.
  - added utility functions: get_server(), get_client(), get_notifier()
    that wrap up oslo.messaging API a bit, enforcing eventlet executor
    and setting serializer, among other things.
  - removed PluginRpcDispatcher, instead introduced PluginRpcSerializer
    to use as a default serializer for API callbacks.

* neutron/common/rpc_compat.py:
  - emulated incubator RPC layer behaviour thru previously introduced
    stub classes (RpcCallback, RpcProxy, ...) using new oslo.messaging
    API.
  - switched to using new oslo.messaging exception types.

* neutron/service.py:
  - expect multiple RPC listeners that are of MessageHandlingServer
    type, not GreenThread.

* neutron/common/config.py:
  - initialize RPC layer in init()

* setup.cfg:
  - added entry points for old notifier drivers to retain backward
    compatibility.

* neutron/tests/...:
  - introduced fake_notifier to replace impl_fake.
  - faked out consume_in_thread() to avoid starting RPC listeners when
    running unit tests.
  - used 'fake' transport driver.
  - made sure neutron.test.* exceptions are caught.
  - initialize and clean up RPC layer for each test case.

* Ported all affected code from using neutron.openstack.common.notifier
  API to oslo.messaging.Notifier.

* rpc.set_defaults() was renamed to rpc.set_transport_defaults()

* other changes not worth mentioning here.

blueprint oslo-messaging

DocImpact

Change-Id: I5a91c34df6e300f2dc46217b1b16352fcc3039fc

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Thu, 19 Jun 2014 06:09:04 +0000 (06:09 +0000)]
Imported Translations from Transifex

Change-Id: I5a8f588c2f10d974d167f9fb1601ae1d3f231238

10 years agoPass 'top' to remove_rule so that rule matching succeeds
Terry Wilson [Wed, 18 Jun 2014 03:32:56 +0000 (22:32 -0500)]
Pass 'top' to remove_rule so that rule matching succeeds

When deleting a vpn-site-connection, deleting the nat rule would
fail because it was created with top=True, but top defaults to
'false' in remove_rule and was not being passed. This caused the
rule matching to fail and the rule to not be deleted.

Change-Id: I51012a783314c97e85b31fc8a73be4cbb8ee7dc5
Closes-Bug: #1331839

10 years agoMerge "remove pep8 E122 exemption and correct style"
Jenkins [Wed, 18 Jun 2014 23:32:19 +0000 (23:32 +0000)]
Merge "remove pep8 E122 exemption and correct style"

10 years agoMerge "NSX: revert queue extension name change"
Jenkins [Wed, 18 Jun 2014 22:57:37 +0000 (22:57 +0000)]
Merge "NSX: revert queue extension name change"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 18 Jun 2014 22:00:31 +0000 (22:00 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Updated from global requirements"
Jenkins [Wed, 18 Jun 2014 21:58:55 +0000 (21:58 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Ignore emacs checkpoint files"
Jenkins [Wed, 18 Jun 2014 21:53:40 +0000 (21:53 +0000)]
Merge "Ignore emacs checkpoint files"

10 years agoBig Switch: Stop watchdog on interval of 0
Kevin Benton [Wed, 18 Jun 2014 21:08:17 +0000 (14:08 -0700)]
Big Switch: Stop watchdog on interval of 0

Corrects the behavior of the watchdog process
to exit if the user configures the polling interval
to be 0.

Also adds missing documentation to sample config.

Change-Id: I17b566867c21f42985cc4662f56d32db690f471f
Closes-Bug: #1332334

10 years agoMerge "Brocade mechanism driver should be derived from ML2 plugin base class"
Jenkins [Wed, 18 Jun 2014 21:08:31 +0000 (21:08 +0000)]
Merge "Brocade mechanism driver should be derived from ML2 plugin base class"

10 years agoRemove old quantum scripts
Pritesh Kothari [Wed, 18 Jun 2014 02:08:01 +0000 (19:08 -0700)]
Remove old quantum scripts

This patch removes some old scripts left behind from the quantum days.

Change-Id: I73fb702272e6b93df9ec145da380da88c27259c8
Closes-Bug: #1331664

10 years agoMove _filter_non_model_columns method to CommonDbMixin
Eugene Nikanorov [Wed, 18 Jun 2014 14:13:28 +0000 (18:13 +0400)]
Move _filter_non_model_columns method to CommonDbMixin

Such way other non-core plugins may avoid duplicating this small
piece of code.

Change-Id: I00ae0b590fc2ad46d3667d18f29fccb5b40bde82

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 18 Jun 2014 19:35:58 +0000 (19:35 +0000)]
Updated from global requirements

Change-Id: I321a9db3ff1082e226f9cf8d831c287c64d871f9