]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoFix non-existent 'assert' calls to mocks
Kevin Benton [Mon, 19 May 2014 06:58:58 +0000 (06:58 +0000)]
Fix non-existent 'assert' calls to mocks

Fixes calls to non-existent 'assert' methods
called on mock objects.

Closes-Bug: #1320774
Change-Id: I7eab28fc9b23cbb39d5507ff3e8004a493c90bed

10 years agoRemove unused parameter
shihanzhang [Sat, 17 May 2014 09:07:33 +0000 (17:07 +0800)]
Remove unused parameter

Remove parameter agent_ip of _add_fdb_flow() and _del_fdb_flow()
Change-Id: I2df05026944bcfc446ce5a951df6696a95c2c663

10 years agoMerge "OVS lib defer apply doesn't handle concurrency"
Jenkins [Sat, 17 May 2014 16:14:30 +0000 (16:14 +0000)]
Merge "OVS lib defer apply doesn't handle concurrency"

10 years agoMerge "Corrected the syntax of port_update call to NVSD agent"
Jenkins [Sat, 17 May 2014 09:29:46 +0000 (09:29 +0000)]
Merge "Corrected the syntax of port_update call to NVSD agent"

10 years agoMerge "Performance improvement of router routes operations"
Jenkins [Sat, 17 May 2014 09:13:58 +0000 (09:13 +0000)]
Merge "Performance improvement of router routes operations"

10 years agoMerge "Improve ODL ML2 Exception Handling"
Jenkins [Wed, 14 May 2014 21:17:44 +0000 (21:17 +0000)]
Merge "Improve ODL ML2 Exception Handling"

10 years agoMerge "Perform policy checks only once on list responses"
Jenkins [Wed, 14 May 2014 20:52:47 +0000 (20:52 +0000)]
Merge "Perform policy checks only once on list responses"

10 years agoMerge "Upgrade failure for DB2 at ml2_binding_vif_details"
Jenkins [Wed, 14 May 2014 16:07:02 +0000 (16:07 +0000)]
Merge "Upgrade failure for DB2 at ml2_binding_vif_details"

10 years agoCorrected the syntax of port_update call to NVSD agent
kedar kulkarni [Tue, 13 May 2014 06:31:52 +0000 (12:01 +0530)]
Corrected the syntax of port_update call to NVSD agent

The parameters passed to the agent rpc port_update call in
NVSD plugin were wrong. It is corrected now.

Change-Id: I9ec8f74695b6ca813ffad9e33502d9a2e0bd1f92
Closes-Bug: 1318909

10 years agoMerge "NSX: pass the right argument during metadata setup"
Jenkins [Wed, 14 May 2014 00:45:32 +0000 (00:45 +0000)]
Merge "NSX: pass the right argument during metadata setup"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 12 May 2014 06:54:01 +0000 (06:54 +0000)]
Imported Translations from Transifex

Change-Id: Id03cc0a2d92654f617cd99465f81c5523a016c96

10 years agoMerge "Allow DHCPv6 solicit from VM"
Jenkins [Mon, 12 May 2014 06:05:25 +0000 (06:05 +0000)]
Merge "Allow DHCPv6 solicit from VM"

10 years agoOVS lib defer apply doesn't handle concurrency
Édouard Thuleau [Mon, 3 Mar 2014 17:08:33 +0000 (18:08 +0100)]
OVS lib defer apply doesn't handle concurrency

The OVS lib deferred apply methods use a dict to save flows to add,
modify or delete when deffered apply is switched off.
If another thread adds, modifies or deletes flows on that dict during
another process called deffered_apply_off, its flows could be ignored.

This fix stash reference flows list and point the flows list to a new
cleared flows list. Then, it applies flows from the stashed flows list.

Closes-bug: #1263866
Change-Id: Ia3c6ce181e1599d1474da7eb944feff7d84f1d73

10 years agoMerge "ML2 VxlanTypeDriver: Synchronize of VxlanAllocation table"
Jenkins [Sat, 10 May 2014 09:42:00 +0000 (09:42 +0000)]
Merge "ML2 VxlanTypeDriver: Synchronize of VxlanAllocation table"

10 years agoMerge "Make plugin deallocation check optional"
Jenkins [Sat, 10 May 2014 07:15:52 +0000 (07:15 +0000)]
Merge "Make plugin deallocation check optional"

10 years agoMerge "eswitch_neutron_agent: Whitespace fixes in comments"
Jenkins [Sat, 10 May 2014 02:57:16 +0000 (02:57 +0000)]
Merge "eswitch_neutron_agent: Whitespace fixes in comments"

10 years agoMerge "Updated from global requirements"
Jenkins [Fri, 9 May 2014 22:46:23 +0000 (22:46 +0000)]
Merge "Updated from global requirements"

10 years agoMake plugin deallocation check optional
Maru Newby [Fri, 9 May 2014 22:24:45 +0000 (22:24 +0000)]
Make plugin deallocation check optional

The fix for memory leakage in the related bug added a check for plugin
deallocation that performed a call to gc.collect() after every test.
This had the side-effect of increasing test execution time by ~50%, so
this patch makes the check optional via an environment variable
(OS_CHECK_PLUGIN_DEALLOCATION).

It may make sense to create a periodic job that runs with the check
enabled, but otherwise the check can be used by developers for
debugging purposes.

Change-Id: I9ebe663abbc4e4ff3a62d807d5a3230c2ecccd07
Related-Bug: #1234857

10 years agoMerge "Add support to dynamically upload drivers in PLUMgrid plugin"
Jenkins [Fri, 9 May 2014 21:22:55 +0000 (21:22 +0000)]
Merge "Add support to dynamically upload drivers in PLUMgrid plugin"

10 years agoMerge "Ensure core plugin deallocation after every test"
Jenkins [Fri, 9 May 2014 21:22:47 +0000 (21:22 +0000)]
Merge "Ensure core plugin deallocation after every test"

10 years agoMerge "Big Switch: Check source_address attribute exists"
Jenkins [Fri, 9 May 2014 19:02:05 +0000 (19:02 +0000)]
Merge "Big Switch: Check source_address attribute exists"

10 years agoEnsure core plugin deallocation after every test
Maru Newby [Wed, 7 May 2014 22:41:40 +0000 (22:41 +0000)]
Ensure core plugin deallocation after every test

The unit tests were previously consuming an excessive amount of memory
(4GB+) due to plugin instances persisting in memory.  Deallocation was
not possible where a combination of circular references and mocking
was involved.  This patch ensures that only NeutronManager holds a
plugin reference and that all other references are instances of
weakref.proxy.  Residual memory footprint for tox executed on a
12-core machine has been reduced to ~1.3GB.  Plugin deallocation is
validated at the end of each test to prevent regressions.

This change also includes fixes to unit tests that depended on plugin
instances persisting across tests.

Partial-Bug: #1234857
Change-Id: Ia1f868c2d206eb72ef77d290d054f3c48ab58c94

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Fri, 9 May 2014 02:24:03 +0000 (02:24 +0000)]
Updated from global requirements

Change-Id: I724ef5f13fd7444ea053bd29fbefda2f73897353

10 years agoMerge "Revert "Big Switch: Check source_address attribute exists""
Jenkins [Fri, 9 May 2014 02:22:49 +0000 (02:22 +0000)]
Merge "Revert "Big Switch: Check source_address attribute exists""

10 years agoMerge "NSX: ensure that no LSN is created on external networks"
Jenkins [Fri, 9 May 2014 02:22:41 +0000 (02:22 +0000)]
Merge "NSX: ensure that no LSN is created on external networks"

10 years agoMerge "Revert "Disable debug messages when running unit tests""
Jenkins [Fri, 9 May 2014 00:01:23 +0000 (00:01 +0000)]
Merge "Revert "Disable debug messages when running unit tests""

10 years agoMerge "Make VPNaaS 'InUse' exception more clear"
Jenkins [Fri, 9 May 2014 00:01:15 +0000 (00:01 +0000)]
Merge "Make VPNaaS 'InUse' exception more clear"

10 years agoBig Switch: Check source_address attribute exists
Kevin Benton [Thu, 8 May 2014 23:33:06 +0000 (16:33 -0700)]
Big Switch: Check source_address attribute exists

Check that the source_address attribute exists on
HTTPSConnection objects before referencing it since
it's not present on python 2.6 deployments. If it
does not exist, create a socket connection without
specifying the source.

Closes-Bug: #1316382
Change-Id: Ica10d23cc6de81ae56f711937f208c7321c77f36

10 years agoRevert "Big Switch: Check source_address attribute exists"
Kevin Benton [Thu, 8 May 2014 22:47:31 +0000 (15:47 -0700)]
Revert "Big Switch: Check source_address attribute exists"

This reverts commit 0dde14c0cd6ffea8ebff715342852ef17a9c0b70.

This fix only addressed part of the problem. The socket call
in python 2.6 does not accept an extra source address arg
either.

Change-Id: I4df4f66e9db0da1a8923ee37e918718f3bcf26ee
Partial-Bug: #1316382

10 years agoMerge "Drop service* tables only if they exist"
Jenkins [Thu, 8 May 2014 18:13:58 +0000 (18:13 +0000)]
Merge "Drop service* tables only if they exist"

10 years agoMerge "Remove duplicate module-rgx line in .pylintrc"
Jenkins [Thu, 8 May 2014 17:39:27 +0000 (17:39 +0000)]
Merge "Remove duplicate module-rgx line in .pylintrc"

10 years agoMerge "Reference new get_engine() method from wsgi.py"
Jenkins [Thu, 8 May 2014 17:29:23 +0000 (17:29 +0000)]
Merge "Reference new get_engine() method from wsgi.py"

10 years agoMerge "lbaas on a network without gateway"
Jenkins [Thu, 8 May 2014 16:58:31 +0000 (16:58 +0000)]
Merge "lbaas on a network without gateway"

10 years agoMerge "Fix H302 violations"
Jenkins [Thu, 8 May 2014 16:54:08 +0000 (16:54 +0000)]
Merge "Fix H302 violations"

10 years agoMerge "Remove explicit dependency on amqplib"
Jenkins [Thu, 8 May 2014 14:03:48 +0000 (14:03 +0000)]
Merge "Remove explicit dependency on amqplib"

10 years agoMerge "Start ping listener also for postgresql"
Jenkins [Thu, 8 May 2014 13:37:27 +0000 (13:37 +0000)]
Merge "Start ping listener also for postgresql"

10 years agoML2 VxlanTypeDriver: Synchronize of VxlanAllocation table
Eugene Nikanorov [Thu, 8 May 2014 11:19:02 +0000 (15:19 +0400)]
ML2 VxlanTypeDriver: Synchronize of VxlanAllocation table

At neutron startup VxlanTypeDriver syncs tunnel range from conf
to DB. In case multiple servers deployment restarting several
servers at the same time could lead to DB exceptions being thrown.
Need to synchronize between neutron servers by locking VxlanAllocation
table.

Change-Id: Idf9908f039070b9194612484603f592f1a8d74b8
Closes-Bug: #1307295

10 years agoStart ping listener also for postgresql
Salvatore Orlando [Thu, 8 May 2014 08:37:17 +0000 (01:37 -0700)]
Start ping listener also for postgresql

Make use of the automatic connection disposal for
PostgreSQL as well.

oslo-incubator commit: 4a591eaafe035fa3fd508c910f057bfa8ff51005

Change-Id: I6e6adb612968639dbc8deae31e5409aac44e340e
Closes-Bug: 1288438

10 years agoMerge "Database exception causes UnboundLocalError in linuxbridge-agent"
Jenkins [Thu, 8 May 2014 07:43:43 +0000 (07:43 +0000)]
Merge "Database exception causes UnboundLocalError in linuxbridge-agent"

10 years agoMerge "L3 RPC loop could delete a router on concurrent update"
Jenkins [Wed, 7 May 2014 15:32:39 +0000 (15:32 +0000)]
Merge "L3 RPC loop could delete a router on concurrent update"

10 years agoNSX: ensure that no LSN is created on external networks
armando-migliaccio [Tue, 6 May 2014 21:00:26 +0000 (14:00 -0700)]
NSX: ensure that no LSN is created on external networks

Logical Service Nodes (LSN) are those that provide dhcp
and metadata services to networks when the NSX plugin is
used without the openstack dhcp and metadata proxy
agents. External networks do not work with Neutron's
dhcp and metadata services, therefore there is no need
to provision a LSN in this case.

Added UT to avoid regression.

Closes-bug: #1316795

Change-Id: I3dab0c9cbecdd9296466c991d02d590d6bd5bd49

10 years agoMake VPNaaS 'InUse' exception more clear
Eugene Nikanorov [Tue, 6 May 2014 11:35:04 +0000 (15:35 +0400)]
Make VPNaaS 'InUse' exception more clear

In case IpSecPolicy or IKEPolicy is updated while VPN connection that uses it
is already established, IPsecPolicyInUse or IKEPolicuInUse is raised.
Need to clarify their messages to emphasize that policies can't be updated
because they are used by established connection.

Change-Id: I259f9b8bcff7f8ec13ac630285f6e881c6653309
Closes-Bug: #1315809

10 years agoRemove explicit dependency on amqplib
Dirk Mueller [Mon, 5 May 2014 15:45:43 +0000 (17:45 +0200)]
Remove explicit dependency on amqplib

kombu already depends on amqp or amqplib depending on its
version, and no explicit access to amqplib exists in neutron code.

Closes-Bug: #1317094
Change-Id: I5cf189d7173b732cba6df3f9b6aff1d2bb85cdfe

10 years agoRevert "Disable debug messages when running unit tests"
Ihar Hrachyshka [Wed, 7 May 2014 12:51:14 +0000 (14:51 +0200)]
Revert "Disable debug messages when running unit tests"

This reverts commit 56edda0d1840da1ccfcd7c35df397251ddb779db.

Another patch (commit-id: df96a03e6c74f1fceb4525900bca885307907b79) to
fix the same issue with less intrusive consequences was already merged
into master. There's still benefit to have debug logs if this does not
make gate jobs fail, so revert to previous setting value.

Related-Bug: 1316610
Change-Id: I9b57369027e1e43bed1bde4d971dee9fb7a26a47

10 years agoMerge "Allow test_l3_agent unit test to run individually"
Jenkins [Wed, 7 May 2014 05:48:55 +0000 (05:48 +0000)]
Merge "Allow test_l3_agent unit test to run individually"

10 years agoMerge "Disable debug messages when running unit tests"
Jenkins [Wed, 7 May 2014 05:36:13 +0000 (05:36 +0000)]
Merge "Disable debug messages when running unit tests"

10 years agoMerge "Big Switch: Check source_address attribute exists"
Jenkins [Wed, 7 May 2014 05:36:05 +0000 (05:36 +0000)]
Merge "Big Switch: Check source_address attribute exists"

10 years agoeswitch_neutron_agent: Whitespace fixes in comments
YAMAMOTO Takashi [Wed, 7 May 2014 03:45:32 +0000 (12:45 +0900)]
eswitch_neutron_agent: Whitespace fixes in comments

Change-Id: I81ac1e6240c28f1544ff9be61761a5c58135557c

10 years agoUpgrade failure for DB2 at ml2_binding_vif_details
Xuhan Peng [Thu, 24 Apr 2014 02:58:32 +0000 (10:58 +0800)]
Upgrade failure for DB2 at ml2_binding_vif_details

50d5ba354c23_ml2_binding_vif_details fails during upgrade
when DB2 is used as the DB backend of neutron because
Boolean type is not supported by DB2.

This fix uses "1" instead of "true" in sql when db2 is engine.
This fix also changes context creation to op.execute.

Change-Id: I82d2141007894342c634f2c5e62344e20d876d8f
Closes-Bug: 1311589

10 years agoRemove duplicate module-rgx line in .pylintrc
Adam Harwell [Mon, 5 May 2014 22:37:11 +0000 (17:37 -0500)]
Remove duplicate module-rgx line in .pylintrc

The correct neutron configuration will no longer be overwritten by
the old quantum configuration.

Change-Id: I4923ad4e35a5053966edb307587c72c0b684d149
Closes-Bug: 1316334

10 years agoDisable debug messages when running unit tests
Ihar Hrachyshka [Tue, 6 May 2014 13:52:35 +0000 (15:52 +0200)]
Disable debug messages when running unit tests

Some runs started to fail due to large sub_unit.log files. We should
reduce their size. The easy way to achieve this is to disable INFO
messages that are filling our logs.

Change-Id: I6b3d3a4498593b6b5635d7eded4f9f88c84e5da0
Closes-Bug: 1316610

10 years agoPerform policy checks only once on list responses
Salvatore Orlando [Mon, 7 Apr 2014 21:26:00 +0000 (14:26 -0700)]
Perform policy checks only once on list responses

The policy engine is currently being called for every attribute
of every resource to be returned by a list response. This is
harming the API performance; moreover such a high number of checks
is also unnecessary.

This patch therefore slightly changes the API logic so that list
response first determine the list of attributes which should be
returned querying the policy engine and then use this list for
all resource items to be returned.

To this aim a few methods in base.py needed to be refactored.
This patch also removes the routine check_if_exists from policy.py
and the related PolicyNotFound exception.

Finally, this patch also removes unnecessary admin_or_owner rules
when applied to attributes. This kind of rule indeed has no effect
anyway because of Neutron's ownership checks. The rules were removed
because this change won't allow anymore for having attribute-level
policies whose evaluation result depends on the resource value.

Implements blueprint faster-list-responses

Change-Id: I21b8273add5d5984f512ad94af5a99cf0b0a5d93

10 years agoAllow DHCPv6 solicit from VM
Xuhan Peng [Tue, 6 May 2014 10:05:00 +0000 (18:05 +0800)]
Allow DHCPv6 solicit from VM

DHCPv6 solicit UDP package is currently dropped because
there is no security group rule to allow it like IPv4.

This fix allows UDP DHCPv6 solicit from client port 546 to
server port 547. This fix also drops DHCP reply from VM.

Change-Id: I4941d401576e2c8bad37859d2cba227afde9e764
Closes-Bug: 1316515

10 years agoFix importing module in test_netscaler_driver
Jakub Libosvar [Tue, 6 May 2014 08:56:31 +0000 (10:56 +0200)]
Fix importing module in test_netscaler_driver

During H302 was introduced new bug importing package instead of module.
This patch is reverting back change on this file from
https://review.openstack.org/#/c/89628/5

Closes-Bug: #1316486
Change-Id: I7830fba6687655b133073ace75f32004e72ad650

10 years agoBig Switch: Check source_address attribute exists
Kevin Benton [Tue, 6 May 2014 01:57:46 +0000 (18:57 -0700)]
Big Switch: Check source_address attribute exists

Check that the source_address attribute exists on
HTTPSConnection objects before referencing it since
it's not present on python 2.6 deployments.

Closes-Bug: #1316382
Change-Id: Id82e70f124cba73c33737099027b5c61aea713bb

10 years agoL3 RPC loop could delete a router on concurrent update
Attila Fazekas [Sun, 4 May 2014 17:54:37 +0000 (19:54 +0200)]
L3 RPC loop could delete a router on concurrent update

routers_updated does not acquire any lock just updates
a set for future rpc loop processing.

The self.updated_routers can be changed by concurrent update
notification. If this change happens at the time around the
self.plugin_rpc.get_routers call, the additional routers
- by mistake - is considered as admin_state_up=false routers, which
 are safe to delete.

Creating a local copy of the updated_routers and preserve
the fresh updated_routers entries for the next _rpc_loop
operations.

Change-Id: Icc7377f9c29e248c3b34562465e859b15ecc2ec3
Closes-Bug: #1315467
Partial-Bug: #1253896

10 years agoMerge "Fix H302 violations in plugins package"
Jenkins [Mon, 5 May 2014 09:32:57 +0000 (09:32 +0000)]
Merge "Fix H302 violations in plugins package"

10 years agoMerge "Fix H302 violations in unit tests"
Jenkins [Mon, 5 May 2014 08:29:01 +0000 (08:29 +0000)]
Merge "Fix H302 violations in unit tests"

10 years agoMerge "Optimize querying for security groups"
Jenkins [Mon, 5 May 2014 03:41:30 +0000 (03:41 +0000)]
Merge "Optimize querying for security groups"

10 years agoFix H302 violations
Jakub Libosvar [Fri, 18 Apr 2014 13:32:40 +0000 (15:32 +0200)]
Fix H302 violations

H302 violation is reported by flake8 when importing separated objects from
modules instead of importing the whole module.
e.g.   from package.module import function
       function()
is changed to
       from package import module
       module.function()

Change-Id: Ifbf31b52316d3cade40743752a49ce700f384a21
Closes-Bug: #1291032

10 years agoFix H302 violations in plugins package
Jakub Libosvar [Fri, 18 Apr 2014 13:29:49 +0000 (15:29 +0200)]
Fix H302 violations in plugins package

H302 violation is reported by flake8 when importing separated objects from
modules instead of importing the whole module.
e.g.   from package.module import function
       function()
is changed to
       from package import module
       module.function()

Change-Id: I83372124f4fba7b94bbfb4a56a0c0ef779ee237f
Partial-Bug: #1291032

10 years agoFix H302 violations in unit tests
Jakub Libosvar [Fri, 18 Apr 2014 13:30:32 +0000 (15:30 +0200)]
Fix H302 violations in unit tests

H302 violation is reported by flake8 when importing separated objects from
modules instead of importing the whole module.
e.g.   from package.module import function
       function()
is changed to
       from package import module
       module.function()

Change-Id: Ic6975f39c755ded54149a9c01fcdcfaf78c596fc
Partial-Bug: #1291032

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Sun, 4 May 2014 06:55:54 +0000 (06:55 +0000)]
Imported Translations from Transifex

Change-Id: I3445e80a6b48d11692f42c116d1335cfd048bb77

10 years agolbaas on a network without gateway
LipingMao [Mon, 31 Mar 2014 05:49:18 +0000 (05:49 +0000)]
lbaas on a network without gateway

Not only check the gateway_ip in subnet, but also
check the host_routes. If there is a default route in host_routes
then the next hop of the default route is also a gateway_ip.

Closes-Bug: 1300017
DocImpact

Change-Id: Id3ae04bfa6cefb1c030857894f0594828b8e856d

10 years agoMerge "Improve help strings for radware LbaaS driver"
Jenkins [Sat, 3 May 2014 20:43:04 +0000 (20:43 +0000)]
Merge "Improve help strings for radware LbaaS driver"

10 years agoMerge "LBaaS: Set correct nullable parameter for agent_id"
Jenkins [Sat, 3 May 2014 08:58:03 +0000 (08:58 +0000)]
Merge "LBaaS: Set correct nullable parameter for agent_id"

10 years agoOptimize querying for security groups
Sudheendra Murthy [Fri, 2 May 2014 22:25:28 +0000 (15:25 -0700)]
Optimize querying for security groups

In the check for all security groups on port belong to tenant,
add a filter to get security groups for the tenant which are in
common with the security groups of the port.

Change-Id: I66f31755525fca37f9dbce6fb43e475791f82495
Closes-Bug: #1315097

10 years agoNSX: pass the right argument during metadata setup
armando-migliaccio [Fri, 2 May 2014 21:56:57 +0000 (14:56 -0700)]
NSX: pass the right argument during metadata setup

The NSX cluster was erroneously passed instead of context.
This patch addressed that and tweaks UT to verify the right
parameter is passed instead.

Change-Id: Ife660b3a23705342043d121c7dcecad43e22abc1
Closes-bug: #1315538

10 years agoMerge "Segregate the VSM calls from database calls in N1kv plugin"
Jenkins [Fri, 2 May 2014 20:56:17 +0000 (20:56 +0000)]
Merge "Segregate the VSM calls from database calls in N1kv plugin"

10 years agoMerge "Cisco VPN device driver - support IPSec connection updates"
Jenkins [Fri, 2 May 2014 20:55:56 +0000 (20:55 +0000)]
Merge "Cisco VPN device driver - support IPSec connection updates"

10 years agoMerge "Fix network profile subtype validation in N1kv plugin"
Jenkins [Fri, 2 May 2014 20:32:10 +0000 (20:32 +0000)]
Merge "Fix network profile subtype validation in N1kv plugin"

10 years agoMerge "Vmware: Set correct nullable for lsn_id, nsx_port_id"
Jenkins [Fri, 2 May 2014 15:37:02 +0000 (15:37 +0000)]
Merge "Vmware: Set correct nullable for lsn_id, nsx_port_id"

10 years agoMerge "tests/unit: refactor reading neutron.conf.test"
Jenkins [Fri, 2 May 2014 10:18:09 +0000 (10:18 +0000)]
Merge "tests/unit: refactor reading neutron.conf.test"

10 years agoMerge "Allow ML2 plugin test cases to be run independently"
Jenkins [Fri, 2 May 2014 10:08:25 +0000 (10:08 +0000)]
Merge "Allow ML2 plugin test cases to be run independently"

10 years agoImprove help strings for radware LbaaS driver
Andreas Jaeger [Thu, 1 May 2014 17:40:59 +0000 (19:40 +0200)]
Improve help strings for radware LbaaS driver

Make strings consistent with what we use elsewhere:
* Capitalize first word
* End with "."
* Improve wording and spelling

Partial-Bug: #1315111
Change-Id: Ic378aa7e4f936c3f3da0a23598620c3b978cbf45

10 years agoFix network profile subtype validation in N1kv plugin
Abhishek Raut [Fri, 2 May 2014 01:16:33 +0000 (18:16 -0700)]
Fix network profile subtype validation in N1kv plugin

Network profile of type Trunk expects a subtype field for
creation. If a subtype is missing in the request body, plugin
should raise an exception. This patch fixes the validation logic
to detect missing subtype field.

Change-Id: I6b4fb533576a317f7d568b4a0fe4117b5464ffa6
Closes-Bug: 1315197

10 years agoPerformance improvement of router routes operations
Itsuro Oda [Mon, 21 Apr 2014 06:02:52 +0000 (15:02 +0900)]
Performance improvement of router routes operations

This patch fixes inefficiency of updating extra routes.
* remove the code repeated by every routes in validation check.
* remove searching a record to delete per record.

Note: Unit tests are covered by existing ones. So no unit test added.

Change-Id: Ia335ac21c65148063d330e4533a15a73962c43d8
Closes-bug: #1312482

10 years agoAdd support to dynamically upload drivers in PLUMgrid plugin
Edgar Magana [Thu, 1 May 2014 20:25:45 +0000 (13:25 -0700)]
Add support to dynamically upload drivers in PLUMgrid plugin

PLUMgrid plugin will be able to dynamycally upload any of its available drivers.
It will simplify any CI testing by changing the configuration file for the plugin
instead of changing the code directly.

Change-Id: I56da881688cfdf8f9a1b655c1080c39ffc0133a5
Closes-bug: #1315137

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Thu, 1 May 2014 16:34:01 +0000 (16:34 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "OVS and OF Agents: Create updated_ports attribute before setup_rpc"
Jenkins [Thu, 1 May 2014 13:24:49 +0000 (13:24 +0000)]
Merge "OVS and OF Agents: Create updated_ports attribute before setup_rpc"

10 years agoMerge "Don't print duplicate messages on SystemExit"
Jenkins [Thu, 1 May 2014 13:24:41 +0000 (13:24 +0000)]
Merge "Don't print duplicate messages on SystemExit"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Thu, 1 May 2014 06:55:15 +0000 (06:55 +0000)]
Imported Translations from Transifex

Change-Id: If6c44144eee05acf96dd6ad7893ed60f6f5ea25b

10 years agoMerge "NSX: fix API payloads for dhcp/metadata setup"
Jenkins [Thu, 1 May 2014 06:54:38 +0000 (06:54 +0000)]
Merge "NSX: fix API payloads for dhcp/metadata setup"

10 years agoMerge "Removed signing_dir from neutron.conf"
Jenkins [Thu, 1 May 2014 06:45:06 +0000 (06:45 +0000)]
Merge "Removed signing_dir from neutron.conf"

10 years agoReference new get_engine() method from wsgi.py
Kevin Benton [Thu, 1 May 2014 01:58:05 +0000 (18:58 -0700)]
Reference new get_engine() method from wsgi.py

wsgi.py referenced get_engine in neutron.openstack.common.db.sqlalchemy.session.
This method was removed from that file in commit 53609f29f3c8fcadc545afb891189253c07b33c3
change-id I0e1d86878d3eb924b01e04dced0f90b4e57757d8. This patch references the
replacement method added to neutron.db.api.

Closes-Bug: #1314850
Change-Id: Ifd4db5f49e2aaebc67eccb8bdcef8eea54983112

10 years agoAllow test_l3_agent unit test to run individually
Henry Gessau [Mon, 28 Apr 2014 17:41:18 +0000 (13:41 -0400)]
Allow test_l3_agent unit test to run individually

When the test_l3_agent.TestL3AgentEventHandler test case is run
after test discovery it passes because discovery imports files
that registers all the config options. For the test case to run
individually we need to explicitly register the config options
used in the test.

Change-Id: Ic31503ad7be8601ff843dbdc8edf5856ce8b0e39
Closes-bug: #1313812

10 years agotests/unit: refactor reading neutron.conf.test
Isaku Yamahata [Wed, 26 Feb 2014 02:36:56 +0000 (11:36 +0900)]
tests/unit: refactor reading neutron.conf.test

neutron.conf.test includes rpc_backend whose value is stashed.
Thus it is required to reset when tearing down, otherwise the stale status
will be used by succeeding tests causing random error.

This patch refactors reading neutron.conf.test and resets the status of
rpc_backend properly.

Closes-Bug: #1281481
Closes-Bug: #1284549
Change-Id: I0fa5945b6adbb9945d353028ec88d00ccbf4e31a

10 years agoDon't print duplicate messages on SystemExit
Joe Gordon [Tue, 29 Apr 2014 22:22:20 +0000 (15:22 -0700)]
Don't print duplicate messages on SystemExit

Don't log the error using LOG.error or LOG.exception and then
passing the same string to SystemExit since this will result in the
error being logged twice. Instead log the error and raise SystemExit(1).

Change-Id: I88b6632e6596a36a7168155dd4219e7d55078621

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 30 Apr 2014 16:43:21 +0000 (16:43 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Synced jsonutils from oslo-incubator"
Jenkins [Wed, 30 Apr 2014 16:19:57 +0000 (16:19 +0000)]
Merge "Synced jsonutils from oslo-incubator"

10 years agoCisco VPN device driver - support IPSec connection updates
Paul Michali [Fri, 4 Apr 2014 19:14:36 +0000 (19:14 +0000)]
Cisco VPN device driver - support IPSec connection updates

Provides support for IPSec connection updates and state changes. To do
this, the configuration of the connection is maintained, when the
connection is created. This is checked against the current settings, at
sync time, to determine whether a configuration change (as opposed to a
state change) has occurred.

If there is a change to the configuration detected, then the simple
approach is taken of deleting and then re-creating the connection, with
the new settings.

In addition, if the admin state of the connection changes, the tunnel
will be taken admin down/up, as needed. Admin down will occur if the
IPSec connection or the associated VPN service is set to admin down.
Admin up will occur, if both the IPSec connection and the VPN service
are in admin up state.

Added REST client method to allow changing the IPSec connection tunnel
to admin up/down (effectively doing a no-shut/shut on the tunnel I/F),
based on the above mentioned state.

Modified UTs for the support of IPSec connection update requests (used to
throw an "unsupported" exception), and to check that the configuration
and state changing are processed correctly.

Updated so that tunnel_ip is set in device driver, rather than hard
coding, and then overriding in REST client. Since device driver has the
same info, this will fit into future plans to obtain the info from
router, vs reading an .ini file. Revised UTs as well.

Change-Id: I184942d7f2f282c867ba020f62cd48ec53315d3e
Closes-Bug: 1303830

10 years agoMerge "Wrong key router.interface reported by ceilometer"
Jenkins [Wed, 30 Apr 2014 13:12:08 +0000 (13:12 +0000)]
Merge "Wrong key router.interface reported by ceilometer"

10 years agoOVS and OF Agents: Create updated_ports attribute before setup_rpc
Eugene Nikanorov [Wed, 30 Apr 2014 12:04:58 +0000 (16:04 +0400)]
OVS and OF Agents: Create updated_ports attribute before setup_rpc

setup_rpc spawns rpc-consuming thread that can access
self.updated_ports before it is created in the constructor

Change-Id: Icc447c3bb7099125aae30e2430a6ad98ba00f6f9
Closes-Bug: #1314472

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Wed, 30 Apr 2014 06:49:29 +0000 (06:49 +0000)]
Imported Translations from Transifex

Change-Id: I7ac7de8fb1cea473df6059e9443df1418c800521

10 years agoMerge "Fix protocol value for SG IPV6 RA rule"
Jenkins [Wed, 30 Apr 2014 05:35:20 +0000 (05:35 +0000)]
Merge "Fix protocol value for SG IPV6 RA rule"

10 years agoMerge "Updated from global requirements"
Jenkins [Wed, 30 Apr 2014 05:23:12 +0000 (05:23 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "NSX: fix migration for networks without a subnet"
Jenkins [Wed, 30 Apr 2014 04:51:34 +0000 (04:51 +0000)]
Merge "NSX: fix migration for networks without a subnet"

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 30 Apr 2014 02:41:29 +0000 (02:41 +0000)]
Updated from global requirements

Change-Id: I6090b1bde89b25eaa1aea94024b7f4225375e65e

10 years agoMerge "Fix incorrect change of Enum type"
Jenkins [Tue, 29 Apr 2014 21:32:09 +0000 (21:32 +0000)]
Merge "Fix incorrect change of Enum type"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Tue, 29 Apr 2014 19:34:10 +0000 (19:34 +0000)]
Merge "Imported Translations from Transifex"