]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoAdd pagination parameters for extension extraroute
He Jie Xu [Fri, 22 Feb 2013 07:22:36 +0000 (15:22 +0800)]
Add pagination parameters for extension extraroute

Fixes bug 1131560

Change-Id: Ice84aa90ef8a39efdd9c287cca9b90c4ee355b7f

11 years agoMerge "Provide a default api_extensions_path for nvp_plugin"
Jenkins [Fri, 22 Feb 2013 06:16:42 +0000 (06:16 +0000)]
Merge "Provide a default api_extensions_path for nvp_plugin"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 22 Feb 2013 00:06:46 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Ibffe336d9b980f57ede79c83e950be851b5eea84

11 years agoProvide a default api_extensions_path for nvp_plugin
Aaron Rosen [Thu, 21 Feb 2013 23:50:21 +0000 (15:50 -0800)]
Provide a default api_extensions_path for nvp_plugin

The NVP plugin has several extensions within it's plugin directory. In order
to tell quantum-server to load this, api_extensions_path must be set in
quantum.conf. This is sort of painful because one needs to set this value.

Fixes bug 1131469

Change-Id: I8d124aa93f79dbeb8b2abac1c27765d5ebf449c2

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 21 Feb 2013 18:35:17 +0000 (18:35 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Close file descriptors when executing sub-processes"
Jenkins [Thu, 21 Feb 2013 18:31:48 +0000 (18:31 +0000)]
Merge "Close file descriptors when executing sub-processes"

11 years agoMerge "Correct permissions on quantum-hyperv-agent"
Jenkins [Thu, 21 Feb 2013 18:17:10 +0000 (18:17 +0000)]
Merge "Correct permissions on quantum-hyperv-agent"

11 years agoMerge "Add pagination support for xml"
Jenkins [Thu, 21 Feb 2013 10:53:18 +0000 (10:53 +0000)]
Merge "Add pagination support for xml"

11 years agoMerge "Sync latest install_venv_common.py with olso"
Jenkins [Thu, 21 Feb 2013 07:34:23 +0000 (07:34 +0000)]
Merge "Sync latest install_venv_common.py with olso"

11 years agoAdd pagination support for xml
He Jie Xu [Thu, 7 Feb 2013 07:10:29 +0000 (15:10 +0800)]
Add pagination support for xml

Fixes bug 1130622

Change-Id: Id9f39daf634906ee222315586fc9a93916160c3f

11 years agoSync latest install_venv_common.py with olso
Isaku Yamahata [Thu, 21 Feb 2013 02:57:59 +0000 (11:57 +0900)]
Sync latest install_venv_common.py with olso

This patch syncs with oslo change set of
c78b2ab Avoid using cfg in install_venv_common

So that oslo-config isn't needed to run install_venv

Change-Id: Ia7ee923a53e09c0c6a525294ec4a5dc9d31c3bed
Fixes: bug #1131009
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 21 Feb 2013 00:06:21 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I0ac62f86d1f1b8203f5c1126872c47162f8a0c4f

11 years agoAdd check-nvp-config utility
Aaron Rosen [Tue, 19 Feb 2013 08:49:32 +0000 (00:49 -0800)]
Add check-nvp-config utility

Fixes bug 1130657

Change-Id: I514b92d53132d85144b5ed95450398bcfbf130f8

11 years agoClose file descriptors when executing sub-processes
Bob Kukura [Wed, 20 Feb 2013 21:12:24 +0000 (16:12 -0500)]
Close file descriptors when executing sub-processes

Pass close_fds=True to subprocess.Popen(), as is currently done in
nova.utils.execute().

Fixes bug #1130735

Change-Id: Iec21873d7ef3957847f3b7365fadd613ccf1349d

11 years agoMerge "Resolve branches in db migration scripts to G-3 release"
Jenkins [Wed, 20 Feb 2013 10:10:12 +0000 (10:10 +0000)]
Merge "Resolve branches in db migration scripts to G-3 release"

11 years agoAdd support Quantum Security Groups for Ryu plugin
Yoshihiro Kaneko [Thu, 14 Feb 2013 12:04:12 +0000 (21:04 +0900)]
Add support Quantum Security Groups for Ryu plugin

fix bug #1124965

This patch add support security-groups extension to Ryu plugin.

Change-Id: I569ab1e48517f28a5103175fd04e848f82eb2a3c

11 years agoResolve branches in db migration scripts to G-3 release
Akihiro MOTOKI [Wed, 20 Feb 2013 07:00:44 +0000 (16:00 +0900)]
Resolve branches in db migration scripts to G-3 release

Fixes bug #1129260

Change-Id: I5c70ee6d464f8fc0b2e4cdb4fc07464e150e10ff

11 years agoMerge "Implement MidoNet Quantum Plugin"
Jenkins [Wed, 20 Feb 2013 07:55:20 +0000 (07:55 +0000)]
Merge "Implement MidoNet Quantum Plugin"

11 years agoMerge "plugin/nec: Make sure resources on OFC is globally unique."
Jenkins [Wed, 20 Feb 2013 07:55:17 +0000 (07:55 +0000)]
Merge "plugin/nec: Make sure resources on OFC is globally unique."

11 years agoMerge "Routing table configuration support on L3"
Jenkins [Wed, 20 Feb 2013 07:55:10 +0000 (07:55 +0000)]
Merge "Routing table configuration support on L3"

11 years agoMerge "Raising error if invalid attribute passed in."
Jenkins [Wed, 20 Feb 2013 07:55:06 +0000 (07:55 +0000)]
Merge "Raising error if invalid attribute passed in."

11 years agoAdd Quantum support for NVP Layer-2 gateways
Salvatore Orlando [Mon, 26 Nov 2012 01:11:42 +0000 (17:11 -0800)]
Add Quantum support for NVP Layer-2 gateways

Blueprint nvp-nwgw-api

This patch adds an API extension, the relevant DB logic, and the NVP
plugin logic for managing a NVP-specific feature, Layer-2 Network
Gateway, through the Quantum API.
The proposed extension is meant to be used with the NVP plugin only.

Change-Id: I73a8f1782c345ca7f6dec2db36ba6f9299b30d04

11 years agoImplement MidoNet Quantum Plugin
Tomoe Sugihara [Wed, 13 Feb 2013 07:29:05 +0000 (16:29 +0900)]
Implement MidoNet Quantum Plugin

blueprint midonet-quantum-plugin

Change-Id: I4e22bdfed961cd10856d075a1e58cff3a216ce89
Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>
Signed-off-by: Ryu Ishimoto <ryu@midokura.com>
Signed-off-by: Rossella Sblendido <rossella@midokura.com>
11 years agoMerge "Supporting pagination in api v2.0"
Jenkins [Tue, 19 Feb 2013 23:06:01 +0000 (23:06 +0000)]
Merge "Supporting pagination in api v2.0"

11 years agoRouting table configuration support on L3
Nachi Ueno [Thu, 17 Jan 2013 01:52:47 +0000 (17:52 -0800)]
Routing table configuration support on L3

Implements bp quantum-l3-routes

  -- Adding the extraroute extension
  -- Updating the routing table based on routes attribute on route
  -- Updated OVS plugin, linuxbridge plugin, metaplugin
     NEC plugin, Ryu plugin

  User can configure the routes through quantum client API by
  using the extension feature.
  sample
  quantum router-update <router_id> \
        --routes type=dict list=true destination=40.0.1.0/24,nexthop=10.1.0.10

Change-Id: I2a11486709e55d3143373858254febaabb93cfe8

11 years agoCorrect permissions on quantum-hyperv-agent
Aaron Rosen [Tue, 19 Feb 2013 22:23:46 +0000 (14:23 -0800)]
Correct permissions on quantum-hyperv-agent

Change-Id: I92bd869ed97f480a7f47069a90eece9b3ab0ad54

11 years agoMerge "Update latest OSLO files"
Jenkins [Tue, 19 Feb 2013 22:21:34 +0000 (22:21 +0000)]
Merge "Update latest OSLO files"

11 years agoMerge "Support Port Binding Extension in BigSwitch plugin"
Jenkins [Tue, 19 Feb 2013 21:50:15 +0000 (21:50 +0000)]
Merge "Support Port Binding Extension in BigSwitch plugin"

11 years agoMerge "Improve error handling when nvp and quantum are out of sync"
Jenkins [Tue, 19 Feb 2013 21:08:53 +0000 (21:08 +0000)]
Merge "Improve error handling when nvp and quantum are out of sync"

11 years agoRaising error if invalid attribute passed in.
Jason Zhang [Wed, 13 Feb 2013 02:40:12 +0000 (18:40 -0800)]
Raising error if invalid attribute passed in.

400 will be returned when invalid attributes
are passed into Quantum API.

Fixed the some test cases failed since the
enforcement of invalid attribute checking

Fixes: bug #1076179
Change-Id: I4e9e2891c444f9dcd051f7b325d3c9403b28db86

11 years agoSupport Port Binding Extension in BigSwitch plugin
Sumit Naiksatam [Mon, 18 Feb 2013 20:58:04 +0000 (12:58 -0800)]
Support Port Binding Extension in BigSwitch plugin

Bug #1100395

Change-Id: I7097c9f0df8742f947860098d4928d9fd328e14b

11 years agoExit if DHCP agent interface_driver is not defined
Gary Kotton [Tue, 19 Feb 2013 11:34:00 +0000 (11:34 +0000)]
Exit if DHCP agent interface_driver is not defined

Fixes bug 1130052

In addition to this:
Uses "raise  SystemExit()" instaed of the exit for the L3
agent.

Change-Id: I8130745c9de62619189e158944fa9e4ed25be774

11 years agoSupporting pagination in api v2.0
He Jie Xu [Thu, 1 Nov 2012 08:05:44 +0000 (16:05 +0800)]
Supporting pagination in api v2.0

Implements bp support-pagination-in-api-v2.0

Add sort and pagination feature for api v2.0.
*Add sort_key, sort_dir for sorting feature.
*Add limit, marker, page_reverse for pagination feature.
*Add emulated sorting and pagination

Native pagination and native sorting implemented for:
*plugins: ovs, linuxbridge
*extensions: l3 securitygroup

Emulated pagination and sorting enabled for:
extensions: lbaas

Change-Id: I28ec6ab7bcae9839cb42c6d60bbfff7250de13ed

11 years agoMerge "Modify dhcp agent for agent management extension"
Jenkins [Tue, 19 Feb 2013 14:47:34 +0000 (14:47 +0000)]
Merge "Modify dhcp agent for agent management extension"

11 years agoUpdate latest OSLO files
Gary Kotton [Tue, 19 Feb 2013 13:48:03 +0000 (13:48 +0000)]
Update latest OSLO files

Change-Id: I17844d2bc5f8255833e8a5b3dc9412041de12826

11 years agoMerge "Add unit test for ryu-agent"
Jenkins [Tue, 19 Feb 2013 13:15:23 +0000 (13:15 +0000)]
Merge "Add unit test for ryu-agent"

11 years agoModify dhcp agent for agent management extension
gongysh [Mon, 18 Feb 2013 08:42:34 +0000 (16:42 +0800)]
Modify dhcp agent for agent management extension

2nd part of blueprint quantum-scheduler

Remove openstack openstack listener on DHCP agent side.
Add DHCPagent notifier on quantum server side.

Change-Id: I196691650a99ba865bf06081a1fc4546f9fac7bd

11 years agoMerge "Metadata support for NVP plugin"
Jenkins [Tue, 19 Feb 2013 11:12:14 +0000 (11:12 +0000)]
Merge "Metadata support for NVP plugin"

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

Change-Id: I61fc6f9782cfe5315034db0072c2fd3617d1e2b1

11 years agoMerge "Add routed-service-insertion"
Jenkins [Mon, 18 Feb 2013 23:34:00 +0000 (23:34 +0000)]
Merge "Add routed-service-insertion"

11 years agoMetadata support for NVP plugin
Salvatore Orlando [Thu, 14 Feb 2013 00:46:43 +0000 (16:46 -0800)]
Metadata support for NVP plugin

Bug #1121119

Allows the NVP plugin to leverage the metadata proxy, by creating an
ad-hoc topology for allowing access to a metadata proxy from a NVP
router leveraging existing agents.

This patch also removes previous code for metadata support in the
NVP plugin, which was based on DHCP Option 121. This is now provided
by the dhcp agent as well.

Change-Id: If37ef388e063f40bb06908ee2f72c431f29dac31

11 years agoMerge "Add an update option to run_tests.sh"
Jenkins [Mon, 18 Feb 2013 17:52:13 +0000 (17:52 +0000)]
Merge "Add an update option to run_tests.sh"

11 years agoAdd routed-service-insertion
Kaiwei Fan [Mon, 4 Feb 2013 03:22:21 +0000 (19:22 -0800)]
Add routed-service-insertion

Extend L3 router to add "service_type_id" attribute, and extend LB vip, pool,
and health_monitor to add "router_id" attribute.

Implements: API and DB model for blueprint routed-service-insertion
Change-Id: I12f053e0b0e6cf0813ea88dd568aae49b09b8215

11 years agoplugin/nec: Make sure resources on OFC is globally unique.
Akihiro MOTOKI [Thu, 31 Jan 2013 04:51:28 +0000 (13:51 +0900)]
plugin/nec: Make sure resources on OFC is globally unique.

Fixes bug 1127664

Network cannot be created in NEC plugin when OFC network ID is
unique inside a tenant. Some OFC implmenetations generate a network
ID unique inside a tenant. In this case generated network IDs on can
be duplicated in system-wide. To fix it, this changes resource ID on
OFC to REST URI to make sure IDs on OFC globally unique.

Fixes bug 1120962

Make sure NEC plugin creates shared networks

In Quantum resource relationship is not limited inside a tenant.
E.g., a non-owner tenant can create a port on a shared network.
To deal with it the provider layer should not be aware of tenants
each resource belongs to even when it has a kind of tenant concept.

This commit changes ofc_manager to pass a parent resource for resource
creation and identify a resouce by REST URI used to access OFC resources.
It decouples Quantum resource access model from OFC resource models.
OFC IDs created before this commit are also looked up.

Primary keys of OFC ID mapping tables are changed to quantum_id because
most of all accesses to these mapping tables are done by quantum_id.
However the current version of alembic does not support changing primary
keys, so new OFC ID mapping tables for tenant, network, port and packet
filter are created. Dropping the previous mapping tables will be done
along with the data migration logic.

This commit also changes the following minor issues.
- Make sure ID on ProgrammableFlow OpenFlow controller (PFC) is less than
  32 chars. The current PFC accepts only 31 chars max as ID and 127 chars
  as a description string.
- Some database accesses created their own session and did not support
  subtransactions. Make sure to use context.session passed from the API layer.
- Removes Unused methods (update_network, update_port) in trema/pfc drivers.

Change-Id: Ib4bb830e5f537c789974fa7b77f06eaeacb65333

11 years agoMerge "Fix SG interface to reflect the reality"
Jenkins [Mon, 18 Feb 2013 07:55:03 +0000 (07:55 +0000)]
Merge "Fix SG interface to reflect the reality"

11 years agoMerge "Agent management extension"
Jenkins [Mon, 18 Feb 2013 07:54:59 +0000 (07:54 +0000)]
Merge "Agent management extension"

11 years agoFix SG interface to reflect the reality
Tomoe Sugihara [Mon, 18 Feb 2013 06:24:55 +0000 (15:24 +0900)]
Fix SG interface to reflect the reality

The signitures of abstract methods in SecurityGroupPluginBase
has diverged from db mixin implementation.
This patch updates the methods to fix the divergence, mainly
by removing update method from the base. Note that there's an
issue for missing update(bug #1124865).

Fixes: bug #1119080
Change-Id: I6631b86ab2fdf4b81ad575e9a8f92dfe041ffe9a
Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>
11 years agoMerge "Need to pass port['port'] to _get_tenant_id_for_create()"
Jenkins [Mon, 18 Feb 2013 04:58:28 +0000 (04:58 +0000)]
Merge "Need to pass port['port'] to _get_tenant_id_for_create()"

11 years agoAdd unit test for ryu-agent
Yoshihiro Kaneko [Thu, 7 Feb 2013 09:47:07 +0000 (18:47 +0900)]
Add unit test for ryu-agent

fixes bug #1118197

This patch adds unit test for ryu-agent.
Also, add the lacking test for the default configuration value.

Change-Id: I742b2a9dfc0706c0307365a3fe9496c3541fcf04

11 years agoAgent management extension
gongysh [Fri, 1 Feb 2013 12:30:12 +0000 (20:30 +0800)]
Agent management extension

1/3 part of blueprint quantum-scheduler

This patch adds agent management support
to l3-agent and plugin-agent (ovs and linuxbridge).

Change-Id: Iebc272f45c7530c995f32ef3729b11cd76779385

11 years agoNeed to pass port['port'] to _get_tenant_id_for_create()
Aaron Rosen [Mon, 18 Feb 2013 02:49:40 +0000 (18:49 -0800)]
Need to pass port['port'] to _get_tenant_id_for_create()

This change set I9ac44a8e moved this logic out of the transaction
which caused this bug. Unit tests did not catch this because
this error is caused on NVP since the tenant_id is passed in as a tag
and this change resulted in the tenant_id becoming None which is not
an allowed tag value. Will improve error handling and edge cases like
this to fake_nvpapiclient in different commit.

Change-Id: Ib0eaab1f389de98b335f58e9215981adbbf9e2ef

11 years agoImprove error handling when nvp and quantum are out of sync
Aaron Rosen [Sun, 17 Feb 2013 00:26:14 +0000 (16:26 -0800)]
Improve error handling when nvp and quantum are out of sync

Previouly when nvp and quantum were out of sync an exception would
be raised notifying the user of this. This patch changes the behavior so that
now when  elements are found in the quantum db but not in NVP they are
put into error state. In addition there error state elements are now able
to be deleted if not found in nvp.

This patch also removes outdated doc strings that seem to keep being adding.

Fixes bug 1127643

Change-Id: I3e79ab7a284e61623cd63fefc3755746b8e4dfd7

11 years agoDecouple helper functions from L3NatDBTestCase
Aaron Rosen [Sun, 17 Feb 2013 23:45:24 +0000 (15:45 -0800)]
Decouple helper functions from L3NatDBTestCase

In order to use the helper functions i.e _create_router in L3NatDBTestCase as
a mixin one needs to also run all the unit tests within L3NatDBTestCase.
These helper functions should be decoupled in the same way that
QuantumDbPluginV2TestCase() is done.

This patch also removes any unused variables within test_l3_plugin.py

Fixes bug 1128505

Change-Id: I2efe8547aeb31d5d9eb7eab6daeb75d9c37e8713

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 18 Feb 2013 00:05:57 +0000 (00:05 +0000)]
Imported Translations from Transifex

Change-Id: Idbce7514b924223d4c7ce682cf1dc2a494881236

11 years agoAdd Migration for nvp-qos extension
Aaron Rosen [Sun, 17 Feb 2013 21:36:27 +0000 (13:36 -0800)]
Add Migration for nvp-qos extension

Fixes bug 1128427

Change-Id: I0e3b62aee5842e86e5a776b54d015f889697efe4

11 years agoMerge "Use oslo-config-2013.1b3"
Jenkins [Sun, 17 Feb 2013 18:51:37 +0000 (18:51 +0000)]
Merge "Use oslo-config-2013.1b3"

11 years agoUse oslo-config-2013.1b3
Mark McLoughlin [Mon, 11 Feb 2013 00:00:19 +0000 (19:00 -0500)]
Use oslo-config-2013.1b3

The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.

Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.

Remove the 'deps = pep8' from tox.ini as it means all the other deps
get installed with easy_install which can't install oslo-config from
the URL.

Retain dummy cfg.py file until keystoneclient middleware has been
updated (I18c450174277c8e2d15ed93879da6cd92074c27a).

Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc

11 years agoShorten the DHCP default resync_interval
Gary Kotton [Sun, 17 Feb 2013 15:46:14 +0000 (15:46 +0000)]
Shorten the DHCP default resync_interval

Fixes bug 1128180

Change-Id: Ie63ef674b5e05fab659e675774a1b25cd57d4c41

11 years agoAdd nvp qos extension
Aaron Rosen [Wed, 13 Feb 2013 22:49:29 +0000 (14:49 -0800)]
Add nvp qos extension

Implements blueprint nvp-qos-extension

Change-Id: I8ad980128407c6ddb57e5f928663e0df15cc0065

11 years agoMerge "Allow nicira plugin to handle multiple NVP API versions"
Jenkins [Sun, 17 Feb 2013 02:32:07 +0000 (02:32 +0000)]
Merge "Allow nicira plugin to handle multiple NVP API versions"

11 years agoMerge "Unable to update port as non-admin nvp plugin"
Jenkins [Sun, 17 Feb 2013 01:01:44 +0000 (01:01 +0000)]
Merge "Unable to update port as non-admin nvp plugin"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 17 Feb 2013 00:56:50 +0000 (00:56 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Add unit tests for Open vSwitch Quantum plugin"
Jenkins [Sun, 17 Feb 2013 00:52:21 +0000 (00:52 +0000)]
Merge "Add unit tests for Open vSwitch Quantum plugin"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 17 Feb 2013 00:05:43 +0000 (00:05 +0000)]
Imported Translations from Transifex

Change-Id: I64b95ea422402e01c25521dc72817bd9ca8c1491

11 years agoUnable to update port as non-admin nvp plugin
Aaron Rosen [Sat, 16 Feb 2013 21:01:29 +0000 (13:01 -0800)]
Unable to update port as non-admin nvp plugin

The port security patch to the nvp plugin broken the ability to update a port
as a non admin user. This patch fixes that and adds a unit test for updating
a port as a non-admin user since there was not one before.

Fixes bug 1127514

Change-Id: I9ac44a8eef14e5beeee020a901615e067ed50fbe

11 years agoUpdate nvplib to use HTTP constants
Serge Maskalik [Thu, 14 Feb 2013 17:08:30 +0000 (09:08 -0800)]
Update nvplib to use HTTP constants

Change-Id: I5afe0796de2387566705d6669834d6bfac87ee8d

11 years agoRename admin_status_up to admin_state_up
Aaron Rosen [Sat, 16 Feb 2013 06:08:10 +0000 (22:08 -0800)]
Rename admin_status_up to admin_state_up

This patch renames all instances of admin_status_up to admin_state_up since
that is the correct name. There was also one instances of this for NVP which
was renamed to admin_status_enabled since that is what the name is in NVP.

Fixes bug 1126966

Change-Id: Ie74bc411082cb2de4d83b947df1f248facbd0d16

11 years agoMerge "Fixed the typo of loadbalancer test case."
Jenkins [Sat, 16 Feb 2013 16:38:12 +0000 (16:38 +0000)]
Merge "Fixed the typo of loadbalancer test case."

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sat, 16 Feb 2013 16:38:00 +0000 (16:38 +0000)]
Merge "Imported Translations from Transifex"

11 years agoFixed the typo of loadbalancer test case.
Jason Zhang [Sat, 16 Feb 2013 01:12:45 +0000 (17:12 -0800)]
Fixed the typo of loadbalancer test case.

Fixes: bug #1123658
Change-Id: I6d7d4c724200c67cb6d8955d1eb6809b8083040c

11 years agoAllow nicira plugin to handle multiple NVP API versions
Salvatore Orlando [Tue, 29 Jan 2013 00:41:53 +0000 (16:41 -0800)]
Allow nicira plugin to handle multiple NVP API versions

Bug #1126352

This patch introduces a simple framework for enabling
nvlib to call the appropriate routine according to the
current version. To this aim, we leverage the 'server' header
which is returned by every NVP API calls (except login/logout).
The patch also accounts for the changes introduced in NVP 3.0

Change-Id: Ief3a6f2b5b99ea33548353ce3bee3fa23e42752f

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 16 Feb 2013 00:05:46 +0000 (00:05 +0000)]
Imported Translations from Transifex

Change-Id: Ifbbea4d7ead429f74940c154db56d7a1146c23be

11 years agoL3 API support for BigSwitch-FloodLight Plugin
Sumit Naiksatam [Wed, 6 Feb 2013 04:25:46 +0000 (20:25 -0800)]
L3 API support for BigSwitch-FloodLight Plugin

In keeping with the philosophy  of the RESTProxy plugin, L3 extension calls
are processed (CRUD of logical resources) and the state changes are proxied
to a backend controller.

A configuration variable specific to the RESTProxy plugin is being added
to identify that particular Quantum server's ID.

blueprint quantum-floodlight-bigswitch-l3

Change-Id: I24be02cd836352497fe5b1e7622d138e0c816377

11 years agoAdd an update option to run_tests.sh
Matthew Treinish [Fri, 15 Feb 2013 20:28:04 +0000 (15:28 -0500)]
Add an update option to run_tests.sh

This commit adds an update option to run_tests.sh. This option
is used to rerun install_venv.py on an already installed venv.
This will then just update out of date packages with pip.

Change-Id: I49a1cbcb62e7f429eca3efe949b8aa90507723c4

11 years agoMerge "Allow tests from test_dhcp_agent run independently"
Jenkins [Fri, 15 Feb 2013 19:17:40 +0000 (19:17 +0000)]
Merge "Allow tests from test_dhcp_agent run independently"

11 years agoAvoid extra query when overlapping IPs are disabled
Salvatore Orlando [Wed, 13 Feb 2013 18:07:24 +0000 (10:07 -0800)]
Avoid extra query when overlapping IPs are disabled

Bug 1124363

Change-Id: I431d19a987e18ec2648d9cb0aad185e5ba68f830

11 years agoAllow tests from test_dhcp_agent run independently
Alessio Ababilov [Fri, 15 Feb 2013 07:52:24 +0000 (09:52 +0200)]
Allow tests from test_dhcp_agent run independently

Some tests from test_dhcp_agent depend on each other
and cannot be run in arbitrary order. TestDhcpAgent
and TestDhcpAgentEventHandler need config options that
are initialized in other tests. This patch eliminates
such dependencies.

Fixes: bug #1125951
Change-Id: I10bc46a5e1244ea0f7a05a20bb162c50303f282e

11 years agoMerge "PLUMgrid quantum plugin"
Jenkins [Fri, 15 Feb 2013 06:13:51 +0000 (06:13 +0000)]
Merge "PLUMgrid quantum plugin"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 15 Feb 2013 05:01:40 +0000 (05:01 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Mark password config options with secret"
Jenkins [Fri, 15 Feb 2013 03:41:18 +0000 (03:41 +0000)]
Merge "Mark password config options with secret"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 15 Feb 2013 00:06:00 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I207276c5598bcf01cc2775727b5290f4fd52c5f9

11 years agoMerge "Add support for extended attributes for extension resources"
Jenkins [Thu, 14 Feb 2013 23:04:00 +0000 (23:04 +0000)]
Merge "Add support for extended attributes for extension resources"

11 years agoMerge "Adds Brocade Plugin implementation"
Jenkins [Thu, 14 Feb 2013 23:03:18 +0000 (23:03 +0000)]
Merge "Adds Brocade Plugin implementation"

11 years agoMark password config options with secret
Michael J Fork [Mon, 4 Feb 2013 15:27:37 +0000 (15:27 +0000)]
Mark password config options with secret

Config object supports masking values when writing out if the secret
flag is set on the option definition.  This change flags all quantum
options containing a password.

Change-Id: I68d9bf80c673acc72db22dc2c6907ee180dcc605

11 years agoAdds Brocade Plugin implementation
Shiv Haris [Wed, 23 Jan 2013 03:33:55 +0000 (03:33 +0000)]
Adds Brocade Plugin implementation

blueprint brocade-quantum-plugin

This plugin is meant to orchestrate Brocade VCS switches
running NOS, examples of these are:
   1. VDX 67xx series of switches
   2. VDX 87xx series of switches

Change-Id: Ia8c91ba0e70d3dc7fa79e7f0e09f869542846954

11 years agoAdd support for extended attributes for extension resources
Kaiwei Fan [Tue, 5 Feb 2013 21:26:08 +0000 (13:26 -0800)]
Add support for extended attributes for extension resources

Removed unsed import from quantum/tests/unit/test_extension_extended_attribute.py
Address comments.
Change update_attributes_map definition/behavior

Fixes: bug #1116664
Change-Id: Idc360f5b3b35fb1d40237e1bbce39684508175cf

11 years agoMerge "Support iptables-based security group in NEC plugin"
Jenkins [Thu, 14 Feb 2013 10:01:51 +0000 (10:01 +0000)]
Merge "Support iptables-based security group in NEC plugin"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 14 Feb 2013 09:41:07 +0000 (09:41 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Persist updated expiration time"
Jenkins [Thu, 14 Feb 2013 06:03:42 +0000 (06:03 +0000)]
Merge "Persist updated expiration time"

11 years agoMerge "Synchronize code from oslo"
Jenkins [Thu, 14 Feb 2013 02:29:11 +0000 (02:29 +0000)]
Merge "Synchronize code from oslo"

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

Change-Id: I004aa8b4c8c2b822ec5a729a75460de7b1227c31

11 years agoSupport iptables-based security group in NEC plugin
Akihiro MOTOKI [Fri, 8 Feb 2013 13:18:33 +0000 (22:18 +0900)]
Support iptables-based security group in NEC plugin

blueprint nec-security-group

This commit also refactors RPC API and callbacks in the plugin and agent
to support security group RPC.

Change-Id: I09d69ca3aff43e0468bbd5df6367de767af27acc

11 years agoPersist updated expiration time
Stephen Gran [Wed, 6 Feb 2013 14:57:57 +0000 (14:57 +0000)]
Persist updated expiration time

Without creating a subtransaction, the database query wasn't actually
being run and the data was being lost.  This resulted in the case that
on termination of long running VMs, the VM IP address was immediately
available for reuse instead of being held as it should have been.

Fixes: bug #1116500
Change-Id: I7774273b8e799d945c27329e9da2dba34e39fdb8
Signed-off-by: Stephen Gran <stephen.gran@guardian.co.uk>
11 years agoSupport advanced validation of dictionaries in the API.
Roman Prykhodchenko [Fri, 25 Jan 2013 15:44:21 +0000 (17:44 +0200)]
Support advanced validation of dictionaries in the API.

This change allows to specify constraints for individual keys in
dictionaries in the specification of the API resources.

Introduces type:dict_or_none validator that allows to skip
validation of a dictionary if a None value was supplied.

Adds constraints for session persistance parameters to the API.

Disables specifying cookie_name for session persistence, if
the type is set to HTTP_COOKIE or SOURCE_IP.

Fixes: bug #1104110
Change-Id: I62068deed449967949eaba9259028c88dd6974f8

11 years agoMerge "Add check for subnet update with conflict gateway and allocation_pools"
Jenkins [Wed, 13 Feb 2013 16:17:47 +0000 (16:17 +0000)]
Merge "Add check for subnet update with conflict gateway and allocation_pools"

11 years agoSynchronize code from oslo
Alessio Ababilov [Tue, 5 Feb 2013 14:01:36 +0000 (16:01 +0200)]
Synchronize code from oslo

Use commit eaab5fae2502198e9fa57d0d90a7204a2bd83b16:
Merge "sort options to make --help output prettier"
(Wed Feb 13 12:52:14 2013 +0000)

Add processutils to quantum since impl_zmq depends on them.

Drop notifier.list_notifier that is not present in oslo.

Change-Id: I91d9ec05481b8c24da9fbee1ad4706ff56a3b7aa
Fixes: bug #1116290
11 years agoAdd check for subnet update with conflict gateway and allocation_pools
mathieu-rohon [Thu, 7 Feb 2013 15:05:22 +0000 (16:05 +0100)]
Add check for subnet update with conflict gateway and allocation_pools

Fixes: bug 1062061
The patch will raise exception 'GatewayConflictWithAllocationPools' when
subnet update with conflict gateway and allocation_pools.

Because before validate gateway ip with conflict allocation pools, we need
validate allocation pools first. Move the validation of allocation pools
into _validate_subnet. Then_allocate_pools_for_subnet is only responsible
for pools allocation, and_validate_subnet is responsible for most validate
for subnet.

Change-Id: I8dffe45ce5c02e8e6c317bad470054564538bcf2

11 years agoAlembic migration script for Loadbalancing service
Roman Prykhodchenko [Mon, 11 Feb 2013 15:49:10 +0000 (17:49 +0200)]
Alembic migration script for Loadbalancing service

Creates tables for:
 * VIPs
 * LB pools
 * Health monitors
 * Members
 * Pool statistics
 * Session persistences
 * Pool-monitor Associations

Change-Id: I96c497a319129eb8a3ce6a1420a38e8efb666b6b
Fixes: bug #1122117
11 years agoMerge "Unused methods in quantum.wsgi clean up"
Jenkins [Wed, 13 Feb 2013 08:27:43 +0000 (08:27 +0000)]
Merge "Unused methods in quantum.wsgi clean up"

11 years agoMerge "Remove cfg option default value and check if missing"
Jenkins [Wed, 13 Feb 2013 08:16:50 +0000 (08:16 +0000)]
Merge "Remove cfg option default value and check if missing"