]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
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 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 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 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 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: 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

10 years agoIgnore emacs checkpoint files
Doug Wiegley [Wed, 18 Jun 2014 18:48:41 +0000 (13:48 -0500)]
Ignore emacs checkpoint files

Change-Id: Ie9870cded34e97c078b0f376948c6b6bc6ac2eb4

10 years agoMerge "Make sure we call BaseTestCase.setUp() first"
Jenkins [Wed, 18 Jun 2014 16:08:41 +0000 (16:08 +0000)]
Merge "Make sure we call BaseTestCase.setUp() first"

10 years agoMerge "Don't explicitly call .stop() on mock.patch objects"
Jenkins [Wed, 18 Jun 2014 16:04:50 +0000 (16:04 +0000)]
Merge "Don't explicitly call .stop() on mock.patch objects"

10 years agoMerge "Don't instantiate RPC clients on import"
Jenkins [Wed, 18 Jun 2014 16:04:41 +0000 (16:04 +0000)]
Merge "Don't instantiate RPC clients on import"

10 years agoMerge "Configure agents using neutron.common.config.init (formerly .parse)"
Jenkins [Wed, 18 Jun 2014 16:04:32 +0000 (16:04 +0000)]
Merge "Configure agents using neutron.common.config.init (formerly .parse)"

10 years agoMerge "Big Switch: Remove unnecessary initialization code"
Jenkins [Wed, 18 Jun 2014 16:04:06 +0000 (16:04 +0000)]
Merge "Big Switch: Remove unnecessary initialization code"

10 years agoMerge "Big Switch ML2: sync detection in port-update"
Jenkins [Wed, 18 Jun 2014 16:03:57 +0000 (16:03 +0000)]
Merge "Big Switch ML2: sync detection in port-update"

10 years agoMerge "Add vlan type driver unittests"
Jenkins [Wed, 18 Jun 2014 15:48:25 +0000 (15:48 +0000)]
Merge "Add vlan type driver unittests"

10 years agoMerge "Fix pool statistics for LBaaS Haproxy driver"
Jenkins [Wed, 18 Jun 2014 13:37:54 +0000 (13:37 +0000)]
Merge "Fix pool statistics for LBaaS Haproxy driver"

10 years agoCheck port value when creating firewall rule with icmp protocol
Elena Ezhova [Wed, 11 Jun 2014 13:25:40 +0000 (17:25 +0400)]
Check port value when creating firewall rule with icmp protocol

If a firewall rule was created with setting protocol as icmp
and using source/destination port no error was thrown, even though
source/destination port parameters are not used by icmp.

This patch adds a validation method that checks passed parameters
and throws an exception if they are incompatible.

Change-Id: I90a765856896395fcb6e9ddbd888b7bd80480674
Closes-Bug: 1327955

10 years agoImprove docstring for OVSNeutronAgent constructor
Eugene Nikanorov [Wed, 18 Jun 2014 07:52:17 +0000 (11:52 +0400)]
Improve docstring for OVSNeutronAgent constructor

Add description of l2_population parameter

Change-Id: Iedc9a46c127472a16629e7d2af78db87256c88b1

10 years agoBig Switch ML2: sync detection in port-update
Kevin Benton [Wed, 18 Jun 2014 07:17:02 +0000 (00:17 -0700)]
Big Switch ML2: sync detection in port-update

Adds logic to the update_port_postcommit method of the
Big Switch ML2 driver to detect when afailure to update
the port via REST was caused by the backend being out-of-sync
with neutron.

This was accomplished by checking for the NXNETWORK message
which indicates that a port request referenced a network that
does not exist on the backend. This only occurs when they are
out-of-sync so the driver will then trigger a full topology sync.

The same logic exists in the port creation method shared with
the Big Switch plugin. However, the Big Switch ML2 driver does
not send port requests to the controller unless the port binding
host ID is set, which doesn't occur until a port update after
binding in the ML2 scenario. Therefore, the logic has to be repeated
in the ML2 driver port update operation.

Closes-Bug: #1331335
Change-Id: Id6488fbdea2c8c22a34e775977d94389c8da74f8

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

Change-Id: I2dcf35f9af679fd64258bfef19e105956c7d5e90

10 years agoMerge "Big Switch: Import DB module in unit test"
Jenkins [Wed, 18 Jun 2014 05:26:36 +0000 (05:26 +0000)]
Merge "Big Switch: Import DB module in unit test"

10 years agoMerge "Notify systemd when starting Neutron server"
Jenkins [Tue, 17 Jun 2014 23:34:59 +0000 (23:34 +0000)]
Merge "Notify systemd when starting Neutron server"

10 years agoAdd vlan type driver unittests
Cedric Brandily [Sat, 14 Jun 2014 08:14:16 +0000 (10:14 +0200)]
Add vlan type driver unittests

Closes-Bug: #1269127

Change-Id: Ie2c1c5d2eea6627063dd77a08591d972060f59ee

10 years agoMake sure we call BaseTestCase.setUp() first
Ihar Hrachyshka [Tue, 3 Jun 2014 19:05:20 +0000 (21:05 +0200)]
Make sure we call BaseTestCase.setUp() first

Some test cases instantiate RPC clients in setUp() before calling to
super(). After we port to oslo.messaging, we'll initialize RPC layer in
BaseTestCase, so we should make sure we call there before proceeding
with clients in subclasses.

blueprint oslo-messaging

Change-Id: I6fdcba0ba690c75d1a472b3ad050c21f5f53a1d0

10 years agoDon't explicitly call .stop() on mock.patch objects
Ihar Hrachyshka [Mon, 9 Jun 2014 12:21:05 +0000 (14:21 +0200)]
Don't explicitly call .stop() on mock.patch objects

BaseTestCase already cleans up all mocks via .stopall(), so there is no
need to do it in each test case.

Change-Id: I7165ea9682a3dce3a76e90e309b763c939729d84

10 years agoDon't instantiate RPC clients on import
Ihar Hrachyshka [Tue, 3 Jun 2014 11:30:58 +0000 (13:30 +0200)]
Don't instantiate RPC clients on import

In oslo.messaging port, we'll need to make sure no RPC clients or
servers or notifiers are created before RPC layer is initialized using
n_rpc.init(). This means that there should be no global objects that
create those objects on __init__.

There should also be no such class attributes because in that case
import will itself instantiate the object, probably before RPC layer is
ready.

blueprint oslo-messaging

Change-Id: Ia8a9fd39777c75e4253f5518c2de6be551cc365b

10 years agoConfigure agents using neutron.common.config.init (formerly .parse)
Ihar Hrachyshka [Tue, 3 Jun 2014 10:39:17 +0000 (12:39 +0200)]
Configure agents using neutron.common.config.init (formerly .parse)

After oslo.messaging port is done, we'll need to initialize RPC layer
from all RPC agents. We'll put initialization into init() function, so
the first step for migration is to make agents use it.

The function is renamed to be explicit about the fact that we don't just
parse configuration by calling it, but also do other common
initializations, like setting RPC layer.

blueprint oslo-messaging

Change-Id: I71c62f270ac7a1ff1426a3f49a32133b65580e35

10 years agoMerge "Add logging for NSX status sync cache"
Jenkins [Tue, 17 Jun 2014 19:50:48 +0000 (19:50 +0000)]
Merge "Add logging for NSX status sync cache"

10 years agoMerge "Added missing core_plugins symbolic names"
Jenkins [Tue, 17 Jun 2014 17:58:31 +0000 (17:58 +0000)]
Merge "Added missing core_plugins symbolic names"

10 years agolinuxbridge-agent: process port updates in the main loop
Darragh O'Reilly [Mon, 16 Dec 2013 14:03:37 +0000 (14:03 +0000)]
linuxbridge-agent: process port updates in the main loop

This patch changes the way the linuxbridge agent processes port update
notifications. It does the same for the lb-agent as was done for the
ovs-agent in I219c6bdf63b0b5e945b655677f9e28fa591f03cd.
Now the RPC call just adds the updated tap device name to a set of
updated devices, and the actual processing is done in the main RPC loop.
This should solve the problems were port_update RPCs were competing
with the main loop/greenthread and with each other to do the same task
- like adding a tap or interface to a bridge - which lead to races and
was inefficient. Now repeated port_update notifications received within
a single main loop iteration will be coalesced and processed only once.

Closes-Bug: 1256950
Change-Id: I7fd48542f12b39ffc1346d1a6c9a387ecda6d812

10 years agoNotify systemd when starting Neutron server
Jakub Libosvar [Tue, 17 Jun 2014 15:20:25 +0000 (17:20 +0200)]
Notify systemd when starting Neutron server

systemd is notified only when Neutron is started with multiple api
workers. This patch adds systemd.notify_once() call when starting
Neutron server with api_workers=0

Change-Id: I95581dc5dffde6168c68d9f04cf8bdfcdb773ba8
Closes-Bug: #1330532

10 years agoMerge "Add missing keyword raise to get_profile_binding function"
Jenkins [Tue, 17 Jun 2014 11:43:16 +0000 (11:43 +0000)]
Merge "Add missing keyword raise to get_profile_binding function"

10 years agoAdded missing core_plugins symbolic names
Ihar Hrachyshka [Tue, 17 Jun 2014 09:44:17 +0000 (11:44 +0200)]
Added missing core_plugins symbolic names

Some plugins miss short symbolic name in setup.cfg, specifically Nuage
and Metaplugin.

Change-Id: I0198ae98654bbdddf8f2ba8dd3b80d0d447d6341
Closes-Bug: 1324487

10 years agoMerge "ovs-agent: Ensure integration bridge is created"
Jenkins [Tue, 17 Jun 2014 05:08:06 +0000 (05:08 +0000)]
Merge "ovs-agent: Ensure integration bridge is created"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Tue, 17 Jun 2014 05:00:51 +0000 (05:00 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Introduced rpc_compat.create_connection()"
Jenkins [Mon, 16 Jun 2014 23:11:30 +0000 (23:11 +0000)]
Merge "Introduced rpc_compat.create_connection()"