]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "objects.qos: added unit tests for QosPolicy neutron object" into feature/qos
Jenkins [Thu, 9 Jul 2015 14:52:55 +0000 (14:52 +0000)]
Merge "objects.qos: added unit tests for QosPolicy neutron object" into feature/qos

9 years agoMerge "objects.base: avoid db access if object does not have changes" into feature/qos
Jenkins [Thu, 9 Jul 2015 14:26:19 +0000 (14:26 +0000)]
Merge "objects.base: avoid db access if object does not have changes" into feature/qos

9 years agoMerge "Merge remote-tracking branch 'origin/feature/qos' into merge-branch" into...
Jenkins [Tue, 7 Jul 2015 21:57:29 +0000 (21:57 +0000)]
Merge "Merge remote-tracking branch 'origin/feature/qos' into merge-branch" into feature/qos

9 years agoMerge "Introduce the AFTER_READ callback for ports and networks" into feature/qos
Jenkins [Tue, 7 Jul 2015 14:13:03 +0000 (14:13 +0000)]
Merge "Introduce the AFTER_READ callback for ports and networks" into feature/qos

9 years agoMerge remote-tracking branch 'origin/feature/qos' into merge-branch
Ihar Hrachyshka [Tue, 7 Jul 2015 13:37:58 +0000 (15:37 +0200)]
Merge remote-tracking branch 'origin/feature/qos' into merge-branch

Change-Id: I7f2342d62634f5b4af3a083cc1aaff46efe28519

9 years agoMerge "COMMON_PREFIXES cleanup - patch 5/5"
Jenkins [Tue, 7 Jul 2015 06:50:06 +0000 (06:50 +0000)]
Merge "COMMON_PREFIXES cleanup - patch 5/5"

9 years agoMerge "Devref for out-of-tree plugin/driver contribution"
Jenkins [Tue, 7 Jul 2015 04:31:32 +0000 (04:31 +0000)]
Merge "Devref for out-of-tree plugin/driver contribution"

9 years agoCOMMON_PREFIXES cleanup - patch 5/5
armando-migliaccio [Thu, 2 Jul 2015 19:56:24 +0000 (12:56 -0700)]
COMMON_PREFIXES cleanup - patch 5/5

Get rid of COMMON_PREFIXES, as now the prefix is a service's declaritive property.

Change-Id: I3d306131df94188f75e69edb13d262721d10bee5
Depends-on: I0450d0b2bf409d470a3a87bfd96518939759a84e
Depends-on: Ia34695967cbbec0a1cf0884dad82e096de8539b8
Depends-on: Ib9517b772fe426eaf0809c439aa3ba0448c7abaa

9 years agoMerge "Refactor IpRuleCommand to take more arguments"
Jenkins [Mon, 6 Jul 2015 21:18:33 +0000 (21:18 +0000)]
Merge "Refactor IpRuleCommand to take more arguments"

9 years agoDevref for out-of-tree plugin/driver contribution
Henry Gessau [Mon, 1 Jun 2015 17:52:18 +0000 (13:52 -0400)]
Devref for out-of-tree plugin/driver contribution

Change-Id: I6198acce97409e0e87520a31f2749b62d607e9c1

9 years agoMerge "Update DVR agent to use get_vifs_by_id"
Jenkins [Mon, 6 Jul 2015 17:10:02 +0000 (17:10 +0000)]
Merge "Update DVR agent to use get_vifs_by_id"

9 years agoPython3: do not add dict_values objects
Cyril Roelandt [Fri, 3 Jul 2015 15:58:03 +0000 (15:58 +0000)]
Python3: do not add dict_values objects

In Python 3, dict.values returns a dict_values object instead of a list.

Change-Id: I83bc7718ac9bbb64187fefae57ce835fbe225829
Blueprint: neutron-python3

9 years agoMerge "AgentExtensionsManager and AgentCoreResourceExtension" into feature/qos
Jenkins [Mon, 6 Jul 2015 11:56:16 +0000 (11:56 +0000)]
Merge "AgentExtensionsManager and AgentCoreResourceExtension" into feature/qos

9 years agoMerge "Add policy files specific to NSX plugins"
Jenkins [Sun, 5 Jul 2015 17:45:24 +0000 (17:45 +0000)]
Merge "Add policy files specific to NSX plugins"

9 years agoMerge "QoS extension fixes" into feature/qos
Jenkins [Sun, 5 Jul 2015 15:35:52 +0000 (15:35 +0000)]
Merge "QoS extension fixes" into feature/qos

9 years agoMerge "Python 3: do not index dict_keys objects"
Jenkins [Sat, 4 Jul 2015 23:20:41 +0000 (23:20 +0000)]
Merge "Python 3: do not index dict_keys objects"

9 years agoPython 3: do not index dict_keys objects
Cyril Roelandt [Wed, 1 Jul 2015 22:29:12 +0000 (22:29 +0000)]
Python 3: do not index dict_keys objects

This cannot be done in Python 3, where dict.keys() returns an iterator. We need
to cast the result of dict.keys() to a list first.

Change-Id: I28986aefb720b4513e3eee9ba0909f79d1dc9695
Blueprint: neutron-python3

9 years agoUpdate DVR agent to use get_vifs_by_id
Kevin Benton [Fri, 26 Jun 2015 17:00:42 +0000 (10:00 -0700)]
Update DVR agent to use get_vifs_by_id

The new get_vifs_by_id function retrieves all of the VIFs
for a port iteration at once to eliminate unnecessary multiple
calls to OVSDB.

Change-Id: If18557faead836121bfa3b4e6efccd0318ce72d3
Related-Bug: #1460233

9 years agoMerge "Start documenting potential API breakages in devref:neutron_api"
Jenkins [Fri, 3 Jul 2015 15:58:27 +0000 (15:58 +0000)]
Merge "Start documenting potential API breakages in devref:neutron_api"

9 years agoMerge "devref: document API status for neutron.openstack.common.*"
Jenkins [Fri, 3 Jul 2015 15:43:42 +0000 (15:43 +0000)]
Merge "devref: document API status for neutron.openstack.common.*"

9 years agoMerge "Python3: do not use urllib.urlencode"
Jenkins [Fri, 3 Jul 2015 08:35:43 +0000 (08:35 +0000)]
Merge "Python3: do not use urllib.urlencode"

9 years agoMerge "COMMON_PREFIXES cleanup - patch 1/5"
Jenkins [Fri, 3 Jul 2015 08:27:27 +0000 (08:27 +0000)]
Merge "COMMON_PREFIXES cleanup - patch 1/5"

9 years agoMerge "Fall back on empty path if prefix is missing"
Jenkins [Fri, 3 Jul 2015 08:13:46 +0000 (08:13 +0000)]
Merge "Fall back on empty path if prefix is missing"

9 years agoMerge "OVS native DBListcommand if_exists support"
Jenkins [Fri, 3 Jul 2015 04:24:20 +0000 (04:24 +0000)]
Merge "OVS native DBListcommand if_exists support"

9 years agoMerge "Downgrade log level for gone port on status update"
Jenkins [Fri, 3 Jul 2015 04:22:24 +0000 (04:22 +0000)]
Merge "Downgrade log level for gone port on status update"

9 years agoMerge "Fixing indentation and typo in comments"
Jenkins [Fri, 3 Jul 2015 03:26:30 +0000 (03:26 +0000)]
Merge "Fixing indentation and typo in comments"

9 years agoMerge "Remove unused linux bridge agent configuration options"
Jenkins [Fri, 3 Jul 2015 03:04:49 +0000 (03:04 +0000)]
Merge "Remove unused linux bridge agent configuration options"

9 years agoCOMMON_PREFIXES cleanup - patch 1/5
armando-migliaccio [Thu, 2 Jul 2015 19:06:05 +0000 (12:06 -0700)]
COMMON_PREFIXES cleanup - patch 1/5

This dictionary does not belong to the plugins directory as it captures
API business, but practically speaking it does not even deserve to exist
and can be removed altogether.

This is patch one in a series that aims at addressing this monkey business.

Change-Id: I95cd71dfc35e266f6f3cc5715ab8a0deb10058e7

9 years agoFall back on empty path if prefix is missing
armando-migliaccio [Thu, 2 Jul 2015 02:46:16 +0000 (19:46 -0700)]
Fall back on empty path if prefix is missing

A missing entry causes a KeyError that leads the server to blow up during
startup. We can fallback on an empty path (like some services do), in case
the prefix is not specified.

Furthermore, we can be declarative with this property, the same way we are
with properties like aliases, bulk support, etc.

Change-Id: I58a9b90a39d434f4808264aeb6f9ee5aceff7fbd

9 years agoMerge "Use EXT_TO_SERVICE_MAPPING instead of ALLOWED_SERVICES"
Jenkins [Thu, 2 Jul 2015 23:43:27 +0000 (23:43 +0000)]
Merge "Use EXT_TO_SERVICE_MAPPING instead of ALLOWED_SERVICES"

9 years agoRefactor IpRuleCommand to take more arguments
Carl Baldwin [Tue, 30 Jun 2015 20:23:39 +0000 (20:23 +0000)]
Refactor IpRuleCommand to take more arguments

The iproute2 rule command takes more arguments than the ones supported
by this wrapper.  Particularly, for address scopes, we're interested
in iif and fwmark.  Instead of adding these piecemeal, this change
makes the wrapper flexible to pass any of them using kwargs.

Callers of add / delete are updated to pass keyword arguments for
table and priority since they are no longer required positional
arguments.  This looks better anyway.

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

9 years agoobjects.qos: added unit tests for QosPolicy neutron object
Ihar Hrachyshka [Thu, 2 Jul 2015 21:52:20 +0000 (00:52 +0300)]
objects.qos: added unit tests for QosPolicy neutron object

Change-Id: Icecb3fc08c81bd9fb9f8bad54ed800a4eb55d399

9 years agoobjects.base: avoid db access if object does not have changes
Ihar Hrachyshka [Thu, 2 Jul 2015 20:30:36 +0000 (23:30 +0300)]
objects.base: avoid db access if object does not have changes

Also cover base object with unit tests.

Change-Id: I2f58c767ba35eeee2f9ecc363e5b042ea8638faa

9 years agoMerge "Support Basic Address Scope CRUD as extensions"
Jenkins [Thu, 2 Jul 2015 22:44:10 +0000 (22:44 +0000)]
Merge "Support Basic Address Scope CRUD as extensions"

9 years agoMerge "Add extension callbacks support for networks" into feature/qos
Jenkins [Thu, 2 Jul 2015 21:59:46 +0000 (21:59 +0000)]
Merge "Add extension callbacks support for networks" into feature/qos

9 years agoStart documenting potential API breakages in devref:neutron_api
Ihar Hrachyshka [Thu, 2 Jul 2015 15:42:07 +0000 (18:42 +0300)]
Start documenting potential API breakages in devref:neutron_api

Change-Id: I2ceb9e347ea0687e93b766d58601cd86561d1e2b

9 years agoQoS extension fixes
John Schwarz [Thu, 2 Jul 2015 09:32:05 +0000 (12:32 +0300)]
QoS extension fixes

This patch introduces small fixes to the QoS extensions:
1. Adding a common tenant_id field for QoS API calls.
2. Making sure the function interface is correct.

Co-Authored-By: Irena Berezovsky <irenab.dev@gmail.com>
Change-Id: If9c7a7b9b8a5d2367d8f3225fbf07d8e3ec8865d

9 years agoMerge "Collapse create_subnet into single method"
Jenkins [Thu, 2 Jul 2015 20:17:35 +0000 (20:17 +0000)]
Merge "Collapse create_subnet into single method"

9 years agoMerge "[qos] policy: add methods to interact with policy bindings" into feature/qos
Jenkins [Thu, 2 Jul 2015 20:12:55 +0000 (20:12 +0000)]
Merge "[qos] policy: add methods to interact with policy bindings" into feature/qos

9 years agoMerge "l3 agent: do router cleanup for unknown routers"
Jenkins [Thu, 2 Jul 2015 20:06:09 +0000 (20:06 +0000)]
Merge "l3 agent: do router cleanup for unknown routers"

9 years agoMerge "Generic Resources RPC" into feature/qos
Jenkins [Thu, 2 Jul 2015 20:03:09 +0000 (20:03 +0000)]
Merge "Generic Resources RPC" into feature/qos

9 years agoMerge "Merge remote-tracking branch 'origin/master' into merge-branch" into feature/qos
Jenkins [Thu, 2 Jul 2015 20:00:19 +0000 (20:00 +0000)]
Merge "Merge remote-tracking branch 'origin/master' into merge-branch" into feature/qos

9 years agoMerge "DVR: remove unused method"
Jenkins [Thu, 2 Jul 2015 18:46:30 +0000 (18:46 +0000)]
Merge "DVR: remove unused method"

9 years agoMerge "Generic rpc callback mechanism which could be reused" into feature/qos
Jenkins [Thu, 2 Jul 2015 18:22:16 +0000 (18:22 +0000)]
Merge "Generic rpc callback mechanism which could be reused" into feature/qos

9 years agodevref: document API status for neutron.openstack.common.*
Ihar Hrachyshka [Thu, 2 Jul 2015 15:32:42 +0000 (18:32 +0300)]
devref: document API status for neutron.openstack.common.*

Make sure we document the fact that neutron.openstack.common.* contents
are not meant to be used by external repositories (except, temporarily,
*aas repos).

If I could bootstrap the oslo-incubator subtree from scratch, I would
put it under neutron._openstack, to indicate that it's for internal
usage only. But we can't do it now, so instead I update devref.

Change-Id: I42252a7b0a07759c57995b2fc1f8d20ecba7d33b

9 years agoMerge "Improve fixture usage."
Jenkins [Thu, 2 Jul 2015 15:52:38 +0000 (15:52 +0000)]
Merge "Improve fixture usage."

9 years agoPython3: do not use urllib.urlencode
Cyril Roelandt [Wed, 1 Jul 2015 19:16:43 +0000 (19:16 +0000)]
Python3: do not use urllib.urlencode

It has been moved in Python3. Use six.moves to have code that works with both
Python 2 and 3.

Change-Id: I5f286b1f784b3b7bb37852b00169a6c1227eb74b
Blueprint: neutron-python3

9 years agoMerge remote-tracking branch 'origin/master' into merge-branch
Ihar Hrachyshka [Thu, 2 Jul 2015 14:03:01 +0000 (17:03 +0300)]
Merge remote-tracking branch 'origin/master' into merge-branch

Change-Id: I114225ad6fa52ae5a085719251f273f3de4d72ef

9 years agoAgentExtensionsManager and AgentCoreResourceExtension
Moshe Levi [Wed, 24 Jun 2015 15:10:05 +0000 (18:10 +0300)]
AgentExtensionsManager and AgentCoreResourceExtension

This patch introduces the following classes:
L2Agent - abstract class for common L2Agent implementions.
AgentExtensionsManager - to load AgentCoreResourceExtension.
AgentCoreResourceExtension - interface class to define
the AgentCoreResourceExtension API.
This allows better segregation between L2 Agent Core
and L2 Agent Extensions.

The patch is missing unit test but it was tested manually.
I added a unit tests @TODO comments to come back
to them later.

Change-Id: I813de7ff1bee188f4294f4b3eb3645ebd903297b

9 years agoGeneric Resources RPC
Moshe Levi [Tue, 30 Jun 2015 19:23:26 +0000 (22:23 +0300)]
Generic Resources RPC

This patch adds Generic Resource RPC from agent to server.

Change-Id: I0ac8a009e781b6edb283d8634b1a2f047db092dc

9 years agoDVR: remove unused method
Oleg Bondarev [Thu, 2 Jul 2015 09:18:47 +0000 (12:18 +0300)]
DVR: remove unused method

Change-Id: I9d13993d899e2947c5f025100c98ee8934cc5c5d

9 years agoGeneric rpc callback mechanism which could be reused
Miguel Angel Ajo [Thu, 11 Jun 2015 13:21:28 +0000 (15:21 +0200)]
Generic rpc callback mechanism which could be reused

This is a publisher/subscriber messaging mechanism optimized
for agent consumption and server production without the need
of creating new rpc messages when new resources are introduced.

Oslo versionedobjects are the perfect match to ensure
cross version compatibility even if the published/subscribed
resources format change over time.

This is still a basic stub allowing get_info of the resources,
and the next change will introduce the RPC methods to call
get_info: I0ac8a009e781b6edb283d8634b1a2f047db092dc

The plugin is returning stub objects to be consumed from the
agent to test the basic behaviour until we have DB.

TODO: Update documentation, according to code changes,
      enforce versioned objects only doing deserial/serialization.

Co-Authored-By: Miguel Angel Ajo <mangelajo@redhat.com>
Co-Authored-By: Eran Gampel <eran@gampel.net>
Change-Id: I524cf5a14e99dc6bee4d4261557d98c75efa0809

9 years agoOVS native DBListcommand if_exists support
Kevin Benton [Thu, 2 Jul 2015 07:16:51 +0000 (00:16 -0700)]
OVS native DBListcommand if_exists support

Add support for the if_exists flag to the OVS native
db list command.

Closes-Bug: #1470742
Closes-Bug: #1470894
Change-Id: Ife48d99c145cfab7f0f5523f4cdfd33492085355

9 years agoMerge "First QoS versioned objects, ever" into feature/qos
Jenkins [Thu, 2 Jul 2015 11:01:13 +0000 (11:01 +0000)]
Merge "First QoS versioned objects, ever" into feature/qos

9 years agoMerge "Read vif port information in bulk"
Jenkins [Thu, 2 Jul 2015 11:01:00 +0000 (11:01 +0000)]
Merge "Read vif port information in bulk"

9 years agoIntroduce the AFTER_READ callback for ports and networks
Miguel Angel Ajo [Fri, 19 Jun 2015 14:43:52 +0000 (16:43 +0200)]
Introduce the AFTER_READ callback for ports and networks

This callback can be used by extensions and service plugins to extend
port and network information on read time, without the need of plugin
mixins.

Partially-implements: blueprint quantum-qos-api
Change-Id: Ifc92c19a69d28784c030d605c2eb161c2ba4b3f5

9 years agoMerge "Change the half of the bridge name used for ports"
Jenkins [Thu, 2 Jul 2015 09:53:23 +0000 (09:53 +0000)]
Merge "Change the half of the bridge name used for ports"

9 years agoCollapse create_subnet into single method
Pavel Bondar [Thu, 25 Jun 2015 13:32:22 +0000 (16:32 +0300)]
Collapse create_subnet into single method

Previously create_subnet called different methods for subnet allocation
with subnetpool and without it.

_create_subnet_from_implicit_pool and _create_subnet_from_pool
were collapsed into single method _create_subnet.
This is intermediate step for supporting pluggable ipam.

Partially-Implements: blueprint neutron-ipam

Change-Id: Ia6cfc2c15e29f983a623772f5473166c075a20e4

9 years agoDowngrade log level for gone port on status update
Kevin Benton [Thu, 2 Jul 2015 08:45:46 +0000 (01:45 -0700)]
Downgrade log level for gone port on status update

If a port is deleted immediately before a status update arrives
from the L2 agent, the port will be missing from the DB. The current
code was logging this at the warning level, but this occurs during
normal operations so it should only be a debug event.

Change-Id: I22af81e6807bfccb4c906ec0873fcbfca67b72df

9 years agoAdd extension callbacks support for networks
Mike Kolesnik [Tue, 30 Jun 2015 12:21:30 +0000 (15:21 +0300)]
Add extension callbacks support for networks

Add callbacks for extention to the network resource so that interested
extensions can do custom logic when a network is created or updated.

Currently it will be done the same way port notifications are done -
i.e. only in ML2 plugin. We can revisit this in a floow up patch if the
whole notification logic should be moved somewhere else as this merits
further discussion which is out of scope for a mere patch.

This will be utilized in a follow up commit.

Partially-implements: blueprint quantum-qos-api
Change-Id: I38528863e1145caf05fe3b2425511d1c5b5c0f93

9 years ago[qos] policy: add methods to interact with policy bindings
Ihar Hrachyshka [Thu, 2 Jul 2015 08:14:17 +0000 (11:14 +0300)]
[qos] policy: add methods to interact with policy bindings

Detachment is not supported in this patch.

blueprint quantum-qos-api

Change-Id: I66f87b99241a25d39d08c124bae3779c872bc567

9 years agoSupport Basic Address Scope CRUD as extensions
vikram.choudhary [Tue, 9 Jun 2015 14:25:59 +0000 (19:55 +0530)]
Support Basic Address Scope CRUD as extensions

This patch adds the support for basic address scope CRUD.
Subsequent patches will be added to use this address scope
on subnet pools.

DocImpact
APIImpact

Co-Authored-By: Ryan Tidwell <rktidwell85@gmail.com>
Co-Authored-By: Numan Siddique <nusiddiq@redhat.com>
Change-Id: Icabdd22577cfda0e1fbf6042e4b05b8080e54fdb
Partially-implements:  blueprint address-scopes

9 years agoFirst QoS versioned objects, ever
Ihar Hrachyshka [Tue, 30 Jun 2015 10:32:27 +0000 (13:32 +0300)]
First QoS versioned objects, ever

Well, first versioned objects in the tree.

Binding to networks and ports is not implemented.

No tests. Checked manually.

blueprint quantum-qos-api

Co-Authored-By: vikram.choudhary <vikram.choudhary@huawei.com>
Change-Id: I9b6cacfda4f40230d746222bed5b6c490be63743

9 years agoAdd bandwidth_limit rule type constant
Gal Sagie [Wed, 1 Jul 2015 16:15:55 +0000 (19:15 +0300)]
Add bandwidth_limit rule type constant

Change-Id: I7228b3a288848833947271a0966ca415bfaa07c4

9 years agoUse EXT_TO_SERVICE_MAPPING instead of ALLOWED_SERVICES
armando-migliaccio [Thu, 2 Jul 2015 01:01:10 +0000 (18:01 -0700)]
Use EXT_TO_SERVICE_MAPPING instead of ALLOWED_SERVICES

We can derive the services from EXT_TO_SERVICE_MAPPING, therefore
there is no need for duplicating the service labels into ALLOWED_SERVICES.

Change-Id: If92e0ea3dea4480588141a2819ea4036c527c9bc

9 years agoMerge "Fix log traces induced by retry decorator"
Jenkins [Thu, 2 Jul 2015 01:43:53 +0000 (01:43 +0000)]
Merge "Fix log traces induced by retry decorator"

9 years agoMerge "Update PLUMgrid plugin information"
Jenkins [Thu, 2 Jul 2015 00:58:40 +0000 (00:58 +0000)]
Merge "Update PLUMgrid plugin information"

9 years agoMerge "Remove bridge cleanup call"
Jenkins [Thu, 2 Jul 2015 00:11:29 +0000 (00:11 +0000)]
Merge "Remove bridge cleanup call"

9 years agoMerge remote-tracking branch 'origin/master' into merge-branch
Kyle Mestery [Wed, 1 Jul 2015 21:55:31 +0000 (21:55 +0000)]
Merge remote-tracking branch 'origin/master' into merge-branch

Change-Id: I7bd5d0568e773365eaab1ebd99dcd7186da22dae

9 years agoChange the half of the bridge name used for ports
Kevin Benton [Wed, 1 Jul 2015 20:06:38 +0000 (13:06 -0700)]
Change the half of the bridge name used for ports

The code to generate the names of the patch ports
was based on a chunk of the bridge name starting from
the beginning. With the long suffix, this ended up
excluding all of the random characters in the name.
(e.g. br-int374623235 would create an interface br-in-patch-tun).

This meant that if two tests using patch interfaces ran together,
they would have a name collision and one would fail.

This patch updates the patch port name generation to use the
randomized back portion of the name.

Change-Id: I172e0b2c0b53e8c7151bd92f0915773ea62c0c6a
Closes-Bug: #1470637

9 years agoFix log traces induced by retry decorator
armando-migliaccio [Wed, 1 Jul 2015 19:00:14 +0000 (12:00 -0700)]
Fix log traces induced by retry decorator

Patch 4e77442d5 added a retry decorator to the API layer
to catch DB deadlock errors. However, when they occur, the
retried operation ends up being ineffective because the original
body has been altered, which leads the notification and validation
layers to barf exceptions due to unrecognized/unserializable elements.

This ultimately results to an error reported to the user.

To address this, let's make a deep copy of the request body, before
we pass it down to the lower layers. This allows the decorator to
work on a pristine copy of the body on every attempt. The performance
impact for this should be negligible.

Closes-bug: #1470615

Change-Id: I82a2a002612d28fa8f97b0afbd4f7ba1e8830377

9 years agoMerge "fix spelling mistakes"
Jenkins [Wed, 1 Jul 2015 19:57:11 +0000 (19:57 +0000)]
Merge "fix spelling mistakes"

9 years agoMerge "Move windows requirements to requirements.txt"
Jenkins [Wed, 1 Jul 2015 19:02:22 +0000 (19:02 +0000)]
Merge "Move windows requirements to requirements.txt"

9 years agoMerge "Fix subnet updating failure on valid allocation pools"
Jenkins [Wed, 1 Jul 2015 18:12:02 +0000 (18:12 +0000)]
Merge "Fix subnet updating failure on valid allocation pools"

9 years agoMerge "Add bandwidth_limit rules as sub-collection of qos policy" into feature/qos
Jenkins [Wed, 1 Jul 2015 15:21:46 +0000 (15:21 +0000)]
Merge "Add bandwidth_limit rules as sub-collection of qos policy" into feature/qos

9 years agoRemove unused linux bridge agent configuration options
Assaf Muller [Mon, 29 Jun 2015 18:02:29 +0000 (14:02 -0400)]
Remove unused linux bridge agent configuration options

This is cruft left from the Linux bridge monolithic plugin,
or from pre-Havana versions of the code.

Change-Id: Id7bb7d7860859283b53f588a940ca21c94fd0e6a

9 years agoMerge "QoS: db models and migration rules" into feature/qos
Jenkins [Wed, 1 Jul 2015 13:23:01 +0000 (13:23 +0000)]
Merge "QoS: db models and migration rules" into feature/qos

9 years agoAdd bandwidth_limit rules as sub-collection of qos policy
Irena Berezovsky [Tue, 30 Jun 2015 12:04:39 +0000 (12:04 +0000)]
Add bandwidth_limit rules as sub-collection of qos policy

This patch add support for qos extension according to the
spec modification [1].

[1] https://review.openstack.org/#/c/197004/

Change-Id: I9226932191464face6e20625e35ad4b7529db4ca

9 years agoQoS: db models and migration rules
Ramanjaneya [Wed, 24 Jun 2015 11:54:11 +0000 (17:24 +0530)]
QoS: db models and migration rules

This patch includes db models and migration rules for initial QoS objects.

Comparing to the spec, it adds two more service tables to maintain links
between networks and ports and their respective policies. We maintain
uniqueness as a unique constraint.

In some parallel world, we could have an additional field for networks
and ports that could be nullable to point to a policy. That said, it
breaks qos isolation a bit, and will also be a bit more painful if and
when we decide to spin out qos service pieces outside the tree.

blueprint quantum-qos-api

Co-Authored-By: Ramanjaneya <ramanjieee@gmail.com>
Co-Authored-By: vikram.choudhary <vikram.choudhary@huawei.com>
Co-Authored-By: Ihar Hrachyshka <ihrachys@redhat.com>
Co-Authored-By: Miguel Angel Ajo <mangelajo@redhat.com>
Change-Id: I55a7dac602e2e770c21b6c7957430cb7115e5bdc

9 years agoAdd Create/Destroy API to OVS QoS BW Limiting
Gal Sagie [Sat, 27 Jun 2015 10:16:11 +0000 (13:16 +0300)]
Add Create/Destroy API to OVS QoS BW Limiting

Add infrastructure needed for the implementations
(CLI and native) and add API to ovs_lib
Add functional tests for ovs_lib

blueprint ml2-ovs-qos-with-bwlimiting

Change-Id: Ided0740548987ca91f1549f251c7906e6449f91d

9 years agoFixing indentation and typo in comments
Pavel Bondar [Wed, 24 Jun 2015 09:25:22 +0000 (12:25 +0300)]
Fixing indentation and typo in comments

- Fix strange indentation
- Fix typo in comment

Change-Id: I70893bc751c16265a8c3b3214524ab2553f4f30f

9 years agodocs: link quality of service doc stub to devref index
Ihar Hrachyshka [Wed, 1 Jul 2015 07:42:09 +0000 (10:42 +0300)]
docs: link quality of service doc stub to devref index

Since I433126a8247e7e1c316f2c96bb21e15582b247ce, doc warnings are
considered as failures in gate.

Unlinked .rst file generates one, making docs job broken for
feature/qos. Same for an empty file with no title.

Change-Id: Iba82d9728e99238bcc55b12f0ab9eb936fd62147

9 years agoMerge "dhcp fails if extra_dhcp_opts for stateless subnet enabled"
Jenkins [Wed, 1 Jul 2015 07:40:20 +0000 (07:40 +0000)]
Merge "dhcp fails if extra_dhcp_opts for stateless subnet enabled"

9 years agoMerge "NSXv: update ini file to support dhcp_lease_time"
Jenkins [Wed, 1 Jul 2015 07:17:54 +0000 (07:17 +0000)]
Merge "NSXv: update ini file to support dhcp_lease_time"

9 years agoMerge "Adds base in-tree functional testing of the ovs_neutron_agent"
Jenkins [Wed, 1 Jul 2015 07:17:40 +0000 (07:17 +0000)]
Merge "Adds base in-tree functional testing of the ovs_neutron_agent"

9 years agoUpdate PLUMgrid plugin information
Fawad Khaliq [Tue, 30 Jun 2015 09:17:19 +0000 (02:17 -0700)]
Update PLUMgrid plugin information

README was quite oudated and created confusion
among users.

Updated the information after decomposition.

Change-Id: I78bf8dec20ba2ceb644d4565035d29bbf53cb3b5

9 years agoImprove fixture usage.
Robert Collins [Mon, 29 Jun 2015 21:40:17 +0000 (09:40 +1200)]
Improve fixture usage.

There were two broad issues with fixtures.

Firstly, the 'SafeFixture' workaround for resource leaks in fixtures
<1.3 is not needed if we depend on fixtures>=1.3.1. While testtools
may raise a TypeError when trying to query a fixture that failed to
setup, this is only ever a cascading failure - it will not cause
tests to fail, cause leaks, or cause tests to incorrectly pass. That
will be fixed in testtools soon to stop it happening (but as it cannot
affect whether a test passes or fails or leaks happen there is no
reason to wait for that). Leaks are seen with fixtures 1.3.0 still
because eventlet raises a BaseException subclass rather than an
Exception subclass, and fixtures 1.3.0 didn't handle that - 1.3.1 does.

Secondly, some of the fixtures had race conditions where things were
started and then cleanups scheduled. Where possible I've fixed those,
but some of them require more significant work to fully address.

Change-Id: I3290712f7274970defda19263f4955e3c78e5ed6
Depends-On: I8c01506894ec0a92b53bc0e4ad14767f2dd6a6b3
Closes-bug: #1453888

9 years agoMerge "Increase ping count on ARP spoof test"
Jenkins [Wed, 1 Jul 2015 02:35:07 +0000 (02:35 +0000)]
Merge "Increase ping count on ARP spoof test"

9 years agoMerge "RootHelperProcess: kill can consume signal number"
Jenkins [Wed, 1 Jul 2015 02:24:10 +0000 (02:24 +0000)]
Merge "RootHelperProcess: kill can consume signal number"

9 years agoMerge "Move NetcatTester to common/net_helpers"
Jenkins [Wed, 1 Jul 2015 02:15:53 +0000 (02:15 +0000)]
Merge "Move NetcatTester to common/net_helpers"

9 years agoMerge "Disable pylint job"
Jenkins [Tue, 30 Jun 2015 23:54:17 +0000 (23:54 +0000)]
Merge "Disable pylint job"

9 years agoMerge "Add documentation for Linux Bridge (previously missing)"
Jenkins [Tue, 30 Jun 2015 23:49:51 +0000 (23:49 +0000)]
Merge "Add documentation for Linux Bridge (previously missing)"

9 years agoMerge "Switch to oslo.service"
Jenkins [Tue, 30 Jun 2015 23:24:54 +0000 (23:24 +0000)]
Merge "Switch to oslo.service"

9 years agoDisable pylint job
Assaf Muller [Tue, 30 Jun 2015 17:22:17 +0000 (13:22 -0400)]
Disable pylint job

Disabling pylint until it gets unbroken. Pylint 1.4.1 is using
logilab-common, which had a release on the 30th, breaking pylint.
Pylint developers are planning a logilab-common release tomorrow
which should unbreak pylint once again, at which point I'll
re-enable pylint.

Change-Id: I5d8aaab8192168946c2a0b74abc1a56848ca51a2
Related-Bug: #1470186

9 years agoRemove bridge cleanup call
Sean M. Collins [Tue, 30 Jun 2015 16:06:07 +0000 (12:06 -0400)]
Remove bridge cleanup call

Remove the bridge cleanup call to delete bridges, since we are seeing
race conditions where bridges are deleted, then new interfaces are
created and are attempting to plug into the bridge before it is
recreated.

Change-Id: I4ccc96566a5770384eacbbdc492bf09a514f5b31
Related-Bug: #1328546

9 years agoMove windows requirements to requirements.txt
Russell Bryant [Tue, 26 May 2015 21:07:37 +0000 (17:07 -0400)]
Move windows requirements to requirements.txt

Commit 276028cca26af573c14938255e40c58358eabd4a added these
requirements to setup.py from a custom build hook.  These requirements
can now be expressed in requirements.txt.  We need to move them there
so that the global requirements sync job can continue to keep setup.py
in sync with the global version.

Depends-on: I2369971d306c10dc39a1b89698cec95cf7551d07
Change-Id: I3c07c279d33f6aed46c3a97dd9ba81251e51429a

9 years agoAdds base in-tree functional testing of the ovs_neutron_agent
Rossella Sblendido [Fri, 5 Dec 2014 16:34:23 +0000 (17:34 +0100)]
Adds base in-tree functional testing of the ovs_neutron_agent

Base setup and utility methods for functional testing of the
OVS L2 agent.

Partially-Implements: blueprint restructure-l2-agent
Co-Authored-By: Rossella Sblendido <rsblendido@suse.com>
Change-Id: I5b3149b2b8502b9b9a36d3e20d909872cc17f8e8

9 years agofix spelling mistakes
Livnat Peer [Tue, 30 Jun 2015 13:25:57 +0000 (16:25 +0300)]
fix spelling mistakes

Change-Id: If063f111fa42a6644a1dadc7f0c0b9bbfb359294

9 years agoIncrease ping count on ARP spoof test
Kevin Benton [Tue, 30 Jun 2015 05:24:22 +0000 (22:24 -0700)]
Increase ping count on ARP spoof test

The other IPv4 tests all have a count of 2 to tolerate
ping failures due to slow ARP response/interface setup/etc.
This patch increases test_arp_spoof_allowed_address_pairs_0cidr
to 2 to match.

Closes-Bug: #1470234
Change-Id: I82bd8397672194f6162eef5392d4f19d57450552

9 years agoMerge "Don't access mock's attribute directly especially when it's not needed"
Jenkins [Tue, 30 Jun 2015 05:19:15 +0000 (05:19 +0000)]
Merge "Don't access mock's attribute directly especially when it's not needed"