]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoRevert "Change function call order in ovs_neutron_agent."
Kevin Benton [Fri, 15 Jan 2016 15:22:03 +0000 (15:22 +0000)]
Revert "Change function call order in ovs_neutron_agent."

This reverts commit 9c72bac0ea37971b2d5430246295c5e8b859b4ed.

Change-Id: I9b6b588b68f63f6688749d011dc8b20ef80edadc
Closes-Bug: #1534322

8 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 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 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 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 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 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 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"

9 years agoMerge "Enable specific extra_dhcp_opt to be left blank"
Jenkins [Fri, 23 Oct 2015 22:04:32 +0000 (22:04 +0000)]
Merge "Enable specific extra_dhcp_opt to be left blank"

9 years agoMerge "Better tolerate deleted OVS ports in OVS agent"
Jenkins [Fri, 23 Oct 2015 22:00:40 +0000 (22:00 +0000)]
Merge "Better tolerate deleted OVS ports in OVS agent"

9 years agoMerge "get_device_by_ip: don't fail if device was deleted"
Jenkins [Fri, 23 Oct 2015 17:54:29 +0000 (17:54 +0000)]
Merge "get_device_by_ip: don't fail if device was deleted"

9 years agoMerge "Remove deprecated namespace deletion options"
Jenkins [Fri, 23 Oct 2015 15:45:28 +0000 (15:45 +0000)]
Merge "Remove deprecated namespace deletion options"

9 years agoMerge "Fix _restore_local_vlan_map race"
Jenkins [Fri, 23 Oct 2015 15:45:10 +0000 (15:45 +0000)]
Merge "Fix _restore_local_vlan_map race"

9 years agoMerge "Imported Translations from Zanata"
Jenkins [Fri, 23 Oct 2015 12:45:40 +0000 (12:45 +0000)]
Merge "Imported Translations from Zanata"

9 years agoMerge "Use string formatting instead of string replace"
Jenkins [Fri, 23 Oct 2015 09:49:09 +0000 (09:49 +0000)]
Merge "Use string formatting instead of string replace"

9 years agoMerge "Deepcopy port dict in dhcp rpc handler"
Jenkins [Fri, 23 Oct 2015 09:42:17 +0000 (09:42 +0000)]
Merge "Deepcopy port dict in dhcp rpc handler"

9 years agoMerge "Mark for removal deadcode in neutron.common.utils"
Jenkins [Fri, 23 Oct 2015 09:37:18 +0000 (09:37 +0000)]
Merge "Mark for removal deadcode in neutron.common.utils"

9 years agoMerge "Set security group provider rule for icmpv6 RA in DVR"
Jenkins [Fri, 23 Oct 2015 09:32:00 +0000 (09:32 +0000)]
Merge "Set security group provider rule for icmpv6 RA in DVR"

9 years agoMerge "Move test_extend_port_dict_no_port_security to where it belongs to"
Jenkins [Fri, 23 Oct 2015 09:05:14 +0000 (09:05 +0000)]
Merge "Move test_extend_port_dict_no_port_security to where it belongs to"

9 years agoImported Translations from Zanata
OpenStack Proposal Bot [Fri, 23 Oct 2015 06:11:57 +0000 (06:11 +0000)]
Imported Translations from Zanata

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

Change-Id: I9b3c875c0dd9c89f61e664be32b73eacb539b8f9

9 years agoMerge "DVR: notify specific agent when deleting floating ip"
Jenkins [Fri, 23 Oct 2015 04:46:25 +0000 (04:46 +0000)]
Merge "DVR: notify specific agent when deleting floating ip"

9 years agoMerge "Remove GBP as a Neutron sub-project"
Jenkins [Fri, 23 Oct 2015 00:58:01 +0000 (00:58 +0000)]
Merge "Remove GBP as a Neutron sub-project"

9 years agoSupport migrating of legacy routers to HA and back
John Schwarz [Mon, 12 Oct 2015 13:54:17 +0000 (16:54 +0300)]
Support migrating of legacy routers to HA and back

This patch adds support for migration of legacy routers to HA and
vice-versa. This patch also:

1. Reverts I4171ab481e3943e0110bd9a300d965bbebe44871, which was used to
   disable such migrations until support was inserted to the codebase.
2. Adds an exception to indicate that such migrations are only available
   on routers that have their admin_state_up set to False.

Closes-Bug: #1365426
DocImpact (Handled in patch 233695)
Change-Id: Ie92f8033f47e1bf9ba6310373b3bfc9833317580

9 years agoUse string formatting instead of string replace
Cedric Brandily [Thu, 22 Oct 2015 21:45:32 +0000 (23:45 +0200)]
Use string formatting instead of string replace

Currently linuxbridge_neutron_agent[1] uses the pattern:

 PLACEHOLDER = "..."
 PATH = PREFIX + PLACEHOLDER + SUFFIX
 ...
 my_path = PATH.replace(PLACEHOLDER, my_value)

which could be replaced by the following which is more common and in
general safer:

 PATH = PREFIX + '%s' + SUFFIX
 ...
 my_path = PATH % my_value)

Change-Id: I2d23b11fa6fb7f31c1abbe36523b75bfc81f5c46

9 years agoMerge "Fix error code when L3 HA + DVR router is created or updated"
Jenkins [Thu, 22 Oct 2015 20:55:14 +0000 (20:55 +0000)]
Merge "Fix error code when L3 HA + DVR router is created or updated"

9 years agoBetter tolerate deleted OVS ports in OVS agent
Paul Ward [Thu, 24 Sep 2015 19:52:28 +0000 (14:52 -0500)]
Better tolerate deleted OVS ports in OVS agent

This change will not force a resync in the case where a virtual machine is
deleted, and therefore its OVS port deleted, in between the time an RPC
call was made to get the devices and where we make the call to correlate
those devices to vif ports.

Change-Id: Ie55eb69ad7ee177f0cf8ee8fc7fc585fbd0d4a22
Closes-Bug: #1499488

9 years agoRemove GBP as a Neutron sub-project
Kyle Mestery [Thu, 22 Oct 2015 19:28:02 +0000 (19:28 +0000)]
Remove GBP as a Neutron sub-project

It was never a sub-project to begin with, so lets get it out of here.

Change-Id: Iabba3cc55c88771d3922050f23289ebdd7cbd44b
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoMerge "Allow to specify branch for creating new migration"
Jenkins [Thu, 22 Oct 2015 19:19:40 +0000 (19:19 +0000)]
Merge "Allow to specify branch for creating new migration"

9 years agoget_device_by_ip: don't fail if device was deleted
John Schwarz [Thu, 15 Oct 2015 14:34:01 +0000 (17:34 +0300)]
get_device_by_ip: don't fail if device was deleted

The function gets a list of all the devices that exists on the machine,
and then iterates on them one at a time in order to find the correct
device which holds the ip specified. However, if one of the devices was
in the mean time deleted, the code will raise an Exception. In the ovs
agent's case, this will cause it to not run at all (requiring a
restart).

Also, changes to a few tests of LinuxBridge were made because
linuxbridge doesn't check that cfg.CONF.VXLAN.local_ip is not empty
before using it (a bug, surely). Since it's out of scope of this patch
to fix this, workarounds were implemented to make sure the tests ignore
the option instead.

Closes-Bug: #1506503
Change-Id: Iad285d7c763b0e8e8f877c6892aadb0043e9a186

9 years agoAllow to specify branch for creating new migration
Yuji [Wed, 16 Sep 2015 02:45:27 +0000 (11:45 +0900)]
Allow to specify branch for creating new migration

Add options to 'neutron-db-manage revision' command for specifying
a branch.

DocImpact

Change-Id: I00b00821839b0d77caaaf26b518c5c0c75e01218
Closes-Bug: 1503342

9 years agoMark for removal deadcode in neutron.common.utils
Bogdan Tabor [Wed, 21 Oct 2015 13:40:14 +0000 (15:40 +0200)]
Mark for removal deadcode in neutron.common.utils

Methods:
 * read_cached_file(filename, cache_info, reload_func=None)
 * find_config_file(options, config_file)
 * get_keystone_url(conf)
are not used withing neutron projects.

Change-Id: Iba3325103f5c24c1822781382f4c8864eb2921c5
Closes-bug: #1508430

9 years agoAdds base in-tree functional testing of the dhcp agent (OVS)
marios [Fri, 21 Nov 2014 12:20:54 +0000 (13:20 +0100)]
Adds base in-tree functional testing of the dhcp agent (OVS)

Adds some utility methods and a couple of base test cases that
can be added to. These first tests exercise the ovs driver (dnsmasq)
and so the code is organised accordingly - OVS specific test cases
are defined in a DHCPAgentOVSTestFramework

Partial-Bug: #1469065
Co-Authored-By: Cedric Brandily <zzelle@gmail.com>
Co-Authored-By: Sergey Belous <sbelous@mirantis.com>
Change-Id: Ic9d5a2f2b8014e4d81f5e5f6fa58b119a86de075

9 years agoMerge "Minor improvement in port_bound operation"
Jenkins [Thu, 22 Oct 2015 14:49:38 +0000 (14:49 +0000)]
Merge "Minor improvement in port_bound operation"

9 years agoMerge "Add effective note on DB exception to be aware of"
Jenkins [Thu, 22 Oct 2015 10:42:45 +0000 (10:42 +0000)]
Merge "Add effective note on DB exception to be aware of"

9 years agoFix _restore_local_vlan_map race
YAMAMOTO Takashi [Wed, 21 Oct 2015 04:54:06 +0000 (13:54 +0900)]
Fix _restore_local_vlan_map race

Local vlan mappings provisioned by _restore_local_vlan_map
might not be cleaned up properly if the corresponding ports are
removed before we enter the main loop.

This commit fixes the problem by making _restore_local_vlan_map
just record local vlan IDs and leave the rest of provisioning logic
to the main loop.

Closes-Bug: #1507776
Change-Id: I84ff6684ae3fda7d839c14b1a7382871f45ce610

9 years agoDVR: notify specific agent when deleting floating ip
Oleg Bondarev [Tue, 6 Oct 2015 12:22:30 +0000 (15:22 +0300)]
DVR: notify specific agent when deleting floating ip

In DVR case we only need to notify the l3 agent on compute node
where associated fixed port is located.

Closes-Bug: #1486828
Change-Id: I644238ca295c4eb6df75a99a8ef6143a801b27cb

9 years agoMerge "Spawn dedicated rpc workers for state reports queue"
Jenkins [Thu, 22 Oct 2015 07:45:04 +0000 (07:45 +0000)]
Merge "Spawn dedicated rpc workers for state reports queue"

9 years agoMove test_extend_port_dict_no_port_security to where it belongs to
YAMAMOTO Takashi [Thu, 22 Oct 2015 04:48:20 +0000 (13:48 +0900)]
Move test_extend_port_dict_no_port_security to where it belongs to

extensions/test_portsecurity doesn't seem like an appropriate
place for tests which examine details of ML2 extension driver.

Change-Id: I56c38a334cba45e204184e5d7d9284dacc29a2e1

9 years agoFix the latest glitches that broke docs generation
armando-migliaccio [Thu, 22 Oct 2015 01:12:22 +0000 (18:12 -0700)]
Fix the latest glitches that broke docs generation

Change-Id: I56fd97e4d590fd67768fefc45aabe429ad169d48

9 years agoAdd effective note on DB exception to be aware of
armando-migliaccio [Thu, 22 Oct 2015 01:10:24 +0000 (18:10 -0700)]
Add effective note on DB exception to be aware of

Change-Id: I249b0dcf8d5ebff3c6b72c0e4deb270f0275d3a4

9 years agoMinor improvement in port_bound operation
armando-migliaccio [Thu, 22 Oct 2015 00:47:47 +0000 (17:47 -0700)]
Minor improvement in port_bound operation

By returning the need for binding, the (no-op) port processing
is skipped in the main sync loop. In fact, the port is already
detected as deleted and avoiding going over it again will save
us one log message, and thus many, many, many, many bytes over
time in logs.openstack.org.

If this is not an improvement, I don't what is.

Related-bug: 1455320

Change-Id: I4ef30bed6a1619f5980c3e61ee23ffb808c2c4f0

9 years agoClarify what gerrit repositories can target neutron-specs
Kyle Mestery [Wed, 21 Oct 2015 17:43:58 +0000 (17:43 +0000)]
Clarify what gerrit repositories can target neutron-specs

It wasn't made clear by the existing documentation that we only want
neutron, neutron-fwaas, neutron-lbaas, and neutron-vpnaas repositories
to target specs at neutron-specs. This makes it 100% crystal clear.

Change-Id: I5b87faa31d71676f1674fd7370535ae6d895b43f
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoMerge "DVR: Notify specific agent when update floatingip"
Jenkins [Wed, 21 Oct 2015 17:31:56 +0000 (17:31 +0000)]
Merge "DVR: Notify specific agent when update floatingip"

9 years agoMerge "Remove deprecated sriov agent_required option"
Jenkins [Wed, 21 Oct 2015 17:31:35 +0000 (17:31 +0000)]
Merge "Remove deprecated sriov agent_required option"

9 years agoMerge "Fix l2pop regression"
Jenkins [Wed, 21 Oct 2015 17:30:03 +0000 (17:30 +0000)]
Merge "Fix l2pop regression"