]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "Configure agents using neutron.common.config.init (formerly .parse)"
Jenkins [Wed, 18 Jun 2014 16:04:32 +0000 (16:04 +0000)]
Merge "Configure agents using neutron.common.config.init (formerly .parse)"

10 years agoMerge "Big Switch: Remove unnecessary initialization code"
Jenkins [Wed, 18 Jun 2014 16:04:06 +0000 (16:04 +0000)]
Merge "Big Switch: Remove unnecessary initialization code"

10 years agoMerge "Big Switch ML2: sync detection in port-update"
Jenkins [Wed, 18 Jun 2014 16:03:57 +0000 (16:03 +0000)]
Merge "Big Switch ML2: sync detection in port-update"

10 years agoMerge "Add vlan type driver unittests"
Jenkins [Wed, 18 Jun 2014 15:48:25 +0000 (15:48 +0000)]
Merge "Add vlan type driver unittests"

10 years agoMerge "Fix pool statistics for LBaaS Haproxy driver"
Jenkins [Wed, 18 Jun 2014 13:37:54 +0000 (13:37 +0000)]
Merge "Fix pool statistics for LBaaS Haproxy driver"

10 years agoImprove docstring for OVSNeutronAgent constructor
Eugene Nikanorov [Wed, 18 Jun 2014 07:52:17 +0000 (11:52 +0400)]
Improve docstring for OVSNeutronAgent constructor

Add description of l2_population parameter

Change-Id: Iedc9a46c127472a16629e7d2af78db87256c88b1

10 years agoBig Switch ML2: sync detection in port-update
Kevin Benton [Wed, 18 Jun 2014 07:17:02 +0000 (00:17 -0700)]
Big Switch ML2: sync detection in port-update

Adds logic to the update_port_postcommit method of the
Big Switch ML2 driver to detect when afailure to update
the port via REST was caused by the backend being out-of-sync
with neutron.

This was accomplished by checking for the NXNETWORK message
which indicates that a port request referenced a network that
does not exist on the backend. This only occurs when they are
out-of-sync so the driver will then trigger a full topology sync.

The same logic exists in the port creation method shared with
the Big Switch plugin. However, the Big Switch ML2 driver does
not send port requests to the controller unless the port binding
host ID is set, which doesn't occur until a port update after
binding in the ML2 scenario. Therefore, the logic has to be repeated
in the ML2 driver port update operation.

Closes-Bug: #1331335
Change-Id: Id6488fbdea2c8c22a34e775977d94389c8da74f8

10 years agoMerge "Big Switch: Import DB module in unit test"
Jenkins [Wed, 18 Jun 2014 05:26:36 +0000 (05:26 +0000)]
Merge "Big Switch: Import DB module in unit test"

10 years agoMerge "Notify systemd when starting Neutron server"
Jenkins [Tue, 17 Jun 2014 23:34:59 +0000 (23:34 +0000)]
Merge "Notify systemd when starting Neutron server"

10 years agoAdd vlan type driver unittests
Cedric Brandily [Sat, 14 Jun 2014 08:14:16 +0000 (10:14 +0200)]
Add vlan type driver unittests

Closes-Bug: #1269127

Change-Id: Ie2c1c5d2eea6627063dd77a08591d972060f59ee

10 years agoConfigure agents using neutron.common.config.init (formerly .parse)
Ihar Hrachyshka [Tue, 3 Jun 2014 10:39:17 +0000 (12:39 +0200)]
Configure agents using neutron.common.config.init (formerly .parse)

After oslo.messaging port is done, we'll need to initialize RPC layer
from all RPC agents. We'll put initialization into init() function, so
the first step for migration is to make agents use it.

The function is renamed to be explicit about the fact that we don't just
parse configuration by calling it, but also do other common
initializations, like setting RPC layer.

blueprint oslo-messaging

Change-Id: I71c62f270ac7a1ff1426a3f49a32133b65580e35

10 years agoMerge "Add logging for NSX status sync cache"
Jenkins [Tue, 17 Jun 2014 19:50:48 +0000 (19:50 +0000)]
Merge "Add logging for NSX status sync cache"

10 years agoMerge "Added missing core_plugins symbolic names"
Jenkins [Tue, 17 Jun 2014 17:58:31 +0000 (17:58 +0000)]
Merge "Added missing core_plugins symbolic names"

10 years agoNotify systemd when starting Neutron server
Jakub Libosvar [Tue, 17 Jun 2014 15:20:25 +0000 (17:20 +0200)]
Notify systemd when starting Neutron server

systemd is notified only when Neutron is started with multiple api
workers. This patch adds systemd.notify_once() call when starting
Neutron server with api_workers=0

Change-Id: I95581dc5dffde6168c68d9f04cf8bdfcdb773ba8
Closes-Bug: #1330532

10 years agoMerge "Add missing keyword raise to get_profile_binding function"
Jenkins [Tue, 17 Jun 2014 11:43:16 +0000 (11:43 +0000)]
Merge "Add missing keyword raise to get_profile_binding function"

10 years agoAdded missing core_plugins symbolic names
Ihar Hrachyshka [Tue, 17 Jun 2014 09:44:17 +0000 (11:44 +0200)]
Added missing core_plugins symbolic names

Some plugins miss short symbolic name in setup.cfg, specifically Nuage
and Metaplugin.

Change-Id: I0198ae98654bbdddf8f2ba8dd3b80d0d447d6341
Closes-Bug: 1324487

10 years agoMerge "ovs-agent: Ensure integration bridge is created"
Jenkins [Tue, 17 Jun 2014 05:08:06 +0000 (05:08 +0000)]
Merge "ovs-agent: Ensure integration bridge is created"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Tue, 17 Jun 2014 05:00:51 +0000 (05:00 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Introduced rpc_compat.create_connection()"
Jenkins [Mon, 16 Jun 2014 23:11:30 +0000 (23:11 +0000)]
Merge "Introduced rpc_compat.create_connection()"

10 years agoMerge "Copy-paste RPC Service class for backwards compatibility"
Jenkins [Mon, 16 Jun 2014 23:11:21 +0000 (23:11 +0000)]
Merge "Copy-paste RPC Service class for backwards compatibility"

10 years agoMerge "Introduce RpcCallback class"
Jenkins [Mon, 16 Jun 2014 21:32:22 +0000 (21:32 +0000)]
Merge "Introduce RpcCallback class"

10 years agoMerge "Big Switch: Add missing data to topology sync"
Jenkins [Mon, 16 Jun 2014 21:32:13 +0000 (21:32 +0000)]
Merge "Big Switch: Add missing data to topology sync"

10 years agoMerge "Fix opt helpstring for dhcp_lease_duration"
Jenkins [Mon, 16 Jun 2014 20:00:08 +0000 (20:00 +0000)]
Merge "Fix opt helpstring for dhcp_lease_duration"

10 years agoFix pool statistics for LBaaS Haproxy driver
Vishal Agarwal [Mon, 16 Jun 2014 16:01:15 +0000 (21:31 +0530)]
Fix pool statistics for LBaaS Haproxy driver

Total connections was mapped to none of the counters
of haproxy. Active connections was mapped to active request
counter(qcur)) of haproxy which in low load situations
always remains zero.

Patch maps connections API counters to haproxy session counters
and fixes unit test accordingly.

Change-Id: I0ef4f76a75340232eb11a9b95453769ecd89d13a
Closes-Bug: #1319361

10 years agoMerge "Return no active network if the agent has not been learnt yet"
Jenkins [Mon, 16 Jun 2014 14:18:13 +0000 (14:18 +0000)]
Merge "Return no active network if the agent has not been learnt yet"

10 years agoIntroduced rpc_compat.create_connection()
Ihar Hrachyshka [Mon, 2 Jun 2014 13:47:46 +0000 (15:47 +0200)]
Introduced rpc_compat.create_connection()

This will be used to emulate oslo-rpc API using oslo.messaging.

blueprint oslo-messaging

Change-Id: I2c1aa159132e4aad0138d4b0b7ff90eb98ed400c

10 years agoCopy-paste RPC Service class for backwards compatibility
Ihar Hrachyshka [Mon, 2 Jun 2014 15:44:20 +0000 (17:44 +0200)]
Copy-paste RPC Service class for backwards compatibility

blueprint oslo-messaging

Change-Id: Ie48de6d3636d6404316f19d73c7e8453298ecf14

10 years agoIntroduce RpcCallback class
Ihar Hrachyshka [Fri, 30 May 2014 15:03:00 +0000 (17:03 +0200)]
Introduce RpcCallback class

This class will be used to create proper self.target with appropriate
API version once we migrate to oslo.messaging.

blueprint oslo-messaging

Change-Id: I1fb5eb0aaac0d115fd84630e58b333e695ad4f5f

10 years agoFix opt helpstring for dhcp_lease_duration
Tom Fifield [Mon, 16 Jun 2014 09:15:42 +0000 (17:15 +0800)]
Fix opt helpstring for dhcp_lease_duration

Recently (https://review.openstack.org/#/c/92453), the
functionality of dhcp_lease_duration was changed to support
infinite lease times.

However, this change failed to update the associated help text
with the option declaration. This patch simply updates the text
so that the new functionality can be understood by the user.

Change-Id: Id9dbe11599c55b447387df4a2d6639b7e8dba6ce

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 16 Jun 2014 06:08:58 +0000 (06:08 +0000)]
Imported Translations from Transifex

Change-Id: Ib73d875ad6ed9ce7821a508106ad59f5adf5c343

10 years agoMerge "Increase default metadata_workers, backlog to 4096"
Jenkins [Mon, 16 Jun 2014 04:58:19 +0000 (04:58 +0000)]
Merge "Increase default metadata_workers, backlog to 4096"

10 years agoMerge "Big Switch: Catch exceptions in watchdog thread"
Jenkins [Mon, 16 Jun 2014 04:58:10 +0000 (04:58 +0000)]
Merge "Big Switch: Catch exceptions in watchdog thread"

10 years agoMerge "Control update, delete for cisco-network-profile"
Jenkins [Mon, 16 Jun 2014 04:57:32 +0000 (04:57 +0000)]
Merge "Control update, delete for cisco-network-profile"

10 years agoMerge "Fix invalid IPv6 address used in FakeV6 variables"
Jenkins [Mon, 16 Jun 2014 03:27:59 +0000 (03:27 +0000)]
Merge "Fix invalid IPv6 address used in FakeV6 variables"

10 years agoMerge "Add 'ip rule ...' support to ip_lib"
Jenkins [Sun, 15 Jun 2014 03:22:19 +0000 (03:22 +0000)]
Merge "Add 'ip rule ...' support to ip_lib"

10 years agoMerge "When l2-pop ON, clean stale ports in table0 br-tun"
Jenkins [Sat, 14 Jun 2014 07:22:05 +0000 (07:22 +0000)]
Merge "When l2-pop ON, clean stale ports in table0 br-tun"

10 years agoMerge "Removes unnecessary Embrane module-level mocks"
Jenkins [Sat, 14 Jun 2014 06:26:48 +0000 (06:26 +0000)]
Merge "Removes unnecessary Embrane module-level mocks"

10 years agoMerge "Check NVP router's status before deploying a service"
Jenkins [Sat, 14 Jun 2014 04:53:09 +0000 (04:53 +0000)]
Merge "Check NVP router's status before deploying a service"

10 years agoMerge "Sync service module from oslo-incubator"
Jenkins [Fri, 13 Jun 2014 21:20:17 +0000 (21:20 +0000)]
Merge "Sync service module from oslo-incubator"

10 years agoMerge "Added note to neutron.conf"
Jenkins [Fri, 13 Jun 2014 20:56:10 +0000 (20:56 +0000)]
Merge "Added note to neutron.conf"

10 years agoAdd 'ip rule ...' support to ip_lib
rajeev [Sun, 11 May 2014 18:23:01 +0000 (14:23 -0400)]
Add 'ip rule ...' support to ip_lib

This change adds 'ip rule add', 'ip rule delete' and extends the IpRoute
class to support more ip commands

Change-Id: I8ba2f2d2ee896d9f4a378570be1524077d5b663c
Partially-Implements: blueprint neutron-ovs-dvr

10 years agoMerge "NeutronManager: Remove explicit check of the existence of an attribute"
Jenkins [Fri, 13 Jun 2014 13:43:42 +0000 (13:43 +0000)]
Merge "NeutronManager: Remove explicit check of the existence of an attribute"

10 years agoAdd missing keyword raise to get_profile_binding function
Eugene Nikanorov [Fri, 13 Jun 2014 06:12:46 +0000 (10:12 +0400)]
Add missing keyword raise to get_profile_binding function

Improve corresponding unit tests.

Change-Id: I8f71ee7aa8fcafbf3ef6e3f9d4f0b89c874af73b
Closes-Bug: #1329426

10 years agoMerge "remove E112 hacking exemption and fix errors"
Jenkins [Fri, 13 Jun 2014 07:11:22 +0000 (07:11 +0000)]
Merge "remove E112 hacking exemption and fix errors"

10 years agoMerge "Updated from global requirements"
Jenkins [Fri, 13 Jun 2014 07:10:48 +0000 (07:10 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Big Switch: Don't use MagicMocks unnecessarily"
Jenkins [Fri, 13 Jun 2014 02:44:00 +0000 (02:44 +0000)]
Merge "Big Switch: Don't use MagicMocks unnecessarily"

10 years agoAdd logging for NSX status sync cache
Salvatore Orlando [Thu, 12 Jun 2014 23:38:43 +0000 (16:38 -0700)]
Add logging for NSX status sync cache

This patch simply adds some log statements with debug
severity for tracking events related to the NSX object
cache kept by the operational status synchronization
thread.

This will  be helpful when debugging error conditions.

Change-Id: Ieb7b44b1117048c126d275dea2b8503b85eaba04
Related-Bug: 1329560

10 years agoMerge "Big Switch: Call correct method in watchdog"
Jenkins [Thu, 12 Jun 2014 20:38:35 +0000 (20:38 +0000)]
Merge "Big Switch: Call correct method in watchdog"

10 years agoMerge "Floatingip extension support for nuage plugin"
Jenkins [Thu, 12 Jun 2014 18:29:43 +0000 (18:29 +0000)]
Merge "Floatingip extension support for nuage plugin"

10 years agoMerge "Cisco APIC Layer 3 Service plugin"
Jenkins [Thu, 12 Jun 2014 14:22:44 +0000 (14:22 +0000)]
Merge "Cisco APIC Layer 3 Service plugin"

10 years agoMerge "Use list copy for events in nova notifier"
Jenkins [Thu, 12 Jun 2014 13:30:08 +0000 (13:30 +0000)]
Merge "Use list copy for events in nova notifier"

10 years agoBig Switch: Remove unnecessary initialization code
Kevin Benton [Thu, 12 Jun 2014 09:15:27 +0000 (02:15 -0700)]
Big Switch: Remove unnecessary initialization code

Removes a server_timeout parameter that was never set by anything
in the Big Switch plugin and the ML2 driver.

Also eliminates an __init__ method that didn't do anything except
incorrectly log an unset server pool warning before the inheriting
class setup the server pool.

Closes-Bug: #1331249
Change-Id: I77dd22295305b96d4702f1ea0e319dc5f82c71a8

10 years agoBig Switch: Import DB module in unit test
Kevin Benton [Thu, 12 Jun 2014 08:35:10 +0000 (01:35 -0700)]
Big Switch: Import DB module in unit test

Import the portbinding db module in the Big Switch base test case
so the table gets created before the test is run. Otherwise the
tests will fail when being run with testtools because the portbinding
db isn't normally imported until a function call from the Plugin.

Closes-Bug: #1331240
Change-Id: Icbd2248a0c013c142ccf9b302a1ffa15c5a4e5ae

10 years agoWhen l2-pop ON, clean stale ports in table0 br-tun
Vivekanandan Narasimhan [Wed, 14 May 2014 19:06:45 +0000 (12:06 -0700)]
When l2-pop ON, clean stale ports in table0 br-tun

When l2-pop is turned ON, the tunnels towards a
specific node are created and torn down by other nodes,
based on availability of ports on that specific node in
specific networks. This generally reclaims the resources
used for such tunnels in all the nodes.

Under such conditions, in the current code (without this
fix), the cleaned up ports continue to be present in
rules of table0 of br-tun, resulting in flow explosion.

This fix adds cleanup-logic to remove such rules that
continue to use l2-pop cleaned up ports, from table0 of
br-tun.

Change-Id: I2639ff6432a13320adcadbcc0841319a99ce8c24
Closes-Bug: #1318261

10 years agoremove E112 hacking exemption and fix errors
Mark McClain [Wed, 11 Jun 2014 23:38:09 +0000 (19:38 -0400)]
remove E112 hacking exemption and fix errors

Change-Id: I6031ad2274c677b071a03068e5fb3c000fec7723
Partial-Bug: 1329017

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Tue, 10 Jun 2014 14:35:46 +0000 (14:35 +0000)]
Updated from global requirements

Added exclusions for newly triggered errors.

Change-Id: I580c4a6a3861c399e010f435c0b92ed719d6a418

10 years agoNeutronManager: Remove explicit check of the existence of an attribute
YAMAMOTO Takashi [Wed, 11 Jun 2014 07:15:20 +0000 (16:15 +0900)]
NeutronManager: Remove explicit check of the existence of an attribute

To simplify the code a little.  No functional changes.

Change-Id: I862bb2a3d2bf808826c31888f3401709a1be086f

10 years agoFix invalid IPv6 address used in FakeV6 variables
Anthony Veiga [Wed, 11 Jun 2014 14:49:05 +0000 (10:49 -0400)]
Fix invalid IPv6 address used in FakeV6 variables

Uses RFC 5180 benchmark scope to change bad IPv6 addresses

Closes-Bug: #1328889
Change-Id: I224ec8db28d62484f5f4142cfd361162fb37e1b6

10 years agoMerge "Replace XML with JSON for N1kv REST calls"
Jenkins [Wed, 11 Jun 2014 10:11:45 +0000 (10:11 +0000)]
Merge "Replace XML with JSON for N1kv REST calls"

10 years agoMerge "multiprovidernet: fix a comment"
Jenkins [Wed, 11 Jun 2014 06:43:59 +0000 (06:43 +0000)]
Merge "multiprovidernet: fix a comment"

10 years agoFloatingip extension support for nuage plugin
ronak [Wed, 21 May 2014 17:05:48 +0000 (10:05 -0700)]
Floatingip extension support for nuage plugin

Nuage's VSP supports adding floating-ip which fits
nicely with this floatingip extension supported by
openstack's neutron. This set of change enables that.

Implements: blueprint floatingip-ext-for-nuage-plugin

Change-Id: I7178ef0dd170567d0e50035eeed0db2ca33f6c1a

10 years agoovs-agent: Ensure integration bridge is created
stanzgy [Mon, 9 Jun 2014 09:42:12 +0000 (17:42 +0800)]
ovs-agent: Ensure integration bridge is created

ovs-agent will fail to launch if integration bridge(br-int by default) is not
existed. To fix this, the agent should check and create the bridge if necessary
during launching.

Closes-Bug: 1328076
Change-Id: Iaa6c4d766ca086deb28c8ef7310dbfdcef2c105f

10 years agoMerge "OVS Agent: limit veth names to 15 chars"
Jenkins [Wed, 11 Jun 2014 01:05:30 +0000 (01:05 +0000)]
Merge "OVS Agent: limit veth names to 15 chars"

10 years agoMerge "extensions: remove 'check_env' method"
Jenkins [Tue, 10 Jun 2014 23:05:34 +0000 (23:05 +0000)]
Merge "extensions: remove 'check_env' method"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Tue, 10 Jun 2014 23:05:11 +0000 (23:05 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Use import from six.moves to import the queue module"
Jenkins [Tue, 10 Jun 2014 19:49:37 +0000 (19:49 +0000)]
Merge "Use import from six.moves to import the queue module"

10 years agoMerge "Support Subnets that are configured by external RAs"
Jenkins [Tue, 10 Jun 2014 18:49:01 +0000 (18:49 +0000)]
Merge "Support Subnets that are configured by external RAs"

10 years agoMerge "ofagent: Fix VLAN usage for TYPE_FLAT and TYPE_VLAN"
Jenkins [Tue, 10 Jun 2014 17:51:28 +0000 (17:51 +0000)]
Merge "ofagent: Fix VLAN usage for TYPE_FLAT and TYPE_VLAN"

10 years agoMerge "Fix race condition with firewall deletion"
Jenkins [Tue, 10 Jun 2014 16:31:39 +0000 (16:31 +0000)]
Merge "Fix race condition with firewall deletion"

10 years agoMerge "Improve usage of MagicMocks in ML2 and L3 tests"
Jenkins [Tue, 10 Jun 2014 14:30:45 +0000 (14:30 +0000)]
Merge "Improve usage of MagicMocks in ML2 and L3 tests"

10 years agoMerge "Changed DictModel to dict with attribute access"
Jenkins [Tue, 10 Jun 2014 14:30:36 +0000 (14:30 +0000)]
Merge "Changed DictModel to dict with attribute access"

10 years agoMerge "Refactor code in update_subnet, splitting into individual methods"
Jenkins [Tue, 10 Jun 2014 14:09:05 +0000 (14:09 +0000)]
Merge "Refactor code in update_subnet, splitting into individual methods"

10 years agoMerge "Check the validation of 'delay' and 'timeout'"
Jenkins [Tue, 10 Jun 2014 13:01:08 +0000 (13:01 +0000)]
Merge "Check the validation of 'delay' and 'timeout'"

10 years agoMerge "Ensure routing key is specified in the address for a direct producer"
Jenkins [Tue, 10 Jun 2014 12:03:52 +0000 (12:03 +0000)]
Merge "Ensure routing key is specified in the address for a direct producer"

10 years agoMerge "Monkey patch threading module as early as possible"
Jenkins [Tue, 10 Jun 2014 10:14:43 +0000 (10:14 +0000)]
Merge "Monkey patch threading module as early as possible"

10 years agoMerge "Add local type driver unittests"
Jenkins [Tue, 10 Jun 2014 06:42:33 +0000 (06:42 +0000)]
Merge "Add local type driver unittests"

10 years agomultiprovidernet: fix a comment
YAMAMOTO Takashi [Tue, 10 Jun 2014 06:33:33 +0000 (15:33 +0900)]
multiprovidernet: fix a comment

Change-Id: I8a09af9f77bb589203bb47fcc1c6c7b704a5b6c2

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Tue, 10 Jun 2014 06:08:37 +0000 (06:08 +0000)]
Imported Translations from Transifex

Change-Id: Ib6b1eb8816862ba17c40d7fb0a510e1936503ec4

10 years agoFix race condition with firewall deletion
Eugene Nikanorov [Tue, 10 Jun 2014 03:55:40 +0000 (07:55 +0400)]
Fix race condition with firewall deletion

In some cases when firewall is created and then deleted in short
period of time, there could be a race condition of firewall status
changes. Agent may change firewall status from PENDING_DELETE to ACTIVE
because the agent has just set it up on the backend.
Delete request then is not properly served and firewall remains in ERROR
state and can't be deleted at all.

To fix this changing status from PENDING_DELETE is not allowed.
Deleting firewall in ERROR state is allowed.

Change-Id: Iec3cfcb1e03b33dda8e1f10ca51bd9b61fa8030d
Closes-Bug: #1328162

10 years agoextensions: remove 'check_env' method
YAMAMOTO Takashi [Tue, 10 Jun 2014 03:28:44 +0000 (12:28 +0900)]
extensions: remove 'check_env' method

The method is not documented or used.
It was introduced for quota but unused since commit 603e3b78.

Closes-Bug: #1328362
Change-Id: Id0a4d8606f34e54468ed0de26adbf25ff273079e

10 years agoMerge "Default to setting secure mode on the integration bridge"
Jenkins [Tue, 10 Jun 2014 03:39:21 +0000 (03:39 +0000)]
Merge "Default to setting secure mode on the integration bridge"

10 years agoMerge "Make allocation_pools attribute of subnet updateable by PUT"
Jenkins [Tue, 10 Jun 2014 02:27:50 +0000 (02:27 +0000)]
Merge "Make allocation_pools attribute of subnet updateable by PUT"

10 years agoCheck the validation of 'delay' and 'timeout'
shihanzhang [Fri, 16 May 2014 07:26:57 +0000 (15:26 +0800)]
Check the validation of 'delay' and 'timeout'

In health monitor, the 'delay' should be greater or equal than 'timeout'.

Change-Id: I64972881676f2a1269aad8f9cdc77ae957c088d9
Closes-bug: #1320111

10 years agoMerge "Introduced transition RPC exception types"
Jenkins [Tue, 10 Jun 2014 01:39:26 +0000 (01:39 +0000)]
Merge "Introduced transition RPC exception types"

10 years agoMerge "Added RpcProxy class"
Jenkins [Tue, 10 Jun 2014 01:39:08 +0000 (01:39 +0000)]
Merge "Added RpcProxy class"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Tue, 10 Jun 2014 01:36:57 +0000 (01:36 +0000)]
Merge "Imported Translations from Transifex"

10 years agoControl update, delete for cisco-network-profile
aaronzhang231 [Wed, 28 May 2014 06:49:52 +0000 (23:49 -0700)]
Control update, delete for cisco-network-profile

Add new behavior to control update and delete operations for the
cisco-network-profile resource extension.
The new behavior is to allow update and delete operations only if
there are no neutron networks associated with a particular
cisco-network-profile instance

Change-Id: I000a03c1ffd5c02e7b827ec757287633e5a5dd64
Closes-Bug: #1323867

10 years agoEnsure routing key is specified in the address for a direct producer
Russell Bryant [Mon, 9 Jun 2014 20:53:21 +0000 (16:53 -0400)]
Ensure routing key is specified in the address for a direct producer

This change is already merged in oslo-incubator.  Original commit
message body includes:

    Porting this fix from oslo.messaging.  This fixes the impl_qpid.py
    driver to allow it to work with the latest stable upstream QPID broker
    (version 0.28).  See the Apache Qpid Jira bug
    https://issues.apache.org/jira/browse/QPID-5557

Change-Id: If71f78e50f8a9b3acfd1e9d02c8271f17c4ebee7
Related-Bug: #1300318

10 years agoSupport Subnets that are configured by external RAs
Sean M. Collins [Mon, 7 Apr 2014 18:35:58 +0000 (14:35 -0400)]
Support Subnets that are configured by external RAs

The IPv6 attributes for subnets provides support for IPv6 subnets that
are managed by non-OpenStack gateway devices, by creating a subnet that
has the ipv6_ra_mode attribute not set, and the ipv6_address_mode
attribute set to IPV6_SLAAC.

In order to support stateless IPv6, Neutron should calculate an IPv6
address based on the IPv6 prefix and MAC address via EUI-64 specification,
and assign this address to the port.

Implements blueprint ipv6-provider-nets-slaac

DocImpact

Change-Id: Ia76d76a67e0dc9f996a72e38d987a05aecc1b55f
Co-Authored-By: Xu Han Peng <xuhanp@cn.ibm.com>
Co-Authored-By: Dazhao Yu <dzyu@cn.ibm.com>
10 years agoMerge "Add an option to turn off DF for GRE and VXLAN tunnels"
Jenkins [Mon, 9 Jun 2014 17:24:20 +0000 (17:24 +0000)]
Merge "Add an option to turn off DF for GRE and VXLAN tunnels"

10 years agoMerge "Start an unstarted patch in the hyperv unit tests"
Jenkins [Mon, 9 Jun 2014 17:14:40 +0000 (17:14 +0000)]
Merge "Start an unstarted patch in the hyperv unit tests"

10 years agoRefactor code in update_subnet, splitting into individual methods
marios [Fri, 30 May 2014 13:04:18 +0000 (16:04 +0300)]
Refactor code in update_subnet, splitting into individual methods

The update_subnet was already long and complex enough and adding
more code to it was undesirable, after commit

I47a3a71d0d196b76eda46b1d960193fb60417ba9

Hence this refactor splits parts of the update_subnet code into
dedicated sub-methods.

Change-Id: I8f98938da88db287290493dc0daf7c81b8b5f542

10 years agoMake allocation_pools attribute of subnet updateable by PUT
marios [Fri, 13 Dec 2013 16:57:28 +0000 (18:57 +0200)]
Make allocation_pools attribute of subnet updateable by PUT

Bug 1111572 was filed about a failed update (PUT) on
'allocation_pools' of subnet. This is currently not allowed by the
neutron API (hence DocImpact below). Following discussion on the
bug and subsequently, it seems this is a desirable feature.

This review makes the allocation_pools attribute of subnet
updateable by PUT. The semantics are that the entire allocation
pools attribute is replaced by the provided parameter (see
provided tests for details).

Unit tests added that exercise successful update of
allocation_pools with sane params and update using erroneous
allocation_pools that fall outside the subnet cidr.

DocImpact

Closes-Bug: 1111572
Change-Id: I47a3a71d0d196b76eda46b1d960193fb60417ba9
Co-Authored-By: Robert Collins <rbtcollins@hp.com>
10 years agoMerge "Check DB scheme prior to migration to Ml2"
Jenkins [Mon, 9 Jun 2014 15:11:18 +0000 (15:11 +0000)]
Merge "Check DB scheme prior to migration to Ml2"

10 years agoMonkey patch threading module as early as possible
Ihar Hrachyshka [Fri, 30 May 2014 13:53:25 +0000 (15:53 +0200)]
Monkey patch threading module as early as possible

In oslo.messaging, local thread store is used to pass RPC request
context [1]. If we try to import oslo.messaging before monkey patching
threading library, it attempts to access unpatched storage and fails
with AttributeError.

[1]: oslo/messaging/localcontext.py#L26

blueprint oslo-messaging

Change-Id: Ied7302fcb1d3e14428540e39e3db704550027890

10 years agoIntroduced transition RPC exception types
Ihar Hrachyshka [Fri, 30 May 2014 13:26:45 +0000 (15:26 +0200)]
Introduced transition RPC exception types

These exception types will ease transition from oslo-rpc to
oslo.messaging.

blueprint oslo-messaging

Change-Id: I48d214d676e863d7a60d78c49d2fa917d47c07d9

10 years agoAdded RpcProxy class
Ihar Hrachyshka [Fri, 30 May 2014 11:08:40 +0000 (13:08 +0200)]
Added RpcProxy class

This class is intended for easy and iterative migration from
oslo-incubator RPC implementation to oslo.messaging. It will adapt
oslo.messaging API to old oslo-rpc interfaces.

Migrated all affected classes to the new RpcProxy class.

blueprint oslo-messaging

Change-Id: I1563c13b470b61eebc982ee81efee47732943d48

10 years agoofagent: Fix VLAN usage for TYPE_FLAT and TYPE_VLAN
YAMAMOTO Takashi [Wed, 2 Apr 2014 06:41:38 +0000 (15:41 +0900)]
ofagent: Fix VLAN usage for TYPE_FLAT and TYPE_VLAN

while ofagent uses OF1.3, the current coding incorrectly uses
OF1.0 terms in some places.  namely, _local_vlan_for_flat uses
0xffff to mean "no VLAN".  it should use OFPVID_NONE and
pop_vlan/push_vlan appropriately.  the same problem exists for
reclaim_local_vlan.

Closes-Bug: 1301144
Change-Id: I3df821fd72471f8bd84366e3b5a1cc7e3489156c

10 years agoBig Switch: Catch exceptions in watchdog thread
Kevin Benton [Mon, 9 Jun 2014 07:59:40 +0000 (00:59 -0700)]
Big Switch: Catch exceptions in watchdog thread

Catch and log exceptions in the watchdog greenthread to prevent
them from stopping the periodic consistency checks.

Closes-Bug: #1330135
Change-Id: I6834c0fee0429bb72b8c61307be7bdca77f6de9b

10 years agoUse import from six.moves to import the queue module
Christian Berendt [Sun, 8 Jun 2014 16:30:43 +0000 (18:30 +0200)]
Use import from six.moves to import the queue module

The name of the synchronized queue class is queue instead of
Queue in Python3.

Change-Id: I5c5aba89b30b311bbfba2b64c61ea566d339b7c9
Closes-Bug: #1327975