]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoFix and enable H90x tests
Dirk Mueller [Sun, 9 Jun 2013 11:50:49 +0000 (13:50 +0200)]
Fix and enable H90x tests

Only triggering in few places that are easy
to fix. Start gating on those checks.

Change-Id: Ib4ff23159bd83fd3455b5357d5338fe37ca23fa2

11 years agoMerge "Change lazy='dynamic' to 'joined' in models_v2"
Jenkins [Sun, 9 Jun 2013 09:09:08 +0000 (09:09 +0000)]
Merge "Change lazy='dynamic' to 'joined' in models_v2"

11 years agoMerge "Sync Qpid RPC fix from Oslo"
Jenkins [Sun, 9 Jun 2013 07:54:31 +0000 (07:54 +0000)]
Merge "Sync Qpid RPC fix from Oslo"

11 years agoMerge "Remove generic Exception when using assertRaises"
Jenkins [Sun, 9 Jun 2013 07:54:22 +0000 (07:54 +0000)]
Merge "Remove generic Exception when using assertRaises"

11 years agoChange lazy='dynamic' to 'joined' in models_v2
Aaron Rosen [Wed, 5 Jun 2013 00:19:07 +0000 (17:19 -0700)]
Change lazy='dynamic' to 'joined' in models_v2

Previously several models were defined with lazy='dynamic'. This would
then cause Ports.fixed_ips (or w/e was specified as dynamic) to be defined
as a AppenderQuery object and when accessed would query for the result.
Therefore in get_ports() for example, when fixed_ips was accessed
in _make_port_dict() we would be issuing an addition query to the database
to lookup the fixed_ips information.

This patch changes update_port/subnet() so that it keeps track of what
changed so it does not have to query the db for values it should already
know about.

This patch also adds a unit test for update_subnet() adding host routes
where there was missing code coverage.

Implements blueprint improve-db-performance

Change-Id: I0b2214604042a1fd362cbbf3fd70e31adf0ce279

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 8 Jun 2013 12:11:34 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I2ea142c1e98123806ed3f15e1ab01e1cfd7c64b8

11 years agoMerge "Handle portinfo msg after port deletion in NEC plugin"
Jenkins [Sat, 8 Jun 2013 10:14:55 +0000 (10:14 +0000)]
Merge "Handle portinfo msg after port deletion in NEC plugin"

11 years agoMerge "nicira plugin: load subnet once when adding router interface"
Jenkins [Sat, 8 Jun 2013 06:37:44 +0000 (06:37 +0000)]
Merge "nicira plugin: load subnet once when adding router interface"

11 years agoMerge "Nicira plugin: always fetch lports from correct lswitch"
Jenkins [Sat, 8 Jun 2013 06:33:54 +0000 (06:33 +0000)]
Merge "Nicira plugin: always fetch lports from correct lswitch"

11 years agoMerge "Improve test coverage in NEC plugin"
Jenkins [Sat, 8 Jun 2013 06:30:58 +0000 (06:30 +0000)]
Merge "Improve test coverage in NEC plugin"

11 years agoMerge "Adds support for the Indigo Virtual Switch (IVS)"
Jenkins [Sat, 8 Jun 2013 00:35:42 +0000 (00:35 +0000)]
Merge "Adds support for the Indigo Virtual Switch (IVS)"

11 years agoRemove generic Exception when using assertRaises
Mark McClain [Fri, 7 Jun 2013 00:00:06 +0000 (20:00 -0400)]
Remove generic Exception when using assertRaises

This change fixes errors associated with H202 checks and enables H202
checks.

Change-Id: I28a48d1b58f2f1f6824ee4b45782a0c961fe9fb5

11 years agoSync Qpid RPC fix from Oslo
Ben Nemec [Fri, 7 Jun 2013 16:35:14 +0000 (16:35 +0000)]
Sync Qpid RPC fix from Oslo

Qpid cannot serialize dicts containing strings longer than 65535
characters.  This change syncs the fix from Oslo to Quantum.

Fixes bug 1175808

Change-Id: I48071abffa86e71727deed05aca08ac475cbaf05

11 years agoNicira plugin: always fetch lports from correct lswitch
Salvatore [Fri, 7 Jun 2013 15:08:47 +0000 (17:08 +0200)]
Nicira plugin: always fetch lports from correct lswitch

Bug 1188652

Remove get_logical_port_status which required a lswitch uuid, and
replace it with a call to query_lswitch_ports, which does not
require it.

Change-Id: I6c7d0403f37b2c9fb4332a8d34dcaa9050ced3fc

11 years agoImprove test coverage in NEC plugin
Akihiro MOTOKI [Mon, 20 May 2013 20:07:05 +0000 (05:07 +0900)]
Improve test coverage in NEC plugin

blueprint nec-plugin-test-coverage

This commit adds the following changes in unit tests.
- Unit tests to check communications with the controller in NEC plugin
- Unit tests for nec plugin agent
- Improve coverage of OFC drivers
- Mock the client to talk with the external controller in db.

Change-Id: I2b9ab0480da312ea5e804ca04b543cc144b7e545

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 7 Jun 2013 12:11:13 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I05ca2810f548379c4a2201c8d761904b8bec0ff5

11 years agonicira plugin: load subnet once when adding router interface
Salvatore Orlando [Fri, 7 Jun 2013 10:33:44 +0000 (12:33 +0200)]
nicira plugin: load subnet once when adding router interface

Bug 1188562

This patch ensure subnet is loaded only once from the database.
Also, the port is now loaded from the database only if the
corresponding NVP logical port is found.

Change-Id: I1626c7b61ddc8e785d8ce2e39619da78b20ae61e

11 years agoMerge "Add API mac learning extension for NVP"
Jenkins [Thu, 6 Jun 2013 23:16:46 +0000 (23:16 +0000)]
Merge "Add API mac learning extension for NVP"

11 years agoAdds support for the Indigo Virtual Switch (IVS)
Kevin Benton [Tue, 4 Jun 2013 23:18:58 +0000 (16:18 -0700)]
Adds support for the Indigo Virtual Switch (IVS)

Implements: blueprint ivs-interface-driver

Adds the IVS VIF type to portbindings.py.
Adds the VIF interface class to allow agents to bind to VIF switches.
Adds support to the BigSwitch plugin to request the IVS VIF type on nova compute nodes.
Adds unit tests for new interface class and changes to BigSwitch plugin.

Change-Id: I2fe104000523c60097c22946b0a80dc404dfe273

11 years agoMerge "Fix typo in l3_agent"
Jenkins [Thu, 6 Jun 2013 22:20:50 +0000 (22:20 +0000)]
Merge "Fix typo in l3_agent"

11 years agoAdd API mac learning extension for NVP
armando-migliaccio [Thu, 23 May 2013 05:43:17 +0000 (22:43 -0700)]
Add API mac learning extension for NVP

This commit adds an API extension for NVP where the
NVP supported mac learning feature can be switched
on/off for a specific port. The attribute can be
True or False or omitted altogether.

Implements blueprint nvp-mac-learning-extension

Change-Id: I9173c7dfe0cf4a9ee7b0605722ce7fa01708f5ba

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 6 Jun 2013 09:36:48 +0000 (09:36 +0000)]
Merge "Imported Translations from Transifex"

11 years agoFix typo in l3_agent
Nikolay Sobolevskiy [Thu, 6 Jun 2013 08:44:19 +0000 (12:44 +0400)]
Fix typo in l3_agent

Fix incorrect typo in the option description.

Change-Id: I80b829328cce89c12ce98976d106cf02a82592ab

11 years agoMerge "multi-vendor-support-for-lbaas"
Jenkins [Wed, 5 Jun 2013 22:47:40 +0000 (22:47 +0000)]
Merge "multi-vendor-support-for-lbaas"

11 years agoMerge "Sort NVP supported extensions alphabetically"
Jenkins [Wed, 5 Jun 2013 20:12:29 +0000 (20:12 +0000)]
Merge "Sort NVP supported extensions alphabetically"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 5 Jun 2013 12:12:02 +0000 (12:12 +0000)]
Imported Translations from Transifex

Change-Id: Ied11f335e84c91f87a4344200d12ddff51128ba1

11 years agomulti-vendor-support-for-lbaas
Avishay Balderman [Sun, 5 May 2013 09:22:17 +0000 (02:22 -0700)]
multi-vendor-support-for-lbaas

BluePrint: multi-vendor-support-for-lbaas-step0

This is the first stage in a 3 stages BP

Change-Id: Ic5b2c46c5a74338c3fa14cc991f4420cabd7798e

11 years agoHandle portinfo msg after port deletion in NEC plugin
Akihiro MOTOKI [Tue, 4 Jun 2013 03:37:59 +0000 (12:37 +0900)]
Handle portinfo msg after port deletion in NEC plugin

Fixes bug 1187701

Change-Id: I9c5ef3320ad6e9438dca9ccccf27f4cedfe4ceec

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 5 Jun 2013 07:46:56 +0000 (07:46 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Fix branch in db migration scripts"
Jenkins [Wed, 5 Jun 2013 07:46:53 +0000 (07:46 +0000)]
Merge "Fix branch in db migration scripts"

11 years agoMerge "Add extra details in BigSwitch config"
Jenkins [Wed, 5 Jun 2013 07:46:43 +0000 (07:46 +0000)]
Merge "Add extra details in BigSwitch config"

11 years agoAdd *.swo/swp to .gitignore
Aaron Rosen [Wed, 5 Jun 2013 00:59:56 +0000 (17:59 -0700)]
Add *.swo/swp to .gitignore

I noticed these files weren't being ignored when I accidentally uploaded
one here: https://review.openstack.org/#/c/30648/3

Fixes bug: 1187600

Change-Id: I8570f797e2cc7420dc8a578a9cf68741631cd9f6

11 years agoSort NVP supported extensions alphabetically
armando-migliaccio [Tue, 4 Jun 2013 22:52:29 +0000 (15:52 -0700)]
Sort NVP supported extensions alphabetically

It is easier to read, and makes diff's smaller

Change-Id: I90b6ab566fbc720c4656b70ccbe10c6cc6338d82

11 years agoAdd extra details in BigSwitch config
Lorin Hochstein [Tue, 4 Jun 2013 13:42:00 +0000 (09:42 -0400)]
Add extra details in BigSwitch config

Add some details to some of the BigSwitch configuration options.

The doc team will soon be generating documentation for configuration
options by extracting it directly from the source code help strings,
which is one of the motivations for adding this detail.

Change-Id: I7c694212bee29ac78135a4436633a202a6bba4a2

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 4 Jun 2013 12:12:04 +0000 (12:12 +0000)]
Imported Translations from Transifex

Change-Id: I61bfcf2c69002b8504bbc0f9684ced94fde16dce

11 years agoNEC plugin: Ensure to delete portinfo when port_removed RPC.
Akihiro MOTOKI [Tue, 4 Jun 2013 03:45:23 +0000 (12:45 +0900)]
NEC plugin: Ensure to delete portinfo when port_removed RPC.

Fixes bug #1187249

Change-Id: Iaccfd1d4918df5dc4ba1c0478689fd4c833da7b3

11 years agoMerge "Add execute file mode bits to quantum-mlnx-agent"
Jenkins [Mon, 3 Jun 2013 20:31:07 +0000 (20:31 +0000)]
Merge "Add execute file mode bits to quantum-mlnx-agent"

11 years agoMerge "Add InvalidExternalNetwork exception to display correct error"
Jenkins [Mon, 3 Jun 2013 20:31:04 +0000 (20:31 +0000)]
Merge "Add InvalidExternalNetwork exception to display correct error"

11 years agoMerge "DbQuotaDriver allows negative quotas to be set."
Jenkins [Mon, 3 Jun 2013 17:57:32 +0000 (17:57 +0000)]
Merge "DbQuotaDriver allows negative quotas to be set."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 3 Jun 2013 12:12:05 +0000 (12:12 +0000)]
Imported Translations from Transifex

Change-Id: Ie69e21dda6d8d0f365e08a04a78226f07f2feb24

11 years agoAdd execute file mode bits to quantum-mlnx-agent
Jian Wen [Mon, 3 Jun 2013 03:17:36 +0000 (11:17 +0800)]
Add execute file mode bits to quantum-mlnx-agent

chmod a+x bin/quantum-mlnx-agent

Change-Id: I363e4e1ab43925964b5da866ec8843317c43dbcb

11 years agoMerge "Rename README to README.rst"
Jenkins [Mon, 3 Jun 2013 02:30:53 +0000 (02:30 +0000)]
Merge "Rename README to README.rst"

11 years agoMerge "Port profile should not mark vlan as native-vlan"
Jenkins [Mon, 3 Jun 2013 02:03:45 +0000 (02:03 +0000)]
Merge "Port profile should not mark vlan as native-vlan"

11 years agoMerge "Add rollback for Cisco plugin update_port failure"
Jenkins [Mon, 3 Jun 2013 02:03:42 +0000 (02:03 +0000)]
Merge "Add rollback for Cisco plugin update_port failure"

11 years agoMerge "python3: Introduce py33 to tox.ini"
Jenkins [Sun, 2 Jun 2013 15:17:50 +0000 (15:17 +0000)]
Merge "python3: Introduce py33 to tox.ini"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 2 Jun 2013 12:12:19 +0000 (12:12 +0000)]
Imported Translations from Transifex

Change-Id: I26ef92286c40267918e3990a4c2970731bf3bc17

11 years agoFix branch in db migration scripts
Jian Wen [Sun, 2 Jun 2013 01:13:22 +0000 (09:13 +0800)]
Fix branch in db migration scripts

Fixes bug 1186113

Change-Id: I1ab661a8767004489226c8107b84fef05a3e34cc

11 years agopython3: Introduce py33 to tox.ini
Chuck Short [Sun, 2 Jun 2013 00:34:17 +0000 (19:34 -0500)]
python3: Introduce py33 to tox.ini

Introduce py33 to tox.ini to make testing with
python3 easier.

Change-Id: I6cf924921e3595baac94ae1567cb2bd68457377e
Signed-off-by: Chuck Short <chuck.short@canonical.com>
11 years agoPort profile should not mark vlan as native-vlan
Shiv Haris [Sat, 1 Jun 2013 17:54:30 +0000 (10:54 -0700)]
Port profile should not mark vlan as native-vlan

Change-Id: I0b117ad8a3761e8f8ae59ae21fb68bbc3303b35b
Fixes: bug 1186461
11 years agoMerge "Enable router extension in Brocade Plugin"
Jenkins [Sat, 1 Jun 2013 16:30:41 +0000 (16:30 +0000)]
Merge "Enable router extension in Brocade Plugin"

11 years agoRename README to README.rst
Dirk Mueller [Fri, 31 May 2013 10:00:26 +0000 (12:00 +0200)]
Rename README to README.rst

README.rst seems to be more standard accross OpenStack
modules. Also add it to the manifest. Fix a typo
in the manifest.

Fixes: LP Bug #1186518
Change-Id: Ib04f44a1186d3793f5fca39c0c29d74a78a52faf

11 years agoAdd rollback for Cisco plugin update_port failure
Dane LeBlanc [Fri, 17 May 2013 15:42:59 +0000 (11:42 -0400)]
Add rollback for Cisco plugin update_port failure

Fixes bug 1174433

This fix adds a rollback of the OVS plugin update_port operation
following a failure to update the port in the Cisco Nexus sub-plugin.

Also, this fix removes an unneccessary call to the Nexus sub-plugin's
update_network method within the Cisco plugin model layer's
update_network method (as well as the associated argument setup).
The Nexus sub-plugin's update_network is a no-op, so there's no
need to call it.

Change-Id: I10cba0d7f1d632c7f77eb6c4a94ea82b958bc6a2

11 years agoMerge "Sphinx-ify QuantumPluginBaseV2 docstrings"
Jenkins [Fri, 31 May 2013 19:53:30 +0000 (19:53 +0000)]
Merge "Sphinx-ify QuantumPluginBaseV2 docstrings"

11 years agoEnable router extension in Brocade Plugin
Shiv Haris [Thu, 30 May 2013 23:43:06 +0000 (16:43 -0700)]
Enable router extension in Brocade Plugin

Fixes: bug 1166516
Change-Id: Ia3be25b9cdc21b217200997d1a447dccf8549d64

11 years agoMerge "Add L3 resources to policy.json"
Jenkins [Fri, 31 May 2013 14:51:15 +0000 (14:51 +0000)]
Merge "Add L3 resources to policy.json"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 31 May 2013 14:29:03 +0000 (14:29 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Make MidoNet plugin code more testable"
Jenkins [Fri, 31 May 2013 14:28:59 +0000 (14:28 +0000)]
Merge "Make MidoNet plugin code more testable"

11 years agoMerge "Fix typo"
Jenkins [Fri, 31 May 2013 14:28:55 +0000 (14:28 +0000)]
Merge "Fix typo"

11 years agoSphinx-ify QuantumPluginBaseV2 docstrings
Lorin Hochstein [Sun, 26 May 2013 20:42:21 +0000 (16:42 -0400)]
Sphinx-ify QuantumPluginBaseV2 docstrings

The quantum.quantum_plugin_base_v2 module had some good docstrings,
but there was no corresponding sphinx code that would generate
docs from them. There were also some syntax issues with the
sphinx markup in the docstrings.

This change adds sphinx directives so these docs will be auto-
generated. It also modifies the docstrings in the QuantumPluginBaseV2
methods so they are parsed by the Sphinx documentation generator
without any errors.

If this patch is accepted, a "Plugin API" link to these docs
will appear at

http://docs.openstack.org/developer/quantum/

Fixes bug 1186255

Change-Id: I96eddcc516d109766d7f4c52edd595748696b595

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 31 May 2013 12:12:09 +0000 (12:12 +0000)]
Imported Translations from Transifex

Change-Id: I9ad53953b1902c2538fe6888773ea0d7811371d3

11 years agoMerge "Control resource extension process defining required extensions"
Jenkins [Fri, 31 May 2013 08:08:37 +0000 (08:08 +0000)]
Merge "Control resource extension process defining required extensions"

11 years agoMerge "Fix Cisco nexus plugin failure for first VLAN on phy interface"
Jenkins [Fri, 31 May 2013 08:03:53 +0000 (08:03 +0000)]
Merge "Fix Cisco nexus plugin failure for first VLAN on phy interface"

11 years agoMerge "Fix pool update error in lbaas"
Jenkins [Fri, 31 May 2013 08:03:49 +0000 (08:03 +0000)]
Merge "Fix pool update error in lbaas"

11 years agoMerge "Rename requires files to standard names."
Jenkins [Fri, 31 May 2013 04:59:50 +0000 (04:59 +0000)]
Merge "Rename requires files to standard names."

11 years agoAdd L3 resources to policy.json
Aaron Rosen [Fri, 31 May 2013 02:33:55 +0000 (19:33 -0700)]
Add L3 resources to policy.json

This patch adds the l3 resources to policy.json. I tested changing the
rule to rule:admin_only for all the resources added and they were
enforced as expected.

Fixes bug 1186077

Change-Id: Ib5e2879165d9dc6416be4c96c62d6e49452d3be5

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 30 May 2013 23:09:10 +0000 (23:09 +0000)]
Merge "Imported Translations from Transifex"

11 years agoRename requires files to standard names.
Zhenguo Niu [Thu, 30 May 2013 05:36:22 +0000 (13:36 +0800)]
Rename requires files to standard names.

Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.

Fixes: bug #1179008
Change-Id: I6f8a11988982133249d443403f63b4f8724e156e

11 years agoFix Cisco nexus plugin failure for first VLAN on phy interface
Dane LeBlanc [Fri, 10 May 2013 21:54:04 +0000 (17:54 -0400)]
Fix Cisco nexus plugin failure for first VLAN on phy interface

Fixes bug 1174852

This fix changes the command being sent to the Nexus switch for
enabling a VLAN on an interface such that the 'add' keyword is
included only when there are prior VLANs already enabled on that
interface.

Change-Id: I466bcb839912b164b84be0e6721d87206c0e53eb

11 years agoAlign default value notation in configuration files
Gary Kotton [Thu, 30 May 2013 08:07:38 +0000 (08:07 +0000)]
Align default value notation in configuration files

Fixes bug 1185712

Change-Id: Id17779f8f464fcaf36bbab9f84c29e35d86214b7

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 30 May 2013 12:12:24 +0000 (12:12 +0000)]
Imported Translations from Transifex

Change-Id: I1927741396e5f4ab237267fd2cc72d19acc0481e

11 years agoFix pool update error in lbaas
Eugene Nikanorov [Thu, 30 May 2013 08:25:16 +0000 (12:25 +0400)]
Fix pool update error in lbaas

fixes bug 1185687

Do not notify namespace agent of modified pool
if pool doesn't have vip

Change-Id: Ibe3399aaa145d19fc758f08adb51c7ffefa5bb3a

11 years agoMerge "Fix ml2 stack trace when logging."
Jenkins [Thu, 30 May 2013 07:00:03 +0000 (07:00 +0000)]
Merge "Fix ml2 stack trace when logging."

11 years agoMerge "Refactor db_base_plugin_v2 and to remove code duplication"
Jenkins [Thu, 30 May 2013 01:19:14 +0000 (01:19 +0000)]
Merge "Refactor db_base_plugin_v2 and to remove code duplication"

11 years agoFix ml2 stack trace when logging.
Bob Kukura [Wed, 29 May 2013 22:18:41 +0000 (18:18 -0400)]
Fix ml2 stack trace when logging.

Change-Id: I8bbf6edd3e526483e7f04e3eeeea571a660235fa

11 years agoMerge "Initial Modular L2 plugin implementation."
Jenkins [Wed, 29 May 2013 17:21:04 +0000 (17:21 +0000)]
Merge "Initial Modular L2 plugin implementation."

11 years agoFix typo
Sean M. Collins [Tue, 28 May 2013 17:57:09 +0000 (13:57 -0400)]
Fix typo

Change-Id: I83bdbd5d58a217d616bb2bb68f82ef6586d7b715

11 years agoDbQuotaDriver allows negative quotas to be set.
Stephen Ma [Sat, 11 May 2013 03:24:55 +0000 (20:24 -0700)]
DbQuotaDriver allows negative quotas to be set.

Bug 1178886

Change-Id: I06ece65c2d77b8258bb871bb396edc5c145c383a

11 years agoMerge "Configurable external gateway modes"
Jenkins [Wed, 29 May 2013 14:40:59 +0000 (14:40 +0000)]
Merge "Configurable external gateway modes"

11 years agoMerge "Remove unnecessary checks for MultipleResultsFound"
Jenkins [Wed, 29 May 2013 13:31:28 +0000 (13:31 +0000)]
Merge "Remove unnecessary checks for MultipleResultsFound"

11 years agoInitial Modular L2 plugin implementation.
Bob Kukura [Fri, 5 Oct 2012 15:50:39 +0000 (11:50 -0400)]
Initial Modular L2 plugin implementation.

The Modular L2 Plugin uses drivers to support separately extensible
sets of network types and of mechanisms for accessing networks of
those types. This is an initial implementation that has been tested
with the openvswitch and linuxbridge agents, and should also work with
the hyperv agent. See quantum/plugins/ml2/README for details.

Implements: blueprint modular-l2
Change-Id: Ia8cae480180f0990af7d5e5e56f29eaeac205e0e

11 years agoMerge "Revert dependency on oslo.config 1.2.0"
Jenkins [Wed, 29 May 2013 11:00:38 +0000 (11:00 +0000)]
Merge "Revert dependency on oslo.config 1.2.0"

11 years agoRemove unnecessary checks for MultipleResultsFound
Eugene Nikanorov [Wed, 29 May 2013 08:38:29 +0000 (12:38 +0400)]
Remove unnecessary checks for MultipleResultsFound

fixes bug 1185080

MultipleResultsFound exception is never thrown because model
queries are filtered by their primary key.

Change-Id: Id4a4ff84e134d3f1d177509193c4a14f830dfcc9

11 years agoMerge "Add sqlalchemy_pool_size option to default config files"
Jenkins [Wed, 29 May 2013 08:12:30 +0000 (08:12 +0000)]
Merge "Add sqlalchemy_pool_size option to default config files"

11 years agoMerge "Use exec_dirs for rootwrap commands"
Jenkins [Wed, 29 May 2013 08:12:27 +0000 (08:12 +0000)]
Merge "Use exec_dirs for rootwrap commands"

11 years agoRevert dependency on oslo.config 1.2.0
Mark McLoughlin [Tue, 28 May 2013 20:51:09 +0000 (21:51 +0100)]
Revert dependency on oslo.config 1.2.0

Fixes bug #1185174

This reverts commit b8b2c4e2f13345362bd7f8da2fb7 and 956b873.

We don't yet have the infrastructure in place to use latest oslo.config
in the gate or even get the correct metadata for it in our packaging.

The gory details are here:

  http://lists.openstack.org/pipermail/openstack-dev/2013-May/009586.html

Change-Id: Idf89ca418df158e6f94279c9c5fa44f23073a9d7

11 years agoAdd sqlalchemy_pool_size option to default config files
Aaron Rosen [Wed, 29 May 2013 03:38:31 +0000 (20:38 -0700)]
Add sqlalchemy_pool_size option to default config files

This patch exposes the sqlalchemy_pool_size option to config files of
plugins that already expose sql_ options besides sql_connection.

Fixes bug 1185260

Change-Id: Ifaff02fae5e5349efb992c071adc0b02f10d61a7

11 years agoMerge "metadata proxy will use syslog as default log"
Jenkins [Wed, 29 May 2013 00:11:09 +0000 (00:11 +0000)]
Merge "metadata proxy will use syslog as default log"

11 years agoFix update_port() so that it's done within the transaction
Aaron Rosen [Tue, 28 May 2013 19:49:20 +0000 (12:49 -0700)]
Fix update_port() so that it's done within the transaction

Fixes bug 1185152

Change-Id: I192991650a3562c73af550ec2288d1285412825c

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 28 May 2013 12:12:04 +0000 (12:12 +0000)]
Imported Translations from Transifex

Change-Id: Ie111c1f365640b62dbc21700c082a0a77ff91cc2

11 years agoUse exec_dirs for rootwrap commands
Dirk Mueller [Sat, 18 May 2013 15:06:30 +0000 (17:06 +0200)]
Use exec_dirs for rootwrap commands

Avoid depending on platform specific paths for rootwrap
by using exec_dirs in rootwrap. Fixes rootwrap configuration
for SUSE.

Fixes bug #1156044

Change-Id: I54d082c543fd84b40db0caa3571300ac0bb07b57

11 years agoRefactor db_base_plugin_v2 and to remove code duplication
Eugene Nikanorov [Tue, 28 May 2013 07:45:25 +0000 (11:45 +0400)]
Refactor db_base_plugin_v2 and to remove code duplication

fixes bug 1104379

Introduce CommonDbMixin which includes utility methods
to manipulate model queries.

Change-Id: Ib3602321328cbf945358e0581ecc649e3f69d196

11 years agoMerge "Add support for OVS l2 agent in XS/XCP domU."
Jenkins [Tue, 28 May 2013 03:44:29 +0000 (03:44 +0000)]
Merge "Add support for OVS l2 agent in XS/XCP domU."

11 years agoControl resource extension process defining required extensions
Salvatore [Wed, 15 May 2013 13:05:30 +0000 (15:05 +0200)]
Control resource extension process defining required extensions

Blueprint l3-ext-gw-modes

The resource extension process is slightly altered so that an
API extension can specify which extensions should be processed before
its attributes can be processed. This is needed to ensure the
l3-ext-gw-mode API extension sets up correctly validators and other
attributes for the external_gateway_info attribute

Change-Id: I7c05746e67b1324a73082dde8b5c862d631c083c

11 years agoConfigurable external gateway modes
Salvatore Orlando [Mon, 18 Feb 2013 09:57:39 +0000 (10:57 +0100)]
Configurable external gateway modes

Blueprint l3-ext-gw-modes

This patch introduces an API extension for enabling or disabling
source/destination NAT on the router gateway interface, and implements
support for this extension in the l3 agent, which has also been
refactored in order to ensure SNAT rules are applied (or removed)
in a single place in the process_router routine.
The patch therefore enables the extension on all plugins which
leverage this agent.
In this patch the validate_boolean function is re-introduced, as it
used for validating a field of the external_gateway_info dict.
The resource extension process is also slightly changed so that an
API extension can specify which extension should be processed before
its attributes can be processed. This is needed to ensure the
proper validator for external_gateway_info is installed.

Change-Id: Ia80cb56135229366b1706dd3c6d366e40cde1500

11 years agoMake MidoNet plugin code more testable
Ryu Ishimoto [Mon, 25 Feb 2013 16:34:46 +0000 (01:34 +0900)]
Make MidoNet plugin code more testable

Refactor plugin.py and midonet_lib.py to improve unit testing of
the MidoNet plugin.  Make all the tests pass in the plugin except
those that test features that are not currently supported by the
plugin, which are IPv6 and multiple subnets per network.
Consolidate the mocking code in mock_lib.py to be shared by
plugin.py and midonet_lib.py.

Change-Id: Idcdfc3d90d5ec9e0be29bb6833d336af596fe363
Fixes: bug #1133215
Signed-off-by: Ryu Ishimoto <ryu@midokura.com>
Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>
11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 27 May 2013 12:12:08 +0000 (12:12 +0000)]
Imported Translations from Transifex

Change-Id: Ib68cbb1f513ced852c91f19d3cad1976bd8ea28d

11 years agoMerge "Ensure API extensions for NVP are loaded by default"
Jenkins [Mon, 27 May 2013 00:12:26 +0000 (00:12 +0000)]
Merge "Ensure API extensions for NVP are loaded by default"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 26 May 2013 23:07:18 +0000 (23:07 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Added conversion specifier for proper log"
Jenkins [Sun, 26 May 2013 12:31:16 +0000 (12:31 +0000)]
Merge "Added conversion specifier for proper log"

11 years agoMerge "Nicira plugin: List ports on network gateways"
Jenkins [Sun, 26 May 2013 12:31:13 +0000 (12:31 +0000)]
Merge "Nicira plugin: List ports on network gateways"