]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoImprove python code for missing suggestion
Edgar Magana [Sat, 29 Aug 2015 15:00:17 +0000 (08:00 -0700)]
Improve python code for missing suggestion

Include a missing suggestion in code already merged

Related-Blueprint: better-quotas

Change-Id: I5983ccf6e2f98d2df41403b3be06748d5556c181

9 years agoMerge "Base on SqlTestCase to init db tables correctly"
Jenkins [Sat, 29 Aug 2015 14:54:22 +0000 (14:54 +0000)]
Merge "Base on SqlTestCase to init db tables correctly"

9 years agoMerge "Stops patching an object method which could be gone at cleanup"
Jenkins [Sat, 29 Aug 2015 14:54:09 +0000 (14:54 +0000)]
Merge "Stops patching an object method which could be gone at cleanup"

9 years agoMerge "Add Geneve type driver support to ML2"
Jenkins [Fri, 28 Aug 2015 23:12:29 +0000 (23:12 +0000)]
Merge "Add Geneve type driver support to ML2"

9 years agoMerge "Fix py34 No sql_connection parameter is established error"
Jenkins [Fri, 28 Aug 2015 21:08:01 +0000 (21:08 +0000)]
Merge "Fix py34 No sql_connection parameter is established error"

9 years agoMerge "devref: Add sub-project release notes"
Jenkins [Fri, 28 Aug 2015 13:09:54 +0000 (13:09 +0000)]
Merge "devref: Add sub-project release notes"

9 years agoMerge "Update template for ModelMigrationSync test"
Jenkins [Fri, 28 Aug 2015 10:20:28 +0000 (10:20 +0000)]
Merge "Update template for ModelMigrationSync test"

9 years agoMerge "devref: added guidelines on how to maintain sub-projects"
Jenkins [Fri, 28 Aug 2015 09:44:11 +0000 (09:44 +0000)]
Merge "devref: added guidelines on how to maintain sub-projects"

9 years agoBase on SqlTestCase to init db tables correctly
gong yong sheng [Wed, 26 Aug 2015 09:20:25 +0000 (17:20 +0800)]
Base on SqlTestCase to init db tables correctly

Change-Id: I6c6503d4b8b0677cb31fa54185b1aacda68f7b53
Closes-bug: #1488868

9 years agoStops patching an object method which could be gone at cleanup
Miguel Angel Ajo [Fri, 28 Aug 2015 05:49:28 +0000 (07:49 +0200)]
Stops patching an object method which could be gone at cleanup

Stop patching the qos plugin 'notification_driver_manager' method
and instead substitute for a mock since it's destroyed and reloaded
on every test run.

Closes-Bug: #1489716
Change-Id: I0e84b19bba92a7cbef837de7994a605a78936250

9 years agoMerge "Add empty policy rule to get_rule_type action"
Jenkins [Thu, 27 Aug 2015 23:24:46 +0000 (23:24 +0000)]
Merge "Add empty policy rule to get_rule_type action"

9 years agoAdd Geneve type driver support to ML2
Aaron Rosen [Tue, 5 May 2015 21:35:08 +0000 (14:35 -0700)]
Add Geneve type driver support to ML2

More information about Geneve protocol can be found here:
  https://tools.ietf.org/pdf/draft-gross-geneve-02.pdf

Following configuration variables were added:
[ml2_type_geneve]
  vni_ranges - Comma-separated list of <vni_min>:<vni_max> tuples
               enumerating ranges of Geneve VNI IDs that are
               available for tenant network allocation
  max_header_size - Geneve encapsulation header size is dynamic, this
                    value is used to calculate the maximum MTU for the driver
                    this is the sum of the sizes of the outer
                    ETH + IP + UDP + GENEVE header sizes

DocImpact

Change-Id: I8c29a1c1a7c79e02c26ac9e2ad2645d30dfbeefc
Closes-Bug: #1461069

9 years agodevref: Add sub-project release notes
Kyle Mestery [Thu, 27 Aug 2015 14:01:57 +0000 (14:01 +0000)]
devref: Add sub-project release notes

Add some notes on the release process we'll utilize for sub-projects
under the Neutron stadium.

Change-Id: Ib7bce1e3ced959bc7931bd2ecbfe8effba5ed9c0
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoUpdate template for ModelMigrationSync test
AKamyshnikova [Thu, 27 Aug 2015 07:53:26 +0000 (10:53 +0300)]
Update template for ModelMigrationSync test

Add some more useful details in template and update contribute.rst
with link for template.

Related-bug: #1470678

Change-Id: I8785129ba85236220650b2ba7ec0bc605847b1b7

9 years agoMerge "Quota enforcement: remove locks on _dirty_tenants"
Jenkins [Thu, 27 Aug 2015 07:51:21 +0000 (07:51 +0000)]
Merge "Quota enforcement: remove locks on _dirty_tenants"

9 years agoMerge "Adding Ale Omniswitch to sub_projects document"
Jenkins [Thu, 27 Aug 2015 06:01:15 +0000 (06:01 +0000)]
Merge "Adding Ale Omniswitch to sub_projects document"

9 years agoMerge "Move in-tree vendor AGENT_TYPE_* constants"
Jenkins [Thu, 27 Aug 2015 00:08:53 +0000 (00:08 +0000)]
Merge "Move in-tree vendor AGENT_TYPE_* constants"

9 years agoMerge "Move in-tree vendor VIF_TYPE_* constants"
Jenkins [Thu, 27 Aug 2015 00:08:39 +0000 (00:08 +0000)]
Merge "Move in-tree vendor VIF_TYPE_* constants"

9 years agoMerge "Remove VIF_TYPES constant"
Jenkins [Thu, 27 Aug 2015 00:08:25 +0000 (00:08 +0000)]
Merge "Remove VIF_TYPES constant"

9 years agoMerge "Add IPv6 Prefix Delegation compatibility to ipam_pluggable_backend"
Jenkins [Thu, 27 Aug 2015 00:02:44 +0000 (00:02 +0000)]
Merge "Add IPv6 Prefix Delegation compatibility to ipam_pluggable_backend"

9 years agoFix py34 No sql_connection parameter is established error
Assaf Muller [Wed, 26 Aug 2015 20:27:37 +0000 (16:27 -0400)]
Fix py34 No sql_connection parameter is established error

Tests that were using DB connections that did not happen to
import config.py were not setting the DB connection string.
The base test class now sets the string instead of relying
on an import to happen.

Change-Id: I7aceffff427d6526c0059dd88f67a58783292abd
Closes-Bug: #1489098

9 years agoMerge "Add dns_label processing for Ports"
Jenkins [Wed, 26 Aug 2015 19:53:55 +0000 (19:53 +0000)]
Merge "Add dns_label processing for Ports"

9 years agoMerge "Fix AttributeError in _clean_updated_sg_member_conntrack_entries()"
Jenkins [Wed, 26 Aug 2015 10:44:48 +0000 (10:44 +0000)]
Merge "Fix AttributeError in _clean_updated_sg_member_conntrack_entries()"

9 years agoMerge "Run py34 tests with testr"
Jenkins [Wed, 26 Aug 2015 09:10:15 +0000 (09:10 +0000)]
Merge "Run py34 tests with testr"

9 years agoMerge "Make a couple of methods private"
Jenkins [Wed, 26 Aug 2015 09:01:48 +0000 (09:01 +0000)]
Merge "Make a couple of methods private"

9 years agoMerge "OVS agent don't hard code tunnel bridge name"
Jenkins [Wed, 26 Aug 2015 05:03:47 +0000 (05:03 +0000)]
Merge "OVS agent don't hard code tunnel bridge name"

9 years agoRun py34 tests with testr
Clark Boylan [Tue, 25 Aug 2015 17:58:57 +0000 (10:58 -0700)]
Run py34 tests with testr

This doesn't use os-testr but it results in html reports built from
the subunit logs.

A note from amuller: tox -e py27 uses ostestr. The primary difference
between testr and ostestr (For my money) is that ostestr spits out
progression. After a conversation with mtreinish (The author of ostestr)
it doesn't seem to be possible to use tox with ostestr for our py34
tests because we use a long regex that is split on newlines. ostestr
supports the --regex flag as such (regex_a|regex_b), however it's not
possible to use that with newlines and to play nice with tox.
Since I think that we do want to use ostestr (Just like the py27 venv),
I'll work with mtreinish to introduce a white list regex file in to
ostestr. The file will be maintained in the repo and passed in to
ostestr via tox.

Change-Id: I1f1030cca4fd356e468d15126a730725ac9c099c

9 years agoMerge "QoS: fix get bandwidth limit rules to filter them per policy"
Jenkins [Tue, 25 Aug 2015 22:04:36 +0000 (22:04 +0000)]
Merge "QoS: fix get bandwidth limit rules to filter them per policy"

9 years agoMake a couple of methods private
Carl Baldwin [Tue, 25 Aug 2015 20:51:16 +0000 (20:51 +0000)]
Make a couple of methods private

I was just going over this class trying to understand what methods
really are used outside of the class.  I found that these two are not.
I thought I'd submit a quick patch to mark them "private".

Change-Id: Id91907996631b670e23a506e0a1feae4518e42ba

9 years agoMerge "L3 agent changes and reference implementation for IPv6 PD"
Jenkins [Tue, 25 Aug 2015 20:41:16 +0000 (20:41 +0000)]
Merge "L3 agent changes and reference implementation for IPv6 PD"

9 years agoAdd IPv6 Prefix Delegation compatibility to ipam_pluggable_backend
John Davidge [Thu, 13 Aug 2015 17:51:57 +0000 (18:51 +0100)]
Add IPv6 Prefix Delegation compatibility to ipam_pluggable_backend

This patch makes the necessary changes for IPv6 PD to function when
pluggable ipam is enabled with the reference driver.

Includes a unit test for this functionality.

Change-Id: I4227cc08fdd62922632629c424dbeb542a48a67f
Partially-Implements: blueprint ipv6-prefix-delegation

9 years agoMerge "test_ovs_neutron_agent: Fix test_cleanup_stale_flows_iter_0"
Jenkins [Tue, 25 Aug 2015 15:25:40 +0000 (15:25 +0000)]
Merge "test_ovs_neutron_agent: Fix test_cleanup_stale_flows_iter_0"

9 years agoMerge "Distributed router can not add routes"
Jenkins [Tue, 25 Aug 2015 15:25:25 +0000 (15:25 +0000)]
Merge "Distributed router can not add routes"

9 years agoMerge "ml2: Remove a redundant assignment in _bind_port_level"
Jenkins [Tue, 25 Aug 2015 15:25:09 +0000 (15:25 +0000)]
Merge "ml2: Remove a redundant assignment in _bind_port_level"

9 years agoFix AttributeError in _clean_updated_sg_member_conntrack_entries()
Brian Haley [Tue, 25 Aug 2015 13:42:12 +0000 (09:42 -0400)]
Fix AttributeError in _clean_updated_sg_member_conntrack_entries()

The conntrack work that recently merged introduced a bug
due to an incorrect 'if' statement, it was only detecting
when one variable was not set instead of both, which can
cause an exception.  This is currently causing jenkins failures
with a number of other changes.

Introduced in Change Id Ibfd2d6a11aa970ea9e5009f4c4b858544d8b7463

Change-Id: I2519fdceefc9255c21d8226cdeffec40a7d444f6
Closes-bug: #1488284

9 years agoMerge "Decomposition phase2 of NEC plugin"
Jenkins [Tue, 25 Aug 2015 10:49:15 +0000 (10:49 +0000)]
Merge "Decomposition phase2 of NEC plugin"

9 years agoMerge "Allow py34 to run tests individually"
Jenkins [Tue, 25 Aug 2015 10:28:32 +0000 (10:28 +0000)]
Merge "Allow py34 to run tests individually"

9 years agoQuota enforcement: remove locks on _dirty_tenants
salvatore [Fri, 21 Aug 2015 08:10:56 +0000 (10:10 +0200)]
Quota enforcement: remove locks on _dirty_tenants

This lock was used to avoid errors due to list contents changing
during iteration, but is causing issues with pymysql. This patch
proposes an alternative approach which makes the use of a lock
unnecessary.

With this change a copy of the dirty_tenants set is made before
setting the dirty bit on resources, and then the mark_dirty routine
operates on this copy. This still guaranteses operations
correctness, as all the tenants that should be marked dirty are
marked dirty before the completion of the relevant API request.

Related-Blueprint: better-quotas

Change-Id: Ib39e7089889d3f906bdc025c843128a1fa3e8797

9 years agoL3 agent changes and reference implementation for IPv6 PD
John Davidge [Wed, 24 Jun 2015 13:52:13 +0000 (14:52 +0100)]
L3 agent changes and reference implementation for IPv6 PD

This patch adds the common framework to be used by specific
implementations of the DHCPv6 protocol for Prefix Delegation.

It also includes a reference implementation based on the Dibbler
DHCPv6 client. Dibbler version 1.0.1 or greater is required.
Sanity tests are included to verify the installed version.

A patch for admin/user documentation is up for review here:

https://review.openstack.org/#/c/178739

Video guides for configuring and using this feature are available on
YouTube:

https://www.youtube.com/watch?v=wI830s881HQ
https://www.youtube.com/watch?v=zfsFyS01Fn0

Co-Authored-By: Baodong (Robert) Li <baoli@cisco.com>
Co-Authored-By: Sam Betts <sam@code-smash.net>
Change-Id: Id94acbbe96c717f68f318b2d715dd9cb9cc7fe4f
Implements: blueprint ipv6-prefix-delegation

9 years agoMerge "Update the URLs to the Cloud Admin Guide"
Jenkins [Tue, 25 Aug 2015 04:39:32 +0000 (04:39 +0000)]
Merge "Update the URLs to the Cloud Admin Guide"

9 years agoMerge "Make models_v2 explicitly import rbac_db_models"
Jenkins [Tue, 25 Aug 2015 04:39:18 +0000 (04:39 +0000)]
Merge "Make models_v2 explicitly import rbac_db_models"

9 years agoDecomposition phase2 of NEC plugin
Akihiro Motoki [Mon, 24 Aug 2015 01:12:52 +0000 (10:12 +0900)]
Decomposition phase2 of NEC plugin

As part of plugin decomposition effort, NEC plugin is removed
from the main neutron repo and moved to networking-nec repo.

Related blueprint core-vendor-decomposition
Closes-Bug: #1487929
Change-Id: I2ef7ec241f061516b72c4df9f959af027c4c366c

9 years agoAllow py34 to run tests individually
armando-migliaccio [Tue, 25 Aug 2015 03:56:08 +0000 (20:56 -0700)]
Allow py34 to run tests individually

Prior to this patch, when I do:

 tox -epy34 <my-test>

the argument is ignored and all whitelisted tests are executed.
This is not in line with the other testenv's. This patch ensures
that posargs are processed if available, and that we fall back on
the lot of tests when not specified.

Change-Id: I176d7bba690b1c7e0c64d11528d9c851472b503b

9 years agoMerge "ip_lib: support creating Linux dummy interface"
Jenkins [Tue, 25 Aug 2015 03:26:21 +0000 (03:26 +0000)]
Merge "ip_lib: support creating Linux dummy interface"

9 years agoMerge "Make NeutronDbObjectDuplicateEntry exception more verbose"
Jenkins [Mon, 24 Aug 2015 22:29:20 +0000 (22:29 +0000)]
Merge "Make NeutronDbObjectDuplicateEntry exception more verbose"

9 years agoMerge "Template for ModelMigrationTest for external repos"
Jenkins [Mon, 24 Aug 2015 22:27:42 +0000 (22:27 +0000)]
Merge "Template for ModelMigrationTest for external repos"

9 years agoAdd dns_label processing for Ports
Miguel Lavalle [Sun, 12 Jul 2015 23:00:50 +0000 (18:00 -0500)]
Add dns_label processing for Ports

Functionallity is added to enable users to specify a dns_label field during
port creation and update. This dns_label field will be used for DNS resolution
of the hostname in dnsmasq and also will be used when Neutron can integrate
with external DNS systems.

Change-Id: I6beab336dfd9b70b1af6e975939c602047faa651
DocImpact
APIImpact
Closes-Bug: #1459030
Implements: blueprint internal-dns-resolution

9 years agoMerge "Remove redundant logging statements from RootWrapDaemonHelper"
Jenkins [Mon, 24 Aug 2015 22:26:21 +0000 (22:26 +0000)]
Merge "Remove redundant logging statements from RootWrapDaemonHelper"

9 years agoMerge "Rationalize neutron logs to help in troubleshooting router issues"
Jenkins [Mon, 24 Aug 2015 20:34:01 +0000 (20:34 +0000)]
Merge "Rationalize neutron logs to help in troubleshooting router issues"

9 years agoMove in-tree vendor AGENT_TYPE_* constants
Cedric Brandily [Fri, 21 Aug 2015 20:48:42 +0000 (22:48 +0200)]
Move in-tree vendor AGENT_TYPE_* constants

AGENT_TYPE_* constants[1] define all agent types BUT vendor ones are only
used by in-tree vendor code. This changes moves in-tree AGENT_TYPE_*
constants[2] to vendor modules to ensure they will be removed from neutron
code on decomposition.

[1] in neutron.common.constants
[2] AGENT_TYPE_HYPERV/MLNX/SDNVE

Change-Id: Id03fb147e11541be309c1cd22ce27e70fadc28b5
Partial-Bug: #1487598

9 years agodevref: added guidelines on how to maintain sub-projects
Ihar Hrachyshka [Mon, 24 Aug 2015 17:29:46 +0000 (19:29 +0200)]
devref: added guidelines on how to maintain sub-projects

I was involved lately in several boring attempts to fix broken
sub-project requirements and stable branches, and I think part of the
problem here is that we don't communicate our expectations to
sub-projects clear enough.

This is a first attempt to set brief and clear guidelines to sub-project
maintainers on how to maintain their repositories without much hassle.

Change-Id: I9180ee530f96a885b5667e050d141ce0ab52a8ce

9 years agoUpdate the URLs to the Cloud Admin Guide
Christian Berendt [Mon, 24 Aug 2015 07:07:35 +0000 (09:07 +0200)]
Update the URLs to the Cloud Admin Guide

The Cloud Admin Guide was converted to RST and the
URLs changed.

Also add the Networking Guide to the README file.

Change-Id: I485254db6d2264aaa80e4f7146cfc61c56b27b27

9 years agoRemove redundant logging statements from RootWrapDaemonHelper
Ryan Moats [Mon, 24 Aug 2015 13:49:09 +0000 (08:49 -0500)]
Remove redundant logging statements from RootWrapDaemonHelper

create_process and execute_rootwrap_daemon both current log
the command they are about to run.  Remove these statements as
redundant (the log message showing the command's result includes
the command itself)

Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Change-Id: I8bdea7212f8a32a3b6b0b47c5b824ac1c561d83f

9 years agoRationalize neutron logs to help in troubleshooting router issues
Ryan Moats [Fri, 21 Aug 2015 14:16:52 +0000 (09:16 -0500)]
Rationalize neutron logs to help in troubleshooting router issues

Currently the neutron logs are not very useful for troubleshooting
router issues - this patch adds additional logging statements to
help the triage process.

Change-Id: I014e0119205d4a947a1be142aeeb29940c4de3bd
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMove db agent schedulers test to a more appropriate place
Oleg Bondarev [Mon, 24 Aug 2015 08:29:25 +0000 (11:29 +0300)]
Move db agent schedulers test to a more appropriate place

Current placing is confusing as in fact the tests have little to do
with ml2 and openvswitch.
This was triggered by discussion on https://review.openstack.org/199514
Next step should be to separate dhcp and l3 schedulers tests.

Change-Id: Ie05874fdc1c3070ed319e8f624c8217c5c0bb646

9 years agoMerge "Move tests for non pluggable ipam backend"
Jenkins [Mon, 24 Aug 2015 11:38:06 +0000 (11:38 +0000)]
Merge "Move tests for non pluggable ipam backend"

9 years agoMerge "Added initial devstack plugin"
Jenkins [Mon, 24 Aug 2015 11:37:52 +0000 (11:37 +0000)]
Merge "Added initial devstack plugin"

9 years agoOVS agent don't hard code tunnel bridge name
rossella [Fri, 21 Aug 2015 12:52:11 +0000 (12:52 +0000)]
OVS agent don't hard code tunnel bridge name

In setup_tunnel_br the name of the tunnel bridge
should not be hard coded

Change-Id: I7aebc27eb8d9dd347b34e31f7810fbffd6edf49a
Closes-bug: #1487435

9 years agoMerge "manual add/remove router for dvr_snat agent"
Jenkins [Mon, 24 Aug 2015 10:57:03 +0000 (10:57 +0000)]
Merge "manual add/remove router for dvr_snat agent"

9 years agoMake models_v2 explicitly import rbac_db_models
Kevin Benton [Mon, 24 Aug 2015 10:13:14 +0000 (03:13 -0700)]
Make models_v2 explicitly import rbac_db_models

The Network model was implicitly relying on a core plugin to import
the db_base_plugin_v2 module which would import the rbac model module
so "NetworkRBAC" would be defined by the time something would query
the DB. However, this isn't the case for scripts or agents that are
importing models_v2 and trying to query the DB directly so they will
now break with an sqlaclhemy error about a missing model.

This patch makes models_v2 import the rbac_db_models module directly
so the model will always be defined.

This would have resulted in a circular import because the
rbac_db_models module required the HasId and HasTenant classes
in models_v2. So this patch also moves these helper classes
into model_base.

Change-Id: I338ce1c0ba55647e6410a63f937737f75a63057d
Closes-Bug: #1488032

9 years agoMerge "Graceful OVS restart for DVR"
Jenkins [Mon, 24 Aug 2015 10:04:48 +0000 (10:04 +0000)]
Merge "Graceful OVS restart for DVR"

9 years agoMake NeutronDbObjectDuplicateEntry exception more verbose
Miguel Angel Ajo [Wed, 19 Aug 2015 13:15:21 +0000 (15:15 +0200)]
Make NeutronDbObjectDuplicateEntry exception more verbose

NeutronObjectDuplicateEntry is an exception derived from Conflict,
which is mapped to HTTPConflict. When such exception is thrown
during an API layer call, we will provide more detail to the caller
about what was exactly duplicated, and for which fields,
the information is extracted from the DB exception.

NeutronObjectDuplicateEntry is renamed into NeutronDbObjectDuplicate
to make clear it is for handling db duplicate exceptions, in
the future we could generalize to a base NeutronObjectDuplicate class
if we need separate handling for other object backings (mem, keystore,
etc).

Change-Id: I6ec5883b3456ebc842f3f7bffd8cc924293f5766

9 years agoAdd empty policy rule to get_rule_type action
gong yong sheng [Fri, 21 Aug 2015 06:51:45 +0000 (14:51 +0800)]
Add empty policy rule to get_rule_type action

Without this empty policy rule, get_rule_type will use default, which
will demand admin role or tenant_id in object. but rule_type has no
tenant_id in its body.

Change-Id: I92b1222fbcdc2efd13ca6f586cfefefc55b59189
Closes-bug: #1487324

9 years agotest_ovs_neutron_agent: Fix test_cleanup_stale_flows_iter_0
YAMAMOTO Takashi [Mon, 24 Aug 2015 08:41:08 +0000 (17:41 +0900)]
test_ovs_neutron_agent: Fix test_cleanup_stale_flows_iter_0

- Mock the correct variable
- Ensure that non-stale flows are not removed

Change-Id: I68b360d4d3cdaaa9077244a5783418456af5c48c

9 years agoMerge "Add support for unaddressed port"
Jenkins [Mon, 24 Aug 2015 04:09:13 +0000 (04:09 +0000)]
Merge "Add support for unaddressed port"

9 years agoMerge "Remove the ML2 Nuage driver code"
Jenkins [Sun, 23 Aug 2015 03:25:03 +0000 (03:25 +0000)]
Merge "Remove the ML2 Nuage driver code"

9 years agoMerge "Support dhcp metadata service for all networks"
Jenkins [Sun, 23 Aug 2015 03:12:54 +0000 (03:12 +0000)]
Merge "Support dhcp metadata service for all networks"

9 years agoMerge "Rename args for alembic 0.8.0"
Jenkins [Sun, 23 Aug 2015 00:29:26 +0000 (00:29 +0000)]
Merge "Rename args for alembic 0.8.0"

9 years agoMerge "DVR: make sure snat portion is always scheduled when needed"
Jenkins [Sat, 22 Aug 2015 22:00:09 +0000 (22:00 +0000)]
Merge "DVR: make sure snat portion is always scheduled when needed"

9 years agoMerge "Add config option to specify ovs datapath."
Jenkins [Sat, 22 Aug 2015 21:34:50 +0000 (21:34 +0000)]
Merge "Add config option to specify ovs datapath."

9 years agoSupport dhcp metadata service for all networks
Marga Millet [Wed, 12 Aug 2015 10:49:09 +0000 (03:49 -0700)]
Support dhcp metadata service for all networks

Vendors implementing Neutron L3 API in their devices may not be able to provide
metadata server access via the Neutron router. In such cases we want to allow
the metadata service as done for non-isolated networks segments.

DocImpact
Change-Id: I5f6ee9788717c3d4f1f2e2a4b9734fdd8dd92b40
Closes-Bug:#1483939

9 years agoMerge "Python 3: use __code__ instead of func_code"
Jenkins [Sat, 22 Aug 2015 19:19:04 +0000 (19:19 +0000)]
Merge "Python 3: use __code__ instead of func_code"

9 years agoMerge "Move docstring to FakeMachineBase"
Jenkins [Sat, 22 Aug 2015 18:52:33 +0000 (18:52 +0000)]
Merge "Move docstring to FakeMachineBase"

9 years agoMerge "Neutron RBAC API and network support"
Jenkins [Sat, 22 Aug 2015 17:42:36 +0000 (17:42 +0000)]
Merge "Neutron RBAC API and network support"

9 years agoMerge "Dropped release name from migration branch labels"
Jenkins [Sat, 22 Aug 2015 17:42:18 +0000 (17:42 +0000)]
Merge "Dropped release name from migration branch labels"

9 years agoMerge "neutron-db-manage: sync HEADS file with 'current' output"
Jenkins [Sat, 22 Aug 2015 17:41:53 +0000 (17:41 +0000)]
Merge "neutron-db-manage: sync HEADS file with 'current' output"

9 years agoMerge "Only validate local_ip if using tunneling"
Jenkins [Sat, 22 Aug 2015 17:38:50 +0000 (17:38 +0000)]
Merge "Only validate local_ip if using tunneling"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Sat, 22 Aug 2015 13:39:41 +0000 (13:39 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Update rootwrap.conf to add /usr/local/sbin"
Jenkins [Sat, 22 Aug 2015 13:28:53 +0000 (13:28 +0000)]
Merge "Update rootwrap.conf to add /usr/local/sbin"

9 years agoMove docstring to FakeMachineBase
Cedric Brandily [Sat, 22 Aug 2015 09:49:24 +0000 (11:49 +0200)]
Move docstring to FakeMachineBase

This change moves FakeMachine docstring to FakeMachineBase because it is
valid for all FakeMachineBase subclasses.

Change-Id: Ic30098f7d84dd3a5d6c5f7ff675d3f6e7b0a4cae

9 years agoMerge "Update oslo messaging configuration section for fullstack"
Jenkins [Sat, 22 Aug 2015 04:39:59 +0000 (04:39 +0000)]
Merge "Update oslo messaging configuration section for fullstack"

9 years agoMerge "DHCP agent: clarify logic of setup_dhcp_port"
Jenkins [Sat, 22 Aug 2015 04:39:47 +0000 (04:39 +0000)]
Merge "DHCP agent: clarify logic of setup_dhcp_port"

9 years agoMerge "Python 3: do not do "assertFalse(filter(...))""
Jenkins [Sat, 22 Aug 2015 04:26:18 +0000 (04:26 +0000)]
Merge "Python 3: do not do "assertFalse(filter(...))""

9 years agoMerge "Python 3: fix test_ovs_tunnel"
Jenkins [Fri, 21 Aug 2015 23:59:59 +0000 (23:59 +0000)]
Merge "Python 3: fix test_ovs_tunnel"

9 years agoMerge "Do not query reservations table when counting resources"
Jenkins [Fri, 21 Aug 2015 23:50:33 +0000 (23:50 +0000)]
Merge "Do not query reservations table when counting resources"

9 years agoUpdate rootwrap.conf to add /usr/local/sbin
John Davidge [Fri, 21 Aug 2015 18:07:57 +0000 (19:07 +0100)]
Update rootwrap.conf to add /usr/local/sbin

This update will allow for local executables that require root
privileges, such as dibbler-client for IPv6 Prefix Delegation.

Change-Id: Id7aebb50e60b1cc64c113be63c599387be5f1765

9 years agoRemove the ML2 Nuage driver code
Vlad Gridin [Thu, 20 Aug 2015 14:15:03 +0000 (16:15 +0200)]
Remove the ML2 Nuage driver code

This changeset removes ML2 Nuage driver vendor code,
currently present in neutron core to vendor repo.

Closes-bug: #1486662
Related-Blueprint: core-vendor-decomposition

Change-Id: I6388e91ba56aa6b8f16c723f7d07234d262b6c16

9 years agoTemplate for ModelMigrationTest for external repos
Ann Kamyshnikova [Fri, 14 Aug 2015 12:25:36 +0000 (15:25 +0300)]
Template for ModelMigrationTest for external repos

This change adds tempate for ModelMigrationTest which should be
implemented in all driver/plugin repositoties that were split
out from Neutron.

Also split DRIVER_TABLES into separate lists for each driver.
This is needed for easier implementation of test.

Closes-bug:#1470678

Change-Id: I02100d15d71519014db7c8894bd2cb36c86d32a0

9 years agoPython 3: do not do "assertFalse(filter(...))"
Cyril Roelandt [Fri, 21 Aug 2015 09:56:42 +0000 (11:56 +0200)]
Python 3: do not do "assertFalse(filter(...))"

This does not work in Python 3 since filter does not return a list. Fix this by
replacing it with a list comprehension.

Blueprint: neutron-python3
Change-Id: I59a63f7adedaf2217aa8fc9aae63045b4e620361

9 years agoip_lib: support creating Linux dummy interface
Neil Jerram [Mon, 27 Jul 2015 13:43:18 +0000 (14:43 +0100)]
ip_lib: support creating Linux dummy interface

This is for use by a DHCP agent interface driver in the
networking-calico project.  networking-calico connects VMs without
using bridging, so it needs an unbridged DHCP port interface with
which it can associate the DHCP subnet prefix, and the Linux dummy
interface (in conjunction with use of Dnsmasq's --bridge-interface
feature) is suitable for that purpose.

Partial-Bug: #1486649
Change-Id: I5485c187bc44bac3c2942c4fc9e5a502912a81a2

9 years agoGraceful OVS restart for DVR
Ann Kamyshnikova [Fri, 21 Aug 2015 12:13:25 +0000 (15:13 +0300)]
Graceful OVS restart for DVR

Graceful OVS restart that was intoduced in I95070d8218859d4fff1d572c1792cdf6019dd7ea
missed that flows are also dropped in setup_dvr_flows_on_integ_br.

Related-bug: #1383674

Change-Id: I7b24a159962af7b58c096a1b2766e2169e9f8aed

9 years agoDHCP agent: clarify logic of setup_dhcp_port
Neil Jerram [Thu, 23 Jul 2015 17:17:12 +0000 (18:17 +0100)]
DHCP agent: clarify logic of setup_dhcp_port

When the DHCP port already exists, the code for finding it is
unhelpfully mixed up with the code for updating its subnet IDs and
fixed IP addresses.  Clarify that area by splitting setup_dhcp_port
into 3 subroutines, for each of the existing, reserved and new port
cases.

Related-Bug: #1486649
Change-Id: I2a537560dc7a37299f4b7b4cd508d9309bbe1209

9 years agoAdd config option to specify ovs datapath.
Sean Mooney [Fri, 26 Jun 2015 09:48:26 +0000 (10:48 +0100)]
Add config option to specify ovs datapath.

This change introduces a new datapath_type parameter
to allow specification of the ovs datapath to be used.
This change introduces new functional and unit tests.

DocImpact
Change-Id: I929d8d15fc6cfdb799c53ef0f3722f4ed5c1096d
Partial-Bug: #1469871

9 years agoPython 3: fix test_ovs_tunnel
Cyril Roelandt [Fri, 21 Aug 2015 10:19:30 +0000 (12:19 +0200)]
Python 3: fix test_ovs_tunnel

In Python 3, __bool__ should be used instead of __nonzero__.

Change-Id: I04b688a6ac079a161bd888c53b8b98b574171ea9
Blueprint: neutron-python3

9 years agoMerge "l2pop: check port mac in pre-commit to stop change"
Jenkins [Fri, 21 Aug 2015 10:12:12 +0000 (10:12 +0000)]
Merge "l2pop: check port mac in pre-commit to stop change"

9 years agoMerge "Fixed broken link in neutron-server's documents"
Jenkins [Fri, 21 Aug 2015 09:55:12 +0000 (09:55 +0000)]
Merge "Fixed broken link in neutron-server's documents"

9 years agoMerge "qos: Delete bw limit rule when policy is deleted"
Jenkins [Fri, 21 Aug 2015 09:53:43 +0000 (09:53 +0000)]
Merge "qos: Delete bw limit rule when policy is deleted"

9 years agoPython 3: use __code__ instead of func_code
Cyril Roelandt [Fri, 21 Aug 2015 09:20:27 +0000 (11:20 +0200)]
Python 3: use __code__ instead of func_code

The former works with both Python 2 and 3.

Change-Id: Id2f6d313bf90777e02b20b7f6f4fb99e79e85aff
Blueprint: neutron-python3

9 years agoMerge "Used namedtuple for ReservationInfo"
Jenkins [Fri, 21 Aug 2015 09:49:37 +0000 (09:49 +0000)]
Merge "Used namedtuple for ReservationInfo"

9 years agoMerge "Split DRIVER_TABLES in external.py"
Jenkins [Fri, 21 Aug 2015 09:42:47 +0000 (09:42 +0000)]
Merge "Split DRIVER_TABLES in external.py"