]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoMerge "Fix 500 error on invalid security-group-rule creation for NVP"
Jenkins [Sun, 1 Sep 2013 04:46:29 +0000 (04:46 +0000)]
Merge "Fix 500 error on invalid security-group-rule creation for NVP"

11 years agoMerge "Return 400 if creating a distributed router on old NVP platforms"
Jenkins [Sat, 31 Aug 2013 20:19:10 +0000 (20:19 +0000)]
Merge "Return 400 if creating a distributed router on old NVP platforms"

11 years agobp: pxeboot-port, provide pxeboot on ports
dekehn [Sat, 31 Aug 2013 02:15:12 +0000 (20:15 -0600)]
bp: pxeboot-port, provide pxeboot on ports

Teach neutron how to manage PXE boot.

Allow pxe boot parameters to be specified when creating a network port.

Implements bp:pxeboot-ports

Change-Id: I45fe7a16bc6c5975a765dd6a065558b9ba702e5b

11 years agoMerge "Create RPC connection before modifying OVS bridges"
Jenkins [Fri, 30 Aug 2013 23:56:45 +0000 (23:56 +0000)]
Merge "Create RPC connection before modifying OVS bridges"

11 years agoFix comment typo s/no/so
Aaron Rosen [Fri, 30 Aug 2013 22:15:24 +0000 (15:15 -0700)]
Fix comment typo s/no/so

Change-Id: I1c7b0834202caca6b3bb79acd243c96b865583bc

11 years agoCreate RPC connection before modifying OVS bridges
Stephen Gran [Thu, 29 Aug 2013 06:11:44 +0000 (07:11 +0100)]
Create RPC connection before modifying OVS bridges

On startup, the agent removes and readds flows to the OVS bridges.  If
an RPC setup error exits the process prematurely, this can leave the
bridges in an unsafe state.  It is better to set the RPC communication
up before making changes to the host system.

Closes-Bug: 1217980
Change-Id: Ib9bbb864b9129bb7b1376a150a37a0c07908d74b
Signed-off-by: Stephen Gran <stephen.gran@guardian.co.uk>
11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 30 Aug 2013 16:39:57 +0000 (16:39 +0000)]
Merge "Imported Translations from Transifex"

11 years agoReturn 400 if creating a distributed router on old NVP platforms
armando-migliaccio [Tue, 13 Aug 2013 21:13:14 +0000 (14:13 -0700)]
Return 400 if creating a distributed router on old NVP platforms

Without checking for the right NVP support, creating a distributed
router will silently fail, i.e. ithe 'distributed' attribute will
be ignored and a centralized router will be created instead.

Supports blueprint nvp-distributed-router

Change-Id: If8e40c0907d78c30f9ba918aaaff57e58ebb8055

11 years agoMerge "Corrects error in ml2 rpc log message formatting"
Jenkins [Fri, 30 Aug 2013 07:08:31 +0000 (07:08 +0000)]
Merge "Corrects error in ml2 rpc log message formatting"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 30 Aug 2013 06:13:51 +0000 (06:13 +0000)]
Imported Translations from Transifex

Change-Id: I503e7e0273a8b344646a99373ddd87451ed7fd75

11 years agoCorrects error in ml2 rpc log message formatting
Zang MingJie [Thu, 29 Aug 2013 07:46:17 +0000 (15:46 +0800)]
Corrects error in ml2 rpc log message formatting

Change-Id: Ic6f445408ef83c2aa0376c94f395363503412814

11 years agoMerge "Load tables of service plugins when migration auto generation"
Jenkins [Fri, 30 Aug 2013 04:13:17 +0000 (04:13 +0000)]
Merge "Load tables of service plugins when migration auto generation"

11 years agoMerge "Support for NVP distributed router"
Jenkins [Fri, 30 Aug 2013 02:22:24 +0000 (02:22 +0000)]
Merge "Support for NVP distributed router"

11 years agoMerge "Fix unsuitable assertTrue/assertFalse in api ut"
Jenkins [Fri, 30 Aug 2013 00:13:41 +0000 (00:13 +0000)]
Merge "Fix unsuitable assertTrue/assertFalse in api ut"

11 years agoMerge "Forbid update of subnet gateway ip when in use by a port"
Jenkins [Thu, 29 Aug 2013 22:01:09 +0000 (22:01 +0000)]
Merge "Forbid update of subnet gateway ip when in use by a port"

11 years agoFix unsuitable assertTrue/assertFalse in api ut
ZhiQiang Fan [Thu, 29 Aug 2013 21:35:32 +0000 (05:35 +0800)]
Fix unsuitable assertTrue/assertFalse in api ut

Some usages of assertTrue()/assertFalse() are incorrect, improve
them to more explicit assert from the unit test suite.

Closes-Bug: #1218621
Change-Id: I22be2af05f06e91020dbaa4cf08bf395d68f563b

11 years agoMerge "Improve dhcp agent structure to support multiple dhcp models"
Jenkins [Thu, 29 Aug 2013 20:46:20 +0000 (20:46 +0000)]
Merge "Improve dhcp agent structure to support multiple dhcp models"

11 years agoMerge "Fix incorrect usage of assertTrue()"
Jenkins [Thu, 29 Aug 2013 20:25:35 +0000 (20:25 +0000)]
Merge "Fix incorrect usage of assertTrue()"

11 years agoMerge "Add list of pool ids to HealthMonitor dict"
Jenkins [Thu, 29 Aug 2013 17:32:51 +0000 (17:32 +0000)]
Merge "Add list of pool ids to HealthMonitor dict"

11 years agoSupport for NVP distributed router
Salvatore Orlando [Wed, 3 Jul 2013 20:07:09 +0000 (22:07 +0200)]
Support for NVP distributed router

Blueprint nvp-distributed-router

This patch adds support for NVP distributed logical routers
adding a simple attribute extension.
The default router type can be controlled used the default_router_type
option in the nvp section of neutron configuration.
In order to ensure backward compatibility, pre-existing routers
will be treated as centralized routers.

Change-Id: Iaab9ffb6071c93990be711ebb56c212230544a7a

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 29 Aug 2013 13:28:55 +0000 (13:28 +0000)]
Merge "Imported Translations from Transifex"

11 years agoLoad tables of service plugins when migration auto generation
Akihiro MOTOKI [Thu, 29 Aug 2013 12:08:06 +0000 (21:08 +0900)]
Load tables of service plugins when migration auto generation

When we run "neutron-db-manage revision --autogenerate", it detects
table deletion of service plugins even when they are configured.
We need to load tables of service plugins to teach alembic such
tables exist.

Change-Id: I9186d36496069c8253683bd200326b80a6565fa6
Closes-Bug: #1218338

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 29 Aug 2013 06:14:33 +0000 (06:14 +0000)]
Imported Translations from Transifex

Change-Id: I8a48ee88df7f54559cd1b05245d6523a127ef665

11 years agoUse assertEqual instead of assertEquals
ZhiQiang Fan [Thu, 29 Aug 2013 05:46:04 +0000 (13:46 +0800)]
Use assertEqual instead of assertEquals

Closes-Bug: #1218185

For unittest, assertEquals is deprecated in py3, use assertEqual
instead.

Change-Id: Ia71b51a0f2625aec5fb4644853a79c2ea80a799c

11 years agoMerge "Fix a race condition in add_tunnel_endpoint()"
Jenkins [Thu, 29 Aug 2013 05:06:14 +0000 (05:06 +0000)]
Merge "Fix a race condition in add_tunnel_endpoint()"

11 years agoMerge "Add recent neutron extentions and IB support"
Jenkins [Thu, 29 Aug 2013 04:51:44 +0000 (04:51 +0000)]
Merge "Add recent neutron extentions and IB support"

11 years agoFix a race condition in add_tunnel_endpoint()
Roman Podolyaka [Tue, 30 Apr 2013 12:12:15 +0000 (15:12 +0300)]
Fix a race condition in add_tunnel_endpoint()

If there are multiple OVS agents concurrently executing
'tunnel_sync' RPC call a race condition can occur
leading to insertion of two different TunnelEndpoint
entries having the same 'id' value.

Unfortunately, we can not rely on:
  - @lockutils.synchronized(), because a Neutron installation can use
    more than one API node
  - with_lockmode('update'), because it works differently in PostgreSQL
    comparing to MySQL and doesn't guarantee that no new rows have been
    added to the table since the select query was issued. Please take a
    look at http://www.postgresql.org/files/developer/concurrency.pdf for
    more details.

The proposed fix:
  - ensures there is a unique constraint set for 'id' column
  - wraps creation of a new TunnelEndpoint entry into a
    repeatedly executed transactional block (so even if a concurrent
    DB transaction has been flushed or commited earlier than this one
    we can handle an integrity error and try again, in spite of the
    specified transactions isolation level value)

Fixes bug 1167916

Change-Id: I62dc729d595f090436199d5e1b6b98a884ead7a5

11 years agoForbid update of subnet gateway ip when in use by a port
Salvatore Orlando [Thu, 8 Aug 2013 17:38:11 +0000 (10:38 -0700)]
Forbid update of subnet gateway ip when in use by a port

Bug 1186322

If a port is currently using the subnet's gateway IP, which usually
happens for router interfaces, do not allow updates to the gateway IP.
This patch adds an extra query on the IPAllocation model, which
returns at most a single record, and is executed in _validate_subnet
only when the subnet is updated.

Change-Id: Ie29be1b83f9a639562bfc84f3f2c082833126d32

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 28 Aug 2013 16:35:21 +0000 (16:35 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Correct spelling mistake"
Jenkins [Wed, 28 Aug 2013 16:35:11 +0000 (16:35 +0000)]
Merge "Correct spelling mistake"

11 years agoMerge "Avoid performing extra query for fetching mac learning binding"
Jenkins [Wed, 28 Aug 2013 16:35:02 +0000 (16:35 +0000)]
Merge "Avoid performing extra query for fetching mac learning binding"

11 years agoMerge "Allow for skipping admin roles loading on context creation"
Jenkins [Wed, 28 Aug 2013 16:32:34 +0000 (16:32 +0000)]
Merge "Allow for skipping admin roles loading on context creation"

11 years agoMerge "Minimize ovs l2 agent calls to get_vif_port_set()"
Jenkins [Wed, 28 Aug 2013 14:47:52 +0000 (14:47 +0000)]
Merge "Minimize ovs l2 agent calls to get_vif_port_set()"

11 years agoMerge "Remove trailing comma"
Jenkins [Wed, 28 Aug 2013 14:20:48 +0000 (14:20 +0000)]
Merge "Remove trailing comma"

11 years agoCorrect spelling mistake
lawrancejing [Wed, 28 Aug 2013 13:26:32 +0000 (21:26 +0800)]
Correct spelling mistake

Change-Id: I3bd2f76e73459e50d255f75f79262af537b29596

11 years agoMerge "Adds support for the Hyper-V WMI V2 namespace"
Jenkins [Wed, 28 Aug 2013 10:40:40 +0000 (10:40 +0000)]
Merge "Adds support for the Hyper-V WMI V2 namespace"

11 years agoMerge "Fix script to build rpm required for L2 OVS agent for XenServer"
Jenkins [Wed, 28 Aug 2013 10:12:18 +0000 (10:12 +0000)]
Merge "Fix script to build rpm required for L2 OVS agent for XenServer"

11 years agoAllow for skipping admin roles loading on context creation
Salvatore Orlando [Wed, 28 Aug 2013 07:32:31 +0000 (00:32 -0700)]
Allow for skipping admin roles loading on context creation

Bug 1216866

There are cases in which an admin context is created only to grab a db
session and ensure no tenant filters are applied in _model_query. In
these cases evaluating the policy engine for grabbing admin roles is not
necessary, and can cause unexpected and serious issues if the context is
grabbed before all the extensions are loaded.

Change-Id: I0cbf4b51ca1286373c16eb907840a32f4b8190c6

11 years agoMerge "Support for Floating IPs in PLUMgrid plugin"
Jenkins [Wed, 28 Aug 2013 06:34:44 +0000 (06:34 +0000)]
Merge "Support for Floating IPs in PLUMgrid plugin"

11 years agoMerge "BigSwitch plugin - add portbinding info in requests to controller"
Jenkins [Wed, 28 Aug 2013 06:34:21 +0000 (06:34 +0000)]
Merge "BigSwitch plugin - add portbinding info in requests to controller"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 28 Aug 2013 06:13:16 +0000 (06:13 +0000)]
Imported Translations from Transifex

Change-Id: I963fdd0c311be49a96a337e439f4028756baafbe

11 years agoMerge "Make Neutron NVP plugin future-versions friendly"
Jenkins [Wed, 28 Aug 2013 06:09:34 +0000 (06:09 +0000)]
Merge "Make Neutron NVP plugin future-versions friendly"

11 years agoMerge "subnet calls of ml2 mechanism driver"
Jenkins [Wed, 28 Aug 2013 06:09:26 +0000 (06:09 +0000)]
Merge "subnet calls of ml2 mechanism driver"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 28 Aug 2013 03:30:32 +0000 (03:30 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Enable authentication between PLUMgrid Director and Plugin"
Jenkins [Tue, 27 Aug 2013 23:07:13 +0000 (23:07 +0000)]
Merge "Enable authentication between PLUMgrid Director and Plugin"

11 years agoFix incorrect usage of assertTrue()
Rosario Di Somma [Tue, 27 Aug 2013 13:25:59 +0000 (09:25 -0400)]
Fix incorrect usage of assertTrue()

The usage of assertTrue() is incorrect, more explicit assert
from the unit test suite(like assertIsNotNone or assertIn)
should be used instead.

Fixes: bug #1217028
Change-Id: I30a80bc9e122d28c22b698e0cb97068c1040bfc3
Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com>
11 years agoMake Neutron NVP plugin future-versions friendly
armando-migliaccio [Tue, 27 Aug 2013 19:53:58 +0000 (12:53 -0700)]
Make Neutron NVP plugin future-versions friendly

This patch enables the plugin to deal correctly with
newer versions of the NVP platform; this is done by
allowing the plugin to fall back to the closest known
version of the NVP platform. This is acceptable behavior
as L2/L3 operations implemented by the platform are most
certainly backward compatible.

This patch also improves test coverage for this part of the
code, which is critical to the correct behavior of the plugin.

Fixes bug #1217479

Change-Id: Ifcce47c6ee2bc2bc96ddfe9298d252700aceca3f

11 years agoFix script to build rpm required for L2 OVS agent for XenServer
armando-migliaccio [Thu, 22 Aug 2013 20:23:21 +0000 (13:23 -0700)]
Fix script to build rpm required for L2 OVS agent for XenServer

Use up to date way to retrieve the version info.

Fixes bug #1215619

Change-Id: I7263fd61a8ea407626d2330f7546f4046e803b50

11 years agosubnet calls of ml2 mechanism driver
Zang MingJie [Mon, 26 Aug 2013 09:31:46 +0000 (17:31 +0800)]
subnet calls of ml2 mechanism driver

Implements blueprint ml2-mechanism-driver-subnet-calls

Change-Id: Ib9a8009975959692f46f80fb2a850fcc2b22debe

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 27 Aug 2013 06:13:26 +0000 (06:13 +0000)]
Imported Translations from Transifex

Change-Id: Ia664404f7d37fff4cbc76fb43227584fcdd106a2

11 years agoMerge "Fix port creation issue appeared with postgresql backend"
Jenkins [Tue, 27 Aug 2013 03:45:59 +0000 (03:45 +0000)]
Merge "Fix port creation issue appeared with postgresql backend"

11 years agoMerge "Deal with 501 errors from NVP correctly"
Jenkins [Tue, 27 Aug 2013 02:30:32 +0000 (02:30 +0000)]
Merge "Deal with 501 errors from NVP correctly"

11 years agoMerge "Use system locale when Accept-Language header is not provided"
Jenkins [Tue, 27 Aug 2013 02:03:33 +0000 (02:03 +0000)]
Merge "Use system locale when Accept-Language header is not provided"

11 years agoRemove trailing comma
ZhiQiang Fan [Tue, 27 Aug 2013 00:17:55 +0000 (08:17 +0800)]
Remove trailing comma

Closes-Bug: #1217135

There are trailing commas in default value of some options, uncomment
them will cause CRITICAL error for neutron-server. These sample config
may mislead operators, so this patch fix them to the correct format.

Change-Id: Ie0b7626aade653b761257eb2bf397cb3cc5a961e

11 years agoEnable authentication between PLUMgrid Director and Plugin
Edgar Magana [Sun, 25 Aug 2013 20:11:27 +0000 (13:11 -0700)]
Enable authentication between PLUMgrid Director and Plugin

Implements blueprint plumgrid-plugin-rest-access

Change-Id: I0f9a6c39c09f756ee5fc7c9d6993e59b1e6be639

11 years agoMerge "Separate l3 db tests for l3 agent into their own test case"
Jenkins [Mon, 26 Aug 2013 18:19:44 +0000 (18:19 +0000)]
Merge "Separate l3 db tests for l3 agent into their own test case"

11 years agoAdds support for the Hyper-V WMI V2 namespace
Claudiu Belu [Wed, 7 Aug 2013 14:15:09 +0000 (07:15 -0700)]
Adds support for the Hyper-V WMI V2 namespace

Blueprint: hyper-v-wmi-v2

The Hyper-V APIs are mainly based on WMI. The original 2008 Hyper-V
release introduced the "root\virtualization" namespace which got
superseded in Hyper-V Server / Windows Server 2012 by the
"root\virtualization\v2" namespace (referred as V2 in the sources).

The original namespace has been dropped in the upcoming Hyper-V 2012
R2 (currently available in preview), which means that the Grizzly code
will not be compatible with it as is.

The Hyper-V driver is structured with a clear decoupling between OS
interaction classes (so called *utils modules and classes) and the
agent's logic.

This allows us to provide an implementation of the V2 API without
impacting the rest of the agent's code, based on a factory module
added to instantiate the proper version of the *utils classes: the
original "V1" ones for versions of the OS predating 2012 and the
newer "V2" ones starting from Hyper-V 2012 (Windows kernel version
6.2).

Change-Id: I380d8c65715242d8a5b94b5061ebe4f30e6c2090

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 26 Aug 2013 06:20:37 +0000 (06:20 +0000)]
Imported Translations from Transifex

Change-Id: I9300e32b84f02492c8cf32cfff65f3eb207672d5

11 years agoMerge "Enable GRE and VXLAN with the same ID"
Jenkins [Mon, 26 Aug 2013 01:06:44 +0000 (01:06 +0000)]
Merge "Enable GRE and VXLAN with the same ID"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 25 Aug 2013 15:36:38 +0000 (15:36 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Add metadata_proxy_socket into configuration files"
Jenkins [Sun, 25 Aug 2013 07:15:44 +0000 (07:15 +0000)]
Merge "Add metadata_proxy_socket into configuration files"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 25 Aug 2013 06:14:47 +0000 (06:14 +0000)]
Imported Translations from Transifex

Change-Id: Iec84d6c1aced5c2cbd976f899811396f9f9e6753

11 years agoSupport for Floating IPs in PLUMgrid plugin
Edgar Magana [Fri, 23 Aug 2013 01:42:04 +0000 (18:42 -0700)]
Support for Floating IPs in PLUMgrid plugin

Implements blueprint plumgrid-plugin-floatingip

Include operations supporting create, update and delete of Floating IPs
Drivers been updated properly

Change-Id: I8ed5e620e45f026e0673be78971329a93353370d

11 years agoBigSwitch plugin - add portbinding info in requests to controller
Kevin Benton [Fri, 23 Aug 2013 12:51:54 +0000 (05:51 -0700)]
BigSwitch plugin - add portbinding info in requests to controller

Include portbinding info in requests to controller so it receives
information about the compute node like the VIF type and the host
ID. Also includes better debug output on back-end failures.

Fixes: bug #1216061
Change-Id: Ib85c8a088ee9fb94baaf8f28849b318b32d9d672

11 years agoMinimize ovs l2 agent calls to get_vif_port_set()
Maru Newby [Thu, 22 Aug 2013 07:57:00 +0000 (07:57 +0000)]
Minimize ovs l2 agent calls to get_vif_port_set()

The ovs l2 agent was previously calling get_vif_port_set() on the
integration bridge once per rpc_loop() iteration and then again in
the periodic _report_state() call that returns the current device
count to the neutron service.  Since get_vif_port_set() is an
expensive call (relying on shell commands) and since there
is minimal risk associated with reporting stats that are a few
seconds old, this patch caches the device count for reuse by
_report_state().

Partial-Bug: 1177973

Change-Id: Ice73384ed1ba1e97120028cd0a9bff94a62a41a4

11 years agoImprove dhcp agent structure to support multiple dhcp models
armando-migliaccio [Fri, 2 Aug 2013 00:13:26 +0000 (17:13 -0700)]
Improve dhcp agent structure to support multiple dhcp models

This patch introduces some minor refactoring of the dhcp
code so that it is easy to support both an in-node/same
process dhcp provisioning model (e.g. with dnsmasq) and
proxy model, where DHCP is provided by an external node.

Higher separation of concerns is also achieved by doing
better data encapsulation.

Implements blueprint dhcp-flexi-model

Change-Id: Icbd215e9682ecaebb6a4300423f3564e8e677566

11 years agoAvoid performing extra query for fetching mac learning binding
Salvatore Orlando [Wed, 21 Aug 2013 12:14:54 +0000 (05:14 -0700)]
Avoid performing extra query for fetching mac learning binding

Bug 1214879

Add a relationship performing eager load in the Port model, thus preventing
the 'extend' function from performing an extra query.
This patch also replaces assertTrue with assertEqual in unit tests as it
needs to evaluate whether the value of the mac_learning_enabled attribute
is equal to the boolean literal True, whereas assertTrue verifies that the
expression passed to it evaluates to True. This means that any value but
False will be enough for the test to pass, which is not correct.

Change-Id: I03345ef3a125fdfa1ec7f6c3363d76efc12ced82

11 years agoSeparate l3 db tests for l3 agent into their own test case
Salvatore Orlando [Fri, 23 Aug 2013 10:37:57 +0000 (03:37 -0700)]
Separate l3 db tests for l3 agent into their own test case

Bug 1215871

This patch does a simple refactoring of test_l3_plugin, pushing out tests
aimed at validating the interactions of the l3 agent with the server.

These tests explicitly use TestL3NatPlugin, whereas all the
other tests use a configurable plugin, which might be specificed by a child
class. This might lead to confusion and possibly errors in unit tests for
child classes, especially those not using the l3 agent - for which running
these test is also superfluous.

Change-Id: Ia9ed320ea775fc548e6a5b711c67c9f3b0ae2f6d

11 years agoFix port creation issue appeared with postgresql backend
Eugene Nikanorov [Thu, 22 Aug 2013 15:08:34 +0000 (19:08 +0400)]
Fix port creation issue appeared with postgresql backend

IPAllocationPool has relation to IPAvailabilityRange which is setup to
load eagerly. Eager loading is implemented with left outer join which is
incompatible with with_lockmode('update') on postgresql.
The fix redefines eager loading with options(joinedload) making it use
inner join.

fixes bug 1215350

Change-Id: I148d37f2a1c2a340327d36c240eb8173aee9219a

11 years agoDeal with 501 errors from NVP correctly
armando-migliaccio [Thu, 22 Aug 2013 20:12:15 +0000 (13:12 -0700)]
Deal with 501 errors from NVP correctly

This is done by adding the error code to the exception
handlers dictionary as done for other error codes.

Fixes bug #1215583

Change-Id: Ic876c6bccaf94cae626dfc908c4a34dfbcead406

11 years agoEnable GRE and VXLAN with the same ID
Francois Eleouet [Wed, 7 Aug 2013 09:19:46 +0000 (11:19 +0200)]
Enable GRE and VXLAN with the same ID

Current packet processing in br-tun is based on tun-id,
as a consequence, two networks using different tunnel
types but sharing the same tun-id would not be properly isolated.

To ensure proper isolation within a single bridge, NORMAL action
can't be used any more as it floods unknown unicasts on all
bridges ports. It is replaced by a learn action that dynamically
sets-up flows when packets are recieved from tunnel ports. As mac
address are learnt in explicit flows (in table 20), we can use a
default action in that table to flood unknown unicasts to the
right set of ports, like broadcasts and multicasts packets.

See https://wiki.openstack.org/wiki/Ovs-flow-logic for a more
detailled explanation of the flow logic

Another alternative could have been to use distinct bridges for
each tunnel type (whithout modifying the current flow logic),
but previous alternative may be preferable as it paves the way
for new tunneling optimisations (like RPC based mac learning and
partial-mesh flooding proposed in bp/l2-population)

Change-Id: I1dfe74f96680c2c6fe4d8d4aac4821c6b020c005
Closes-Bug: #1196963

11 years agoMerge "Disallow non-admin to specify binding:profile"
Jenkins [Thu, 22 Aug 2013 12:14:42 +0000 (12:14 +0000)]
Merge "Disallow non-admin to specify binding:profile"

11 years agoAdd recent neutron extentions and IB support
Irena Berezovsky [Sun, 11 Aug 2013 06:19:03 +0000 (09:19 +0300)]
Add recent neutron extentions and IB support

Additions to Mellanox Plugin:
Add ML2 compatibility support.
Enable Infiniband Network Type.
Keep the compatibility to Linux Bridge Plugin to allow Network node deployment via Linux Bridge L2 Agent.
Add support for Host Port Binding and L3/DHCP Agent Scheduler.

Implements: blueprint mlnx-plugin-improvments

Change-Id: Ieca518bbd07a39258cd14ceeecd3f9d3e2b6f219

11 years agoMerge "Adding VPC support to the Cisco plugin"
Jenkins [Thu, 22 Aug 2013 10:42:52 +0000 (10:42 +0000)]
Merge "Adding VPC support to the Cisco plugin"

11 years agoMerge "Remove calls to policy.check and policy.enforce from plugin code"
Jenkins [Thu, 22 Aug 2013 10:42:43 +0000 (10:42 +0000)]
Merge "Remove calls to policy.check and policy.enforce from plugin code"

11 years agoMerge "Fix auth_url in metadata_agent.ini"
Jenkins [Thu, 22 Aug 2013 10:34:24 +0000 (10:34 +0000)]
Merge "Fix auth_url in metadata_agent.ini"

11 years agoMerge "Fix typos and code style check"
Jenkins [Thu, 22 Aug 2013 06:50:35 +0000 (06:50 +0000)]
Merge "Fix typos and code style check"

11 years agoMerge "Syslog support for neutron metadata proxy"
Jenkins [Thu, 22 Aug 2013 06:34:35 +0000 (06:34 +0000)]
Merge "Syslog support for neutron metadata proxy"

11 years agoMerge "Use subnet id instead of wrong built-in id()"
Jenkins [Thu, 22 Aug 2013 05:21:22 +0000 (05:21 +0000)]
Merge "Use subnet id instead of wrong built-in id()"

11 years agoAdd metadata_proxy_socket into configuration files
Yong Sheng Gong [Thu, 22 Aug 2013 04:14:26 +0000 (12:14 +0800)]
Add metadata_proxy_socket into configuration files

Change-Id: I76856c2f804be92fa8cc667b4653d2e5e58e422a
Fixes: Bug #1215261
11 years agoDisallow non-admin to specify binding:profile
Akihiro MOTOKI [Thu, 22 Aug 2013 02:34:43 +0000 (11:34 +0900)]
Disallow non-admin to specify binding:profile

Change-Id: Iefa4b251f3b0a373fb9b2b7d576e14d58afece59
Fixes-Bug: #1214873

11 years agoMerge "make neutron-ns-metadata-proxy configurable"
Jenkins [Thu, 22 Aug 2013 02:31:59 +0000 (02:31 +0000)]
Merge "make neutron-ns-metadata-proxy configurable"

11 years agoFix 500 error on invalid security-group-rule creation for NVP
armando-migliaccio [Tue, 20 Aug 2013 23:51:29 +0000 (16:51 -0700)]
Fix 500 error on invalid security-group-rule creation for NVP

Validate that, when creating rules specifying a protocol different
from TCP, UDP, ICMP and ICMPv6, no port (range) is specified because
NVP does not like it.

The extra validation is specific to the NVP plugin because other
plugins may choose a different failure mode. For example, the ovs
plugin does not complain at all, but it just ignores the port range
if the protocol is not a port-oriented one.

Fixes bug #1213293

Change-Id: I46e9032b5cf7f7d88b9d05c3bf020784b04217d9

11 years agoMerge "Add missing ForeignKeyConstraint to Cisco providernet migration"
Jenkins [Wed, 21 Aug 2013 18:02:38 +0000 (18:02 +0000)]
Merge "Add missing ForeignKeyConstraint to Cisco providernet migration"

11 years agoFix auth_url in metadata_agent.ini
ZhiQiang Fan [Wed, 21 Aug 2013 17:05:27 +0000 (01:05 +0800)]
Fix auth_url in metadata_agent.ini

Closes-Bug: #1214921

The value of auth_url is incorrect, some operators may not change
that value and problem will occur. According to keystone, 35357 is
the port number which the public admin listens on, 5000 should be
used for neutron instead.

Change-Id: I0b35f25c1845d02f8b9b3cd8c759920d52003c0c

11 years agoMerge "Add ext-gw-mode support to ML2"
Jenkins [Wed, 21 Aug 2013 16:43:49 +0000 (16:43 +0000)]
Merge "Add ext-gw-mode support to ML2"

11 years agoMerge "remove binaries under bin"
Jenkins [Wed, 21 Aug 2013 16:38:08 +0000 (16:38 +0000)]
Merge "remove binaries under bin"

11 years agoAdding VPC support to the Cisco plugin
Arvind Somya [Tue, 28 May 2013 19:47:09 +0000 (12:47 -0700)]
Adding VPC support to the Cisco plugin

Adding VPC(Virtual Port Channel) support to the Cisco plugin.

Change-Id: I898e4355d05f6f43593deb2d977dfc1e55fb2fc8
Implements: Blueprint cisco-plugin-vpc-support

11 years agoRemove calls to policy.check and policy.enforce from plugin code
Salvatore Orlando [Wed, 21 Aug 2013 09:47:19 +0000 (02:47 -0700)]
Remove calls to policy.check and policy.enforce from plugin code

Completes blueprint make-authz-orthogonal

This patch removes a few explicit policy checks recently added to
the plumgrid and cisco plugins.
They are not necessary as the same checks are already performed
by the policy engine.

Change-Id: Ie99f5fa6ad4a9568b050827bc479a62dd40e18ac

11 years agoUse subnet id instead of wrong built-in id()
ZhiQiang Fan [Mon, 19 Aug 2013 16:05:15 +0000 (00:05 +0800)]
Use subnet id instead of wrong built-in id()

In _validate_subnet(), built-in id() is used as param for exceptions,
this patch fixes it via using proper subnet id.

Closes-Bug: #1213930

Change-Id: I9a88f4dc7b771047f4061fb94ba65f0515afa745

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 21 Aug 2013 06:21:49 +0000 (06:21 +0000)]
Imported Translations from Transifex

Change-Id: I9112615ea4700ea15f85fdb3ef82812dac4df14b

11 years agoUse system locale when Accept-Language header is not provided
Luis A. Garcia [Tue, 20 Aug 2013 19:16:06 +0000 (19:16 +0000)]
Use system locale when Accept-Language header is not provided

Remove en_US as the default language when no header is provided, and use
None instead. Upon translation None will be defaulted to system as it
was before the translation changes.

Fixes bug: #1214476

Change-Id: I0fe22c526710e69ae0731e7d0b42170e6f3a8523

11 years agoAdd multiple provider network extension
Aaron Rosen [Wed, 19 Jun 2013 23:09:05 +0000 (16:09 -0700)]
Add multiple provider network extension

The following commit adds the ability to associate multiple
different provider networks on a single network.

Implements blueprint map-networks-to-multiple-provider-networks

Change-Id: I3c70fb2426899f728a401566debab7f66e7246bc

11 years agoAdd missing ForeignKeyConstraint to Cisco providernet migration
HenryGessau [Tue, 20 Aug 2013 17:26:17 +0000 (13:26 -0400)]
Add missing ForeignKeyConstraint to Cisco providernet migration

Change-Id: Ieb6126fe80f71a5c44434861d65b6a1c97957eed
Closes-Bug: #1214497

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Tue, 20 Aug 2013 15:15:29 +0000 (15:15 +0000)]
Merge "Imported Translations from Transifex"

11 years agoAdd list of pool ids to HealthMonitor dict
Eugene Nikanorov [Wed, 14 Aug 2013 22:40:49 +0000 (02:40 +0400)]
Add list of pool ids to HealthMonitor dict

List of pool ids will allow users (and horizon dashboard) to
show associations between pools and monitors more conveniently.

fixes bug 1212258

Change-Id: Ie1e48e554382a6a4df9e1ba6312c505ba2ca8c02

11 years agoMerge "Update mailmap"
Jenkins [Tue, 20 Aug 2013 09:42:42 +0000 (09:42 +0000)]
Merge "Update mailmap"

11 years agoMerge "Remove global DB_ENGINE from Neutron"
Jenkins [Tue, 20 Aug 2013 08:11:06 +0000 (08:11 +0000)]
Merge "Remove global DB_ENGINE from Neutron"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 20 Aug 2013 06:18:06 +0000 (06:18 +0000)]
Imported Translations from Transifex

Change-Id: Ie1d6b2c1f158609b9bb58aedec542060ce2cd2e7

11 years agoMerge "Fix ML2 VXLAN TypeDriver DB migration"
Jenkins [Tue, 20 Aug 2013 05:04:34 +0000 (05:04 +0000)]
Merge "Fix ML2 VXLAN TypeDriver DB migration"