]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoMerge "Revert "Move dhcp_lease_duration into DHCP agent config options list""
Jenkins [Tue, 17 Nov 2015 05:29:34 +0000 (05:29 +0000)]
Merge "Revert "Move dhcp_lease_duration into DHCP agent config options list""

8 years agoMerge "Remove the useless l3plugin check in l3_rpc.py"
Jenkins [Tue, 17 Nov 2015 04:39:50 +0000 (04:39 +0000)]
Merge "Remove the useless l3plugin check in l3_rpc.py"

8 years agoMerge "Fix releasenotes/../unreleased.rst"
Jenkins [Tue, 17 Nov 2015 04:35:29 +0000 (04:35 +0000)]
Merge "Fix releasenotes/../unreleased.rst"

8 years agoMerge "Check missed IPSet utility using neutron-sanity-check"
Jenkins [Tue, 17 Nov 2015 02:12:03 +0000 (02:12 +0000)]
Merge "Check missed IPSet utility using neutron-sanity-check"

8 years agoMerge "Add the missing arg of RetryRequest exception in _lock_subnetpool"
Jenkins [Tue, 17 Nov 2015 02:07:50 +0000 (02:07 +0000)]
Merge "Add the missing arg of RetryRequest exception in _lock_subnetpool"

8 years agoMerge "Use admin context when requesting floating ip's router info"
Jenkins [Tue, 17 Nov 2015 02:06:50 +0000 (02:06 +0000)]
Merge "Use admin context when requesting floating ip's router info"

8 years agoMerge "Fix notification driver package"
Jenkins [Tue, 17 Nov 2015 00:36:52 +0000 (00:36 +0000)]
Merge "Fix notification driver package"

8 years agoAdd the missing arg of RetryRequest exception in _lock_subnetpool
Yalei Wang [Wed, 11 Nov 2015 15:50:20 +0000 (23:50 +0800)]
Add the missing arg of RetryRequest exception in _lock_subnetpool

RetryRequest exception defined in oslo.db need be called with a arg
which describes the inner exception. _lock_subnetpool method missed this
arg, and this patch adds it.

Change-Id: I44869c97ecd7d59d40d8793c71515067a237150b
Closes-Bug: #1506818

8 years agoMerge "Fix broken references in doc"
Jenkins [Mon, 16 Nov 2015 17:45:08 +0000 (17:45 +0000)]
Merge "Fix broken references in doc"

8 years agoMerge "Switch to using neutron.common.utils:replace_file()"
Jenkins [Mon, 16 Nov 2015 13:58:19 +0000 (13:58 +0000)]
Merge "Switch to using neutron.common.utils:replace_file()"

8 years agoFix releasenotes/../unreleased.rst
Andreas Jaeger [Mon, 16 Nov 2015 13:55:46 +0000 (14:55 +0100)]
Fix releasenotes/../unreleased.rst

The title is not valid RST, remove the extra "+" and align the headings
with the length of the string.

Change-Id: I32afdcc84e51a53a63a7cacaeba271b2f7811d75

8 years agoMerge "sub_projects.rst: Update midonet functionalities"
Jenkins [Mon, 16 Nov 2015 13:53:31 +0000 (13:53 +0000)]
Merge "sub_projects.rst: Update midonet functionalities"

8 years agoRevert "Move dhcp_lease_duration into DHCP agent config options list"
Kevin Benton [Mon, 16 Nov 2015 10:53:24 +0000 (10:53 +0000)]
Revert "Move dhcp_lease_duration into DHCP agent config options list"

This reverts commit 3101e2b62f0741baffc61174637486da17dd29bb.

The lease duration isn't DHCP agent specific. DHCP is a feature that
should be provided by whatever plugin is loaded and operators would
still like to set lease times for DHCP.

In the reference implementation we just consume it directly in the
agent, but that doesn't mean it's specific to the agent implementation.

Change-Id: I5efb6aa5e196d4cac5ff7c0c35be5a350401b925

8 years agoMerge "Trivial fix in ml2 conf"
Jenkins [Mon, 16 Nov 2015 09:21:39 +0000 (09:21 +0000)]
Merge "Trivial fix in ml2 conf"

8 years agosub_projects.rst: Update midonet functionalities
YAMAMOTO Takashi [Mon, 16 Nov 2015 07:21:08 +0000 (16:21 +0900)]
sub_projects.rst: Update midonet functionalities

FWaaS: Ie8283eb17c12960e0190da1bf9acc86916ca51b0
ML2: I0b0ce33edb108131e71f7a3307660810b55dbcf4
L3: Ic87c1efd34835fabebc2b98837c19b097d48dc0e

Change-Id: I10a251a8311c76c89731a1670266f9c771ccb5f7

8 years agoMerge "Remove MidonetInterfaceDriver"
Jenkins [Mon, 16 Nov 2015 08:48:12 +0000 (08:48 +0000)]
Merge "Remove MidonetInterfaceDriver"

8 years agoMerge "Fix some reST field lists in docstrings"
Jenkins [Mon, 16 Nov 2015 07:52:43 +0000 (07:52 +0000)]
Merge "Fix some reST field lists in docstrings"

8 years agoSwitch to using neutron.common.utils:replace_file()
Bogdan Tabor [Wed, 7 Oct 2015 13:49:08 +0000 (15:49 +0200)]
Switch to using neutron.common.utils:replace_file()

neutron.agent.linux.utils:replace_file() and
neutron.common.utils:replace_file() have same functionality.

This is the 1st patch in the series of 4 patches.
It modifies neutron.common.utils:replace_file(),
so it can be used by all components as a replacement
for neutron.agent.linux.utils:replace_file().
New keyword parameter 'file_mode=0o644' is added
to neutron.common.utils:replace_file().

Partial-bug: #1504477
Change-Id: Id1a7f1236786e8606c91bb9925cd9ac8e95892b3

8 years agoTrivial fix in ml2 conf
Dongcan Ye [Sun, 15 Nov 2015 15:15:30 +0000 (23:15 +0800)]
Trivial fix in ml2 conf

Fix alignment for ml2_type_gre section in ml2_conf.ini, using
two lines instead of one line.

Change-Id: I567b53e442d6393b9efc9c8b1e2d60786fbe584b

8 years agoRemove the useless l3plugin check in l3_rpc.py
Hong Hui Xiao [Sun, 15 Nov 2015 13:49:13 +0000 (08:49 -0500)]
Remove the useless l3plugin check in l3_rpc.py

Without "L3_ROUTER_NAT" in neutron's service_plugins, l3_rpc will
fail when getting l3plugin. So, remove the useless "if" block
here.

Change-Id: I56f417e5723ed40c70a186394de0bfcff696e469
Closes-Bug: #1514144

8 years agoMerge "Use DEVICE_OWNER_COMPUTE constant everywhere"
Jenkins [Sun, 15 Nov 2015 09:13:18 +0000 (09:13 +0000)]
Merge "Use DEVICE_OWNER_COMPUTE constant everywhere"

8 years agoFix some reST field lists in docstrings
Yi Zhao [Thu, 12 Nov 2015 08:38:45 +0000 (16:38 +0800)]
Fix some reST field lists in docstrings

This patch updates some docstrings to comply with the reST field
lists syntax.

Change-Id: I1b4469f3c90915cdfd6462c0517f6924b263fef6

8 years agoUse DEVICE_OWNER_COMPUTE constant everywhere
Ihar Hrachyshka [Wed, 30 Sep 2015 10:50:38 +0000 (12:50 +0200)]
Use DEVICE_OWNER_COMPUTE constant everywhere

Now that we have the constant defined, we should reuse it from other
code to avoid potential typos.

Change-Id: Iebb270be46b116df3441370dc1a6784571311aa9

8 years agoMerge "Skip bindings with agent_id=None"
Jenkins [Sat, 14 Nov 2015 16:26:29 +0000 (16:26 +0000)]
Merge "Skip bindings with agent_id=None"

8 years agoFix broken references in doc
Akihiro Motoki [Thu, 12 Nov 2015 13:57:05 +0000 (22:57 +0900)]
Fix broken references in doc

Change-Id: Iaaa8a064163500d1bd8a7249b2efcda2f10937b5

8 years agoMerge "Undeprecate force_gateway_on_subnet option"
Jenkins [Sat, 14 Nov 2015 09:22:39 +0000 (09:22 +0000)]
Merge "Undeprecate force_gateway_on_subnet option"

8 years agoSkip bindings with agent_id=None
Ann Kamyshnikova [Wed, 21 Oct 2015 14:37:34 +0000 (17:37 +0300)]
Skip bindings with agent_id=None

To avoid having extra L3HARouterAgentPortBinding with l3_agent as None,
operation of setting l3_agent should be atomic.
For this purpose, transaction was added in methods
create_ha_port_and_bind and _bind_ha_router_to_agents in change
Iaad82fe522cfd70061daecf411c924fdc11b7e41

In case if router was just created and l3 agent was not scheduled yet,
so l3_agent_id is None, l3-agent-list-hosting-router <router> will fail.
This change makes it work by skipping binding with agent_id=None.

Partial-bug: #1499647

Change-Id: I1aaf4b651f738febc26b0e1105aeabe066bca2a0

8 years agoMerge "Cleanup dhcp namespace upon dhcp setup."
Jenkins [Sat, 14 Nov 2015 00:34:21 +0000 (00:34 +0000)]
Merge "Cleanup dhcp namespace upon dhcp setup."

8 years agoMerge "Replace get_all_neutron_bridges by get_deletable_bridges"
Jenkins [Fri, 13 Nov 2015 23:56:39 +0000 (23:56 +0000)]
Merge "Replace get_all_neutron_bridges by get_deletable_bridges"

8 years agoMerge "Add transaction for setting agent_id in L3HARouterAgentPortBinding"
Jenkins [Fri, 13 Nov 2015 23:55:48 +0000 (23:55 +0000)]
Merge "Add transaction for setting agent_id in L3HARouterAgentPortBinding"

8 years agoMerge "Last sync from oslo-incubator"
Jenkins [Fri, 13 Nov 2015 23:55:33 +0000 (23:55 +0000)]
Merge "Last sync from oslo-incubator"

8 years agoMerge "Adding security-groups unittests"
Jenkins [Fri, 13 Nov 2015 22:32:41 +0000 (22:32 +0000)]
Merge "Adding security-groups unittests"

8 years agoMerge "Refactor test_server functional tests"
Jenkins [Fri, 13 Nov 2015 22:32:15 +0000 (22:32 +0000)]
Merge "Refactor test_server functional tests"

8 years agoMerge "Move dhcp_lease_duration into DHCP agent config options list"
Jenkins [Fri, 13 Nov 2015 22:31:42 +0000 (22:31 +0000)]
Merge "Move dhcp_lease_duration into DHCP agent config options list"

8 years agoMerge "Updated from global requirements"
Jenkins [Fri, 13 Nov 2015 22:16:14 +0000 (22:16 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Change the repos from stackforge to OpenStack"
Jenkins [Fri, 13 Nov 2015 19:22:57 +0000 (19:22 +0000)]
Merge "Change the repos from stackforge to OpenStack"

8 years agoMerge "Require tox >= 2.0"
Jenkins [Fri, 13 Nov 2015 19:06:55 +0000 (19:06 +0000)]
Merge "Require tox >= 2.0"

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Fri, 13 Nov 2015 17:12:47 +0000 (17:12 +0000)]
Updated from global requirements

Change-Id: I875c343bd39a505c5043fc0c87739a033caa9980

8 years agoUse admin context when requesting floating ip's router info
Oleg Bondarev [Wed, 28 Oct 2015 06:08:26 +0000 (15:08 +0900)]
Use admin context when requesting floating ip's router info

Currently it is possible for admin to create router and add any
tenant subnet to it, thus connecting the subnet to the external
network. In this case tenant user can assign floating ips to its
VMs though it does not own the router.
For proper notification we need to get router info using admin
context.

Closes-Bug: #1507602
Change-Id: I17330ddca577d15e42c13ef0af96d56e6f20abd7

8 years agoMerge "Replace subnetpool config options with admin-only API"
Jenkins [Fri, 13 Nov 2015 16:08:38 +0000 (16:08 +0000)]
Merge "Replace subnetpool config options with admin-only API"

8 years agoCleanup dhcp namespace upon dhcp setup.
Eugene Nikanorov [Sun, 25 Oct 2015 11:47:38 +0000 (15:47 +0400)]
Cleanup dhcp namespace upon dhcp setup.

In some cases when more than 1 DHCP agents were assigned
to a network and then they became dead, their DHCP ports
become reserved. Later, when those agents revive or start
again, they acquire reserved ports, but it's not guaranteed
that they get exactly same ports. In such case DHCP agent
may create interface in the namespaces despite that another
interface already exist. In such case there will be two
hosts with dhcp namespaces each containing duplicate ports,
e.g. one port will be present on two hosts. This breaks
DHCP.

Closes-Bug: #1509959
Change-Id: I34eb1ad5c44dd3528c9910462e26536186e7a4fb

8 years agoLast sync from oslo-incubator
Davanum Srinivas [Thu, 12 Nov 2015 19:08:50 +0000 (14:08 -0500)]
Last sync from oslo-incubator

oslo-incubator will cease to host common code soon. This is
hopefully the very last sync from oslo-incubator.

Change-Id: I08a07a7199fec506ba7a214788c0f36aee5360ec

8 years agoMerge "move import to top and rename to make more readable"
Jenkins [Fri, 13 Nov 2015 12:50:40 +0000 (12:50 +0000)]
Merge "move import to top and rename to make more readable"

8 years agoMerge "Final decomposition of opendaylight driver"
Jenkins [Fri, 13 Nov 2015 12:43:26 +0000 (12:43 +0000)]
Merge "Final decomposition of opendaylight driver"

8 years agoMerge "Don't use duplicate filter names for functional testing"
Jenkins [Fri, 13 Nov 2015 12:04:12 +0000 (12:04 +0000)]
Merge "Don't use duplicate filter names for functional testing"

8 years agoRefactor test_server functional tests
Elena Ezhova [Fri, 13 Nov 2015 11:26:45 +0000 (14:26 +0300)]
Refactor test_server functional tests

* Launching services with 0 workers makes no sense and would soon
  be prohibited in oslo.service. Passing workers=1 means that a
  service will be run in a current process.
* Extract the dummy _check_active method to the base class.

Change-Id: Ib687bf1b321845098e0564ada46e68a7850b01c6

8 years agoUndeprecate force_gateway_on_subnet option
Ihar Hrachyshka [Fri, 13 Nov 2015 11:26:55 +0000 (12:26 +0100)]
Undeprecate force_gateway_on_subnet option

There are valid use cases for gateways outside of subnet range. F.e.
deployers may decide to provide external connectivity in that way, by
injecting link routes.

Change-Id: I18a78adff1106129fd59eaa5be315fcf6ba70cc4

8 years agoMove dhcp_lease_duration into DHCP agent config options list
Ihar Hrachyshka [Fri, 13 Nov 2015 11:17:43 +0000 (12:17 +0100)]
Move dhcp_lease_duration into DHCP agent config options list

It is DHCP agent specific, and so it should not be present in
neutron.conf or be reported as a valid option for other services.

Also modified the help message slightly to avoid mentioning dnsmasq
since the option could in theory be used by alternative dhcp drivers.

Change-Id: I66bcea1c3a6ce6fa9ce56ea8137a94858f18dc5a

8 years agoAdd transaction for setting agent_id in L3HARouterAgentPortBinding
Ann Kamyshnikova [Fri, 25 Sep 2015 12:30:30 +0000 (15:30 +0300)]
Add transaction for setting agent_id in L3HARouterAgentPortBinding

To avoid having extra L3HARouterAgentPortBinding with l3_agent as
None, operation of setting l3_agent should be atomic.
For this purpose, transaction was added in methods
create_ha_port_and_bind and _bind_ha_router_to_agents.

Closes-Bug: #1499647

Change-Id: Iaad82fe522cfd70061daecf411c924fdc11b7e41

8 years agoMerge "Use assertFalse(observed) instead of assertEqual(False, observed)"
Jenkins [Fri, 13 Nov 2015 09:51:32 +0000 (09:51 +0000)]
Merge "Use assertFalse(observed) instead of assertEqual(False, observed)"

8 years agoCheck missed IPSet utility using neutron-sanity-check
Dongcan Ye [Thu, 29 Oct 2015 12:50:43 +0000 (20:50 +0800)]
Check missed IPSet utility using neutron-sanity-check

In some case, host may lack ipset utility (e.g., due to a
dependency issue)

This patch allows checking IPSet utility support from CLI:
    neutron-sanity-check --ipset_installed

Or using configuration options, for example:
    neutron-sanity-check --config-file /etc/neutron/neutron.conf
    --config-file /etc/neutron/plugins/ml2/ml2_conf.ini

Closes-Bug: #1510680
Change-Id: I2b9d6b13087a970bb0919a8217e428ce60d6e0c3

8 years agoChange the repos from stackforge to OpenStack
venkatamahesh [Mon, 9 Nov 2015 14:42:32 +0000 (20:12 +0530)]
Change the repos from stackforge to OpenStack

The links which are referring to stackforge repo even after they
moved to openstack are corrected by replacing stackforge
with openstack

Change-Id: Idfdd0e0992f7f0b61691991c9877f56f1bdfba02

8 years agoRevert "Revert "Remove TEMPEST_CONFIG_DIR in the api tox env""
Ihar Hrachyshka [Thu, 12 Nov 2015 09:57:44 +0000 (09:57 +0000)]
Revert "Revert "Remove TEMPEST_CONFIG_DIR in the api tox env""

This reverts commit a3154b03ac60df586bd8fd67f03c20327f2dde41.

The revert was merged too quickly, without waiting for tox project to fix us.
The gate passed for the revert only because infra folks removed images
that had new tox in them. We will be broken by the next images though.

Change-Id: I148c80e5b9512fee280ecbf3ca7498ddf1cfd96d

8 years agoRequire tox >= 2.0
Ihar Hrachyshka [Thu, 12 Nov 2015 21:22:28 +0000 (22:22 +0100)]
Require tox >= 2.0

We use passenv in the file, and as per [1], it's introduced in tox 2.0.

[1] https://testrun.org/tox/latest/config.html#confval-passenv=SPACE-SEPARATED-GLOBNAMES

Change-Id: I97f1f903dec10b4a91fc27d62990ab974c5831bf

8 years agoMerge "Fix heading markers for better docment toc view"
Jenkins [Thu, 12 Nov 2015 18:45:43 +0000 (18:45 +0000)]
Merge "Fix heading markers for better docment toc view"

8 years agoMerge "test_networks: Stop assuming net-mtu extension"
Jenkins [Thu, 12 Nov 2015 15:01:10 +0000 (15:01 +0000)]
Merge "test_networks: Stop assuming net-mtu extension"

8 years agoUse assertFalse(observed) instead of assertEqual(False, observed)
Hirofumi Ichihara [Fri, 9 Oct 2015 14:38:27 +0000 (23:38 +0900)]
Use assertFalse(observed) instead of assertEqual(False, observed)

The patch also improves the way in which the assertTrue (and
similarly assertFalse) are done,

We should use assertFalse not assertEqual.

Co-Authored-By: Gary Kotton <gkotton@vmware.com>
Closes-Bug: #1503074

Change-Id: I5f527ddf2ca522cdf101de2482d59f059eca010f

8 years agoFix heading markers for better docment toc view
Akihiro Motoki [Thu, 12 Nov 2015 13:27:19 +0000 (22:27 +0900)]
Fix heading markers for better docment toc view

Heading ======= is reserved for a title of document.
This commit replaces non-title headings with lower headings.

Change-Id: I8521cde527ac3387e42e9e2f262506a5872484a0

8 years agoMerge "DVR: remove redundant check"
Jenkins [Thu, 12 Nov 2015 10:34:56 +0000 (10:34 +0000)]
Merge "DVR: remove redundant check"

8 years agoMerge "Add "unreleased" release notes page"
Jenkins [Thu, 12 Nov 2015 08:05:40 +0000 (08:05 +0000)]
Merge "Add "unreleased" release notes page"

8 years agoMerge "Update internal snat port prefix for multiple IPv6 subnets"
Jenkins [Thu, 12 Nov 2015 06:48:18 +0000 (06:48 +0000)]
Merge "Update internal snat port prefix for multiple IPv6 subnets"

8 years agoMerge "Revert "Remove TEMPEST_CONFIG_DIR in the api tox env""
Jenkins [Thu, 12 Nov 2015 04:03:12 +0000 (04:03 +0000)]
Merge "Revert "Remove TEMPEST_CONFIG_DIR in the api tox env""

8 years agoMerge "More graceful ovs-agent restart"
Jenkins [Thu, 12 Nov 2015 03:48:54 +0000 (03:48 +0000)]
Merge "More graceful ovs-agent restart"

8 years agoMerge "sriov: add extensions option to configuration file"
Jenkins [Thu, 12 Nov 2015 03:47:05 +0000 (03:47 +0000)]
Merge "sriov: add extensions option to configuration file"

8 years agoMerge "Lower l2pop "isn't bound to any segement" log to debug"
Jenkins [Thu, 12 Nov 2015 00:43:33 +0000 (00:43 +0000)]
Merge "Lower l2pop "isn't bound to any segement" log to debug"

8 years agoMerge "Clarify that RFE bug reports should not have an importance set"
Jenkins [Wed, 11 Nov 2015 23:53:51 +0000 (23:53 +0000)]
Merge "Clarify that RFE bug reports should not have an importance set"

8 years agoMerge "api test: Skip address-scope tests when the extension is not enabled"
Jenkins [Wed, 11 Nov 2015 23:38:00 +0000 (23:38 +0000)]
Merge "api test: Skip address-scope tests when the extension is not enabled"

8 years agoClarify that RFE bug reports should not have an importance set
armando-migliaccio [Wed, 11 Nov 2015 20:32:12 +0000 (12:32 -0800)]
Clarify that RFE bug reports should not have an importance set

Filling the Importance field [1] with anything other than Wishlist for RFE bug reports
is wrong. People confuse priority with Severity (which is what the importance field is
about), and that can cause us some grief.

Therefore let's state clearly that from now on, RFE bug reports will be marked 'Wishlist'
only.

[1] https://wiki.openstack.org/wiki/Bugs#Importance

Change-Id: I4f12301e5d6b9b754efd456f0fb9da4e64555373

8 years agoRemove TEMPEST_CONFIG_DIR in the api tox env
rossella [Wed, 11 Nov 2015 19:08:36 +0000 (19:08 +0000)]
Remove TEMPEST_CONFIG_DIR in the api tox env

Setting TEMPEST_CONFIG_DIR in tox.ini is breaking the gate,
probably because of a tox bug [1].
Removing the line to unblock the gate. This implies that
for local execution of the tests TEMPEST_CONFIG_DIR
should be set manually.

[1] https://bitbucket.org/hpk42/tox/issues/285/tox-220-breaks-some-toxini-config-files

Change-Id: If3742b6eabe295a5aaeb4901c55909a70c451698
Closes-bug: #1515335

8 years agoRevert "Remove TEMPEST_CONFIG_DIR in the api tox env"
Ihar Hrachyshka [Wed, 11 Nov 2015 19:16:44 +0000 (20:16 +0100)]
Revert "Remove TEMPEST_CONFIG_DIR in the api tox env"

This reverts commit a32e31a624cf5190ed267effed8f7db2c9919949.

We should be able to merge the revert back once tox project fixes the
bug* on their side.

* https://bitbucket.org/hpk42/tox/issues/285/tox-220-breaks-some-toxini-config-files

Change-Id: Ic1f5391c687b2683cbaab210c543022aa1f26e83
Related-Bug: #1515335

8 years agoLower l2pop "isn't bound to any segement" log to debug
Ryan Moats [Wed, 11 Nov 2015 18:51:21 +0000 (12:51 -0600)]
Lower l2pop "isn't bound to any segement" log to debug

Per the discussion in bug 1362242, the log statement doesn't
appear to be associated with anything bad happening. Therefore,
this patch lowers the log level from WARNING to DEBUG to avoid
polluting operator's logs.

Change-Id: I55b6d1d30ed2ed55659c9a6809531cfcbc57f17c
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Closes-Bug: 1362242

8 years agoDVR: remove redundant check
Gary Kotton [Wed, 11 Nov 2015 18:22:12 +0000 (10:22 -0800)]
DVR: remove redundant check

Patch https://review.openstack.org/#/c/225319 added a redundant
check.
This cleans that up.

Change-Id: I3b66872d0d3bd1bce33b1476376df275a8398bb5

8 years agoMore graceful ovs-agent restart
Jian Wen [Wed, 11 Nov 2015 03:32:20 +0000 (11:32 +0800)]
More graceful ovs-agent restart

When the neutron server is down/busy the agent is not able to get any
port info. After the agent restarts, it will not install any new flow.
Cleaning the existing flows will break all networking until the agent
succeeds to sync with the neturon server.

This patch ensures the agent cleans the stale flows only after it
succeeds to sync with the neturon server.

Change-Id: I763fc06a73b6d2f010da65e74241182636dda44d
Closes-bug: #1515075

8 years agosriov: add extensions option to configuration file
Ihar Hrachyshka [Wed, 11 Nov 2015 14:23:40 +0000 (15:23 +0100)]
sriov: add extensions option to configuration file

The agent supports l2 agent extension manager, so the option should be
there.

Closes-Bug: #1515274
Change-Id: I4376c7422dba058c11bfaf10046bd97b17592ce3

8 years agoDon't use duplicate filter names for functional testing
Ihar Hrachyshka [Wed, 11 Nov 2015 14:13:00 +0000 (15:13 +0100)]
Don't use duplicate filter names for functional testing

They are not supported by Python 3.x configparser module (you get
DuplicateOptionError if duplicate names are present).

This makes tests relying on rootwrap daemon to get stuck, because the daemon
fails to spawn, while we wait for results from the process.

Change-Id: I1628bb87b235a6b4bac53afda37402e986520f39
Related-Bug: #1515118

8 years agoReplace get_all_neutron_bridges by get_deletable_bridges
Cedric Brandily [Thu, 5 Nov 2015 23:49:21 +0000 (00:49 +0100)]
Replace get_all_neutron_bridges by get_deletable_bridges

Currently LinuxBridge L2-agent[1] defines get_all_neutron_bridges which
lists all bridges managed by the agent including user-defined ones BUT
this method is only used by neutron-linuxbridge-cleanup[2] in order to
remove empty non-user-defined bridges returned get_all_neutron_bridges.

This change replaces this method by get_deletable_bridges which returns
bridges managed by LB agent which are "deletable" (ie: non user-defined).
This allows to simplify code and move the computation of "deletable"
bridges to LB agent code.

[1] neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
[2] neutron.cmd.linuxbridge_cleanup

Partial-Bug: #1514548
Change-Id: I2f8a9a6982ce0ce77187ae4b7a58b3ef752aab34

8 years agoMerge "Add new config option for IPv6 Prefix Delegation"
Jenkins [Wed, 11 Nov 2015 08:42:32 +0000 (08:42 +0000)]
Merge "Add new config option for IPv6 Prefix Delegation"

8 years agoMerge "Add call to pluggable IPAM from ml2 delete_subnet"
Jenkins [Wed, 11 Nov 2015 08:42:06 +0000 (08:42 +0000)]
Merge "Add call to pluggable IPAM from ml2 delete_subnet"

8 years agoMerge "Revert "OVS agent reacts to events instead of polling""
Jenkins [Wed, 11 Nov 2015 08:20:58 +0000 (08:20 +0000)]
Merge "Revert "OVS agent reacts to events instead of polling""

8 years agoRevert "OVS agent reacts to events instead of polling"
Armando Migliaccio [Tue, 10 Nov 2015 20:03:10 +0000 (20:03 +0000)]
Revert "OVS agent reacts to events instead of polling"

This might be associated to manifestation of bug #1514935

This reverts commit 1992d52d63dc32c63faa5a3f482d5b8ebe925a77.

Closes-Bug: #1514935
Change-Id: If01cc87b6735e1bc039f99c4c6121e7c5ce547d0

8 years agoconfigure_for_func_testing.sh: Fix arguments for get_packages
YAMAMOTO Takashi [Tue, 10 Nov 2015 22:59:38 +0000 (07:59 +0900)]
configure_for_func_testing.sh: Fix arguments for get_packages

Closes-Bug: #1515035
Change-Id: Ie14e0acd67921cb4dc16a4e25a19d23b78345076

8 years agoAdd call to pluggable IPAM from ml2 delete_subnet
Pavel Bondar [Wed, 28 Oct 2015 09:22:52 +0000 (12:22 +0300)]
Add call to pluggable IPAM from ml2 delete_subnet

ml2 plugin overrides delete_subnet and do not call super(),
so pluggable IPAM action defined in db_base_plugin_v2 are not called.
As a result subnets can not be deleted from IPAM driver if ml2 plugin
is used.

Added ipam.delete_subnet call into ml2 delete_subnet.
Patch includes UT to verify IPAM driver is called on subnet
allocation and deallocation.
Test class is inherited from TestMl2SubnetsV2, so all SubnetV2 tests are
additionally executed for ml2 plugin with reference IPAM driver.

Closes-Bug: #1510653

Change-Id: I2b7ddfe70a1275a141af38e18151e1fc000e2682

8 years agoMerge "Move LinuxBridge related features to bridge_lib"
Jenkins [Tue, 10 Nov 2015 19:23:12 +0000 (19:23 +0000)]
Merge "Move LinuxBridge related features to bridge_lib"

8 years agoAdd "unreleased" release notes page
Kyle Mestery [Tue, 10 Nov 2015 00:46:27 +0000 (00:46 +0000)]
Add "unreleased" release notes page

We need a release notes page to show notes for unreleased versions by
scanning the "current" branch. This ensures that notes files cannot be
merged if they break the releasenotes job.

Change-Id: Ic0614c37a67ebd28d1da0c0947c69c753833c870
Signed-off-by: Kyle Mestery <mestery@mestery.com>
8 years agoFinal decomposition of opendaylight driver
Henry Gessau [Tue, 10 Nov 2015 13:31:25 +0000 (08:31 -0500)]
Final decomposition of opendaylight driver

It's all in networking-odl now.

Closes-Bug: #1514823

Depends-On: Ibc6fa46b9bae73c045bec71894ebe3cad570edcc

Change-Id: I76ae1a5078e4a47ee901150d4832f06c1d1ab093

8 years agoAdding security-groups unittests
Roey Chen [Mon, 9 Nov 2015 11:11:13 +0000 (03:11 -0800)]
Adding security-groups unittests

This patch adds two new security-groups unittests:
 - test_create_port_with_multiple_security_groups
 - test_create_port_with_no_security_groups

Closes-Bug: #1514397

Change-Id: Icebd6737f0e7997b0cbf01526b0c7b66376fbf44

8 years agoMerge "Reduce duplicated code in test_linuxbridge_neutron_agent"
Jenkins [Tue, 10 Nov 2015 11:55:07 +0000 (11:55 +0000)]
Merge "Reduce duplicated code in test_linuxbridge_neutron_agent"

8 years agoRemove MidonetInterfaceDriver
YAMAMOTO Takashi [Tue, 10 Nov 2015 06:13:07 +0000 (15:13 +0900)]
Remove MidonetInterfaceDriver

Now it lives in networking-midonet repository.

Closes-Bug: #1510826
Depends-On: I0a4d19ddeddfde2319dcbe24665a24d371625b10
Related-blueprint: core-vendor-decomposition
Change-Id: Ifd18ee1703541d04f1a4717a8b0b8e6dc61a2f4e

8 years agoMerge "Trivial fix in l3 agent"
Jenkins [Tue, 10 Nov 2015 05:56:30 +0000 (05:56 +0000)]
Merge "Trivial fix in l3 agent"

8 years agoUpdate internal snat port prefix for multiple IPv6 subnets
Swaminathan Vasudevan [Fri, 18 Sep 2015 19:57:24 +0000 (12:57 -0700)]
Update internal snat port prefix for multiple IPv6 subnets

In neutron when multiple IPv6 subnets on the same
network are added to a router interface, the router
interface port is updated with multiple fixed_ips rather
than creating a new port. In the case of IPv4 subnets
a new port is created for every added interface.

For dvr routers there are internal snat ports that are
created for every router interface that is added to a
router. So when multiple IPv6 subnets on the same network
was added to a dvr router, the internal snat ports were not
appended with the IPv6 prefix properly.

An error log message was thrown for the SNAT port not
matching the given internal port for the IPv6 address.

This patch will address this issue when IPv6 subnets are
added or removed from the dvr router that are on the
same network.

Partial-Bug: #1493524

Change-Id: I777d95d9a148fc6b6bad4538f3a1156ae5052bf6

8 years agoMerge "IPAM: make max fixed IP validations DRY"
Jenkins [Mon, 9 Nov 2015 21:42:51 +0000 (21:42 +0000)]
Merge "IPAM: make max fixed IP validations DRY"

8 years agoMerge "Add track_quota_usage conf into neutron.conf"
Jenkins [Mon, 9 Nov 2015 21:42:06 +0000 (21:42 +0000)]
Merge "Add track_quota_usage conf into neutron.conf"

8 years agoMove LinuxBridge related features to bridge_lib
Cedric Brandily [Thu, 5 Nov 2015 22:40:45 +0000 (23:40 +0100)]
Move LinuxBridge related features to bridge_lib

This change moves from linuxbridge agent[1] to bridge_lib[2] bridge only
related features and adds functional tests.

[1] neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
[2] neutron.agent.linux.bridge_lib

Partial-Bug: #1514548
Change-Id: Ieccb8f77fc833467a166557e227023f5c2a50d1b

8 years agoMerge "OVS agent reacts to events instead of polling"
Jenkins [Mon, 9 Nov 2015 20:55:30 +0000 (20:55 +0000)]
Merge "OVS agent reacts to events instead of polling"

8 years agoMerge "Document the neutron-release team."
Jenkins [Mon, 9 Nov 2015 20:53:20 +0000 (20:53 +0000)]
Merge "Document the neutron-release team."

8 years agoReduce duplicated code in test_linuxbridge_neutron_agent
Cedric Brandily [Sat, 7 Nov 2015 21:36:59 +0000 (22:36 +0100)]
Reduce duplicated code in test_linuxbridge_neutron_agent

This change defines and uses get_linuxbridge_manager method which
mocks some methods in order to instantiate and returns a
LinuxBridgeManager instance, this method allows to remove some
duplicated code from test_linuxbridge_neutron_agent.

Partial-Bug: #1514548
Change-Id: Ib54a01406938b4937af2af5fca7a71b5758d4482

8 years agoDocument the neutron-release team.
Russell Bryant [Mon, 9 Nov 2015 14:31:36 +0000 (09:31 -0500)]
Document the neutron-release team.

Gerrit includes a neutron-release team.  Document what this team means
today.  Also propose that this team have merge rights to *all* Neutron
git repos so that a small group has the ability to quickly unblock
things if needed, which is especially important around release time.

Change-Id: Id3d4d051278930841f64a4153e40a2dd3d893e44
Signed-off-by: Russell Bryant <rbryant@redhat.com>
8 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 9 Nov 2015 14:54:43 +0000 (14:54 +0000)]
Updated from global requirements

Change-Id: I2e0b99ee3849a6e0d7206ec63926d3875668cf59

8 years agoMerge "Add in missing spaces at end of line"
Jenkins [Mon, 9 Nov 2015 14:26:24 +0000 (14:26 +0000)]
Merge "Add in missing spaces at end of line"

8 years agoMerge "Fix misuse of log marker functions in neutron"
Jenkins [Mon, 9 Nov 2015 12:19:33 +0000 (12:19 +0000)]
Merge "Fix misuse of log marker functions in neutron"