]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "The unnecessary value "sgids" was deleted"
Jenkins [Thu, 13 Aug 2015 15:48:36 +0000 (15:48 +0000)]
Merge "The unnecessary value "sgids" was deleted"

9 years agoMerge "Support for independent alembic branches in sub-projects"
Jenkins [Thu, 13 Aug 2015 15:32:55 +0000 (15:32 +0000)]
Merge "Support for independent alembic branches in sub-projects"

9 years agoMerge "Python 3: encode unicode response bodies"
Jenkins [Thu, 13 Aug 2015 15:32:12 +0000 (15:32 +0000)]
Merge "Python 3: encode unicode response bodies"

9 years agoMerge "Treat sphinx warnings as errors"
Jenkins [Thu, 13 Aug 2015 14:46:30 +0000 (14:46 +0000)]
Merge "Treat sphinx warnings as errors"

9 years agoPython 3: encode unicode response bodies
fumihiko kakuma [Sat, 8 Aug 2015 13:08:39 +0000 (22:08 +0900)]
Python 3: encode unicode response bodies

This change adds a file needing a python 3 support by
Ie0dc57fbe3ed9b19dac2e958de14387bc4c1a260.

Change-Id: Ice6e8ae618b82ff45398c338c3eee27ed9d5a105
Blueprint: neutron-python3

9 years agoMerge "Remove bigswitch mech_driver entry point definition"
Jenkins [Thu, 13 Aug 2015 09:53:16 +0000 (09:53 +0000)]
Merge "Remove bigswitch mech_driver entry point definition"

9 years agoMerge "Python 3: specify a bytes to an argument for a format type 's' of struct.pack()"
Jenkins [Thu, 13 Aug 2015 08:10:40 +0000 (08:10 +0000)]
Merge "Python 3: specify a bytes to an argument for a format type 's' of struct.pack()"

9 years agoMerge "Python 3: compare response.body to bytes in namespace_proxy test"
Jenkins [Thu, 13 Aug 2015 08:02:02 +0000 (08:02 +0000)]
Merge "Python 3: compare response.body to bytes in namespace_proxy test"

9 years agoMerge "Python 3: encode unicode response bodies"
Jenkins [Thu, 13 Aug 2015 08:01:28 +0000 (08:01 +0000)]
Merge "Python 3: encode unicode response bodies"

9 years agoMerge "Updated from global requirements"
Jenkins [Thu, 13 Aug 2015 07:53:19 +0000 (07:53 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "Improve callback registry devref documentation and usability"
Jenkins [Thu, 13 Aug 2015 07:48:03 +0000 (07:48 +0000)]
Merge "Improve callback registry devref documentation and usability"

9 years agoSupport for independent alembic branches in sub-projects
Henry Gessau [Sun, 5 Jul 2015 07:29:38 +0000 (03:29 -0400)]
Support for independent alembic branches in sub-projects

Sub-projects shall now register their independent alembic migrations
via entrypoints in setup.cfg, and neutron-db-manage will discover them
and run them automatically.

If a service or sub-project is specified explicitly, then
neutron-db-manage will run on only that service or sub-project.

The advanced services project are just special cases of sub-projects.
For example, specifying the CLI option '--service lbaas' is the same
as specifying '--subproject neutron-lbaas'.

Specifying no service or sub-project will cause neutron-db-manage to
run the command on neutron and all installed sub-projects.

Added and consolidated documentation into devref for alembic migrations.

Partial-Bug: #1471333
Partial-Bug: #1470625

Change-Id: I9a06de64ce35675af28adf819de6f22dc832390d

9 years agoRemove bigswitch mech_driver entry point definition
Kanzhe Jiang [Thu, 13 Aug 2015 03:36:54 +0000 (20:36 -0700)]
Remove bigswitch mech_driver entry point definition

After vendor driver split, the entry point for bigswitch ml2
mechanism_driver is no longer valid. The new entry point is defined in
the networking-bigswitch stackforge repo.

Change-Id: Ie6e19a13e49d9d3e95f8ea2f10181592e9f156e5
Closes-Bug: #1484341

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 13 Aug 2015 02:14:42 +0000 (02:14 +0000)]
Updated from global requirements

Change-Id: Ieb2e8eaf3eb9fee93d5fcb8cb4e683a0a6555fc0

9 years agoMerge "Destroy ipset when the corresponding rule is removed"
Jenkins [Thu, 13 Aug 2015 02:03:40 +0000 (02:03 +0000)]
Merge "Destroy ipset when the corresponding rule is removed"

9 years agoMerge "Python 3: do not compare int and NoneType"
Jenkins [Thu, 13 Aug 2015 01:57:55 +0000 (01:57 +0000)]
Merge "Python 3: do not compare int and NoneType"

9 years agoMerge "Fix DVR interface delete by port when gateway is set"
Jenkins [Thu, 13 Aug 2015 00:16:48 +0000 (00:16 +0000)]
Merge "Fix DVR interface delete by port when gateway is set"

9 years agoPython 3: specify a bytes to an argument for a format type 's' of struct.pack()
fumihiko kakuma [Sat, 8 Aug 2015 14:20:45 +0000 (23:20 +0900)]
Python 3: specify a bytes to an argument for a format type 's' of struct.pack()

In python 3, a format type 's' of struct.pack() requires a bytes object to an argument.

Change-Id: Ia4640b31c31b5b7454cd1582af46562fb1885726
Blueprint: neutron-python3

9 years agoMerge "Update fullstack multinode simulation image"
Jenkins [Wed, 12 Aug 2015 20:57:53 +0000 (20:57 +0000)]
Merge "Update fullstack multinode simulation image"

9 years agoMerge "Fix docs job"
Jenkins [Wed, 12 Aug 2015 20:49:04 +0000 (20:49 +0000)]
Merge "Fix docs job"

9 years agoTreat sphinx warnings as errors
James E. Blair [Wed, 12 Aug 2015 17:51:18 +0000 (10:51 -0700)]
Treat sphinx warnings as errors

Change-Id: I65fcca7eb3397c8f5a777bab1c9c20161263ed26

9 years agoMerge "Revert "Revert "Add VIF_DELETED notification event to Nova"""
Jenkins [Wed, 12 Aug 2015 18:05:47 +0000 (18:05 +0000)]
Merge "Revert "Revert "Add VIF_DELETED notification event to Nova"""

9 years agoUpdate fullstack multinode simulation image
Assaf Muller [Wed, 12 Aug 2015 17:20:10 +0000 (13:20 -0400)]
Update fullstack multinode simulation image

Change-Id: I9d332e296b1f72e423ee64b01a82ae36b688c27e

9 years agoFix docs job
Assaf Muller [Wed, 12 Aug 2015 17:29:50 +0000 (13:29 -0400)]
Fix docs job

It looks like the docs job is passing when it shouldn't.

Change-Id: I4b65e470e913cd84e63231259e355c5842878c4b

9 years agoImprove callback registry devref documentation and usability
armando-migliaccio [Wed, 12 Aug 2015 01:16:30 +0000 (18:16 -0700)]
Improve callback registry devref documentation and usability

Latest developments have revealed that the registry can be misused
under certain circumstances, and that it can be harder to use by
projects that extend Neutron.

This patch improves the devref documentation so that developers know
what to expect.

Change-Id: I565b6a2f2a58bf22eae5b36f03c4fd24ba0774d2

9 years agoMerge "Skip FwaaS test that is failing due to race condition"
Jenkins [Wed, 12 Aug 2015 16:06:23 +0000 (16:06 +0000)]
Merge "Skip FwaaS test that is failing due to race condition"

9 years agoMerge "Replace 'import json' with oslo_serialization"
Jenkins [Wed, 12 Aug 2015 16:05:57 +0000 (16:05 +0000)]
Merge "Replace 'import json' with oslo_serialization"

9 years agoMerge "Add Kuryr to sub_projects.rst"
Jenkins [Wed, 12 Aug 2015 14:58:34 +0000 (14:58 +0000)]
Merge "Add Kuryr to sub_projects.rst"

9 years agoThe unnecessary value "sgids" was deleted
huangpengtao [Wed, 5 Aug 2015 15:05:06 +0000 (23:05 +0800)]
The unnecessary value "sgids" was deleted

The value "sgids" is unnecessary to be used.
Even it is a bit confused to use "sgids",
the code will be easier to understand without it.

Change-Id: I8b881139a71bdc9f3742e7208610eb56081fbbc7

9 years agoFix DVR interface delete by port when gateway is set
Assaf Muller [Mon, 13 Apr 2015 17:26:06 +0000 (13:26 -0400)]
Fix DVR interface delete by port when gateway is set

When removing a DVR interface by port, the subnet_id
passed to delete_csnat_router_interface_ports is None,
and so it deletes all the DVR SNAT ports for the
router.

This patch fixes this issue by passing in the right
subnet_id to the delete_csnat_router_interface_ports.

Change-Id: I16735195c6575454876acd0e99ef45f382963566
Closes-Bug: #1443524
Co-Authored-By: Swaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Co-Authored-By: Oleg Bondarev <obondarev@mirantis.com>
9 years agoSkip FwaaS test that is failing due to race condition
Sean M. Collins [Wed, 12 Aug 2015 11:42:04 +0000 (07:42 -0400)]
Skip FwaaS test that is failing due to race condition

Change-Id: I8a7669b6aff0b407b192af803fbfb636c8f118bb
Related-Bug: #1483875

9 years agoDestroy ipset when the corresponding rule is removed
shihanzhang [Tue, 9 Jun 2015 09:47:39 +0000 (17:47 +0800)]
Destroy ipset when the corresponding rule is removed

if a security group has a rule which allow a remote group access,
but this remote group has no IPv4 and IPv6 members, L2 agent
should not clear the remote group in internal cache of sg_members,
because when above rule is deleted, L2 agent can get the remote group
id from the diff of pre_sg_members-sg_members, then destroy the ipset
set for remote group.

Change-Id: I801b14c9f506c5a07f8875b8f9be1b05d181b842
Closes-bug: #1463331

9 years agoPython 3: compare response.body to bytes in namespace_proxy test
Cedric Brandily [Wed, 29 Jul 2015 11:15:49 +0000 (11:15 +0000)]
Python 3: compare response.body to bytes in namespace_proxy test

WebOb response bodies should be compared to bytes not string.

Change-Id: I2c17d39cc394a1d583b4f4971c0db9ba1875a0d0
Blueprint: neutron-python3

9 years agoMerge "Clean up test_dvr_router_rem_fips_on_restarted_agent"
Jenkins [Wed, 12 Aug 2015 05:58:34 +0000 (05:58 +0000)]
Merge "Clean up test_dvr_router_rem_fips_on_restarted_agent"

9 years agoAdd Kuryr to sub_projects.rst
YAMAMOTO Takashi [Wed, 5 Aug 2015 06:12:10 +0000 (15:12 +0900)]
Add Kuryr to sub_projects.rst

Change-Id: I8974b140cd69ddf125fecad0ea4714e803bf9740

9 years agoMerge "Fix: Skip rescheduling networks if no DHCP agents available"
Jenkins [Tue, 11 Aug 2015 20:31:29 +0000 (20:31 +0000)]
Merge "Fix: Skip rescheduling networks if no DHCP agents available"

9 years agoMerge "Use oslo.log library instead of system logging module"
Jenkins [Tue, 11 Aug 2015 19:46:34 +0000 (19:46 +0000)]
Merge "Use oslo.log library instead of system logging module"

9 years agoClean up test_dvr_router_rem_fips_on_restarted_agent
Assaf Muller [Tue, 11 Aug 2015 18:20:07 +0000 (14:20 -0400)]
Clean up test_dvr_router_rem_fips_on_restarted_agent

* self._add_fip wasn't actually doing anything useful, it just
  throws off the reader by making him/her think that line is
  important when it isn't.
* Added an assertion that checks that the FIP namespace exists
  before the reconfiguration of the router.

Change-Id: Ifd27f20d9d8d11575212b95e3bbe534bfe2d3b8f

9 years agoMerge "Add testing coverage .rst, missing test infrastructure to-dos"
Jenkins [Tue, 11 Aug 2015 17:55:57 +0000 (17:55 +0000)]
Merge "Add testing coverage .rst, missing test infrastructure to-dos"

9 years agoReplace 'import json' with oslo_serialization
Kevin Benton [Tue, 11 Aug 2015 13:01:25 +0000 (06:01 -0700)]
Replace 'import json' with oslo_serialization

Replace remaining occurences of 'import json' with
'from oslo_serialization import jsonutils as json'
so pylint doesn't complain every time someone happens
to make a change to one of the modules that still
uses it.

Change-Id: Ife9f0fc54ad36887bdb939028f8903be16e590d6

9 years agoMerge "Use DeferredOVSBridge in setup_default_table"
Jenkins [Tue, 11 Aug 2015 10:48:11 +0000 (10:48 +0000)]
Merge "Use DeferredOVSBridge in setup_default_table"

9 years agoMerge "Remove quotes from subshell call in tools/split.sh"
Jenkins [Tue, 11 Aug 2015 07:35:23 +0000 (07:35 +0000)]
Merge "Remove quotes from subshell call in tools/split.sh"

9 years agoMerge "Validate updated allocation pool before using it"
Jenkins [Tue, 11 Aug 2015 04:48:57 +0000 (04:48 +0000)]
Merge "Validate updated allocation pool before using it"

9 years agoMerge "Bug-Fix for unexpected DHCP agent redundant"
Jenkins [Tue, 11 Aug 2015 04:37:03 +0000 (04:37 +0000)]
Merge "Bug-Fix for unexpected DHCP agent redundant"

9 years agoMerge "Pass the extension driver exception to plugin"
Jenkins [Tue, 11 Aug 2015 04:28:23 +0000 (04:28 +0000)]
Merge "Pass the extension driver exception to plugin"

9 years agoAdd testing coverage .rst, missing test infrastructure to-dos
Assaf Muller [Sat, 8 Aug 2015 23:09:52 +0000 (19:09 -0400)]
Add testing coverage .rst, missing test infrastructure to-dos

Change-Id: I1f3bc57ebc196a1c50b731c68cecb5aad3cda21d

9 years agoPython 3: encode unicode response bodies
Cedric Brandily [Wed, 22 Jul 2015 22:28:35 +0000 (00:28 +0200)]
Python 3: encode unicode response bodies

WebOb disallows in py3K to set webob.Response.body to a unicode object,
we should encode unicode bodies in such case.

Change-Id: Ie0dc57fbe3ed9b19dac2e958de14387bc4c1a260
Blueprint: neutron-python3

9 years agoMerge "Neutron-Ironic integration patch"
Jenkins [Mon, 10 Aug 2015 21:14:18 +0000 (21:14 +0000)]
Merge "Neutron-Ironic integration patch"

9 years agoMerge "DVR: fix router scheduling"
Jenkins [Mon, 10 Aug 2015 19:27:34 +0000 (19:27 +0000)]
Merge "DVR: fix router scheduling"

9 years agoNeutron-Ironic integration patch
Sukhdev Kapur [Wed, 1 Jul 2015 23:30:44 +0000 (16:30 -0700)]
Neutron-Ironic integration patch

This patch is in preparation for the integration
of Ironic and Neutron. A new vnic_type is being
added so that ML2 drivers can filter for all
Ironic ports based upon match for 'baremetal'.
Nova/Ironic will set this vnic_type when issuing
port-create request to neutron.
(e.g. binding:vnic_type = 'baremetal' )

Change-Id: I25dc9472b31db052719db503a10c1fb1a55572ef
Partial-Implements: blueprint neutron-ironic-integration

9 years agoMerge "TESTING.rst love"
Jenkins [Mon, 10 Aug 2015 17:30:42 +0000 (17:30 +0000)]
Merge "TESTING.rst love"

9 years agoMerge "Broadcast service port's arp in DVR"
Jenkins [Mon, 10 Aug 2015 17:04:26 +0000 (17:04 +0000)]
Merge "Broadcast service port's arp in DVR"

9 years agoMerge "Introduce ItemAllocator class"
Jenkins [Mon, 10 Aug 2015 17:04:13 +0000 (17:04 +0000)]
Merge "Introduce ItemAllocator class"

9 years agoMerge "Add oslo db retry decorator to the RPC handlers"
Jenkins [Mon, 10 Aug 2015 17:04:01 +0000 (17:04 +0000)]
Merge "Add oslo db retry decorator to the RPC handlers"

9 years agoDVR: fix router scheduling
Oleg Bondarev [Tue, 7 Jul 2015 09:02:58 +0000 (12:02 +0300)]
DVR: fix router scheduling

Fix scheduling of DVR routers to not stop scheduling once
csnat portion was scheduled. See bug report for failing
scenario.

This partially reverts
commit 3794b4a83e68041e24b715135f0ccf09a5631178
and fixes bug 1374473 by moving csnat scheduling
after general dvr router scheduling, so double binding does
not happen.

Closes-Bug: #1472163
Related-Bug: #1374473
Change-Id: I57c06e2be732e47b6cce7c724f6b255ea2d8fa32

9 years agoTESTING.rst love
Assaf Muller [Sat, 8 Aug 2015 18:15:03 +0000 (21:15 +0300)]
TESTING.rst love

Change-Id: I64b569048f8f87ea2fe63d861302b4020d36493d

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Mon, 10 Aug 2015 16:00:07 +0000 (16:00 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Consistent layout and headings for devref"
Jenkins [Mon, 10 Aug 2015 15:52:17 +0000 (15:52 +0000)]
Merge "Consistent layout and headings for devref"

9 years agoUse oslo.log library instead of system logging module
Sergey Vilgelm [Mon, 10 Aug 2015 12:46:27 +0000 (15:46 +0300)]
Use oslo.log library instead of system logging module

The constants of log levels were added in the 1.8 version of
the oslo.log library. So we can replace all usage of system
logging module with log module from oslo.log.

Change-Id: I2992df0bec6337aefa8a75d4853b132bd134fa42
Closes-Bug: 1481370

9 years agoAvoid dhcp_release for ipv6 addresses
sridhargaddam [Wed, 5 Aug 2015 10:49:33 +0000 (10:49 +0000)]
Avoid dhcp_release for ipv6 addresses

dhcp_release is only supported for IPv4 addresses [1] and not for
IPv6 addresses [2]. There will be no effect when it is called with
IPv6 address. This patch adds a corresponding note and avoids calling
dhcp_release for IPv6 addresses.

[1] http://manpages.ubuntu.com/manpages/trusty/man1/dhcp_release.1.html
[2] http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2013q2/007084.html

Change-Id: I8b8316c9d3d011c2a687a3a1e2a4da5cf1b5d604

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 10 Aug 2015 06:11:06 +0000 (06:11 +0000)]
Imported Translations from Transifex

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

Change-Id: I2b423e83a7d0ac8b23239f81fe33dd8382c6fff6

9 years agoConsistent layout and headings for devref
Henry Gessau [Tue, 4 Aug 2015 03:30:34 +0000 (23:30 -0400)]
Consistent layout and headings for devref

The lack of convention for heading levels among the independently
written devref documents was starting to make the Table of Contents
look rather messy when rendered in HTML.

This patch does not cover the "Neutron Internals" section since its
layout is reasonably OK for now.

Change-Id: I827c105599f05773bda7e4fc0a941ce04ebd51fa

9 years agoUse DeferredOVSBridge in setup_default_table
Sudhakar Babu Gariganti [Wed, 21 Jan 2015 09:49:03 +0000 (15:19 +0530)]
Use DeferredOVSBridge in setup_default_table

setup_default_table method in br-tun module fires multiple ofctl
calls. Using DeferredOVSBridge will help us save us few OVS calls.

Closes-Bug: #1259847

Change-Id: I2f01bae5d9efc5c6a6f577e92204c930eb1cf827

9 years agoMerge "Rename a test method in test_policy.py"
Jenkins [Sun, 9 Aug 2015 17:43:18 +0000 (17:43 +0000)]
Merge "Rename a test method in test_policy.py"

9 years agoMerge "Remove a few obsolete options from midonet.ini example"
Jenkins [Sun, 9 Aug 2015 17:39:59 +0000 (17:39 +0000)]
Merge "Remove a few obsolete options from midonet.ini example"

9 years agoMerge "Do not delete fip namespace during l3 dvr agent resync"
Jenkins [Sun, 9 Aug 2015 03:49:06 +0000 (03:49 +0000)]
Merge "Do not delete fip namespace during l3 dvr agent resync"

9 years agoMerge "Make '_create_router' function handle Boolean kwargs correctly"
Jenkins [Sat, 8 Aug 2015 19:50:33 +0000 (19:50 +0000)]
Merge "Make '_create_router' function handle Boolean kwargs correctly"

9 years agoMerge "Add conntrack-tool to manage security groups"
Jenkins [Fri, 7 Aug 2015 19:31:49 +0000 (19:31 +0000)]
Merge "Add conntrack-tool to manage security groups"

9 years agoDo not delete fip namespace during l3 dvr agent resync
Oleg Bondarev [Fri, 7 Aug 2015 16:56:13 +0000 (19:56 +0300)]
Do not delete fip namespace during l3 dvr agent resync

This was introduced by commit 46608806aa7a9c60214e28429ca5a8b87b2a15de
which didn't take into account that fip namespace name is composed
from external network id rather than router id.
The fix is to ensure fip namespaces for the known routers are kept
by namespace manager on agent resync.

Closes-Bug: #1482521
Change-Id: I0ffd0a3f6d83f7356638827a1cfe4dabef24b891

9 years agoIntroduce ItemAllocator class
Ryan Moats [Thu, 6 Aug 2015 21:24:55 +0000 (16:24 -0500)]
Introduce ItemAllocator class

The ItemAllocator class is used as the base class for
LinkLocalAllocator in preparation for adding
FipRulePriorityAllocator as a child class.

Change-Id: I2c77e5a895f750845b46d3e8a2326e01ea87ee78
Partial-Bug: #1414779
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoValidate updated allocation pool before using it
John Kasperski [Fri, 7 Aug 2015 14:15:33 +0000 (09:15 -0500)]
Validate updated allocation pool before using it

The allocation pool specified during subnet-update is being
used in gateway validation checks before the allocation pool
is ever validated.  Errors indicating that the gateway IP is
invalid are returned when it is the allocation pool that is
actually in error.

Additional testing of the allocation pool is also being added
to the subnet-update unit tests.

Closes-Bug: #1479948
Change-Id: I854333d571bad2550ea5a0b93ff64ce44d0bd010

9 years agoRemove quotes from subshell call in tools/split.sh
Zhao Lei [Fri, 7 Aug 2015 13:17:20 +0000 (21:17 +0800)]
Remove quotes from subshell call in tools/split.sh

Always no quotes for $() statement.

We don't need quotes to hold blanks in result:
 # i=$(echo 1 2 3)
 # echo $i
 1 2 3
 #

These quotes can make something wrong in some case:
 # i=$(echo '!')
 #
 # i="$(echo '!')"
 -bash: !: event not found
 #

No real problem for current code in split.sh, only to use a
better code style.

Change-Id: Ib86d59e10be0aca4774ad2fc656915a96b1b6c74
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
9 years agoPass the extension driver exception to plugin
Yalei Wang [Wed, 5 Aug 2015 17:03:20 +0000 (01:03 +0800)]
Pass the extension driver exception to plugin

The extension driver is intercepted by driver manager currently. It will
cover the errors/exceptions happened in extension drivers. The extension
process will continue even if preceding extension driver get a wrong/useless
extended result, or even no result.
This patch make process_[create|update]_<resource>() and
extend_<resource>_dict() methods return the exception, and log it with proper
level respectively, and also include a minor optimization for the
extend_<resource>_dict() methods.

Change-Id: I20a249c47b58292125476bc44b2372ca959509e3
Closes-Bug: #1468990

9 years agoRemove a few obsolete options from midonet.ini example
YAMAMOTO Takashi [Fri, 7 Aug 2015 05:05:38 +0000 (14:05 +0900)]
Remove a few obsolete options from midonet.ini example

Relevant change:
    https://github.com/openstack/networking-midonet/commit/0ee831b5e816568fdc2079f0ac4ac866eb300ada

Change-Id: Ib437209d026fc83b7885101d3813ffae29f8b240

9 years agoMerge "Create fip on subnet id"
Jenkins [Fri, 7 Aug 2015 04:54:33 +0000 (04:54 +0000)]
Merge "Create fip on subnet id"

9 years agoRename a test method in test_policy.py
Takashi NATSUME [Fri, 7 Aug 2015 04:47:51 +0000 (13:47 +0900)]
Rename a test method in test_policy.py

Rename
'test_check_is_advsvc_with_svc_context_suceeds'
to
'test_check_is_advsvc_with_svc_context_succeeds'

Change-Id: Id73a09c2d838051fdcf5ec867b0a1a5821ddfc9d

9 years agoMerge "Support subnetpool association to an address scope"
Jenkins [Fri, 7 Aug 2015 03:22:49 +0000 (03:22 +0000)]
Merge "Support subnetpool association to an address scope"

9 years agoMerge "Validate interface_mappings on Linux bridge init"
Jenkins [Thu, 6 Aug 2015 22:03:15 +0000 (22:03 +0000)]
Merge "Validate interface_mappings on Linux bridge init"

9 years agoMerge "NSX: Rename default_interface_name option"
Jenkins [Thu, 6 Aug 2015 21:22:55 +0000 (21:22 +0000)]
Merge "NSX: Rename default_interface_name option"

9 years agoMerge "Fixing ICMP type and code validation"
Jenkins [Thu, 6 Aug 2015 12:01:33 +0000 (12:01 +0000)]
Merge "Fixing ICMP type and code validation"

9 years agoMerge "DB, IPAM & RPC changes for IPv6 Prefix Delegation"
Jenkins [Thu, 6 Aug 2015 11:55:09 +0000 (11:55 +0000)]
Merge "DB, IPAM & RPC changes for IPv6 Prefix Delegation"

9 years agoMerge "Install arp spoofing protection flow after setting port tag"
Jenkins [Thu, 6 Aug 2015 10:57:32 +0000 (10:57 +0000)]
Merge "Install arp spoofing protection flow after setting port tag"

9 years agoBroadcast service port's arp in DVR
leejian0612 [Wed, 5 Aug 2015 08:00:35 +0000 (16:00 +0800)]
Broadcast service port's arp in DVR

When creating VMs, DVR router will broadcast VM's arp details to all the
l3 agents hosting it. that enable dvr can forwarding networking traffic
in link layer, but when the port is attached to the service liking
lbaas, their arp will not be broadcast, so the dvr do not know its mac,
and will cause that vms in other subnet can not reach the service port
through the dvr router.

Change-Id: Ia78a35f39981d6659fc220e02fb10917bda74e04
Closes-Bug: #1481613

9 years agoMerge "Fix typos in neutron code"
Jenkins [Thu, 6 Aug 2015 09:29:44 +0000 (09:29 +0000)]
Merge "Fix typos in neutron code"

9 years agoMerge "Move away nested transaction from _ensure_default_security_group"
Jenkins [Thu, 6 Aug 2015 09:29:07 +0000 (09:29 +0000)]
Merge "Move away nested transaction from _ensure_default_security_group"

9 years agoMerge "Initialize ancillary_port_info dict as blank in OVS agent"
Jenkins [Thu, 6 Aug 2015 07:57:19 +0000 (07:57 +0000)]
Merge "Initialize ancillary_port_info dict as blank in OVS agent"

9 years agoMerge "Enable fullstack multinode tests, add L3 HA test exemplar"
Jenkins [Thu, 6 Aug 2015 07:56:37 +0000 (07:56 +0000)]
Merge "Enable fullstack multinode tests, add L3 HA test exemplar"

9 years agoMerge "Python 3: convert dict_keys object to list"
Jenkins [Thu, 6 Aug 2015 07:56:19 +0000 (07:56 +0000)]
Merge "Python 3: convert dict_keys object to list"

9 years agoMerge "Fix ipset can't be destroyed when last rule is deleted"
Jenkins [Thu, 6 Aug 2015 06:44:44 +0000 (06:44 +0000)]
Merge "Fix ipset can't be destroyed when last rule is deleted"

9 years agoMerge "Revert "Remove VPN from API tests""
Jenkins [Thu, 6 Aug 2015 05:57:06 +0000 (05:57 +0000)]
Merge "Revert "Remove VPN from API tests""

9 years agoMerge "Enable VPN plugin for API test"
Jenkins [Thu, 6 Aug 2015 05:56:54 +0000 (05:56 +0000)]
Merge "Enable VPN plugin for API test"

9 years agoMerge "Fix dhcp autoschedule test assertion logic"
Jenkins [Thu, 6 Aug 2015 01:22:52 +0000 (01:22 +0000)]
Merge "Fix dhcp autoschedule test assertion logic"

9 years agoRevert "Remove VPN from API tests"
Doug Wiegley [Wed, 5 Aug 2015 20:05:41 +0000 (20:05 +0000)]
Revert "Remove VPN from API tests"

This reverts commit df35d21141dc4544421ccbff8715ea6da3e03def.

Also tweaks the gate_hook to get vpn installed via devstack plugin.

Change-Id: Id304a7d010c682acd3250928a29efd850b2e69cb

9 years agoEnable VPN plugin for API test
Paul Michali [Wed, 5 Aug 2015 20:51:46 +0000 (16:51 -0400)]
Enable VPN plugin for API test

Since API tests still contain VPN test cases, enable the VPN devstack
plugin, so that the service is enabled.

Change-Id: Icc3c4038a0772a85a2377bc10d50ab84927c4bad

9 years agoValidate interface_mappings on Linux bridge init
Kevin Benton [Thu, 30 Jul 2015 00:28:50 +0000 (17:28 -0700)]
Validate interface_mappings on Linux bridge init

Verify that the interfaces actually exist that are defined in
interface_mappings on Linux bridge startup. If they do not, exit
immediately similar to how OVS handles incorrect bridge_mappings.

This prevents an unfriendly exception in the rpc setup routine.

Change-Id: I050b9b66aa0b27f148e67123eedf29fe332e6f65
Closes-Bug: #1470584

9 years agoInitialize ancillary_port_info dict as blank in OVS agent
Ihar Hrachyshka [Wed, 29 Jul 2015 08:52:59 +0000 (10:52 +0200)]
Initialize ancillary_port_info dict as blank in OVS agent

The first assignment of ancillary_port_info was from the scan_ancillary_ports
function which could result in an exception and result in ancillary_port_info
being unbound for the port stats scan below.

This patch just initializes ancillary_port_info as an empty dict so the port
stats will always have an input.

Closes-Bug: #1479265
Change-Id: I37084bf27d4c328a7b78ca71cf26813207697361

9 years agoEnable fullstack multinode tests, add L3 HA test exemplar
Assaf Muller [Thu, 7 May 2015 06:02:59 +0000 (09:02 +0300)]
Enable fullstack multinode tests, add L3 HA test exemplar

* Created a 'resources' subdir and moved all fixture files
  to it.
* Split ML2ConfigFixture to the server-side ml2 configuration
  fixture, and the OVS agent configuration fixture.
* Neutron process logs were using H:M:S format as their file name,
  but when starting multiple agents of the same type my machine
  was fast enough to do that in the same second so that different
  processes were outputting to the same log file. No good!
  Added ms to the log name format. I also changed the log time
  from UTC to local timezone.
* Renamed and moved 'FullstackFixture' to neutron/tests/fullstack/
  resources/environment.Environment
* Added a 'Host' abstraction that groups agents that report with
  the same 'host' value. Hosts may be interconnected by the
  environment via shared bridges.
* The 'Environment' class will accept global
  attributes (This will be later filled with stuff like tunneling,
  l2pop or other environment-level flags), and in this patch accepts
  a  list of host attributes (Configuration that may differ between
  hosts like the l3 agent mode [legacy, dvr, dvr_snat]).
* Made OVS agent and L3 agent fixtures expose their bridges
  so that I could interconnect them.
* Added a super simple L3 HA test to show that this entire thing
  works.

Change-Id: Ie64de9f35bd6ab7cbad494061613ecf5e0ccd806

9 years agoFix: Skip rescheduling networks if no DHCP agents available
Oleg Bondarev [Wed, 5 Aug 2015 14:43:02 +0000 (17:43 +0300)]
Fix: Skip rescheduling networks if no DHCP agents available

This fixes commit 1318437a0caf38e695a819848832a955fef7d909
which has inaccurate check for dead agents: in a case where
there is only one network scheduled to a subset of dhcp agents,
number of all dhcp agents will be not equal to the number of
dead binded agents

The unit test is updated to cover the described case.

Closes-Bug: #1461714
Change-Id: I1c9501316c931293aa8ba755a98779a7da27578d

9 years agoDB, IPAM & RPC changes for IPv6 Prefix Delegation
John Davidge [Thu, 16 Jul 2015 17:26:24 +0000 (18:26 +0100)]
DB, IPAM & RPC changes for IPv6 Prefix Delegation

This patch includes the DB, IPAM & RPC changes needed for the IPv6 Prefix
Delegation feature.

To enable this feature, the subnetpool_id attribute of subnets has been
modified to allow for a special subnetpool identifier - "prefix_delegation".

WORKFLOW:

1. Admin sets default_ipv6_subnet_pool in neutron.conf to "prefix_delegation"
2. User creates a new IPv6 subnet without a CIDR or subnetpool ID
3. User creates an interface between this subnet and a router with an existing
external interface

The agent-side changes will follow in separate patches.

A documentation patch 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

Change-Id: Ic0c6ed4dba74da94a75838178a1837f93d2d0885
Co-Authored-By: Baodong (Robert) Li <baoli@cisco.com>
Partially-Implements: blueprint ipv6-prefix-delegation

9 years agoPython 3: convert dict_keys object to list
Cyril Roelandt [Wed, 5 Aug 2015 09:39:50 +0000 (11:39 +0200)]
Python 3: convert dict_keys object to list

This makes sure we use the same types in Python 2 and 3, prevents TypeErrors
from happening, and should have no performance impact since the the lists are
quite small anyway.

Change-Id: I4e8563231a22a440b4f22b76b17f76f2ba45e606
Blueprint: neutron-python3