]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoMerge "Introduce periodic state synchronization with backend"
Jenkins [Wed, 4 Sep 2013 14:41:16 +0000 (14:41 +0000)]
Merge "Introduce periodic state synchronization with backend"

11 years agoMerge "Adding more unit tests for the FWaaS agent"
Jenkins [Wed, 4 Sep 2013 14:35:02 +0000 (14:35 +0000)]
Merge "Adding more unit tests for the FWaaS agent"

11 years agoMerge "Verify MTU is valid for ipsec_site_connection"
Jenkins [Wed, 4 Sep 2013 05:18:39 +0000 (05:18 +0000)]
Merge "Verify MTU is valid for ipsec_site_connection"

11 years agoMerge "Implement ML2 port binding"
Jenkins [Wed, 4 Sep 2013 04:47:04 +0000 (04:47 +0000)]
Merge "Implement ML2 port binding"

11 years agoIntroduce periodic state synchronization with backend
Salvatore Orlando [Thu, 20 Jun 2013 22:20:45 +0000 (00:20 +0200)]
Introduce periodic state synchronization with backend

Blueprint nicira-plugin-get-improvements

With this patch GET operations on the Nicira plugin will not
be forwarded anymore to the NVP backend.
Resource operational status will be periodically retrieved from
the NVP backend using a DynamicLoopingCall.
The process has been designed with the aim of avoiding:
1) frequent queries to NVP for retrieving resource status
2) execution of large queries to NVP for retrieving the status
   of a consistent number of resources.
The process can be tuned using a set of configuration variables.
GET operations will now return a status which might differ
from the actual status of the resource. For retrieving status
in a punctual way, the field 'status' should be explicitly
specified in the GET request (only 'show' support has been
implemented in this patch)

This patchs also makes some changes to the fake nvp api client in
order to ensure each instance has a private set of dictionaries for
fake nvp entities.

Change-Id: Ia745b80d2826de32ba8d6883c0d6e0893047e123

11 years agoVerify MTU is valid for ipsec_site_connection
Paul Michali [Mon, 2 Sep 2013 11:02:12 +0000 (07:02 -0400)]
Verify MTU is valid for ipsec_site_connection

Since the check relies on the vpnservice subnet to determine whether
this is IPv4 ro IPv6, we must check in the plugin. Test is done at
create/update time and ensures that the MTU is equal to or greater
than the minimum allowed values, which are set to 68 for IPv4
minimum and 1280 for IPv6, respectively.

Refactored code to allow reuse of create and update test functions,
by allowing tests to override some settings, and to provide a dict
of changed items (for update).

bug 1219489

Change-Id: I3e62ef786d3a02c761903a15d546ee8758c0bf7f

11 years agoMerge "Refactoring for nicira plugin to support NVP DHCP/Metadata services"
Jenkins [Wed, 4 Sep 2013 01:43:24 +0000 (01:43 +0000)]
Merge "Refactoring for nicira plugin to support NVP DHCP/Metadata services"

11 years agoMerge "Default to not capturing log output in tests"
Jenkins [Wed, 4 Sep 2013 01:42:12 +0000 (01:42 +0000)]
Merge "Default to not capturing log output in tests"

11 years agoMerge "LBaaS integration with service type framework"
Jenkins [Wed, 4 Sep 2013 01:35:51 +0000 (01:35 +0000)]
Merge "LBaaS integration with service type framework"

11 years agoImplement ML2 port binding
Bob Kukura [Tue, 13 Aug 2013 01:58:36 +0000 (21:58 -0400)]
Implement ML2 port binding

The ml2 plugin uses mechanism drivers to determine which network
segment and what VIF driver to use for a port. Mechanism drivers
supporting the openvswitch, linuxbridge, and hyperv agents are
added. The binding:host attribute is set on ports belonging to the
dhcp and l3 agents so that they can be bound.

To use with devstack until it is updated, set
"Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch,linuxbridge" in localrc.

The hyperv L2 agent does not currently implement the agents_db RPC,
and will therefore not work with its ml2 mechanism driver. This issue
will be tracked as a bug to be fixed in a separate merge.

implements blueprint: ml2-portbinding

Change-Id: Icb9c70d8b0d7fcb34b57adc760bb713b740e5dad

11 years agoRefactoring for nicira plugin to support NVP DHCP/Metadata services
armando-migliaccio [Wed, 14 Aug 2013 23:23:31 +0000 (16:23 -0700)]
Refactoring for nicira plugin to support NVP DHCP/Metadata services

This initial patch is aimed at decoupling core plugin services from
DHCP and metadata services. The abstraction being introduced is
needed so that the code can support both models where dhcp and
metadata services are provided by external RPC agents or solely by
the server-side plugin.

Supports blueprint nvp-dhcp-metadata-services

Change-Id: I396ee7bbcbd866e4e9d4a79887e844b4f5ec3c9e

11 years agoMerge "ML2 type and mech managers should use instance vars for drivers lists"
Jenkins [Tue, 3 Sep 2013 21:49:40 +0000 (21:49 +0000)]
Merge "ML2 type and mech managers should use instance vars for drivers lists"

11 years agoAdding more unit tests for the FWaaS agent
Sridar Kandaswamy [Fri, 23 Aug 2013 07:39:18 +0000 (00:39 -0700)]
Adding more unit tests for the FWaaS agent

Change-Id: Ic3de53ed9fa47f6518cbb25dac4ee7782c97bfbb
Fixes: bug #1215771
11 years ago Arista ML2 Mechanism driver
sukhdev [Mon, 15 Jul 2013 23:26:58 +0000 (16:26 -0700)]
 Arista ML2 Mechanism driver

This patch implements Arista's modular L2 mechanism driver to
automate the management of virtual networks along with physical networks
using Arista hardware devices (Spine and Leaf switches)

This driver uses ML2 Mechanism Driver-API to interface with Neutron ML2 Plugin.

implements: blueprint arista-ml2-mechanism-driver

Change-Id: I1c4ca36cf3d7af013b7b3353e7b7d89fe39f91bf

11 years agoMerge "ML2 Mechanism Driver for Tail-f Network Control System (NCS)"
Jenkins [Tue, 3 Sep 2013 20:34:03 +0000 (20:34 +0000)]
Merge "ML2 Mechanism Driver for Tail-f Network Control System (NCS)"

11 years agoML2 type and mech managers should use instance vars for drivers lists
Dane LeBlanc [Tue, 3 Sep 2013 17:34:42 +0000 (13:34 -0400)]
ML2 type and mech managers should use instance vars for drivers lists

Fixes bug 1220296

The ML2 plugin's type and mechanism managers currently maintain
dictionaries/lists of type drivers, mechanism drivers, and ordered mechanism
drivers in (static) class variables. Once a type/mechanism/ordered-mechanism
driver of any given type is added to this list, then no new drivers of that
type are allowed to be registered, and therefore no new configuration for
that driver type is accepted.

This static nature of the driver dictionaries/lists is causing ML2 mechanism
driver unit test cases to fail. For example, if a non-vendor-specific ML2
plugin test case configures a VLAN type driver with no VLAN range, and then
a vendor specific test case attempts to configure a VLAN type driver with
some test VLAN range, then the new VLAN configuration is ignored because of
the previously (staticly) registered VLAN driver.

The proposed fix is to convert these driver dictionaries/lists to instance
variables, and clear them upon each instantiation of an ML2 type manager
or ML2 mechanism manager.

Change-Id: I3b5209640de229899561e2a3ec7c6dafe9a05e64

11 years agoLBaaS integration with service type framework
Eugene Nikanorov [Sun, 7 Jul 2013 06:50:56 +0000 (10:50 +0400)]
LBaaS integration with service type framework

The patch makes the following changes:

* adds new attribute of the pool: provider, which is provider name
as it is written in configuration
* adds support for multiple plugin drivers for loadbalancer
* cleans up healthmonitor-related plugin driver API
Drivers should work with healthmonitor associations only
* adds ability to update provider attribute for the pool used
to reassociate pools with new providers in case their providers
were removed from configuration

implements blueprint lbaas-integration-with-service-types

DocImpact

Change-Id: I4295c9bcceb38e60f813d5596af48bd8194c1c9b

11 years agoML2 Mechanism Driver for Tail-f Network Control System (NCS)
Luke Gorrie [Thu, 18 Jul 2013 09:25:48 +0000 (09:25 +0000)]
ML2 Mechanism Driver for Tail-f Network Control System (NCS)

Define a new ML2 Mechanism Driver that replicates Neutron network/port
configuration changes to NCS: http://www.tail-f.com/network-control-system/

Configuration is sent using a HTTP/JSON interface.

Implements blueprint tailf-ncs

Change-Id: I1f73fa3f2e4eec8e5a0f2865aec2d934e25c76d1

11 years agoDefault to not capturing log output in tests
Maru Newby [Tue, 3 Sep 2013 16:35:52 +0000 (16:35 +0000)]
Default to not capturing log output in tests

Viewing log output while tests are still running can be useful for
debugging, but log output was previously always captured.  This
change ensures that log capture is off by default, but can still
be enabled by setting OS_LOG_CAPTURE=1 in the shell environment.

testr invocation is unchanged and will continue to capture logs by
default.

Change-Id: I9d0fb648541280cacfebb47f67f608378ae66ef3

11 years agoMerge "Export portinfo thru portbinding ext in NEC plugin"
Jenkins [Tue, 3 Sep 2013 15:54:00 +0000 (15:54 +0000)]
Merge "Export portinfo thru portbinding ext in NEC plugin"

11 years agoMerge "Allow subclasses to modify dict_extend hooks"
Jenkins [Tue, 3 Sep 2013 14:59:42 +0000 (14:59 +0000)]
Merge "Allow subclasses to modify dict_extend hooks"

11 years agoSync rpc fix from oslo-incubator
Russell Bryant [Tue, 3 Sep 2013 06:51:14 +0000 (02:51 -0400)]
Sync rpc fix from oslo-incubator

Sync the following fix from oslo-incubator:

76972e2 Support a new qpid topology

This includes one other commit, so that the above fix could be brought
over cleanly:

5ff534d Add config for amqp durable/auto_delete queues

Closes-bug: #1178375
Change-Id: I99d6a1771bc3223f86db0132525bf22c271fe862

11 years agoLBaaS: update status of members according to health statistics
Oleg Bondarev [Wed, 14 Aug 2013 12:11:24 +0000 (16:11 +0400)]
LBaaS: update status of members according to health statistics

Added members health stats reporting to the haproxy driver.
During pool stats update db plugin checks for members stats
and updates members statuses if any

Fixes bug 1160125

Change-Id: I77bf13615607fcf91bf877c228811ea8008b2457

11 years agoAllow subclasses to modify dict_extend hooks
Salvatore Orlando [Tue, 3 Sep 2013 00:37:22 +0000 (17:37 -0700)]
Allow subclasses to modify dict_extend hooks

Partial-Bug 1219991

This change modifies the hook processing for dict_extend routines
to call the method on the instance if a hook is registered as a string.
Otherwise, the callable hook is directly invoked as an unbound method.

This patch fixes hook registration for all extensions except port_binding.
This is because some plugins are currently working around this limitation
by invoking both the global hook and another dict_extend function,
which might either be registered as another hook, or invoked explicitly
before returning the response.
Fixing this would go beyong the scope of this patch.

Change-Id: Ibe78433e6554aa7fdf5156fc75b8339254876e78

11 years agoExport portinfo thru portbinding ext in NEC plugin
Akihiro MOTOKI [Wed, 21 Aug 2013 06:43:19 +0000 (15:43 +0900)]
Export portinfo thru portbinding ext in NEC plugin

blueprint nec-port-binding

* Add host-id support in port-binding extension.
* Expose portinfo thourgh binding:profile attr in a port.
  portinfo is a mapping between neutron port id and OpenFlow switch
  physical information (datapath_id and port_no)

It changes the following in portinfo db model
* Add cascade on delete to delete an associated portinfo
  when deleting the port.
* Use joined query for portinfo model to retrieve an associated
  portinfo when querying a port.

Change-Id: Id88d93dc0770a1290714436324b1b53c0b023eeb

11 years agoMerge "Adds metrics collection support in Hyper-V"
Jenkins [Mon, 2 Sep 2013 22:05:26 +0000 (22:05 +0000)]
Merge "Adds metrics collection support in Hyper-V"

11 years agoFix DHCP agent to work without extra_dhcp_opt extension
Francois Eleouet [Mon, 2 Sep 2013 16:21:01 +0000 (18:21 +0200)]
Fix DHCP agent to work without extra_dhcp_opt extension

With the introduction of extra_dhcp_opt extension, DHCP agent
stopped serving mac adresses when used in conjunction with a
plugin that doesn't support this extension. This fixes the agent
by not assuming that port dict contains extra_dhcp_opt key.

Closes Bug: #1219893

Change-Id: I5bb52f3092f04c5e332b43cb3a04de05edc29cf5

11 years agoMake ipsec_site_connection dpd_timeout == dpd_interval return 400
Nachi Ueno [Sun, 1 Sep 2013 17:24:16 +0000 (10:24 -0700)]
Make ipsec_site_connection dpd_timeout == dpd_interval return 400

dpd_timeout == dpd_interval is a invalid case,
so in this commit, we modify validation and added test.
Fixes bug 1219440

Change-Id: I14fb9aa7df890f9c5a27f18f20d7dc1a316b2d79

11 years agoAdds metrics collection support in Hyper-V
Alessandro Pilotti [Thu, 22 Aug 2013 00:14:00 +0000 (03:14 +0300)]
Adds metrics collection support in Hyper-V

Blueprint: hyper-v-metrics

Hyper-V Server 2012 supports a new set of metrics API that can be used to
provide switch port metrics data to external applications, e.g. Ceilometer.

Metrics collection is disabled by default and can be enabled with a config
option.

Metrics are configured via ACLs applied by the Hyper-V plugin agent.

Change-Id: Ife2a53db84936bae7c73b8c027022bbc5e89d48a

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 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 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 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 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 agoMulti-segment and trunk support for the Cisco N1Kv Plugin
Rudrajit Tapadar [Sat, 10 Aug 2013 06:42:45 +0000 (23:42 -0700)]
Multi-segment and trunk support for the Cisco N1Kv Plugin

This patch adds vlan and vxlan trunk support in the
Cisco N1Kv plugin. It also adds support for multi-segment
networks for bridging vlan networks with vxlan networks.

Change-Id: Ibecbbfbce1eb4d18ef6a1bc5250622b9ae87d39c
Implements: blueprint multi-segment-and-trunk-support-cisco-nexus1000v

11 years agoRefactor BigSwitch error handling to use db rollbacks
Kevin Benton [Fri, 23 Aug 2013 03:17:00 +0000 (20:17 -0700)]
Refactor BigSwitch error handling to use db rollbacks

This patch adjusts most of the logic handling the
calls to the controller in the BigSwitch/floodlight
plugin to make use of the db rollbacks from
sqlalchemy for free on exceptions. This eliminates
several complex try-except blocks and makes
maintaining db<->controller consistency easier.

Fixes: bug #1215823
Change-Id: Ia636c40e744b3b1c543e891791bf492df4f675d2

11 years agoMerge "Add extra_dhcp_opt extension to BigSwitch/Floodlight plugin"
Jenkins [Sun, 1 Sep 2013 18:50:03 +0000 (18:50 +0000)]
Merge "Add extra_dhcp_opt extension to BigSwitch/Floodlight plugin"

11 years agoMerge "Analyze re-raised exceptions in Cisco Plugin"
Jenkins [Sun, 1 Sep 2013 18:32:00 +0000 (18:32 +0000)]
Merge "Analyze re-raised exceptions in Cisco Plugin"

11 years agoMerge "Add missing match in OVS agent tunnel mac leaning"
Jenkins [Sun, 1 Sep 2013 16:44:24 +0000 (16:44 +0000)]
Merge "Add missing match in OVS agent tunnel mac leaning"

11 years agoMerge "Correct VPNaaS limit checks in extension"
Jenkins [Sun, 1 Sep 2013 08:35:29 +0000 (08:35 +0000)]
Merge "Correct VPNaaS limit checks in extension"

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 agoAdd missing match in OVS agent tunnel mac leaning
Francois Eleouet [Fri, 30 Aug 2013 20:30:04 +0000 (22:30 +0200)]
Add missing match in OVS agent tunnel mac leaning

Learned flows introduced in commit a369f9e39691c01a4e4f7f8668cb37fc17ba03b3
to learn remote mac addresses on tunnels currently only match local VLAN,
but not destination mac address, as a consequence, connectivity may be
erratic as soon as more than two agents are used

Change-Id: I467e47d0dd2c1e5aca12a4e240e348116d530d4f
Closes-Bug: #1219074

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 agoCorrect VPNaaS limit checks in extension
Paul Michali [Fri, 23 Aug 2013 20:16:01 +0000 (16:16 -0400)]
Correct VPNaaS limit checks in extension

For the following VPNaaS attributes, ensure that these validation
tests are performed in the extension:

    keepalive >= 60 (seconds)
    mtu >= 0 (octets)
    DPD interval > 0 (seconds)
    DPD timeout > 0 (seconds)

Currently, the units for keepalive can only be seconds. If this
changes in the future (e.g. to allow kilobytes units), then the
test for the value will need to be changed.

To correctly test the MTU limits for an IPSec connection, the
protocol must be taken into consideration, which is defined by
the vpnservice object. Because of this dependency, we cannot
validate this in the extension, and will instead, just make
sure the value is positive.

Likewise, the attribute validators cannot ensure that the
DPD timeout is greater than the interval (again, because the
validators can only check the individual attributes one at
a time).

The range validator was modified to allow single ended ranges
for some of these attributes. The range also ensures the value
is an integer.

Companion changes are being made in the CLI code for these limit
changes.

Update: Fixed typo causing tox failure.

bug 1216117

Change-Id: I85d6175d81fbe7d27231aed48fb4691351e0db4c

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 agoCorrect spelling mistake
lawrancejing [Wed, 28 Aug 2013 13:26:32 +0000 (21:26 +0800)]
Correct spelling mistake

Change-Id: I3bd2f76e73459e50d255f75f79262af537b29596

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 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 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 agoAdd extra_dhcp_opt extension to BigSwitch/Floodlight plugin
Kevin Benton [Mon, 19 Aug 2013 16:34:36 +0000 (09:34 -0700)]
Add extra_dhcp_opt extension to BigSwitch/Floodlight plugin

Adds support for the DHCP options extenion to the
BigSwitch/Floodlight plugin.

Fixes: bug #1206655
Change-Id: Ida30ca44ecbb9d1208303e47519427a4111f6025

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