]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "Correction and clarification to subproject stable guidelines"
Jenkins [Fri, 6 Nov 2015 19:42:06 +0000 (19:42 +0000)]
Merge "Correction and clarification to subproject stable guidelines"

9 years agoMerge "Add PyPI link for networking-calico"
Jenkins [Fri, 6 Nov 2015 17:32:29 +0000 (17:32 +0000)]
Merge "Add PyPI link for networking-calico"

9 years agoMerge "Deprecate new= argument from create_connection"
Jenkins [Fri, 6 Nov 2015 17:31:47 +0000 (17:31 +0000)]
Merge "Deprecate new= argument from create_connection"

9 years agoCorrection and clarification to subproject stable guidelines
Neil Jerram [Fri, 6 Nov 2015 14:26:47 +0000 (14:26 +0000)]
Correction and clarification to subproject stable guidelines

Change-Id: I5511430593b39f7d5a952270aeb43f973090d702

9 years agoAdd PyPI link for networking-calico
Neil Jerram [Fri, 6 Nov 2015 13:03:27 +0000 (13:03 +0000)]
Add PyPI link for networking-calico

Change-Id: I9978f31029cf4b2a3fe1b23ec63ff7db868de630

9 years agoDeprecate new= argument from create_connection
Ihar Hrachyshka [Thu, 15 Oct 2015 13:44:03 +0000 (15:44 +0200)]
Deprecate new= argument from create_connection

It's not used since the time we switched to oslo.messaging (Juno), it's
time to deprecate and eventually remove it.

Closes-Bug: #1506492
Change-Id: I57b0229c2b6028796cd10bbbfc9b166cf8a6dab0

9 years agoMerge "Add reno for release notes management"
Jenkins [Fri, 6 Nov 2015 04:00:08 +0000 (04:00 +0000)]
Merge "Add reno for release notes management"

9 years agoMerge "DVR: only notify needed agents on new VM port creation"
Jenkins [Fri, 6 Nov 2015 00:48:34 +0000 (00:48 +0000)]
Merge "DVR: only notify needed agents on new VM port creation"

9 years agoMerge "Ensure to decode bytes or fail"
Jenkins [Thu, 5 Nov 2015 19:37:33 +0000 (19:37 +0000)]
Merge "Ensure to decode bytes or fail"

9 years agoMerge "Remove default=None for configuration bindings"
Jenkins [Thu, 5 Nov 2015 19:37:19 +0000 (19:37 +0000)]
Merge "Remove default=None for configuration bindings"

9 years agoMerge "Log hints should only be used for log messages"
Jenkins [Thu, 5 Nov 2015 11:19:35 +0000 (11:19 +0000)]
Merge "Log hints should only be used for log messages"

9 years agoMerge "Optimize delete_csnat_router_interface_ports db query"
Jenkins [Thu, 5 Nov 2015 10:40:19 +0000 (10:40 +0000)]
Merge "Optimize delete_csnat_router_interface_ports db query"

9 years agoRemove default=None for configuration bindings
Gary Kotton [Mon, 2 Nov 2015 08:41:29 +0000 (00:41 -0800)]
Remove default=None for configuration bindings

The default value for a configuration variable is None. There is
no need to specifically set these as None.

The line where this is done is:
https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L684

TrivialFix

Change-Id: Iedf29b13d69ea9f2eb4d5aa746d7c1da8d83bafc

9 years agoMerge "Formatting exception messages"
Jenkins [Thu, 5 Nov 2015 09:02:55 +0000 (09:02 +0000)]
Merge "Formatting exception messages"

9 years agoLog hints should only be used for log messages
Gary Kotton [Tue, 3 Nov 2015 13:07:48 +0000 (05:07 -0800)]
Log hints should only be used for log messages

Removed log hints for exception translations.

Please see http://docs.openstack.org/developer/oslo.i18n/guidelines.html

TrivialFix

Change-Id: I6c46867568811d24964daa7468acf704f69b01b6

9 years agoMerge "Add a note about the Neutron Bugs team in Launchpad"
Jenkins [Wed, 4 Nov 2015 23:35:50 +0000 (23:35 +0000)]
Merge "Add a note about the Neutron Bugs team in Launchpad"

9 years agoAdd reno for release notes management
Kyle Mestery [Wed, 4 Nov 2015 20:41:26 +0000 (20:41 +0000)]
Add reno for release notes management

Change-Id: I0c9b6d9a0e77b57e3637260b6e73edfe78afe5ae
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoMerge "Update deprecated messages"
Jenkins [Wed, 4 Nov 2015 21:52:28 +0000 (21:52 +0000)]
Merge "Update deprecated messages"

9 years agoAdd a note about the Neutron Bugs team in Launchpad
Kyle Mestery [Wed, 4 Nov 2015 19:01:01 +0000 (19:01 +0000)]
Add a note about the Neutron Bugs team in Launchpad

This team [1] has the ability to handle administrative tasks around
bugs, so lets make clear what the very low bar is for entrance.

[1] https://launchpad.net/~neutron-bugs

Change-Id: I77dcadfcab4f6d95e17bf020d7ee35f590d3fe25
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoMerge "Delete fipnamespace when external net removed on DVR"
Jenkins [Wed, 4 Nov 2015 20:57:42 +0000 (20:57 +0000)]
Merge "Delete fipnamespace when external net removed on DVR"

9 years agoMerge "PortOpt cleanups"
Jenkins [Wed, 4 Nov 2015 20:00:12 +0000 (20:00 +0000)]
Merge "PortOpt cleanups"

9 years agoMerge "Change function call order in ovs_neutron_agent."
Jenkins [Wed, 4 Nov 2015 19:35:39 +0000 (19:35 +0000)]
Merge "Change function call order in ovs_neutron_agent."

9 years agoMerge "Fix incorrect passing port dict in pluggable IPAM"
Jenkins [Wed, 4 Nov 2015 18:33:05 +0000 (18:33 +0000)]
Merge "Fix incorrect passing port dict in pluggable IPAM"

9 years agoUpdate deprecated messages
Gary Kotton [Wed, 4 Nov 2015 13:59:22 +0000 (05:59 -0800)]
Update deprecated messages

Commit 8022adb7342b09886f53c91c12d0b37986fbf35c marked the
methods read_cached_file, find_config_file and
get_keystone_url as not used in Liberty.

This code only landed a few days ago. Updated the deprecated
message to be after Mitaka so that external plugins will have
some grace period to clean up their code.

Change-Id: Ia5ce564837c4855450aa9da94c276e4beb62900c

9 years agoChange function call order in ovs_neutron_agent.
Rodolfo Alonso Hernandez [Tue, 3 Nov 2015 09:55:49 +0000 (09:55 +0000)]
Change function call order in ovs_neutron_agent.

Change function call order in ovs_neutron_agent during the
creation or modification of a port, in order to fulfill the
VLAN OVS tag information in the "port" register before calling
the SG agent. This information is needed in some SG agent
implementations.

Closes-Bug: #1512636
Change-Id: I9813aca6443ac402b10b4cebf8be42416628b050

9 years agoEnsure to decode bytes or fail
Cedric Brandily [Tue, 6 Oct 2015 20:58:07 +0000 (22:58 +0200)]
Ensure to decode bytes or fail

The commit 048316e98114145ad19285cdeedd0040b59a66f8 introduces the
pattern:

  if isinstance(line, bytes):
    try:
      line = line.decode(encoding='utf-8')
    except UnicodeError:
      pass
  # concat line with a string

which is not working in PY3K if an UnicodeError is raised because line
is (silently) not decoded and concatened to a string.

This change ensures to return a text object or to raise an error.

Closes-Bug: #1503415
Blueprint: neutron-python3
Change-Id: I16b8013f33aa3efad65be8040d3210120e047bbd

9 years agoMerge "Add IRC part for effective neutron"
Jenkins [Tue, 3 Nov 2015 23:04:59 +0000 (23:04 +0000)]
Merge "Add IRC part for effective neutron"

9 years agoMerge "Update specs backlog directory"
Jenkins [Tue, 3 Nov 2015 22:21:20 +0000 (22:21 +0000)]
Merge "Update specs backlog directory"

9 years agoOptimize delete_csnat_router_interface_ports db query
Cedric Brandily [Tue, 3 Nov 2015 21:54:07 +0000 (22:54 +0100)]
Optimize delete_csnat_router_interface_ports db query

Currently delete_csnat_router_interface_ports provides an iterator as
filter to core_plugin.get_ports which is used in a SQL IN argument.
SQLAlchemy is able to avoid some db queries when the IN argument is
empty BUT not when the argument is an empty iterator and raises the
warning:

 SAWarning: The IN-predicate on "ports.id" was invoked with an empty
 sequence. This results in a contradiction, which nonetheless can be
 expensive to evaluate. Consider alternative strategies for improved
 performance.

This change replaces the iterator by a list in order to optimize db
queries when the filter is empty.

Closes-Bug: #1503852
Change-Id: I4f53433d688dfa020927118a18020b1a6aa55517

9 years agoMerge "Add section for code review in effective neutron"
Jenkins [Tue, 3 Nov 2015 17:58:03 +0000 (17:58 +0000)]
Merge "Add section for code review in effective neutron"

9 years agoAdd IRC part for effective neutron
Gal Sagie [Tue, 6 Oct 2015 18:08:41 +0000 (21:08 +0300)]
Add IRC part for effective neutron

Change-Id: I20397c3caaea0a109d6b1e0685f9995e5839a38d

9 years agoMerge "Docs: clarify that AnySubnetRequest is optional"
Jenkins [Tue, 3 Nov 2015 13:00:30 +0000 (13:00 +0000)]
Merge "Docs: clarify that AnySubnetRequest is optional"

9 years agoMerge "sub_project_guidelines.rst: Clarify stable branch creation for subprojects"
Jenkins [Tue, 3 Nov 2015 11:57:19 +0000 (11:57 +0000)]
Merge "sub_project_guidelines.rst: Clarify stable branch creation for subprojects"

9 years agoPortOpt cleanups
Gary Kotton [Sun, 1 Nov 2015 08:46:13 +0000 (01:46 -0700)]
PortOpt cleanups

Commit 44d73d1ad3073958c8d5cce933deedc7e6ea5f83 added support
for oslo.config 2.6.

Commit 4d2cb851b7b7d6399163ca9f624f656a3e41ac34 added this to Neutron.

The patch adds a few missing items.

Change-Id: Id36515e28458c354ddb6fe3656f182d17df08f8a

9 years agoMerge "Fix QoS VALID_RULE_TYPES location in devref"
Jenkins [Tue, 3 Nov 2015 06:36:32 +0000 (06:36 +0000)]
Merge "Fix QoS VALID_RULE_TYPES location in devref"

9 years agoMerge "Add ops tag to bugs policy"
Jenkins [Tue, 3 Nov 2015 04:51:04 +0000 (04:51 +0000)]
Merge "Add ops tag to bugs policy"

9 years agoMerge "Use a more pythonic string construction"
Jenkins [Tue, 3 Nov 2015 03:58:01 +0000 (03:58 +0000)]
Merge "Use a more pythonic string construction"

9 years agoFix QoS VALID_RULE_TYPES location in devref
Dongcan Ye [Tue, 3 Nov 2015 02:13:20 +0000 (10:13 +0800)]
Fix QoS VALID_RULE_TYPES location in devref

In QoS devref, replace neutron.extensions.qos.VALID_RULE_TYPES by
neutron.services.qos.qos_consts.VALID_RULE_TYPES.

Change-Id: Id98b906733fd44bb03da2b38f3bb9a9e35174bfc

9 years agoDocs: clarify that AnySubnetRequest is optional
Sean M. Collins [Mon, 2 Nov 2015 19:47:13 +0000 (14:47 -0500)]
Docs: clarify that AnySubnetRequest is optional

The phrasing of "may not support" was a little confusing, mostly because
I read it as an imperative - "you may not do this" instead of it
being "you can do this if you want"

Change-Id: Ia4fb87a649f1d4bc312f4ad3bb5c2f48a7b6741b

9 years agoMerge "Update neutron-debug to use stevedore aliases"
Jenkins [Mon, 2 Nov 2015 18:03:17 +0000 (18:03 +0000)]
Merge "Update neutron-debug to use stevedore aliases"

9 years agoMerge "Replace internal oslo_policy mock with public fixture"
Jenkins [Mon, 2 Nov 2015 16:55:37 +0000 (16:55 +0000)]
Merge "Replace internal oslo_policy mock with public fixture"

9 years agoMerge "Per-branch HEAD files for conflict management"
Jenkins [Mon, 2 Nov 2015 16:07:25 +0000 (16:07 +0000)]
Merge "Per-branch HEAD files for conflict management"

9 years agoUpdate neutron-debug to use stevedore aliases
Martin Hickey [Wed, 21 Oct 2015 14:24:13 +0000 (15:24 +0100)]
Update neutron-debug to use stevedore aliases

Updating neutron-debug as it is importing interface driver classes
directly and not using the load_driver_interface method.
Also adds unit tests for the neutron-debug tool.

Change-Id: Icf095b2182225e63e85d849d83c2cb36b8a39217
Closes-Bug: #1504536

9 years agoFix incorrect passing port dict in pluggable IPAM
Pavel Bondar [Fri, 30 Oct 2015 11:59:09 +0000 (14:59 +0300)]
Fix incorrect passing port dict in pluggable IPAM

_ipam_allocate_ips expects to receive port dict as a third argument, but
'changes' were passed instead.

This issue affects only third-party vendors who implement own IPAM
driver with custom AddressRequestFactory and uses port dict in it.

Updated arguments passed to _ipam_allocate_ips to include port dict as a
third argument.

Change-Id: I25eb86f46e5412cfacad9a751a94f7720f1a7bd0
Closes-Bug: #1511707

9 years agoPer-branch HEAD files for conflict management
AKamyshnikova [Thu, 8 Oct 2015 15:18:21 +0000 (18:18 +0300)]
Per-branch HEAD files for conflict management

We have pep8 check for validation revisions, but it allows
outdated changes go into merge queue. To prevent this added
CONTRACT_HEAD, EXPAND_HEAD files.

Closes-bug: #1505701

Change-Id: Ie4b727e55a0b1ecb12e915a0037094a928d8f975

9 years agoMerge "Adds base in-tree functional testing of the dhcp agent (OVS)"
Jenkins [Mon, 2 Nov 2015 12:46:41 +0000 (12:46 +0000)]
Merge "Adds base in-tree functional testing of the dhcp agent (OVS)"

9 years agoReplace internal oslo_policy mock with public fixture
Kevin Benton [Thu, 8 Oct 2015 20:00:23 +0000 (13:00 -0700)]
Replace internal oslo_policy mock with public fixture

This replaces a mock on an internal oslo_policy http class
with a public fixture they provide.

Related-Bug: #1503890
Change-Id: Ifa445b699f71379c7922960375a5e1d25f873f91

9 years agoMerge "DHCP agent: log when reloading allocations for a new VM port"
Jenkins [Mon, 2 Nov 2015 09:55:26 +0000 (09:55 +0000)]
Merge "DHCP agent: log when reloading allocations for a new VM port"

9 years agoMerge "IPSet Manager: make code more pythonic"
Jenkins [Mon, 2 Nov 2015 09:48:51 +0000 (09:48 +0000)]
Merge "IPSet Manager: make code more pythonic"

9 years agosub_project_guidelines.rst: Clarify stable branch creation for subprojects
YAMAMOTO Takashi [Mon, 2 Nov 2015 09:19:22 +0000 (18:19 +0900)]
sub_project_guidelines.rst: Clarify stable branch creation for subprojects

Change-Id: I27914c6fbd091f4e03e5fbc23f16b2278f800b69

9 years agoMerge "Decompose ML2 mechanism driver for Mellanox"
Jenkins [Mon, 2 Nov 2015 09:03:10 +0000 (09:03 +0000)]
Merge "Decompose ML2 mechanism driver for Mellanox"

9 years agoUse a more pythonic string construction
Kevin Benton [Mon, 2 Nov 2015 08:48:22 +0000 (01:48 -0700)]
Use a more pythonic string construction

Use interpolation rather than concatenation of literals and variables.

Change-Id: I1762534586751aa29174afcd67823468abcde123

9 years agoMerge "Optimize get_bridge_for_tap_device"
Jenkins [Mon, 2 Nov 2015 07:22:59 +0000 (07:22 +0000)]
Merge "Optimize get_bridge_for_tap_device"

9 years agoMerge "Use oslo_config new type PortOpt for port options"
Jenkins [Mon, 2 Nov 2015 07:07:44 +0000 (07:07 +0000)]
Merge "Use oslo_config new type PortOpt for port options"

9 years agoMerge "Removes the use of mutables as default args"
Jenkins [Mon, 2 Nov 2015 07:05:28 +0000 (07:05 +0000)]
Merge "Removes the use of mutables as default args"

9 years agoMerge "Don't update metadata_proxy if metadata is not enabled"
Jenkins [Mon, 2 Nov 2015 04:54:43 +0000 (04:54 +0000)]
Merge "Don't update metadata_proxy if metadata is not enabled"

9 years agoAdd ops tag to bugs policy
Henry Gessau [Fri, 30 Oct 2015 03:00:36 +0000 (03:00 +0000)]
Add ops tag to bugs policy

Change-Id: Ia7435e3c2e9bd021b1966c811a41775cbf39c543

9 years agoIPSet Manager: make code more pythonic
Gary Kotton [Sun, 1 Nov 2015 12:29:13 +0000 (04:29 -0800)]
IPSet Manager: make code more pythonic

Remove unnecessary brackets.

TrivialFix

Change-Id: I34e29a9911be9731bc9f4b2d7f3b055e4b85a438

9 years agoMerge "Remove deprecated nova_* options"
Jenkins [Sun, 1 Nov 2015 09:43:32 +0000 (09:43 +0000)]
Merge "Remove deprecated nova_* options"

9 years agoImported Translations from Zanata
OpenStack Proposal Bot [Sun, 1 Nov 2015 06:12:31 +0000 (06:12 +0000)]
Imported Translations from Zanata

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

Change-Id: I1cec4c9071a03288cd1cf33b19c42c95785b4fb4

9 years agoMerge "Fixed a bunch of typos throughout Neutron"
Jenkins [Sat, 31 Oct 2015 23:34:05 +0000 (23:34 +0000)]
Merge "Fixed a bunch of typos throughout Neutron"

9 years agoRemove deprecated nova_* options
Cedric Brandily [Thu, 22 Oct 2015 21:15:18 +0000 (23:15 +0200)]
Remove deprecated nova_* options

Neutron nova_* options have been deprecated in Kilo in favour of options
in [nova] section.

This change removes these options in order to simplify code, clarify
configuration and avoid a warning in unittests.

DocImpact
UpgradeImpact
Closes-Bug: #1509092
Related-Bug: #1403686
Change-Id: I950f72ad7d7d41cfa006f8c7105934301cd56faa

9 years agoMerge "Decompose ML2 mechanism driver for OVSvApp"
Jenkins [Sat, 31 Oct 2015 08:36:12 +0000 (08:36 +0000)]
Merge "Decompose ML2 mechanism driver for OVSvApp"

9 years agoFixed a bunch of typos throughout Neutron
Brandon Palm [Wed, 28 Oct 2015 19:51:25 +0000 (14:51 -0500)]
Fixed a bunch of typos throughout Neutron

Went through all of the docstrings in Neutron and did
some cleanup.  I'm sure there are bunch more that I have missed.

Change-Id: Ib29d2de1c580880c89ed4fd069e1515d0977a3e7

9 years agoDecompose ML2 mechanism driver for Mellanox
Cedric Brandily [Thu, 29 Oct 2015 14:30:17 +0000 (23:30 +0900)]
Decompose ML2 mechanism driver for Mellanox

This change removes Mellanox ML2 mechanism driver after its definition in
networking-mlnx.

DocImpact
Closes-Bug: #1511234
Change-Id: Ie48ac22d8e7477c22ad1d48aa0c44153a01eb242

9 years agoMerge "Add text for deprecated parameter"
Jenkins [Fri, 30 Oct 2015 03:43:31 +0000 (03:43 +0000)]
Merge "Add text for deprecated parameter"

9 years agoAdd text for deprecated parameter
Nate Johnston [Thu, 29 Oct 2015 05:17:17 +0000 (01:17 -0400)]
Add text for deprecated parameter

Add information for "max_fixed_ips_per_port" option that the
option is deprecated and will be removed in the N release.

Co-Authored-By: Takanori Miyagishi <miyagishi.t@jp.fujitsu.com>
Change-Id: I9aa876c371e7b6cff2068dc641c5e4b5ebda8001
Closes-Bug: #1503088

9 years agoClarify with example mentioning gratuitous whitespace changes
Carl Baldwin [Fri, 23 Oct 2015 21:04:39 +0000 (21:04 +0000)]
Clarify with example mentioning gratuitous whitespace changes

Maybe I'm just too picky but I usually call this stuff out in reviews
even if I decide to +2 the patch set.

Change-Id: I5a2667d44203147e112f5a1d7573105478d805f7

9 years agoRemoves the use of mutables as default args
Gary Kotton [Thu, 29 Oct 2015 14:40:05 +0000 (07:40 -0700)]
Removes the use of mutables as default args

Passing mutable objects as default args is a known Python pitfall.
We'd better avoid this. This commit changes mutable default args with
None, then use 'arg = arg or {}', 'arg = arg or []'. For unit code which
doesn't use the args , just set with None. This commit also adds hacking
check.

This code was taken from commit 0bea84ac20fe498bd08f7212a0017196c8cb0812
in Nova.

Change-Id: I36d07cade687690dc02a8f6cc3d70f5d00caf112
Co-Authored-By: ChangBo Guo(gcb) <glongwave@gmail.com>
9 years agoDecompose ML2 mechanism driver for OVSvApp
Cedric Brandily [Thu, 29 Oct 2015 05:38:23 +0000 (14:38 +0900)]
Decompose ML2 mechanism driver for OVSvApp

This change removes OVSvApp ML2 mechanism driver after its definition in
networking-vsphere.

DocImpact
Closes-Bug: #1511198
Depends-On: Ib7b2852f3d4dc35a837a425366c5bf0135725a74
Change-Id: I5e310f0596f3ea206800ac9d4daca1c292a234f1

9 years agoFix usage of mutable object as default value
Gary Kotton [Thu, 29 Oct 2015 13:48:48 +0000 (06:48 -0700)]
Fix usage of mutable object as default value

Commit 0a300a2277a583fe28b00db2571982928c752554 added a bad parameter.
Please see http://docs.python-guide.org/en/latest/writing/gotchas/

Change-Id: I0550c4c86774f8761287c596350f7461fec05fe4

9 years agoMerge "Optimize interface_exists_on_bridge"
Jenkins [Thu, 29 Oct 2015 09:00:07 +0000 (09:00 +0000)]
Merge "Optimize interface_exists_on_bridge"

9 years agoMerge "Log end of router updates for PD and delete branches"
Jenkins [Thu, 29 Oct 2015 08:59:53 +0000 (08:59 +0000)]
Merge "Log end of router updates for PD and delete branches"

9 years agoMerge "Make the Neutron Stadium documentation toplevel"
Jenkins [Thu, 29 Oct 2015 07:36:49 +0000 (07:36 +0000)]
Merge "Make the Neutron Stadium documentation toplevel"

9 years agoMerge "Add notes about stable merge requirements for sub-projects"
Jenkins [Thu, 29 Oct 2015 06:39:53 +0000 (06:39 +0000)]
Merge "Add notes about stable merge requirements for sub-projects"

9 years agoMerge "Imported Translations from Zanata"
Jenkins [Thu, 29 Oct 2015 06:37:28 +0000 (06:37 +0000)]
Merge "Imported Translations from Zanata"

9 years agoMerge "Updated from global requirements"
Jenkins [Thu, 29 Oct 2015 06:18:09 +0000 (06:18 +0000)]
Merge "Updated from global requirements"

9 years agoMake the Neutron Stadium documentation toplevel
Kyle Mestery [Thu, 29 Oct 2015 05:29:44 +0000 (14:29 +0900)]
Make the Neutron Stadium documentation toplevel

This commits moves the Neutron Stadium documentation to the toplevel
portion of the documentation tree.

Change-Id: I0ec585975c453a9dd08d22293bb68dbc775802e6
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoAdd notes about stable merge requirements for sub-projects
Kyle Mestery [Thu, 29 Oct 2015 01:00:24 +0000 (10:00 +0900)]
Add notes about stable merge requirements for sub-projects

It was pointed out the requirements around what is allowed to be merged
into stable Neutron sub-projects wasn't clear. This attempts to make
that a bit more refined so those who choose to participate in the Neutron
Stadium know these requirements.

Change-Id: I6d472f4d9458ce311199ded89dc2a81759d1efa5
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoFix incorrect capitilization of PyPI
Kyle Mestery [Thu, 29 Oct 2015 00:40:10 +0000 (09:40 +0900)]
Fix incorrect capitilization of PyPI

Change-Id: I2cadc925e3a78241f3dd44acb440427f816b7ff9
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 28 Oct 2015 22:07:28 +0000 (22:07 +0000)]
Updated from global requirements

Change-Id: I7a0550f47b885618c53bbea777680c58b4c8ab13

9 years agoLog end of router updates for PD and delete branches
Ryan Moats [Wed, 28 Oct 2015 16:01:28 +0000 (11:01 -0500)]
Log end of router updates for PD and delete branches

These execution branches call continue directly without
logging the end of the router update.  This leads to
confusion about when the last router update finishes if
it is a delete or a PD update.

Change-Id: Id82e7374aa9336e0adea3042238f30f716208373
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Closes-bug: #1511004

9 years agoDon't update metadata_proxy if metadata is not enabled
Hong Hui Xiao [Wed, 28 Oct 2015 09:57:43 +0000 (05:57 -0400)]
Don't update metadata_proxy if metadata is not enabled

When enable_metadata_proxy is false, the agent instance will
not have metadata_driver. And agent should avoid using it.

Change-Id: Ia18dc5dea23de49b97c8f225532531eb9232fb51
Closes-Bug: #1510399

9 years agoImported Translations from Zanata
OpenStack Proposal Bot [Wed, 28 Oct 2015 06:12:02 +0000 (06:12 +0000)]
Imported Translations from Zanata

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

Change-Id: Ic47890d38487f8e5f566da101da649c34f51d9ee

9 years agoMerge "Log the exception in linuxbridge_neutron_agent as exception"
Jenkins [Wed, 28 Oct 2015 03:30:21 +0000 (03:30 +0000)]
Merge "Log the exception in linuxbridge_neutron_agent as exception"

9 years agoDHCP agent: log when reloading allocations for a new VM port
Neil Jerram [Wed, 2 Sep 2015 14:14:30 +0000 (15:14 +0100)]
DHCP agent: log when reloading allocations for a new VM port

This will help us to see more clearly if failing DHCP for a new VM -
as seen in failures such as the following traceback from [1] - is
caused by DHCP configuration being too slow, as suggested by the
referenced bug.

Traceback (most recent call last):
  File "/home/aqua/tempest/tempest/test.py", line 125, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "/home/aqua/tempest/tempest/scenario/test_server_basic_ops_38.py", line 105, in test_server_basicops
    self.verify_ssh()
  File "/home/aqua/tempest/tempest/scenario/test_server_basic_ops_38.py", line 95, in verify_ssh
    private_key=self.keypair['private_key'])
  File "/home/aqua/tempest/tempest/scenario/manager.py", line 310, in get_remote_client
    linux_client.validate_authentication()
  File "/home/aqua/tempest/tempest/common/utils/linux/remote_client.py", line 55, in validate_authentication
    self.ssh_client.test_connection_auth()
  File "/home/aqua/tempest/tempest/common/ssh.py", line 150, in test_connection_auth
    connection = self._get_ssh_connection()
  File "/home/aqua/tempest/tempest/common/ssh.py", line 87, in _get_ssh_connection
    password=self.password)
tempest.exceptions.SSHTimeout: Connection to the 172.17.205.21 via SSH timed out.
User: cirros, Password: None

[1] http://logs.openstack.org/39/194939/19/check/gate-grenade-dsvm-neutron/82a7e58/

Change-Id: I5d77762bf8d4caa2e6f8b3527a30bf80bac62085
Related-Bug: #1453350

9 years agoMerge "Replace utils.exec for IpNeighComm LinuxBridge drv"
Jenkins [Wed, 28 Oct 2015 02:51:10 +0000 (02:51 +0000)]
Merge "Replace utils.exec for IpNeighComm LinuxBridge drv"

9 years agoUpdate specs backlog directory
armando-migliaccio [Fri, 23 Oct 2015 03:59:46 +0000 (20:59 -0700)]
Update specs backlog directory

A change in the neutron-specs repo requires this to be
updated.

Depends-on: I972a9a56c038864d9c91ead6944c6b9355916668

Change-Id: I7b55ebd6c74002ba9a34bb8a8a88f3602a72b78d

9 years agoLog the exception in linuxbridge_neutron_agent as exception
Hong Hui Xiao [Wed, 21 Oct 2015 14:35:53 +0000 (10:35 -0400)]
Log the exception in linuxbridge_neutron_agent as exception

The log here should be logged as exception. 1) It is more readable.
2) It keeps consistent with the action of its sibling module,
ovs_neutron_agent.

Change-Id: Idf11a617369cbee0dc23c8e56ae9475bb41dcc02
Closes-bug: #1508270

9 years agoReplace utils.exec for IpNeighComm LinuxBridge drv
Lubosz Kosnik [Wed, 21 Oct 2015 13:50:16 +0000 (15:50 +0200)]
Replace utils.exec for IpNeighComm LinuxBridge drv

Replace all execution of "ip neigh" command using
utils.exec for ip_lib.IpNeighCommand.(add,delete)
in LinuxBridge driver

Changed multiple which for one and fixed indentations
Closes-Bug: #1311019

Change-Id: I1389941b7df11c089429f1de61eac6d7ea5d0e54

9 years agoMerge "Fix iptables modules references in rule generation"
Jenkins [Mon, 26 Oct 2015 09:31:46 +0000 (09:31 +0000)]
Merge "Fix iptables modules references in rule generation"

9 years agoFormatting exception messages
mohankumar_n [Wed, 21 Oct 2015 06:26:31 +0000 (11:56 +0530)]
Formatting exception messages

This patch addresses below nits for existing neutron exceptions.
 - Fix messages as appropriate.
 - Remove additional spaces.
 - Add periods as appropriate.

Change-Id: I8cfb5b3b5e4fdc2bf1e50ab6d898cb4c21e7ced1

9 years agoOptimize get_bridge_for_tap_device
Cedric Brandily [Mon, 26 Oct 2015 00:50:20 +0000 (09:50 +0900)]
Optimize get_bridge_for_tap_device

Currently get_bridge_for_tap_device[1] iterates over all neutron bridges
and their interfaces.

This change proposes to deduce interface bridge from:

 /sys/class/net/%(interface)s/brif/bridge

which is a symlink to bridge interface path to improve performance.

[1] neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent

Closes-Bug: #1508789
Change-Id: Ia40cd81f47ff082a90d17f58514942ec50553241

9 years agoOptimize interface_exists_on_bridge
Cedric Brandily [Mon, 26 Oct 2015 00:19:26 +0000 (09:19 +0900)]
Optimize interface_exists_on_bridge

Currently interface_exists_on_bridge[1] lists all files in a folder and
searchs for the file associated to the interface.

This change proposes to look for the file existence directly.

[1] neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent

Closes-Bug: #1509890
Change-Id: I23cd1edc92912b35bdc23ba0af2318b86f2cfd48

9 years agoCorrect indentation in linuxbridge_neutron_agent
Cedric Brandily [Sun, 25 Oct 2015 23:27:20 +0000 (08:27 +0900)]
Correct indentation in linuxbridge_neutron_agent

Change-Id: I47b3033b5353c895de72e40fc25c099b7b7a077b

9 years agoUse oslo_config new type PortOpt for port options
ZhiQiang Fan [Thu, 22 Oct 2015 06:12:24 +0000 (00:12 -0600)]
Use oslo_config new type PortOpt for port options

The oslo_config library provides new type PortOpt to validate the
range of port now.

Change-Id: I40792ddcee0f89c47defa726fed24f26c4b88ce2
Depends-On: I9c0e3f44cf93db020933d8d766cedfc2e3f3bb8b

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 24 Oct 2015 02:08:55 +0000 (02:08 +0000)]
Updated from global requirements

Change-Id: I9c0e3f44cf93db020933d8d766cedfc2e3f3bb8b

9 years agoMerge "Validate ethertype for icmp protocols"
Jenkins [Sat, 24 Oct 2015 01:31:05 +0000 (01:31 +0000)]
Merge "Validate ethertype for icmp protocols"

9 years agoMerge "Support migrating of legacy routers to HA and back"
Jenkins [Sat, 24 Oct 2015 01:05:19 +0000 (01:05 +0000)]
Merge "Support migrating of legacy routers to HA and back"

9 years agoMerge "Add another patch scoping bullet point to effective_neutron"
Jenkins [Fri, 23 Oct 2015 22:04:45 +0000 (22:04 +0000)]
Merge "Add another patch scoping bullet point to effective_neutron"