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

10 years agoMerge "Cisco APIC ML2 mechanism driver, part 1"
Jenkins [Tue, 29 Apr 2014 17:57:19 +0000 (17:57 +0000)]
Merge "Cisco APIC ML2 mechanism driver, part 1"

10 years agoMerge "Use set_gateway from ip_lib"
Jenkins [Tue, 29 Apr 2014 16:02:35 +0000 (16:02 +0000)]
Merge "Use set_gateway from ip_lib"

10 years agoSynced jsonutils from oslo-incubator
Ihar Hrachyshka [Tue, 29 Apr 2014 14:23:46 +0000 (16:23 +0200)]
Synced jsonutils from oslo-incubator

The sync includes change that drastically enhances performance on Python
2.6 with fresh simplejson library installed.

The latest commit in oslo-incubator:
732bdb6297eb9de81667f7713ebcb1ccc2ee45a7

Change-Id: Ib3dc0b713ed90396919feba018772243b3b9c90f
Closes-Bug: 1314129

10 years agoMerge "Fix uninitialized variable reference"
Jenkins [Tue, 29 Apr 2014 11:29:27 +0000 (11:29 +0000)]
Merge "Fix uninitialized variable reference"

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

Change-Id: I35439d61689c7190ab7f802f0f81326656261a3c

10 years agoMerge "Invalid ovs-agent test case - test_fdb_add_flows"
Jenkins [Tue, 29 Apr 2014 04:54:41 +0000 (04:54 +0000)]
Merge "Invalid ovs-agent test case - test_fdb_add_flows"

10 years agoMerge "Sync db code from oslo-incubator"
Jenkins [Tue, 29 Apr 2014 03:36:54 +0000 (03:36 +0000)]
Merge "Sync db code from oslo-incubator"

10 years agoNSX: fix migration for networks without a subnet
armando-migliaccio [Tue, 29 Apr 2014 03:24:18 +0000 (20:24 -0700)]
NSX: fix migration for networks without a subnet

In case the network is without a subnet, calling the validation
logic during the report phase leads to an error because the LSN
would have been already allocated during the migration phase.

Bypass the issue by calling the plugin directly, which is what
the validation logic does in the first place.

Closes-bug: #1313997

Change-Id: I14f77ae3b0cc147c4ea1c79e56bdd809de7c76a0

10 years agoAllow ML2 plugin test cases to be run independently
Henry Gessau [Fri, 25 Apr 2014 19:46:58 +0000 (15:46 -0400)]
Allow ML2 plugin test cases to be run independently

Some test cases in neutron.tests.unit.ml2.test_ml2_plugin override the
network_vlan_ranges option in the ml2_type_vlan config group. However,
the test module does not import the ML2 type driver module where this
config group's options are registered. When unit tests are run by
tox/testr the module is imported during test discovery. Running the
tests independently via nose or testtools requires the option to be
explicitly imported.

Change-Id: I355a2d1212992eafed44f6d843c0fc9deb665df7
Closes-bug: #1287792

10 years agoRemoved signing_dir from neutron.conf
Ihar Hrachyshka [Mon, 28 Apr 2014 13:05:30 +0000 (15:05 +0200)]
Removed signing_dir from neutron.conf

The default value from keystone middleware ($TMPDIR) is good enough,
so stick to it.

Closes-Bug: 1313780
Change-Id: Ideb393f9010f4f1706392ccdfdd5fa7307bda070

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Sun, 27 Apr 2014 02:34:16 +0000 (02:34 +0000)]
Merge "Imported Translations from Transifex"

10 years agoWrong key router.interface reported by ceilometer
Li Ma [Fri, 25 Apr 2014 07:24:57 +0000 (00:24 -0700)]
Wrong key router.interface reported by ceilometer

Ceilometer with MongoDB doesn't accept the key with dot.

The dot in 'router.interface' should be replaced with '_',
which is also the standard implementation of other keys in neutron.

Change-Id: If7fcf7658db9ee2d7d1248bb0b016b4389c32c77
Closes-Bug: #1310460

10 years agoMerge "NSX: add nsx switch lookup to dhcp and metadata operations"
Jenkins [Sat, 26 Apr 2014 10:42:32 +0000 (10:42 +0000)]
Merge "NSX: add nsx switch lookup to dhcp and metadata operations"

10 years agoMerge "NSX: change api mapping for Service Cluster to Edge Cluster"
Jenkins [Sat, 26 Apr 2014 09:25:00 +0000 (09:25 +0000)]
Merge "NSX: change api mapping for Service Cluster to Edge Cluster"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Sat, 26 Apr 2014 06:50:31 +0000 (06:50 +0000)]
Imported Translations from Transifex

Change-Id: Ic8ad2eed0ada3a616d73e6190dccf807612ca387

10 years agoNSX: fix API payloads for dhcp/metadata setup
armando-migliaccio [Fri, 25 Apr 2014 22:29:14 +0000 (15:29 -0700)]
NSX: fix API payloads for dhcp/metadata setup

NSX 4.2 GA has tweaked the way dhcp and metadata
ports are configured. This patch takes care of
that.

Closes-bug: #1312822

Change-Id: I4e8496bf721c0f35df4228ec9c6f8066275e8c7a

10 years agoMerge "Exclude .ropeproject from flake8 checks"
Jenkins [Fri, 25 Apr 2014 19:12:44 +0000 (19:12 +0000)]
Merge "Exclude .ropeproject from flake8 checks"

10 years agoMerge "LBaaS: remove orphan haproxy instances on agent start"
Jenkins [Fri, 25 Apr 2014 16:58:47 +0000 (16:58 +0000)]
Merge "LBaaS: remove orphan haproxy instances on agent start"

10 years agoMerge "Fixed floating IP logic in PLUMgrid plugin"
Jenkins [Fri, 25 Apr 2014 16:46:35 +0000 (16:46 +0000)]
Merge "Fixed floating IP logic in PLUMgrid plugin"

10 years agoNSX: change api mapping for Service Cluster to Edge Cluster
armando-migliaccio [Thu, 24 Apr 2014 17:38:37 +0000 (10:38 -0700)]
NSX: change api mapping for Service Cluster to Edge Cluster

NSX 4.2 GA has tweaked the naming for certain resources. Edge
Cluster vs Service CLuster is one of them.

Closes-bug: #1312822

Change-Id: Id4ddd99128c5e82e7a40c2d9e7385b272549cc3e

10 years agoFix protocol value for SG IPV6 RA rule
sridhargaddam [Thu, 24 Apr 2014 19:51:01 +0000 (01:21 +0530)]
Fix protocol value for SG IPV6 RA rule

The ingress SG rule for RA has a wrong value for protocol
field.

Change-Id: I4d3bca4b758540cf857eb13d36ee18f8ebc28272
Closes-Bug: #1312392

10 years agoCisco APIC ML2 mechanism driver, part 1
Henry Gessau [Thu, 13 Feb 2014 16:58:47 +0000 (11:58 -0500)]
Cisco APIC ML2 mechanism driver, part 1

This set of changes introduces a mechanism driver for the
Cisco APIC. Please see the blueprint for more information.

The review is submitted in two parts:
- Part 1 (this one)
    o APIC REST Client
    o APIC data model and migration script
    o APIC configurations
- Part 2 (dependent on part 1)
    o APIC mechanism driver
    o APIC manager

Partially implements: blueprint ml2-cisco-apic-mechanism-driver

Change-Id: I698b25ca975fed746107ee64f03563ef1a56e0ef

10 years agoMerge "Re-submit "ML2 plugin should not delete ports on subnet deletion""
Jenkins [Fri, 25 Apr 2014 12:20:20 +0000 (12:20 +0000)]
Merge "Re-submit "ML2 plugin should not delete ports on subnet deletion""

10 years agoLBaaS: remove orphan haproxy instances on agent start
Oleg Bondarev [Tue, 18 Mar 2014 08:22:05 +0000 (12:22 +0400)]
LBaaS: remove orphan haproxy instances on agent start

This change adds remove_orphans() handling to the haproxy
namespace driver. remove_orphans() is already called by
lbaas agent on start for all drivers

Closes-Bug: #1262885
Change-Id: I5deae8e56c2cd2deb1667e9646633fd59a94b34e

10 years agoMerge "Remove List events API from Cisco N1kv Neutron"
Jenkins [Fri, 25 Apr 2014 05:57:06 +0000 (05:57 +0000)]
Merge "Remove List events API from Cisco N1kv Neutron"

10 years agoFixed floating IP logic in PLUMgrid plugin
Fawad Khaliq [Tue, 8 Apr 2014 22:49:35 +0000 (15:49 -0700)]
Fixed floating IP logic in PLUMgrid plugin

  * Fixed associate and disassociate
    floating IP logic
  * Added unit tests

Change-Id: I310f5550bca1c9015cbda3e0338eb90a36dc96f1
Closes-Bug: 1298495

10 years agoSegregate the VSM calls from database calls in N1kv plugin
Abhishek Raut [Fri, 21 Mar 2014 09:26:10 +0000 (02:26 -0700)]
Segregate the VSM calls from database calls in N1kv plugin

Rearrange the code in such a way that the calls to the VSM are
outside the database session. This avoids DB locks on n1kv tables.

Change-Id: Ic0f0d816cca06a3b03fdd9b58ee7599ddf65473e
Closes-Bug: 1290646

10 years agoNSX: add nsx switch lookup to dhcp and metadata operations
armando-migliaccio [Thu, 24 Apr 2014 19:11:41 +0000 (12:11 -0700)]
NSX: add nsx switch lookup to dhcp and metadata operations

The operations in questions were still using the neutron network
uuid as the nsx switch uuid, but this is no longer valid.

Close-bug: #1312439

Change-Id: I0f4bf02bb176c5c3914c7dd7e8249121af1b5a79

10 years agoMerge "Fix migration that breaks Grenade jobs"
Jenkins [Thu, 24 Apr 2014 20:20:22 +0000 (20:20 +0000)]
Merge "Fix migration that breaks Grenade jobs"

10 years agoMerge "Replace loopingcall in notifier with a delayed send"
Jenkins [Thu, 24 Apr 2014 20:18:45 +0000 (20:18 +0000)]
Merge "Replace loopingcall in notifier with a delayed send"

10 years agoUse set_gateway from ip_lib
Carl Baldwin [Thu, 24 Apr 2014 19:50:43 +0000 (19:50 +0000)]
Use set_gateway from ip_lib

Change-Id: I7df0f2b09a0d312902fc4745e0a245b5756074d9
Closes-Bug: #1312402

10 years agoMerge "IBM: set secret=True on passwd config field"
Jenkins [Thu, 24 Apr 2014 18:36:05 +0000 (18:36 +0000)]
Merge "IBM: set secret=True on passwd config field"

10 years agoMerge "Add 2-leg configuration to Radware LBaaS Driver"
Jenkins [Thu, 24 Apr 2014 18:35:43 +0000 (18:35 +0000)]
Merge "Add 2-leg configuration to Radware LBaaS Driver"

10 years agoMerge "Fix incorrect usage of sa.String() type"
Jenkins [Thu, 24 Apr 2014 14:31:06 +0000 (14:31 +0000)]
Merge "Fix incorrect usage of sa.String() type"

10 years agoFix incorrect usage of sa.String() type
Ann Kamyshnikova [Thu, 24 Apr 2014 11:34:45 +0000 (15:34 +0400)]
Fix incorrect usage of sa.String() type

In downgrade of 4eca4a84f08a_remove_ml2_cisco_cred_db migartion
there is a mistake in usage SQLAlchemy String type.
Used sa.string() instead of sa.String()

Change-Id: I521dd63ca2b48e902ca2cb17c45a3fe996b060e7
Closes-bug: #1312124

10 years agoMerge "Remove unused variable"
Jenkins [Thu, 24 Apr 2014 10:12:47 +0000 (10:12 +0000)]
Merge "Remove unused variable"

10 years agoRe-submit "ML2 plugin should not delete ports on subnet deletion"
Sylvain Afchain [Tue, 17 Dec 2013 15:39:55 +0000 (16:39 +0100)]
Re-submit "ML2 plugin should not delete ports on subnet deletion"

This patch was previously merged:

Commit: 0d131ff0e9964cb6a65f64809270f9d597c2d5d1

And reverted by this commit da00ed76e6008bd06dada0f0441ae436dd759cdf
in order to check if there was a relation with the gate failures.

Change-Id: Iacb4de8d9aa6a6cbe32c4f41fcf2657f2d09e6e2

10 years agoMerge "Fix H302 violations in extensions package"
Jenkins [Thu, 24 Apr 2014 09:04:44 +0000 (09:04 +0000)]
Merge "Fix H302 violations in extensions package"

10 years agoLBaaS: Set correct nullable parameter for agent_id
Ann Kamyshnikova [Fri, 21 Mar 2014 13:08:23 +0000 (17:08 +0400)]
LBaaS: Set correct nullable parameter for agent_id

Corrected the following model according to database
content:
 - NOT NULL for PoolLoadbalancerAgentBinding agent_id;

Partial-bug: #1296282

Change-Id: I1f11ec2e8f4c16f58dd8d4e6429e46eaedaec945

10 years agoVmware: Set correct nullable for lsn_id, nsx_port_id
Ann Kamyshnikova [Tue, 22 Apr 2014 07:40:36 +0000 (11:40 +0400)]
Vmware: Set correct nullable for lsn_id, nsx_port_id

Corrected the following models according to database
content:
- NOT NULL for LsnPort lsn_id;
- NOT NULL for NeutronNsxPortMapping nsx_port_id;

Partial-Bug: #1296282

Change-Id: Ia67fcc68eeceb27d9274adb652ab45b32152f01c

10 years agoMerge "Fix unshortened IPv6 address caused DHCP crash"
Jenkins [Thu, 24 Apr 2014 04:11:22 +0000 (04:11 +0000)]
Merge "Fix unshortened IPv6 address caused DHCP crash"

10 years agoIBM: set secret=True on passwd config field
Aaron Rosen [Thu, 24 Apr 2014 01:34:14 +0000 (18:34 -0700)]
IBM: set secret=True on passwd config field

This should carry secret=True to avoid being logged as clear text.

Change-Id: I7d15b9648b3a037589405b9ca9d26aae4a834f15
Closes-bug: 1311943

10 years agoMerge "Check if bridge exists and make sure it's UP in ensure_bridge"
Jenkins [Wed, 23 Apr 2014 23:28:09 +0000 (23:28 +0000)]
Merge "Check if bridge exists and make sure it's UP in ensure_bridge"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 23 Apr 2014 23:20:32 +0000 (23:20 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "NSX: Fix fake_api_client to raise NotFound"
Jenkins [Wed, 23 Apr 2014 23:14:18 +0000 (23:14 +0000)]
Merge "NSX: Fix fake_api_client to raise NotFound"

10 years agoMerge "Fix Metering doesn't respect the l3 agent binding"
Jenkins [Wed, 23 Apr 2014 16:05:39 +0000 (16:05 +0000)]
Merge "Fix Metering doesn't respect the l3 agent binding"

10 years agoMerge "Delete disassociated floating ips on external network deletion"
Jenkins [Wed, 23 Apr 2014 15:45:53 +0000 (15:45 +0000)]
Merge "Delete disassociated floating ips on external network deletion"

10 years agoFix H302 violations in extensions package
Jakub Libosvar [Fri, 18 Apr 2014 13:31:55 +0000 (15:31 +0200)]
Fix H302 violations in extensions 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: I570eeee2a7633c1590b54ac98b411a71fc9d4f4e
Partial-Bug: #1291032

10 years agoSync db code from oslo-incubator
Roman Podoliaka [Tue, 8 Apr 2014 08:47:48 +0000 (11:47 +0300)]
Sync db code from oslo-incubator

Synced from commit 5fb343faee1442921e2d610b1a5222e67418c4cd.
Due to changes in oslo.db API, this sync requires a bit more
work on Neutron side.

Sync includes the following commits:

5b7e61c Dispose db connections pool on disconnect
d1988b9 Set sql_mode callback on connect instead of checkout
a1a8280 Fix excessive logging from db.sqlalchemy.session
9933bdd Get mysql_sql_mode parameter from config
96a2217 Prevent incorrect usage of _wrap_db_error()
20a7510 Add from_config() method to EngineFacade
fea119e Drop special case for MySQL traditional mode, update unit tests
dda24eb Introduce mysql_sql_mode option, remove old warning
0b5af67 Introduce a method to set any MySQL session SQL mode
8dccc7b Handle ibm_db_sa DBDuplicateEntry integrity errors
5b9e9f4 Fix doc build errors in db.sqlalchemy
ac84a40 Update log translation domains
86707cd Remove None for dict.get()
0545121 Fix duplicating of SQL queries in logs
fcf517d Update oslo log messages with translation domains
630d395 Don't use cfg.CONF in oslo.db
ce69e7f Don't store engine instances in oslo.db

Change-Id: I0e1d86878d3eb924b01e04dced0f90b4e57757d8

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

Change-Id: I35cb53cb3a7a5c151c20be1d6ab7b7447e5c22d1

10 years agoMerge "OFAgent: Improve handling of security group updates"
Jenkins [Wed, 23 Apr 2014 05:43:20 +0000 (05:43 +0000)]
Merge "OFAgent: Improve handling of security group updates"

10 years agoMerge "OFAgent: Process port_update notifications in the main agent loop"
Jenkins [Wed, 23 Apr 2014 05:43:09 +0000 (05:43 +0000)]
Merge "OFAgent: Process port_update notifications in the main agent loop"

10 years agoMerge "Make help texts more descriptive in Metaplugin"
Jenkins [Wed, 23 Apr 2014 03:23:51 +0000 (03:23 +0000)]
Merge "Make help texts more descriptive in Metaplugin"

10 years agoMerge "Fix H302 violations in db package and services"
Jenkins [Wed, 23 Apr 2014 02:46:43 +0000 (02:46 +0000)]
Merge "Fix H302 violations in db package and services"

10 years agoMerge "Enable flake8 E711 and E712 checking"
Jenkins [Wed, 23 Apr 2014 01:01:16 +0000 (01:01 +0000)]
Merge "Enable flake8 E711 and E712 checking"

10 years agoRemove List events API from Cisco N1kv Neutron
Dhanashree Gosavi [Mon, 10 Feb 2014 12:19:50 +0000 (04:19 -0800)]
Remove List events API from Cisco N1kv Neutron

Earlier Cisco N1kv plugin was using list events api to
poll policies from VSM.
It was inefficient and caused delay in processing.
So, now Cisco N1kv plugin  switched to list profiles to
poll policies from VSM.

Change-Id: Ia734735361dc3eaee8e276ada0c80045eaa9ef96
Closes-Bug: #1292173

10 years agoMerge "Updated from global requirements"
Jenkins [Tue, 22 Apr 2014 21:45:56 +0000 (21:45 +0000)]
Merge "Updated from global requirements"

10 years agoNSX: Fix fake_api_client to raise NotFound
Aaron Rosen [Tue, 22 Apr 2014 19:46:08 +0000 (12:46 -0700)]
NSX: Fix fake_api_client to raise NotFound

If one quries NSX doing GET /ws.v1/lswitch/LS_UUID/lport and LS_UUID
is a UUID that does not exist in NSX. NSX raises a 404. If LS_UUID is *
NSX returns an empty result string. This patch fixes the fake_api_client
so that it's behavior is correct.

Change-Id: Id66299d6ae3cfa43a65d4cb28f34348d64d8ed65
Closes-bug: 1311291

10 years agoMerge "Cisco: Set correct nullable for switch_ip, instance_id, vlan_id"
Jenkins [Tue, 22 Apr 2014 19:40:36 +0000 (19:40 +0000)]
Merge "Cisco: Set correct nullable for switch_ip, instance_id, vlan_id"

10 years agoMerge "ip-lib : use "ip neigh replace" instead of "ip neigh add""
Jenkins [Tue, 22 Apr 2014 19:40:25 +0000 (19:40 +0000)]
Merge "ip-lib : use "ip neigh replace" instead of "ip neigh add""

10 years agoMerge "Remove RPC to plugin when dhcp sets default route"
Jenkins [Tue, 22 Apr 2014 19:25:01 +0000 (19:25 +0000)]
Merge "Remove RPC to plugin when dhcp sets default route"

10 years agoMerge "Ml2: Set correct nullable for admin_state_up"
Jenkins [Tue, 22 Apr 2014 19:24:29 +0000 (19:24 +0000)]
Merge "Ml2: Set correct nullable for admin_state_up"