]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "Remove deprecated OVS and LB plugin DB tables"
Jenkins [Thu, 23 Jul 2015 08:30:36 +0000 (08:30 +0000)]
Merge "Remove deprecated OVS and LB plugin DB tables"

9 years agoMerge "ensure_dir: move under neutron.common.utils"
Jenkins [Thu, 23 Jul 2015 08:28:16 +0000 (08:28 +0000)]
Merge "ensure_dir: move under neutron.common.utils"

9 years agoMerge "OVS agent factor our port stats processing"
Jenkins [Thu, 23 Jul 2015 07:59:29 +0000 (07:59 +0000)]
Merge "OVS agent factor our port stats processing"

9 years agoMerge "Fixed L3 agent manual scheduling for HA routers"
Jenkins [Thu, 23 Jul 2015 07:59:08 +0000 (07:59 +0000)]
Merge "Fixed L3 agent manual scheduling for HA routers"

9 years agoMerge "Port help text for dvr_base_mac from neutron.conf"
Jenkins [Thu, 23 Jul 2015 07:36:27 +0000 (07:36 +0000)]
Merge "Port help text for dvr_base_mac from neutron.conf"

9 years agoMerge "Python 3: enable more tests"
Jenkins [Thu, 23 Jul 2015 07:18:32 +0000 (07:18 +0000)]
Merge "Python 3: enable more tests"

9 years agoMerge "ovs_lib: Fix native implementation of db_list"
Jenkins [Thu, 23 Jul 2015 03:23:54 +0000 (03:23 +0000)]
Merge "ovs_lib: Fix native implementation of db_list"

9 years agoMerge "Fullstack testing devref follow up"
Jenkins [Thu, 23 Jul 2015 03:05:33 +0000 (03:05 +0000)]
Merge "Fullstack testing devref follow up"

9 years agoMerge "Tweak wording for project inclusion process"
Jenkins [Wed, 22 Jul 2015 23:51:43 +0000 (23:51 +0000)]
Merge "Tweak wording for project inclusion process"

9 years agoMerge "Use only the lower 16 bits of iptables mark for marking"
Jenkins [Wed, 22 Jul 2015 22:48:53 +0000 (22:48 +0000)]
Merge "Use only the lower 16 bits of iptables mark for marking"

9 years agoMerge "Alter unit test to match bug and cleanup ext logic"
Jenkins [Wed, 22 Jul 2015 19:09:56 +0000 (19:09 +0000)]
Merge "Alter unit test to match bug and cleanup ext logic"

9 years agoMerge "Always use BridgeDevice to manage linuxbridges"
Jenkins [Wed, 22 Jul 2015 19:03:15 +0000 (19:03 +0000)]
Merge "Always use BridgeDevice to manage linuxbridges"

9 years agoMerge "Add address_scope_db to neutron/models/head.py"
Jenkins [Wed, 22 Jul 2015 16:05:24 +0000 (16:05 +0000)]
Merge "Add address_scope_db to neutron/models/head.py"

9 years agoPython 3: enable more tests
Cyril Roelandt [Wed, 22 Jul 2015 11:03:58 +0000 (11:03 +0000)]
Python 3: enable more tests

Now that Routes 2.2 has been released, we can run some tests that were
previously commented out.

Change-Id: I46d8479ae4f29dc8b26143e7a49f88ff35198e9d
Blueprint: neutron-python3

9 years agoMerge "Python 3: fix test_provider_configuration"
Jenkins [Wed, 22 Jul 2015 04:45:31 +0000 (04:45 +0000)]
Merge "Python 3: fix test_provider_configuration"

9 years agoMerge "Added functional tests for L3 schedulers."
Jenkins [Wed, 22 Jul 2015 02:14:54 +0000 (02:14 +0000)]
Merge "Added functional tests for L3 schedulers."

9 years agoMerge "Fix note in devref/contribute.rst"
Jenkins [Wed, 22 Jul 2015 02:11:29 +0000 (02:11 +0000)]
Merge "Fix note in devref/contribute.rst"

9 years agoTweak wording for project inclusion process
armando-migliaccio [Tue, 21 Jul 2015 23:08:41 +0000 (16:08 -0700)]
Tweak wording for project inclusion process

There may be projects that have not being created yet, so revise
the wording a bit to provide clarity that new projects can also
submit for inclusion right off the bat.

Change-Id: I862dc3d1835472066c23c3df8e049ae17bf47c2b

9 years agoFix note in devref/contribute.rst
Wei Wang [Mon, 20 Jul 2015 14:55:31 +0000 (22:55 +0800)]
Fix note in devref/contribute.rst

Now note in devref/contribute.rst is formated as a section,
so it will appear at catalog which is pretty ugly.

This fix uses note admonition to replace it and specifies Mitaka
as the release name instead of Mxxx.

Change-Id: Ic4afb086e7d4eace035ebe74d1244eabe1ff8915

9 years agoensure_dir: move under neutron.common.utils
Ihar Hrachyshka [Sat, 18 Jul 2015 12:52:53 +0000 (14:52 +0200)]
ensure_dir: move under neutron.common.utils

There is nothing Linux or agent specific in the function. I need to use
it outside agent code in one of depending patches, hence moving it into
better location while leaving the previous symbol in place, with
deprecation warning, for backwards compatibility.

Change-Id: I252356a72f3c742e57c1b6127275030f0994a221

9 years agoRemove deprecated OVS and LB plugin DB tables
Henry Gessau [Thu, 25 Jun 2015 17:58:30 +0000 (13:58 -0400)]
Remove deprecated OVS and LB plugin DB tables

Now that the openvswitch and linuxbridge monolithic plugins have been
deprecated and replaced by ML2 mechanism drivers, we can remove their
database tables.

Also remove the migrate_to_ml2.py script which is no longer supported.

Change-Id: Ia8d77cb7e4e4b3d4957365cc124ac71a59e62745
Partially-Implements: blueprint reference-implementation-split
Closes-Bug: #1468433

9 years agoMerge "Add documentation for SRIOV NIC agent (previously missing)"
Jenkins [Tue, 21 Jul 2015 00:08:32 +0000 (00:08 +0000)]
Merge "Add documentation for SRIOV NIC agent (previously missing)"

9 years agoovs_lib: Fix native implementation of db_list
YAMAMOTO Takashi [Thu, 16 Jul 2015 10:56:21 +0000 (19:56 +0900)]
ovs_lib: Fix native implementation of db_list

Move the code to list records into the transaction.

Closes-Bug: #1473038
Closes-Bug: #1473049
Closes-Bug: #1475253
Change-Id: I9f367f5ba1ecc50b9bb94c6f52507033d0139611

9 years agoMerge "Change prefix for namespace fixture"
Jenkins [Mon, 20 Jul 2015 21:45:52 +0000 (21:45 +0000)]
Merge "Change prefix for namespace fixture"

9 years agoPort help text for dvr_base_mac from neutron.conf
Louis Taylor [Mon, 20 Jul 2015 17:20:29 +0000 (17:20 +0000)]
Port help text for dvr_base_mac from neutron.conf

The help text for the option in the current static configuration file
contained additional information which would be lost when we switch to
generating the file. This patch copies it over to the oslo.config help
parameter.

Related-blueprint: autogen-neutron-conf-file

Change-Id: Id03925b4bbbee697bf5372392c2345802a1863f8

9 years agoAdd documentation for SRIOV NIC agent (previously missing)
Irena Berezovsky [Thu, 16 Jul 2015 13:42:10 +0000 (13:42 +0000)]
Add documentation for SRIOV NIC agent (previously missing)

Co-Authored-By: Moshe Levi <moshele@mellanox.com>
Change-Id: I86abeb42d01b0541a4537b774833a104c6732310

9 years agoMerge "Unplug the VIF if dhcp port is deleted"
Jenkins [Mon, 20 Jul 2015 09:58:30 +0000 (09:58 +0000)]
Merge "Unplug the VIF if dhcp port is deleted"

9 years agoAdded functional tests for L3 schedulers.
Ritesh Anand [Fri, 24 Apr 2015 19:29:22 +0000 (12:29 -0700)]
Added functional tests for L3 schedulers.

Legacy mode agents considered.

Following test cases are added:
Common scenarios:
1. No routers scheduled if no agents are present
2. No routers scheduled if it is already hosted
3. No routers scheduled if all agents are down
4. Router scheduled to the agent if router is not yet hosted
5. Router scheduled to the agent even if it already hosts a router

Following scenario specific to least routers scheduler is added:
1. Router is scheduled to agent hosting least routers

For each of Chance and Least Router schedulers auto scheduling is also verified.

A total of 22 test cases are added.

Change-Id: Ic4df299bac83c80abf0890a81d2dd36d15993b33

9 years agoAlways use BridgeDevice to manage linuxbridges
Cedric Brandily [Fri, 8 May 2015 21:28:37 +0000 (23:28 +0200)]
Always use BridgeDevice to manage linuxbridges

BridgeDevice[1] class provides methods to manage linuxbridges through
brctl. This change adds some methods to BridgeDevice in order to
always use BridgeDevice to manage linuxbridges and respect DRY
principle.

[1] neutron.agent.linux.bridge_lib

Change-Id: I4b9d755677bba0d487a261004d9ba9b11116101f

9 years agoMerge "Updated from global requirements"
Jenkins [Sun, 19 Jul 2015 12:38:45 +0000 (12:38 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "Add constants for vhost-user vif"
Jenkins [Sun, 19 Jul 2015 09:33:17 +0000 (09:33 +0000)]
Merge "Add constants for vhost-user vif"

9 years agoMerge "Validate that context exists"
Jenkins [Sat, 18 Jul 2015 20:38:01 +0000 (20:38 +0000)]
Merge "Validate that context exists"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 18 Jul 2015 16:06:06 +0000 (16:06 +0000)]
Updated from global requirements

Change-Id: I1385cfc5d8838fbb73ba5c909537d072cba8d736

9 years agoMerge "Python 3: Wrap map() in a list call"
Jenkins [Sat, 18 Jul 2015 14:09:54 +0000 (14:09 +0000)]
Merge "Python 3: Wrap map() in a list call"

9 years agoValidate that context exists
Gary Kotton [Sat, 18 Jul 2015 07:33:10 +0000 (00:33 -0700)]
Validate that context exists

Commit 3e0328b992d8a90213a56ec5a4144677279bea66 broke external
decomposed plugins due to the fact that it assumes that the
context is set.

This patch validates that the context is set.

Co-Authored-By: Kevin Benton <blak111@gmail.com>
Change-Id: I3320f27be7b0fed1d3b37a5c5459d91b2bc4f13b
Closes-bug: #1475837

9 years agoMerge "Add oslo db retry decorator to non-CRUD actions"
Jenkins [Sat, 18 Jul 2015 09:07:41 +0000 (09:07 +0000)]
Merge "Add oslo db retry decorator to non-CRUD actions"

9 years agoMerge "Make external_gateway_nat_rules easier to understand"
Jenkins [Sat, 18 Jul 2015 02:02:16 +0000 (02:02 +0000)]
Merge "Make external_gateway_nat_rules easier to understand"

9 years agoMerge "Add another Lieutenant contact for Dragonflow"
Jenkins [Sat, 18 Jul 2015 01:49:12 +0000 (01:49 +0000)]
Merge "Add another Lieutenant contact for Dragonflow"

9 years agoMerge "Add sub-project lieutenant for networking-midonet"
Jenkins [Sat, 18 Jul 2015 01:47:43 +0000 (01:47 +0000)]
Merge "Add sub-project lieutenant for networking-midonet"

9 years agoMerge "Introduce connection testers module"
Jenkins [Sat, 18 Jul 2015 00:56:51 +0000 (00:56 +0000)]
Merge "Introduce connection testers module"

9 years agoMerge "Use oslo_log.helpers.log_method_call"
Jenkins [Sat, 18 Jul 2015 00:53:47 +0000 (00:53 +0000)]
Merge "Use oslo_log.helpers.log_method_call"

9 years agoMerge "Add sanity_check for keepalived ipv6 support"
Jenkins [Sat, 18 Jul 2015 00:53:11 +0000 (00:53 +0000)]
Merge "Add sanity_check for keepalived ipv6 support"

9 years agoMerge "Remove perform_snat_action indirection"
Jenkins [Sat, 18 Jul 2015 00:39:45 +0000 (00:39 +0000)]
Merge "Remove perform_snat_action indirection"

9 years agoUse only the lower 16 bits of iptables mark for marking
Carl Baldwin [Tue, 14 Jul 2015 19:00:45 +0000 (19:00 +0000)]
Use only the lower 16 bits of iptables mark for marking

Since a packet can only have one mark, and we will need to mark a
packet for multiple purposes, we need to use a coordinated bitmask for
the two cases of simple marking that we currently do in Neutron
leaving the other bits for address scopes.

DocImpact

Change-Id: Id0517758d06e036a36dc8b8772e41af55d986b4e
Partially-Implements: blueprint address-scopes

9 years agoPython 3: fix test_provider_configuration
Cyril Roelandt [Fri, 17 Jul 2015 17:27:36 +0000 (17:27 +0000)]
Python 3: fix test_provider_configuration

We cannot compare a dict_keys/dict_values object with a list.

Change-Id: I6dbbe5eb4e98ccfc41109a5d93a22cda910774ee
Blueprint: neutron-python3

9 years agoAdd address_scope_db to neutron/models/head.py
Mike Bayer [Fri, 17 Jul 2015 17:19:57 +0000 (13:19 -0400)]
Add address_scope_db to neutron/models/head.py

The head.py file ensures that all relevant models are
imported when ModelsMigrationSync tests are run in
neutron/tests/functional/db/test_migrations.   This is
one of the models that needs to be present else the
"address_scopes" table comes out as missing.   The
error is usually concealed by the fact that the module
was imported as a side effect of other tests but
is revealed if one runs test_migrations.py alone.

Change-Id: I954d8385c479de663ef1a5ef439866d2d927bcf3

9 years agoMerge "Network RBAC DB setup and legacy migration"
Jenkins [Fri, 17 Jul 2015 16:56:28 +0000 (16:56 +0000)]
Merge "Network RBAC DB setup and legacy migration"

9 years agoOVS agent factor our port stats processing
rossella [Sun, 5 Jul 2015 21:58:25 +0000 (23:58 +0200)]
OVS agent factor our port stats processing

Move the port stats processing from the rpc loop to a new method
get_port_stats

Change-Id: I4a927f5c11328d854fbb5f76d560bbd9425651ea

9 years agoPython3: Do not compare NoneType and integers
Cyril Roelandt [Thu, 16 Jul 2015 21:12:58 +0000 (21:12 +0000)]
Python3: Do not compare NoneType and integers

In Python 2:
>>> None > 0
False

In Python 3:
>>> None > 0
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unorderable types: NoneType() > int()

This commit does not change the behaviour of the affected code, but fixes the
TypeError that is raised in Python 3.

Some tests have been added to the py34 section of tox.ini, but are currently
commented out: these are tests that work with this patch and a fixed version of
Routes.

Change-Id: Ia00a2ad90206853f78ed93cf540bce54baab00e7
Blueprint: neutron-python3

9 years agoUse oslo_log.helpers.log_method_call
Cedric Brandily [Wed, 15 Jul 2015 21:39:49 +0000 (23:39 +0200)]
Use oslo_log.helpers.log_method_call

log[1] decorator is deprecated, this change replaces it with oslo_log
log_method_call[2].

[1] neutron.common.log
[2] oslo_log.helpers.log_method_call

Change-Id: I61cf3c010e1f33a45ff700f4e8d4824ebdb378c7

9 years agoUnplug the VIF if dhcp port is deleted
shihanzhang [Tue, 30 Jun 2015 02:14:19 +0000 (10:14 +0800)]
Unplug the VIF if dhcp port is deleted

if user delete the dhcp port, dhcp-agent should unplug
the VIF for this dhcp port, then the driver do
'reload_allocations' will raise a exception, dhcp-agent
resync for this network and re-create dhcp port.

Change-Id: I40b85033d075562c43ce4d0e68296211b3241197
Closes-bug: #1469615

9 years agoPython 3: Wrap map() in a list call
fumihiko kakuma [Thu, 16 Jul 2015 10:34:12 +0000 (19:34 +0900)]
Python 3: Wrap map() in a list call

map() returns an iterator in python 3. In a case that a list is expected,
we wrap map() in a list call.

Change-Id: I623d854c410176c8ec43b732dc8f4e087dadefd9
Blueprint: neutron-python3

9 years agoDevref documentation for client command extension support
Gal Sagie [Mon, 6 Jul 2015 13:22:39 +0000 (16:22 +0300)]
Devref documentation for client command extension support

Change-Id: I51d5c26467b0e10e215838a02e6be81b6bc07ea9
Closes-Bug: #1470622
Depends-On: If71c9e2bbf888b1a68d3b7dc351f7df02f1a380f

9 years agoMerge "OVS-agent: Fix a docstring typo"
Jenkins [Fri, 17 Jul 2015 03:41:02 +0000 (03:41 +0000)]
Merge "OVS-agent: Fix a docstring typo"

9 years agoMerge "Flavor Framework implementation"
Jenkins [Fri, 17 Jul 2015 03:24:20 +0000 (03:24 +0000)]
Merge "Flavor Framework implementation"

9 years agoMerge "Fix bug that resources in attr_map may point to same object"
Jenkins [Fri, 17 Jul 2015 02:56:29 +0000 (02:56 +0000)]
Merge "Fix bug that resources in attr_map may point to same object"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Fri, 17 Jul 2015 02:56:16 +0000 (02:56 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Lower log level of errors caused by user requests to INFO"
Jenkins [Fri, 17 Jul 2015 02:56:04 +0000 (02:56 +0000)]
Merge "Lower log level of errors caused by user requests to INFO"

9 years agoMerge "Make Daemon pidfile arg optional"
Jenkins [Fri, 17 Jul 2015 02:54:12 +0000 (02:54 +0000)]
Merge "Make Daemon pidfile arg optional"

9 years agoAlter unit test to match bug and cleanup ext logic
Kevin Benton [Fri, 17 Jul 2015 01:45:30 +0000 (18:45 -0700)]
Alter unit test to match bug and cleanup ext logic

The unit test for bug #1443342 was only testing that a side effect
leading to the bug didn't occur (comparing object identities). This
patch updates the unit test to fully assert that the bug itself
doesn't occur without checking implementation details.

This also eliminates the branching that led to the original issue by
using setdefault to always return a dict to update.

Related-Bug: #1443342
Change-Id: I6c48681aa49c17bbadffa12bad1eea272c483437

9 years agoMake external_gateway_nat_rules easier to understand
Carl Baldwin [Mon, 13 Jul 2015 18:44:38 +0000 (18:44 +0000)]
Make external_gateway_nat_rules easier to understand

Future patches will change these snat rules for address scopes.  I
found it much easier to understand the changes needed after formatting
these like this.

Change-Id: I8356e438334f8c1b6fdb497650a3b63835c612cf
Partially-Implements: blueprint address-scopes

9 years agoRemove perform_snat_action indirection
Carl Baldwin [Thu, 9 Jul 2015 19:19:00 +0000 (19:19 +0000)]
Remove perform_snat_action indirection

This indirection seems complicated to me.  I don't know the history
behind it but it made some of the address scope work more difficult
than I think it needs to be.

Change-Id: I1e716135b542c09ec852f6ab7af5153a65803ba3
Partially-Implements: blueprint address-scopes

9 years agoFlavor Framework implementation
Eugene Nikanorov [Thu, 17 Jul 2014 10:23:49 +0000 (14:23 +0400)]
Flavor Framework implementation

This patch introduces API and DB plugin for flavor framework.
API adds Flavors and Service Profiles which are resources
available only for admins to operate.

This framework then should be leveraged by advanced services.

Included tempest API tests in neutron tree

Implements: blueprint neutron-flavor-framework
Change-Id: I99ba0ce520ae3d8696eca5c994777c7d5ba3d4b1
Co-Authored-By: Doug Wiegley <dougw@a10networks.com>
Co-Authored-By: Madhusudhan Kandadai <madhusudhan.kandadai@hp.com>
9 years agoAdd breakages in public API of devref
Yusuke Ide [Sat, 4 Jul 2015 06:38:58 +0000 (15:38 +0900)]
Add breakages in public API of devref

In wiki it is intended to keep track of neutron changes that may affect
external plugins and drivers. The information should be kept in a living
document in the devref area of the neutron code tree.

Change-Id: Ic73ffd02fbaea48fcb6ad29dd5c9e91870064cb1
Closes-Bug: #1470598

9 years agoMerge "Lower log level for extending network/subnet/port"
Jenkins [Thu, 16 Jul 2015 14:05:34 +0000 (14:05 +0000)]
Merge "Lower log level for extending network/subnet/port"

9 years agoMerge "Python 3: do not use types.ClassType"
Jenkins [Thu, 16 Jul 2015 14:05:20 +0000 (14:05 +0000)]
Merge "Python 3: do not use types.ClassType"

9 years agoNetwork RBAC DB setup and legacy migration
Kevin Benton [Mon, 15 Jun 2015 09:18:36 +0000 (02:18 -0700)]
Network RBAC DB setup and legacy migration

This patch implements the database model required for the network
RBAC work. In addition it migrates the current network and subnet
'shared' attributes to leverage the new table.

'shared' is no longer a property of the DB model because its status
is based on the tenant ID of the API caller. From an API perspective
this is the same (tenants will see networks as 'shared=True' if the
network is shared with them). However, internal callers (e.g. plugins,
drivers, services) will not be able to check for the 'shared' attribute
on network and subnet db objects any more.

This patch just achieves parity with the current shared behavior so it
doesn't add the ability to manipulate the RBAC entries directly. The
RBAC API is in the following patch.

Partially-Implements: blueprint rbac-networks
Change-Id: I3426b13eede8bfa29729cf3efea3419fb91175c4

9 years agoAdd oslo db retry decorator to non-CRUD actions
Kevin Benton [Thu, 16 Jul 2015 09:07:48 +0000 (02:07 -0700)]
Add oslo db retry decorator to non-CRUD actions

The previously added decorators to the create and update handlers
in the API layer only applied to actions that followed the standard
create/update path. However, for API operations like add_router_interface,
a different path is followed that wasn't covered by a retry decorator.

This patch adds the decorator to handle deadlocks in those operations as
well.

Closes-Bug: #1475218
Change-Id: Ib354074e6a3f68cedb95fd774f905d94ca16a830

9 years agoChange prefix for namespace fixture
Jakub Libosvar [Thu, 16 Jul 2015 08:45:22 +0000 (10:45 +0200)]
Change prefix for namespace fixture

With fullstack in game namespace fixtures are not used only in
functional tests. This patch changes prefix to be "test-" instead of
"func-" to describe better its purpose.

Change-Id: Ie9a22f51dbd45247550d7cd538339ba199d93c26

9 years agoMerge "Different approach to indicate failure on SystemExit"
Jenkins [Thu, 16 Jul 2015 06:57:16 +0000 (06:57 +0000)]
Merge "Different approach to indicate failure on SystemExit"

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Thu, 16 Jul 2015 06:09:56 +0000 (06:09 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: If95ecf8eb6a7e4b01340b3bb735f62aedf4e518f

9 years agoMerge "Avoid using logging in signal handler"
Jenkins [Thu, 16 Jul 2015 05:55:01 +0000 (05:55 +0000)]
Merge "Avoid using logging in signal handler"

9 years agoOVS-agent: Fix a docstring typo
YAMAMOTO Takashi [Thu, 16 Jul 2015 05:21:10 +0000 (14:21 +0900)]
OVS-agent: Fix a docstring typo

Change-Id: Ib917d8c77060acaec491c459eb3c0a434f7610af

9 years agoMerge "Fix a regression in a recent IPAM change"
Jenkins [Thu, 16 Jul 2015 02:50:22 +0000 (02:50 +0000)]
Merge "Fix a regression in a recent IPAM change"

9 years agoMerge "Create dvr base class and stop passing around snat_ports"
Jenkins [Thu, 16 Jul 2015 00:24:55 +0000 (00:24 +0000)]
Merge "Create dvr base class and stop passing around snat_ports"

9 years agoMerge "populate port security default into network"
Jenkins [Thu, 16 Jul 2015 00:05:15 +0000 (00:05 +0000)]
Merge "populate port security default into network"

9 years agoPython 3: do not use types.ClassType
Cyril Roelandt [Wed, 15 Jul 2015 11:54:51 +0000 (11:54 +0000)]
Python 3: do not use types.ClassType

In Python 3, one should just use 'type'. Still, the use of "ClassType" does not
seem necessary here, so just fix the tests.

Change-Id: I5574926fc338110cc989bf185fa454ec26f4d530
Blueprint: neutron-python3

9 years agoMerge "Remove db-access semaphore in ML2"
Jenkins [Wed, 15 Jul 2015 21:58:42 +0000 (21:58 +0000)]
Merge "Remove db-access semaphore in ML2"

9 years agoMerge "Fix update_port_postcommit and port not found with DVR"
Jenkins [Wed, 15 Jul 2015 19:42:08 +0000 (19:42 +0000)]
Merge "Fix update_port_postcommit and port not found with DVR"

9 years agoCreate dvr base class and stop passing around snat_ports
Carl Baldwin [Thu, 9 Jul 2015 22:05:05 +0000 (22:05 +0000)]
Create dvr base class and stop passing around snat_ports

The one thing that I see that the two dvr classes have in common is
the ability to map internal ports to snat ports.  The dvr local router
needs it to set up a redirect to the central part.  The central part
needs it to create the port for the internal network.

This change renames the mapping method to something more logical and
removes snat_ports as an argument to two methods because it is a quick
O(1) operation to get it from the router dict and passing it around
just tangles things up.

Change-Id: Icc099c1a97e3e68eeaf4690bc83167ba30d8099a

9 years agoMerge "Improve check_migration command error message"
Jenkins [Wed, 15 Jul 2015 16:28:23 +0000 (16:28 +0000)]
Merge "Improve check_migration command error message"

9 years agoMerge "Correct two spelling mistakes in Neutron devrefs"
Jenkins [Wed, 15 Jul 2015 15:25:21 +0000 (15:25 +0000)]
Merge "Correct two spelling mistakes in Neutron devrefs"

9 years agoMerge "Move pylint dep from tox.ini to test-requirements"
Jenkins [Wed, 15 Jul 2015 15:03:27 +0000 (15:03 +0000)]
Merge "Move pylint dep from tox.ini to test-requirements"

9 years agoMerge "bugs: Update info about current bug czar"
Jenkins [Wed, 15 Jul 2015 13:42:35 +0000 (13:42 +0000)]
Merge "bugs: Update info about current bug czar"

9 years agoMerge "Fix SR-IOV mechanism driver tests directory"
Jenkins [Wed, 15 Jul 2015 13:36:53 +0000 (13:36 +0000)]
Merge "Fix SR-IOV mechanism driver tests directory"

9 years agoMerge "Galera multi-writers compliant sync_allocations"
Jenkins [Wed, 15 Jul 2015 13:35:11 +0000 (13:35 +0000)]
Merge "Galera multi-writers compliant sync_allocations"

9 years agoMerge "[neutron-db-manage] support separate migration branches"
Jenkins [Wed, 15 Jul 2015 12:59:13 +0000 (12:59 +0000)]
Merge "[neutron-db-manage] support separate migration branches"

9 years agoMerge "Switch to the oslo_utils.fileutils"
Jenkins [Wed, 15 Jul 2015 12:54:48 +0000 (12:54 +0000)]
Merge "Switch to the oslo_utils.fileutils"

9 years agoCorrect two spelling mistakes in Neutron devrefs
Neil Jerram [Wed, 15 Jul 2015 11:19:23 +0000 (12:19 +0100)]
Correct two spelling mistakes in Neutron devrefs

Change-Id: Ia15c82363972845c70e773d85aa3be3beb2e0eb5

9 years agoImprove check_migration command error message
Cedric Brandily [Tue, 7 Jul 2015 12:23:12 +0000 (12:23 +0000)]
Improve check_migration command error message

This change adds some details (expected heads) to the error raised by
neutron-db-manage check_migration command in order to help debugging.

Change-Id: Icfc6fc5722b5a3b7c4a36131553eeba0941d12e3

9 years agoAvoid using logging in signal handler
shihanzhang [Tue, 14 Jul 2015 09:32:48 +0000 (17:32 +0800)]
Avoid using logging in signal handler

In some cases, logging can grab locks and thusly attempt to reschedule,
which will fail in signal handlers. this patch removes the actions
from the signal handers, just set a flat if it got a signal, then in
rpc_loop, check the flag and perform appropriate actions.

Change-Id: I7a477e1c95b63fa8070ec9d08656156571421bb6
Partial-Bug: #1029727

9 years agoMerge "Tighten exception handler for import_object"
Jenkins [Wed, 15 Jul 2015 08:41:58 +0000 (08:41 +0000)]
Merge "Tighten exception handler for import_object"

9 years agoGalera multi-writers compliant sync_allocations
Cedric Brandily [Tue, 16 Jun 2015 07:42:35 +0000 (09:42 +0200)]
Galera multi-writers compliant sync_allocations

Currently sync_allocations[1] uses with_lockmode('update) which implies
possible deadlocks with Galera multi-writers. This change decorates the
method in order to catch and retry sync_allocations.

[1] neutron.plugins.ml2.drivers.type_tunnel

Change-Id: Ic01614cb5daf174848cf14a6aa4b38c4ed40fe1e

9 years agoFix SR-IOV mechanism driver tests directory
Aviram Bar-Haim [Wed, 15 Jul 2015 07:41:12 +0000 (10:41 +0300)]
Fix SR-IOV mechanism driver tests directory

This patch adds mising __init__ to mech_sriov/mech_driver/ tests directory.

Trivial Fix

Change-Id: Ie048eaeed6cfa923e09c4260a56f654a74307715

9 years agoSwitch to the oslo_utils.fileutils
Sergey Vilgelm [Wed, 8 Jul 2015 12:51:14 +0000 (15:51 +0300)]
Switch to the oslo_utils.fileutils

fileutils is graduated in the oslo.utils library.

Implements: blueprint graduate-fileutils[1]
[1] https://blueprints.launchpad.net/oslo-incubator/+spec/graduate-fileutils

Depends-On: I51ba9076e1fbc16145ee2311f47b7768c16dcb20 (requirements)

Change-Id: I933d02aa48260069149d16caed02b020296b943a

9 years agoFix a regression in a recent IPAM change
YAMAMOTO Takashi [Wed, 15 Jul 2015 03:48:38 +0000 (12:48 +0900)]
Fix a regression in a recent IPAM change

The change I81806a43ecc6f0a7b293ce3e70d09d1e266b9f02
effectively removed _delete_port from NeutronDbPluginV2.
Unfortunately, it's still used directly by l3_dvr_db.

Closes-Bug: #1474639
Change-Id: I6ffb1d2d6f072ac1669637943eacad182244ca5c

9 years agoMerge "Abstract sync_allocations"
Jenkins [Wed, 15 Jul 2015 00:24:24 +0000 (00:24 +0000)]
Merge "Abstract sync_allocations"

9 years agoMerge "Cleanup unused method get_plugin_version"
Jenkins [Wed, 15 Jul 2015 00:10:10 +0000 (00:10 +0000)]
Merge "Cleanup unused method get_plugin_version"

9 years agoMerge "Register extraroute extension"
Jenkins [Wed, 15 Jul 2015 00:08:38 +0000 (00:08 +0000)]
Merge "Register extraroute extension"

9 years agoMerge "Updated from global requirements"
Jenkins [Tue, 14 Jul 2015 22:22:27 +0000 (22:22 +0000)]
Merge "Updated from global requirements"