]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "Make metaplugin be used with a router service plugin"
Jenkins [Mon, 24 Feb 2014 05:41:22 +0000 (05:41 +0000)]
Merge "Make metaplugin be used with a router service plugin"

10 years agoMerge "Use six.moves.urllib.parse instead of urlparse"
Jenkins [Mon, 24 Feb 2014 03:10:56 +0000 (03:10 +0000)]
Merge "Use six.moves.urllib.parse instead of urlparse"

10 years agoMerge "Improve unit test coverage for Cisco plugin model code"
Jenkins [Sun, 23 Feb 2014 23:51:27 +0000 (23:51 +0000)]
Merge "Improve unit test coverage for Cisco plugin model code"

10 years agoMake metaplugin be used with a router service plugin
Itsuro Oda [Mon, 6 Jan 2014 06:03:14 +0000 (15:03 +0900)]
Make metaplugin be used with a router service plugin

"l3_plugin_list" configuration parameter of the metaplugin is permitted
blank now.
If "l3_plugin_list" is blank, router extension and extensions which extend
the router extension don't be included in "supported-extension-aliases" of
the metaplugin.
This makes the metaplugin be able to be used with a router service plugin.
Note that if "l3_plugin_list" is not blank, a router service plugin must
not be specified, otherwise the error of the bug report still occurs.

This patch removes some router extension related meaningless codes also.
(e.g.  external-net extension belongs to L2 functionality and be handled
 by core plugins properly.)

Closes-bug: 1266347
DocImpact

Change-Id: I0454bc0a4bd7eda5dad18b0538fb7baebe0b9f91

10 years agoMerge "Sync latest oslo.db code into neutron"
Jenkins [Sun, 23 Feb 2014 22:21:40 +0000 (22:21 +0000)]
Merge "Sync latest oslo.db code into neutron"

10 years agoMerge "Raise max header size to accommodate large tokens"
Jenkins [Sun, 23 Feb 2014 21:26:48 +0000 (21:26 +0000)]
Merge "Raise max header size to accommodate large tokens"

10 years agoMerge "Update help message of flag 'enable_isolated_metadata'"
Jenkins [Sun, 23 Feb 2014 21:19:43 +0000 (21:19 +0000)]
Merge "Update help message of flag 'enable_isolated_metadata'"

10 years agoMerge "add router_id to response for CRU on fw/vip objs"
Jenkins [Sun, 23 Feb 2014 17:13:21 +0000 (17:13 +0000)]
Merge "add router_id to response for CRU on fw/vip objs"

10 years agoMerge "Extending quota support for neutron LBaaS entities"
Jenkins [Sun, 23 Feb 2014 14:52:52 +0000 (14:52 +0000)]
Merge "Extending quota support for neutron LBaaS entities"

10 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Sun, 23 Feb 2014 14:30:56 +0000 (14:30 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 23 Feb 2014 14:30:46 +0000 (14:30 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Adds https support for metadata agent"
Jenkins [Sun, 23 Feb 2014 11:43:28 +0000 (11:43 +0000)]
Merge "Adds https support for metadata agent"

10 years agoUpdated from global requirements
OpenStack Jenkins [Sun, 23 Feb 2014 09:26:34 +0000 (09:26 +0000)]
Updated from global requirements

Change-Id: I194bd7c742152739717882774fef61174ccda9b9

10 years agoMerge "Fix invalid facilities documented in rootwrap.conf"
Jenkins [Sun, 23 Feb 2014 08:10:17 +0000 (08:10 +0000)]
Merge "Fix invalid facilities documented in rootwrap.conf"

10 years agoMerge "Use "!=" instead of "is not" when comparing two values"
Jenkins [Sun, 23 Feb 2014 07:59:09 +0000 (07:59 +0000)]
Merge "Use "!=" instead of "is not" when comparing two values"

10 years agoMerge "ipt_mgr.ipv6 written in the wrong ipt_mgr.ipv4"
Jenkins [Sun, 23 Feb 2014 07:22:32 +0000 (07:22 +0000)]
Merge "ipt_mgr.ipv6 written in the wrong ipt_mgr.ipv4"

10 years agoMerge "ML2/vxlan/test: remove unnecessary self.addCleanup(cfg.CONF.reset)"
Jenkins [Sun, 23 Feb 2014 07:22:22 +0000 (07:22 +0000)]
Merge "ML2/vxlan/test: remove unnecessary self.addCleanup(cfg.CONF.reset)"

10 years agoMerge "Remove dependent module py3kcompat"
Jenkins [Sun, 23 Feb 2014 06:30:59 +0000 (06:30 +0000)]
Merge "Remove dependent module py3kcompat"

10 years agoMerge "Implements an LBaaS driver for NetScaler devices"
Jenkins [Sun, 23 Feb 2014 06:30:48 +0000 (06:30 +0000)]
Merge "Implements an LBaaS driver for NetScaler devices"

10 years agoMerge "Use six.StringIO/BytesIO instead of StringIO.StringIO"
Jenkins [Sun, 23 Feb 2014 06:30:38 +0000 (06:30 +0000)]
Merge "Use six.StringIO/BytesIO instead of StringIO.StringIO"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 23 Feb 2014 06:27:52 +0000 (06:27 +0000)]
Imported Translations from Transifex

Change-Id: I1417148b8fffe3ccb12ea7435997d6b43197b8f8

10 years agoMerge "remove unused imports"
Jenkins [Sun, 23 Feb 2014 06:20:40 +0000 (06:20 +0000)]
Merge "remove unused imports"

10 years agoMerge "Ensure that session is rolled back on bulk creates"
Jenkins [Sun, 23 Feb 2014 06:17:39 +0000 (06:17 +0000)]
Merge "Ensure that session is rolled back on bulk creates"

10 years agoMerge "wsgi.run_server no longer used"
Jenkins [Sun, 23 Feb 2014 06:12:42 +0000 (06:12 +0000)]
Merge "wsgi.run_server no longer used"

10 years agoRaise max header size to accommodate large tokens
zhhuabj [Fri, 17 Jan 2014 10:21:01 +0000 (18:21 +0800)]
Raise max header size to accommodate large tokens

The max header is exceeded in the following scenario
- Auth tokens built with a keystone v3 API catalog
- A catalog with approximately 8 or more endpoints defined

Change-Id: Ie815e457c0b25ab828e780b5d90233ba0ceff61f
Closes-Bug: #1251026

10 years agoMerge "NSX: get_port_status passed wrong id for network"
Jenkins [Sun, 23 Feb 2014 05:01:39 +0000 (05:01 +0000)]
Merge "NSX: get_port_status passed wrong id for network"

10 years agoMerge "remove pointless test TestN1kvNonDbTest"
Jenkins [Sun, 23 Feb 2014 00:01:08 +0000 (00:01 +0000)]
Merge "remove pointless test TestN1kvNonDbTest"

10 years agoMerge "Reset API naming scheme for VMware NSX plugin"
Jenkins [Sun, 23 Feb 2014 00:00:58 +0000 (00:00 +0000)]
Merge "Reset API naming scheme for VMware NSX plugin"

10 years agoNSX: get_port_status passed wrong id for network
Aaron Rosen [Tue, 18 Feb 2014 21:15:02 +0000 (13:15 -0800)]
NSX: get_port_status passed wrong id for network

The call to get_port_status in update_port was passing in the neutron
network_id instead of the nsx_network_id. These used to be the same
but now are different. This patch updates the code so that it now
passes in the correct uuid.

Change-Id: I7b0bd617f68291fa457a49e52d595bb8de1d4835
Closes-bug: #1281789

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 22 Feb 2014 06:33:35 +0000 (06:33 +0000)]
Imported Translations from Transifex

Change-Id: I9f7b5e2d2fffd8c54cd0ef5a0358a92b3a550f40

10 years agoReset API naming scheme for VMware NSX plugin
armando-migliaccio [Fri, 24 Jan 2014 00:23:26 +0000 (16:23 -0800)]
Reset API naming scheme for VMware NSX plugin

Introduce new naming scheme, whilst preserving
backward compatibility for the extensions affected.

Deprecated extensions will be removed from Juno.

Partial-implements blueprint: nicira-plugin-renaming

Change-Id: Icd68e5db04aa008ac31994ae0cb5c1b7f2551303

10 years agoMerge "Plugins should call __init__ of db_base_plugin for db.configure"
Jenkins [Sat, 22 Feb 2014 06:00:58 +0000 (06:00 +0000)]
Merge "Plugins should call __init__ of db_base_plugin for db.configure"

10 years agoMerge "Rename Security Groups related methods for VMware NSX plugin"
Jenkins [Sat, 22 Feb 2014 06:00:42 +0000 (06:00 +0000)]
Merge "Rename Security Groups related methods for VMware NSX plugin"

10 years agoMerge "Rename L2 Switch/Gateway related methods for VMware NSX plugin"
Jenkins [Sat, 22 Feb 2014 06:00:30 +0000 (06:00 +0000)]
Merge "Rename L2 Switch/Gateway related methods for VMware NSX plugin"

10 years agoMerge "Rename Router related methods for VMware NSX plugin"
Jenkins [Sat, 22 Feb 2014 06:00:19 +0000 (06:00 +0000)]
Merge "Rename Router related methods for VMware NSX plugin"

10 years agoMerge "Fix typo in service_drivers.ipsec"
Jenkins [Sat, 22 Feb 2014 05:06:58 +0000 (05:06 +0000)]
Merge "Fix typo in service_drivers.ipsec"

10 years agoMerge "Don't document non-existing flag '--hide-elapsed'"
Jenkins [Sat, 22 Feb 2014 04:05:04 +0000 (04:05 +0000)]
Merge "Don't document non-existing flag '--hide-elapsed'"

10 years agoMerge "Removes an incorrect and unnecessary return"
Jenkins [Sat, 22 Feb 2014 03:23:20 +0000 (03:23 +0000)]
Merge "Removes an incorrect and unnecessary return"

10 years agoMerge "Add additional unit tests for the ML2 plugin"
Jenkins [Sat, 22 Feb 2014 03:23:09 +0000 (03:23 +0000)]
Merge "Add additional unit tests for the ML2 plugin"

10 years agoMerge "L3 Agent restart causes network outage"
Jenkins [Sat, 22 Feb 2014 03:09:22 +0000 (03:09 +0000)]
Merge "L3 Agent restart causes network outage"

10 years agoMerge "Add support to request vnic type on port"
Jenkins [Sat, 22 Feb 2014 03:09:05 +0000 (03:09 +0000)]
Merge "Add support to request vnic type on port"

10 years agoMerge "Fixes broken documentation hyperlinks"
Jenkins [Sat, 22 Feb 2014 01:46:29 +0000 (01:46 +0000)]
Merge "Fixes broken documentation hyperlinks"

10 years agoremove pointless test TestN1kvNonDbTest
Aaron Rosen [Fri, 21 Feb 2014 21:29:41 +0000 (13:29 -0800)]
remove pointless test TestN1kvNonDbTest

Change-Id: Id0cd2ea394276f159c7edfadbdc517a16b24776c
closes-bug: #1283250

10 years agoRename Security Groups related methods for VMware NSX plugin
armando-migliaccio [Fri, 17 Jan 2014 07:08:20 +0000 (23:08 -0800)]
Rename Security Groups related methods for VMware NSX plugin

Second to last step for the renaming/refactoring of nvplib
and related modules. This is about security groups.

Partial-implements blueprint nicira-plugin-renaming

Change-Id: I0099bf25be77fdec90d515c890b728a477409ef9

10 years agoRename L2 Switch/Gateway related methods for VMware NSX plugin
armando-migliaccio [Thu, 16 Jan 2014 21:06:30 +0000 (13:06 -0800)]
Rename L2 Switch/Gateway related methods for VMware NSX plugin

Yet another another step for the renaming/refactoring
of nvplib and related modules. This is about l2 switches
and l2 gateways.

Partial-implements blueprint nicira-plugin-renaming

Change-Id: I35c2b20a33ed8f2df4334c335f91472f7b822f8e

10 years agoRename Router related methods for VMware NSX plugin
armando-migliaccio [Thu, 16 Jan 2014 01:18:54 +0000 (17:18 -0800)]
Rename Router related methods for VMware NSX plugin

This is another step for the renaming/refactoring of
nvplib and related modules. This is about routers.

Partial-implements blueprint: nicira-plugin-renaming

Change-Id: Ic69b2777fa1ae3125b8adf23943360e3fe18e4c2

10 years agoPlugins should call __init__ of db_base_plugin for db.configure
Aaron Rosen [Wed, 19 Feb 2014 23:08:54 +0000 (15:08 -0800)]
Plugins should call __init__ of db_base_plugin for db.configure

Currently each plugin calls db.configure() within the plugin's __init__
class or defines an initialize() method that's sole job is to call this
method. Instead we should just call the super method of a plugin so that
db.configure() is called for us out of the db_base_plugin class.

Note: the only reason why I'm making this change is that I want to add
something to the __init__() class of the db_base_plugin that's needed for
the nova-event-callback blueprint and adding it in the base class of init
looks to be the best place.

Change-Id: Iec3c912735021ceb90f657108aad3a57460d66e7
Closes-bug: #1282303

10 years agoMerge "Fix ValueError in ip_lib.IpRouteCommand.get_gateway()"
Jenkins [Fri, 21 Feb 2014 19:17:00 +0000 (19:17 +0000)]
Merge "Fix ValueError in ip_lib.IpRouteCommand.get_gateway()"

10 years agoMerge "Use different context for each API request in unit tests"
Jenkins [Fri, 21 Feb 2014 18:36:16 +0000 (18:36 +0000)]
Merge "Use different context for each API request in unit tests"

10 years agoMerge "Sync minimum requirements"
Jenkins [Fri, 21 Feb 2014 17:52:27 +0000 (17:52 +0000)]
Merge "Sync minimum requirements"

10 years agoFixes broken documentation hyperlinks
Joe Harrison [Mon, 13 Jan 2014 14:27:38 +0000 (15:27 +0100)]
Fixes broken documentation hyperlinks

Several hyperlinks were incorrectly specified in one page of the docs.
These syntax typos have been fixed.

Change-Id: I1a4fe91ac05f51b71e01c001b76712752664ae74
Closes-Bug: #1268611

10 years agoMerge "Copy cache package from oslo-incubator"
Jenkins [Fri, 21 Feb 2014 12:38:22 +0000 (12:38 +0000)]
Merge "Copy cache package from oslo-incubator"

10 years agoUse "!=" instead of "is not" when comparing two values
Akihiro Motoki [Fri, 21 Feb 2014 12:15:19 +0000 (21:15 +0900)]
Use "!=" instead of "is not" when comparing two values

Change-Id: I2cd9575585dde7c44b528077a7bffa16379b1759
Closes-Bug: #1283019

10 years agoML2/vxlan/test: remove unnecessary self.addCleanup(cfg.CONF.reset)
Isaku Yamahata [Fri, 20 Dec 2013 03:50:17 +0000 (12:50 +0900)]
ML2/vxlan/test: remove unnecessary self.addCleanup(cfg.CONF.reset)

This patch is follow up of change set of
4808f91eb2c245344517fc89c37c6c4c88e9051b bug/1260262 review/61694.
The change set adds unnecessary self.addCleanup(cfg.CONF.reset) to
VxlanTypeMultiRangeTest as pointed out. This patch Remove the line.

Change-Id: Ia6ce4bc346cf6320ba556e80689dadb7d84e5ee8

10 years agoMerge "LBaaS: move agent based driver files into a separate dir"
Jenkins [Fri, 21 Feb 2014 10:55:51 +0000 (10:55 +0000)]
Merge "LBaaS: move agent based driver files into a separate dir"

10 years agoMerge "Don't require passing in port_security=False if security_groups present"
Jenkins [Fri, 21 Feb 2014 09:18:46 +0000 (09:18 +0000)]
Merge "Don't require passing in port_security=False if security_groups present"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 21 Feb 2014 06:38:31 +0000 (06:38 +0000)]
Imported Translations from Transifex

Change-Id: Ia424e2ea79fa28a561b7d4a85178d111fd0a7f6e

10 years agoMerge "Fix request timeout errors during calls to NSX controller"
Jenkins [Fri, 21 Feb 2014 05:24:56 +0000 (05:24 +0000)]
Merge "Fix request timeout errors during calls to NSX controller"

10 years agoAdds https support for metadata agent
Xiaolin Zhang [Thu, 16 Jan 2014 14:28:28 +0000 (22:28 +0800)]
Adds https support for metadata agent

Adds two configure options to support https client for metadata proxy
* auth_insecure: turn off verification of the certificate for ssl, or
* auth_ca_cert: CA cert to check against with for ssl.

Change-Id: I3ffb86ae9ce31931436a4e13957aae30eebf9d92
Closes-Bug: #1263872

10 years agoDon't require passing in port_security=False if security_groups present
Aaron Rosen [Wed, 8 Jan 2014 21:10:54 +0000 (13:10 -0800)]
Don't require passing in port_security=False if security_groups present

If creating a port on a network that is marked as port_security_enabled=False
and one passes in a security_group in the port_create request previously an
error was raised saying they needed to also pass in
port_security_enabled=False. This patch removes that requirement and instead
sets port_security_enabled=True internally if a port has an ip_address and a
security_group is passed in. This is more convient and does not break
backwards compatibility.

Closes-bug: #1267249
Change-Id: Ifb5a5511f016a5d8c5b5075c9fdc27279cdd9bb5

10 years agoMerge "BigSwitch: Move config and REST to diff modules"
Jenkins [Fri, 21 Feb 2014 04:23:32 +0000 (04:23 +0000)]
Merge "BigSwitch: Move config and REST to diff modules"

10 years agowsgi.run_server no longer used
Aaron Rosen [Fri, 21 Feb 2014 04:15:21 +0000 (20:15 -0800)]
wsgi.run_server no longer used

Removes run_server method and test that is not used by anything.

Change-Id: I280c3e249b8e3f46de5a3d364a4a34ffc5acd064
Closes-bug: #1282873

10 years agoMerge "tests/unit: Initialize core plugin in TestL3GwModeMixin"
Jenkins [Fri, 21 Feb 2014 01:45:48 +0000 (01:45 +0000)]
Merge "tests/unit: Initialize core plugin in TestL3GwModeMixin"

10 years agoMerge "Refactor to remove _recycle_ip"
Jenkins [Fri, 21 Feb 2014 01:36:32 +0000 (01:36 +0000)]
Merge "Refactor to remove _recycle_ip"

10 years agoUse different context for each API request in unit tests
Salvatore Orlando [Fri, 14 Feb 2014 16:17:30 +0000 (08:17 -0800)]
Use different context for each API request in unit tests

test_router_add_interface_subnet_with_port_from_other_tenant in
neutron.tests.unit.test_l3_plugin.L3NatTestCaseBase was mocking
neutron.context.Context thus performing multiple API requests
with the same context instance. As a context instance also has
a DB session attribute, this might cause unexpected side effects,
especially for plugins which process request asynchronously.

The plugin neutron.plugins.nicira.NeutronServicePlugin was being
affected.

This patch ensures each request has a different context object
without changing the unit test semantics.

It also refactors slightly test_edge_router.py in the nicira
unit test package to avoid executing twice the same unit tests.

Change-Id: I4895faa00ebd915eb9e259930db2d004a9e78a86
Closes-Bug: #1280035

10 years agoSync minimum requirements
Justin Lund [Thu, 20 Feb 2014 23:53:39 +0000 (18:53 -0500)]
Sync minimum requirements

Change-Id: I1a0653058f1f8085918d7c43147d6b2631acb013
Closes-bug:1280941

10 years agoMerge "Validate rule uuids provided for update_policy"
Jenkins [Thu, 20 Feb 2014 20:14:09 +0000 (20:14 +0000)]
Merge "Validate rule uuids provided for update_policy"

10 years agoImplements an LBaaS driver for NetScaler devices
Youcef Laribi [Wed, 20 Nov 2013 20:29:01 +0000 (12:29 -0800)]
Implements an LBaaS driver for NetScaler devices

This driver for the Neutron LBaaS plugin allows for
using the Citrix NetScaler loadbalancing devices
to provide Neutron LBaaS functionality in OpenStack.

Change-Id: Ibfeb54c4402943fb3696a1c599fa373e42e520d4
Implements: blueprint netscaler-lbaas-driver

10 years agoMerge "vshield task manager: abort tasks in stop() on termination"
Jenkins [Thu, 20 Feb 2014 20:08:34 +0000 (20:08 +0000)]
Merge "vshield task manager: abort tasks in stop() on termination"

10 years agoMerge "Add update from agent to plugin on device up"
Jenkins [Thu, 20 Feb 2014 16:18:46 +0000 (16:18 +0000)]
Merge "Add update from agent to plugin on device up"

10 years agovshield task manager: abort tasks in stop() on termination
Salvatore Orlando [Thu, 20 Feb 2014 14:30:11 +0000 (06:30 -0800)]
vshield task manager: abort tasks in stop() on termination

This patch kills the manager thread, and aborts active tasks
rather than sending an exception to the manager thread and
have it do the abort on termination.

Unit tests involving vshield task manager might take longer
as a side effect of this patch.

Related-bug: #1282452

Change-Id: I9e9e41ce7e8969a2ea51bfce96b1303125a24308

10 years agoCopy cache package from oslo-incubator
Jakub Libosvar [Wed, 5 Feb 2014 09:07:02 +0000 (10:07 +0100)]
Copy cache package from oslo-incubator

Related-Bug: #1276440
Change-Id: I7aaf8ae2eb909816d85092baa5c111f00e60d2c7

10 years agoBigSwitch: Move config and REST to diff modules
Kevin Benton [Fri, 14 Feb 2014 06:52:36 +0000 (06:52 +0000)]
BigSwitch: Move config and REST to diff modules

No functionality change. Separates the config,
rest call, and backend server management from
the main plugin.py file. Necessary to make
downstream patches more managable and easier
to review.

Implements: blueprint bigswitch-separate-server-module
Change-Id: Ie1fd18a9d8cde24945513c06f7b62239202258a3

10 years agoMerge "Parse JSON in ovs_lib.get_vif_port_by_id"
Jenkins [Thu, 20 Feb 2014 05:50:12 +0000 (05:50 +0000)]
Merge "Parse JSON in ovs_lib.get_vif_port_by_id"

10 years agoAdd support to request vnic type on port
Irena Berezovsky [Mon, 10 Feb 2014 12:55:49 +0000 (14:55 +0200)]
Add support to request vnic type on port

This patch adds support for requested vnic_type to be plugged to neutron port to ML2 plugin.
This patch contains:
1. New attribute 'binding:vnic_type' added to port binding extension.
   Possible values are 'direct', 'macvtap' and 'normal'.
   'binding:vnic_type' is allowed to be defined on port creation or changed
   on port update by admin or tenant user.
   'binding:vnic_type' can be also skipped in port defintion
2. Management of vnic_type by ML2 plugin, assuming default
vnic_type=normal
3. Add 'vnic_type' to ml2_port_bindings DB table
4. Add supported vnic_types for MechanismDrivers that are capable to bind
port.
5. Add DB migration script for ml2_vnic_type.

DocImpact: Need to update portbindings API docs and include in SR-IOV user docs

Change-Id: Ic88708fa9ece742f807c1d09bb49e499f99bd092
Implements: blueprint ml2-request-vnic-type

10 years agotests/unit: Initialize core plugin in TestL3GwModeMixin
Isaku Yamahata [Tue, 18 Feb 2014 02:02:56 +0000 (11:02 +0900)]
tests/unit: Initialize core plugin in TestL3GwModeMixin

TestL3GwModeMixin can fail randomly because it doesn't initialize
core_plugin and can be run random core plugin depending on execution
order of tests. It also fails with core plugin uninitialized when it
is run without other tests.

This patch refactors the setup code of core plugin and apply it to the
related tests.
This patch reveled the same bug of test_metaplugin.py which is also
fixed by this patch.

Closes-bug: #1273259
Change-Id: I3c1d4d8b3d69262b89c7747daa8267bf2c8e7f6b

10 years agoMerge "Revert "Skip a test for nicira service plugin""
Jenkins [Thu, 20 Feb 2014 02:21:23 +0000 (02:21 +0000)]
Merge "Revert "Skip a test for nicira service plugin""

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 20 Feb 2014 01:30:59 +0000 (01:30 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Remove unused RPC calls from n1kv plugin code"
Jenkins [Thu, 20 Feb 2014 00:52:48 +0000 (00:52 +0000)]
Merge "Remove unused RPC calls from n1kv plugin code"

10 years agoRevert "Skip a test for nicira service plugin"
Salvatore Orlando [Thu, 20 Feb 2014 00:41:03 +0000 (16:41 -0800)]
Revert "Skip a test for nicira service plugin"

This reverts commit 95807c9436be7eb34fe37289d76fb4611ab77783.

Change-Id: I03dc9bb99b8372bfa4bb05246916b856569969f7

10 years agoImprove unit test coverage for Cisco plugin model code
Dane LeBlanc [Thu, 21 Nov 2013 17:34:57 +0000 (12:34 -0500)]
Improve unit test coverage for Cisco plugin model code

Closes-Bug: #1190620

This fix improves unit test coverage for:
quantum/plugins/cisco/models/virt_phy_sw_v2.py
Test coverage is improved from about 78% to 99%.

One change included in this fix is removal of some code in
the _invoke_plugin() method in virt_phy_sw_v2.py which looks
like it's attempting to handle the case where the number of
arguments being passed to _invoke_plugin() exceeds the number
of arguments expected for the target plugin method. This
section of code does not get executed for any existing
calls to _invoke_plugin(), and it doesn't appear that
this logic would work (except when the target plugin method
includes a **kwargs expansion).

Change-Id: Ibceb7a462a213f3ba693bcbe94e77d97b2e1440a

10 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 19 Feb 2014 17:00:57 +0000 (17:00 +0000)]
Imported Translations from Transifex

Change-Id: Iacb4571f529a6697aa722fc88f0ca1b40fe61e8c

10 years agoipt_mgr.ipv6 written in the wrong ipt_mgr.ipv4
llg8212 [Wed, 25 Dec 2013 01:57:21 +0000 (09:57 +0800)]
ipt_mgr.ipv6 written in the wrong ipt_mgr.ipv4

This patch fixes the issue of writing the wrong firewall rule where an IP6
rule is written to IP4.

Change-Id: Ie7c75c71c9dcfbd9feabaffe4416ede80ff350d8
Closes-Bug:#1263877

10 years agoUpdate help message of flag 'enable_isolated_metadata'
Édouard Thuleau [Thu, 16 Jan 2014 09:15:07 +0000 (10:15 +0100)]
Update help message of flag 'enable_isolated_metadata'

Thanks to the commit c73b54e50b62c489f04432bdbc5bee678b18226e,
the way of DHCP agent determines how a subnet is isolated evolves.
But the flag help message wasn't updtated accordingly to this evolution.

Change-Id: If07d8e0802524f9babdee0c8cc07d40cb0803afb
Closes-bug: #1269722

10 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 18 Feb 2014 06:25:33 +0000 (06:25 +0000)]
Imported Translations from Transifex

Change-Id: Iafb65bdd55952a9f8dba3f48c53c691f07ef344c

10 years agoMerge "Add and update subnet properties in Cisco N1kv plugin"
Jenkins [Tue, 18 Feb 2014 02:07:13 +0000 (02:07 +0000)]
Merge "Add and update subnet properties in Cisco N1kv plugin"

10 years agoFix invalid facilities documented in rootwrap.conf
shihanzhang [Tue, 18 Feb 2014 01:50:57 +0000 (09:50 +0800)]
Fix invalid facilities documented in rootwrap.conf

The values user0 and user1 do not map to valid facility values.
local1, etc.  Using user0 results in a  pri value that does not map
back to a facility of the same name in syslog.

RFC5424 suggest values values of local0 through local7.  Setting
syslog_log_facility to one of those values results in a message with a
priority that can be mapped back to the original string value.

This fix adjusts the comment in rootwrap.conf to suggest the local
prefix instead of the user prefix.

Change-Id: I835ad17c817b8623e382368b39b06944470be480
Closes-bug: #1280879

10 years agoFix typo in service_drivers.ipsec
Tomoko Inoue [Mon, 17 Feb 2014 19:10:30 +0000 (04:10 +0900)]
Fix typo in service_drivers.ipsec

Closes-Bug: #1280597

Change-Id: If2238d66af4db1b0134bbd6407b2229b4af363ee

10 years agoValidate rule uuids provided for update_policy
Eugene Nikanorov [Mon, 17 Feb 2014 12:35:09 +0000 (16:35 +0400)]
Validate rule uuids provided for update_policy

Add corresponding validation method to fwaas extension

Change-Id: I643c10a996813d251684d3b5de04c8826729129f
Closes-Bug: #1281083

10 years agoMerge "Skip a test for nicira service plugin"
Jenkins [Mon, 17 Feb 2014 13:28:21 +0000 (13:28 +0000)]
Merge "Skip a test for nicira service plugin"

10 years agoMerge "Remove DEBUG:....nsx_cluster:Attribute is empty or null"
Jenkins [Mon, 17 Feb 2014 08:44:08 +0000 (08:44 +0000)]
Merge "Remove DEBUG:....nsx_cluster:Attribute is empty or null"

10 years agoAdd update from agent to plugin on device up
Irena Berezovsky [Thu, 24 Oct 2013 12:59:46 +0000 (15:59 +0300)]
Add update from agent to plugin on device up

Add RPC message to plugin on device up once configured.
Update device details attribute to use segmentation_id
instead of vlan_id.

Change-Id: I9be8389c01c4c29025bbe868919e39fde3251a58
Closes-Bug: #1242532

10 years agoRemove dependent module py3kcompat
llg8212 [Sat, 15 Feb 2014 03:09:28 +0000 (11:09 +0800)]
Remove dependent module py3kcompat

Module py3kcompat was removed from oslo-incubator, we can use
six directly.

* Sync commit of removing py3kcompat from oslo
* use six replace usage of py3kcompat

Change-Id: Ifc9be2cc36c93d298402bd430be35b541c9b7eba
Closes-Bug: #1280033

10 years agoUse six.StringIO/BytesIO instead of StringIO.StringIO
He Yongli [Mon, 17 Feb 2014 02:28:03 +0000 (10:28 +0800)]
Use six.StringIO/BytesIO instead of StringIO.StringIO

to keep Python 3.x compatibility, use six.StringIO/BytesIO to
replace StringIO.StringIO

StringIO works for unicode
BytesIO works for bytes

Change-Id: I3892098e31d8d6984d58136110aae653dc4047ab
Closes-Bug: #1280100

10 years agoParse JSON in ovs_lib.get_vif_port_by_id
Salvatore Orlando [Sun, 16 Feb 2014 23:47:34 +0000 (15:47 -0800)]
Parse JSON in ovs_lib.get_vif_port_by_id

This patch replaces regex matching of text output with parsing
of JSON output in ovs_lib.get_vif_port_by_id.
This makes the code more reliable as subtle, possibly even
cosmetic, changes in ovs-vsctl output format could cause the
regular expression match to fail.

Also, this makes the code consistent with ovs_lib.get_vif_port_set
which already uses JSON output.

Finally this patch slightly changes the behaviour of
ovs_lib.get_vif_port_by_id returning None if elements such as
mac address or ofport were not available.

Change-Id: Ia985a130739c72b5b88414a79b2c6083ca6a0a00
Closes-Bug: #1280827

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 16 Feb 2014 06:28:55 +0000 (06:28 +0000)]
Imported Translations from Transifex

Change-Id: Id68ff4a10fa3aa0bfdbc128723a9e0e47f3d93b3

10 years agoSkip a test for nicira service plugin
Salvatore Orlando [Sat, 15 Feb 2014 19:46:37 +0000 (11:46 -0800)]
Skip a test for nicira service plugin

test_router_add_interface_subnet_with_port_from_other_tenant
is causing intermittent failures in unit tests because of
issues related with sql session autoflush.

This patch skips this test, since it is already covered
by another test case in the same module. This should prevent
job failures while the relevant bug is addressed.

Change-Id: Iad33dada61d17fad14e569e241f4079465b5f792
Related-Bug: 1280035

10 years agoMerge "Avoid processing ports which are not yet ready"
Jenkins [Sat, 15 Feb 2014 10:31:50 +0000 (10:31 +0000)]
Merge "Avoid processing ports which are not yet ready"

10 years agoRemove DEBUG:....nsx_cluster:Attribute is empty or null
armando-migliaccio [Sat, 15 Feb 2014 00:35:36 +0000 (16:35 -0800)]
Remove DEBUG:....nsx_cluster:Attribute is empty or null

They serve no purpose, as if an important attribute is empty
or null and it shouldn't we'll know about it, and that's what
counts.

Change-Id: I7783cb6df76362d1b9b25b23f89a3a5d6df15406
Closes-bug: 1280500

10 years agoFix request timeout errors during calls to NSX controller
armando-migliaccio [Fri, 14 Feb 2014 18:59:17 +0000 (10:59 -0800)]
Fix request timeout errors during calls to NSX controller

Sometimes two correlated exception traces are observed in
the server log for the Neutron Server backed by NSX:
RequestTimeout (The nsx request has timed out) and
OperationalError (Lock wait timeout exceeded). This is
generally described by Guru Salvatore Orlando as the,
and I quote, the "infamous eventlet-mysql deadlock".

This patch tries to address the issue by adding a
cooperative yield in the nsx client code (it’s a good idea
to call sleep(0) occasionally in any case) and also by
avoiding the unnecessary spawning of another Greenthread
within a call that is already executed in Greenthred
itself.

Closes-bug: #1267101
Related-bug: #1279497

Change-Id: I8e298468fb730f11a66fbd4211121ee7d3e2a548