]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
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 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 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 agoImported Translations from Transifex
OpenStack Jenkins [Mon, 26 Aug 2013 06:20:37 +0000 (06:20 +0000)]
Imported Translations from Transifex

Change-Id: I9300e32b84f02492c8cf32cfff65f3eb207672d5

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

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

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

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

Change-Id: Iec84d6c1aced5c2cbd976f899811396f9f9e6753

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

Bug 1215871

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

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

Change-Id: Ia9ed320ea775fc548e6a5b711c67c9f3b0ae2f6d

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

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

fixes bug 1215350

Change-Id: I148d37f2a1c2a340327d36c240eb8173aee9219a

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

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

Fixes bug #1215583

Change-Id: Ic876c6bccaf94cae626dfc908c4a34dfbcead406

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

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

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

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

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

Change-Id: I1dfe74f96680c2c6fe4d8d4aac4821c6b020c005
Closes-Bug: #1196963

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

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

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

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

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

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

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

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

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

Change-Id: Iefa4b251f3b0a373fb9b2b7d576e14d58afece59
Fixes-Bug: #1214873

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

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

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

Closes-Bug: #1214921

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

Change-Id: I0b35f25c1845d02f8b9b3cd8c759920d52003c0c

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

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

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

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

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

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

Completes blueprint make-authz-orthogonal

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

Change-Id: Ie99f5fa6ad4a9568b050827bc479a62dd40e18ac

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

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

Closes-Bug: #1213930

Change-Id: I9a88f4dc7b771047f4061fb94ba65f0515afa745

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

Change-Id: I9112615ea4700ea15f85fdb3ef82812dac4df14b

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

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

Fixes bug: #1214476

Change-Id: I0fe22c526710e69ae0731e7d0b42170e6f3a8523

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

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

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

Change-Id: I3c70fb2426899f728a401566debab7f66e7246bc

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

Change-Id: Ieb6126fe80f71a5c44434861d65b6a1c97957eed
Closes-Bug: #1214497

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

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

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

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

Change-Id: Ie1d6b2c1f158609b9bb58aedec542060ce2cd2e7

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

11 years agoAdd ext-gw-mode support to ML2
Francois Eleouet [Fri, 16 Aug 2013 11:24:20 +0000 (13:24 +0200)]
Add ext-gw-mode support to ML2

Closes-Bug: #1212772

ML2 doesn't support ext-gw-mode, resulting in L3 agents not
setting-up NAT rules in neutron routers (currently, l3 agents
will assume enable_snat=false if plugin doesn't provide this
parameter as described in bug 1212868)

This patchset adds the support of ext-gw-mode to ML2 plugin.

In order to support ext-gw-mode alembic migration (as well as
other potential migrations on plugin dbs), folsom_initial
migration script is fixed to include ML2 plugin. Otherwise
databases won't be set-up during migration script (but at
plugin startup by sqlalchemy), resulting in migration failures.

Change-Id: I95ec18e0a4f0e5b661f3a5d679c434f18f100fa6

11 years agoMerge "Ensure nvp resources are tagged with an up-to-date version of Neutron"
Jenkins [Mon, 19 Aug 2013 17:34:50 +0000 (17:34 +0000)]
Merge "Ensure nvp resources are tagged with an up-to-date version of Neutron"

11 years agoMerge "Enable SNAT by default in L3 agents"
Jenkins [Mon, 19 Aug 2013 16:20:57 +0000 (16:20 +0000)]
Merge "Enable SNAT by default in L3 agents"

11 years agoMerge "Set BigSwitch plugin to use existing host database model"
Jenkins [Mon, 19 Aug 2013 16:17:15 +0000 (16:17 +0000)]
Merge "Set BigSwitch plugin to use existing host database model"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 19 Aug 2013 16:16:40 +0000 (16:16 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Fix wrong example in HACKING.rst"
Jenkins [Mon, 19 Aug 2013 15:34:26 +0000 (15:34 +0000)]
Merge "Fix wrong example in HACKING.rst"

11 years agoFix typos and code style check
ZhiQiang Fan [Sun, 18 Aug 2013 03:58:41 +0000 (11:58 +0800)]
Fix typos and code style check

In neutron/api/extensions.py, there are some typos, no needed blank
lines and docstrings can be improved (according to HACKING.rst).

Closes-Bug: #1213541

Change-Id: I01087d133e1b2a7e69f0bcc2ae359a3a2042b1dc

11 years agoSyslog support for neutron metadata proxy
Li Ma [Tue, 13 Aug 2013 16:33:28 +0000 (09:33 -0700)]
Syslog support for neutron metadata proxy

When neutron metadata proxy reads the cli args
which are propagated from its parent processes
(l3-agent and dhcp-agent), if log-dir and log-file
are not defined in the context, it will also
double-check whether syslog is enabled and
its facility in the user-defined configuration
files (/etc/neutron).
As a result, the log behavior of each neutron
component becomes consistent.
File log is the default logging function. The syslog
is enabled when use_syslog is explicitly defined and
file log options are all disabled.

Fixes: bug #1184500
Change-Id: I7804fa8794071d21513e068d084607691215522f

11 years agoUpdate mailmap
lawrancejing [Sat, 17 Aug 2013 20:16:39 +0000 (04:16 +0800)]
Update mailmap

Update mailmap and keep this file
in alphabetical order.

Change-Id: I657b83202de3fdf6f4624567dfa8a53ca3ea5b39

11 years agoEnable SNAT by default in L3 agents
Francois Eleouet [Fri, 16 Aug 2013 11:24:20 +0000 (13:24 +0200)]
Enable SNAT by default in L3 agents

If ext-gw-mode extension isn't supported by plugin, it won't
return enable_snat param in router info. Agent will currently
default to enable_snat = false, which changes from expected
default behaviour prior to ext-gw-mode introduction.

This patch changes L3 agent to enable SNAT by default if plugin
doesn't support ext-gw-mode extension.

Change-Id: I35e8f8c20392bff9ac2f875f2c9a1038ab06ad7b
Closes-Bug: #1212868

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 19 Aug 2013 06:14:59 +0000 (06:14 +0000)]
Imported Translations from Transifex

Change-Id: Ib9d5a27121f3b0bfa269ccbdd15cec0e42ffe3bc

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 19 Aug 2013 01:21:17 +0000 (01:21 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Fixes Windows setup dependency bug"
Jenkins [Sun, 18 Aug 2013 22:30:13 +0000 (22:30 +0000)]
Merge "Fixes Windows setup dependency bug"

11 years agoSet BigSwitch plugin to use existing host database model
Kevin Benton [Tue, 13 Aug 2013 01:11:09 +0000 (18:11 -0700)]
Set BigSwitch plugin to use existing host database model

The BigSwitch plugin had a data model duplicating one
that was recently added into the base portbindings db
file. This patch removes the BigSwitch model and
updates the BigSwitch plugin to reference the plugin-
agnostic model.

Fixes: bug #1211641
Change-Id: I1fdbf8690e71fb2d6e9d6a6dbd0571fa2c32a7e0

11 years agoFix wrong example in HACKING.rst
ZhiQiang Fan [Sun, 18 Aug 2013 06:17:40 +0000 (14:17 +0800)]
Fix wrong example in HACKING.rst

Example of Human Alphabetical Order Examples section in HACKING.rst
is wrong, this patch fixes it to the right order.

Closes-Bug: #1213568

Change-Id: Ib7f8baf20c437c3fa776201998c36f33bdde2f78

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

Change-Id: I9cb3808aa3ff8daae6897b409942458776dbf63b

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 17 Aug 2013 06:14:51 +0000 (06:14 +0000)]
Imported Translations from Transifex

Change-Id: I8889ccd7b9ae63776cb853e97185c1c23742e040

11 years agoEnsure nvp resources are tagged with an up-to-date version of Neutron
armando-migliaccio [Fri, 16 Aug 2013 20:58:46 +0000 (13:58 -0700)]
Ensure nvp resources are tagged with an up-to-date version of Neutron

This is made possible by using version.version_info

Fixes bug #1213242

Change-Id: Iad75f7c6f6c045a2f473388529174cf02f413899

11 years agoMerge "Fix case error in qpid exchange name. s/Direct/direct/"
Jenkins [Fri, 16 Aug 2013 20:57:00 +0000 (20:57 +0000)]
Merge "Fix case error in qpid exchange name.  s/Direct/direct/"

11 years agoMerge "Bumps hacking to 0.7.0"
Jenkins [Fri, 16 Aug 2013 19:36:02 +0000 (19:36 +0000)]
Merge "Bumps hacking to 0.7.0"

11 years agoMerge "Revert "Refactor configuring of floating ips on a router.""
Jenkins [Fri, 16 Aug 2013 19:31:49 +0000 (19:31 +0000)]
Merge "Revert "Refactor configuring of floating ips on a router.""

11 years agoMerge "Returns 503 if the NVP cluster is in maintenance mode"
Jenkins [Fri, 16 Aug 2013 18:40:27 +0000 (18:40 +0000)]
Merge "Returns 503 if the NVP cluster is in maintenance mode"

11 years agoMerge "Handle nvp default l3 gw service misconfiguration appropriately"
Jenkins [Fri, 16 Aug 2013 17:49:48 +0000 (17:49 +0000)]
Merge "Handle nvp default l3 gw service misconfiguration appropriately"

11 years agoMerge "Include PLUMgrid plugin in some alembic migration files"
Jenkins [Fri, 16 Aug 2013 17:41:27 +0000 (17:41 +0000)]
Merge "Include PLUMgrid plugin in some alembic migration files"

11 years agoRevert "Refactor configuring of floating ips on a router."
Nachi Ueno [Fri, 16 Aug 2013 17:17:48 +0000 (10:17 -0700)]
Revert "Refactor configuring of floating ips on a router."

This patch breaks gating job.
Because nat rule for metadata will be only added on the
router_add.
Revert it for now.

Fixes bug 1211829
This reverts commit 9382ee659212285a203550cf60476dd146d27a29.

Change-Id: I05925798cddc7a706e922025ef6ce27b6638ffb6

11 years agoMerge "Fixes typos in midonet_lib.py"
Jenkins [Fri, 16 Aug 2013 16:48:28 +0000 (16:48 +0000)]
Merge "Fixes typos in midonet_lib.py"

11 years agoFix case error in qpid exchange name. s/Direct/direct/
David Ripton [Fri, 16 Aug 2013 14:19:59 +0000 (10:19 -0400)]
Fix case error in qpid exchange name.  s/Direct/direct/

Fixes bug #1211338

(This is a minimal merge of just oslo-incubator bec54ac5 and
no other oslo changes.)

Change-Id: I129f9486f13be91868824e0e0534c4760d50589b

11 years agoFix ML2 VXLAN TypeDriver DB migration
Kyle Mestery [Fri, 16 Aug 2013 09:19:25 +0000 (09:19 +0000)]
Fix ML2 VXLAN TypeDriver DB migration

The migration for the ML2 VXLAN TypeDriver was incorrectly setting
primary key attributes on separate lines for 'ip_address' and
'udp_port'. Also, a primary key cannot have autoincrement set, so
add this to 'udp_port' as well.

Fixes bug 1213134

Change-Id: I0b2e2685bf524dd9c0333ac4511287ad6a5eb87e

11 years agoBumps hacking to 0.7.0
Zhongyue Luo [Fri, 16 Aug 2013 06:23:14 +0000 (14:23 +0800)]
Bumps hacking to 0.7.0

Change-Id: Ibdb816cd2cb6a221236a8294808fd41b3e417570

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

Change-Id: I2fa289226749646eb37c14dd8719e54584141a04

11 years agoremove binaries under bin
Yong Sheng Gong [Wed, 10 Jul 2013 10:38:21 +0000 (18:38 +0800)]
remove binaries under bin

bp: remove-bin-directory

There are some binaries which are expected to run in branch, so
we have to keep them there now.

Change-Id: I5134d975cbd69f929a325ab80a6d19ce1f122656

11 years agoFixes typos in midonet_lib.py
Zhongyue Luo [Fri, 16 Aug 2013 00:49:06 +0000 (08:49 +0800)]
Fixes typos in midonet_lib.py

Fixes bug #1212898

Change-Id: I688de064947b0079153bd3c5e5376e8b16a7d5c1

11 years agoMerge "Fixes files with wrong bitmode"
Jenkins [Thu, 15 Aug 2013 22:08:48 +0000 (22:08 +0000)]
Merge "Fixes files with wrong bitmode"

11 years agoMerge "Unify exception thrown in l3-agent-scheduler fails"
Jenkins [Thu, 15 Aug 2013 21:42:24 +0000 (21:42 +0000)]
Merge "Unify exception thrown in l3-agent-scheduler fails"

11 years agoMerge "Remove long db transaction for metadata access network"
Jenkins [Thu, 15 Aug 2013 21:42:15 +0000 (21:42 +0000)]
Merge "Remove long db transaction for metadata access network"

11 years agoMerge "Do not call remove_router_lport in remove_router_interface"
Jenkins [Thu, 15 Aug 2013 21:42:06 +0000 (21:42 +0000)]
Merge "Do not call remove_router_lport in remove_router_interface"

11 years agoFixes Windows setup dependency bug
alexpilotti [Thu, 15 Aug 2013 16:49:31 +0000 (19:49 +0300)]
Fixes Windows setup dependency bug

Fixes bug: #1212385

The neutron project includes a setup hook that allows to dinamically
include setup dependencies.

Due to recent changes in the pbr project, the hook raises an exception
on Windows, which ends the setup process.

This fix solves the issue by adapting the hook to the recent pbr changes.

Change-Id: I4b00d74d23a7167a10ba86458943ff16ca51b0db

11 years agoMerge "Mock os.makdirs to avoid directory creation in unit tests"
Jenkins [Thu, 15 Aug 2013 18:21:22 +0000 (18:21 +0000)]
Merge "Mock os.makdirs to avoid directory creation in unit tests"

11 years agoInclude PLUMgrid plugin in some alembic migration files
Edgar Magana [Fri, 9 Aug 2013 01:35:52 +0000 (18:35 -0700)]
Include PLUMgrid plugin in some alembic migration files

Fixes bug# 1210348

Change-Id: I8d33d2c8f0849afdd3ebda5297b4064858132c9b

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 15 Aug 2013 17:05:46 +0000 (17:05 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Fixes typos in comments"
Jenkins [Thu, 15 Aug 2013 14:23:53 +0000 (14:23 +0000)]
Merge "Fixes typos in comments"

11 years agoFixes typos in comments
Hui HX Xiang [Wed, 14 Aug 2013 06:52:56 +0000 (23:52 -0700)]
Fixes typos in comments

Correct some spelling mistakes in comments.
l3_db.py
db_base_plugin_v2.py

Change-Id: I79f2b1b1935ca3805bb1c90c09e5d16f32b165ae

11 years agoUnify exception thrown in l3-agent-scheduler fails
Jaume Devesa [Wed, 24 Jul 2013 14:54:09 +0000 (16:54 +0200)]
Unify exception thrown in l3-agent-scheduler fails

Since you can only attach a single l3 agent to a router, when you try
to add another l3 agent to a router that already have one, the l3
agent scheduler raises an exception.

This fix removes the discrimination by id: either it is the same agent
or another one, the router can not be hosted and the same exception is
raised.

Change-Id: If832bbd4bf17e4e0c4720172aded4c9fffedc6fc
Fixes: bug #1154622
11 years agoMerge "Restore Babel to requirements.txt"
Jenkins [Thu, 15 Aug 2013 08:11:06 +0000 (08:11 +0000)]
Merge "Restore Babel to requirements.txt"

11 years agoMerge "LBaaS: throw proper exception on duplicating monitor association"
Jenkins [Thu, 15 Aug 2013 06:26:49 +0000 (06:26 +0000)]
Merge "LBaaS: throw proper exception on duplicating monitor association"

11 years agoMerge "Add metering extension and base class"
Jenkins [Thu, 15 Aug 2013 06:26:40 +0000 (06:26 +0000)]
Merge "Add metering extension and base class"

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

Change-Id: I45fe5fe57b916f9db7daa89f2af00300ef33ce57

11 years agoMock os.makdirs to avoid directory creation in unit tests
armando-migliaccio [Wed, 14 Aug 2013 19:05:43 +0000 (12:05 -0700)]
Mock os.makdirs to avoid directory creation in unit tests

The directory 'dhcp' under neutron state path should not be
created during unit tests. This patch mocks up calls to
os.makedirs and ensures that methods that rely on it, like
_populate_network_cache, are mocked as well.

Fixes bug #1211952

Change-Id: I83998d4e631b1ebeab90b4c3c0276aa2ffe22c50

11 years agoMerge "Fix test_update_status unit test in Loadbalancer test suite"
Jenkins [Wed, 14 Aug 2013 20:00:05 +0000 (20:00 +0000)]
Merge "Fix test_update_status unit test in Loadbalancer test suite"

11 years agoMerge "Add wrap_name param to the iptables_manager class"
Jenkins [Wed, 14 Aug 2013 19:59:56 +0000 (19:59 +0000)]
Merge "Add wrap_name param to the iptables_manager class"

11 years agoReturns 503 if the NVP cluster is in maintenance mode
armando-migliaccio [Fri, 9 Aug 2013 23:27:22 +0000 (16:27 -0700)]
Returns 503 if the NVP cluster is in maintenance mode

If the NVP cluster is in 'readonly-mode' during a maintenance
window, some NVP operations may raise a Forbidden error. This
is not currently handled correctly, and Neutron server ends up
returning 500. This patch addresses the problem by ensuring
the right error code is returned.

Fixes bug 1204715

Change-Id: Ibd2cac8286a0978a95f9006142c2a405053dfa00

11 years agoFix test_update_status unit test in Loadbalancer test suite
Eugene Nikanorov [Wed, 14 Aug 2013 12:53:22 +0000 (16:53 +0400)]
Fix test_update_status unit test in Loadbalancer test suite

Add proper check of the updated object.

fixes bug 1212229

Change-Id: Icbe0a127a045ff93630dfa7f8d3fd6af771ddc5e

11 years agoAdd metering extension and base class
Sylvain Afchain [Fri, 14 Jun 2013 15:35:50 +0000 (17:35 +0200)]
Add metering extension and base class

This a part of the blueprint bandwidth-router-label

This patch initiates the blueprint by adding base class
to associate labels and metering rules to tenant's routers.

Change-Id: Ia93b49d881e79c3291730cff7b80f26c56fedb48

11 years agoLBaaS: throw proper exception on duplicating monitor association
Oleg Bondarev [Tue, 6 Aug 2013 13:44:30 +0000 (17:44 +0400)]
LBaaS: throw proper exception on duplicating monitor association

Fixes bug 1208728

Change-Id: I6cf27766eedff34a6ed5062a50b049ab0a5bf96a

11 years agoRestore Babel to requirements.txt
Clint Byrum [Wed, 14 Aug 2013 07:52:32 +0000 (00:52 -0700)]
Restore Babel to requirements.txt

Babel is needed by code synced in from oslo-incubator, namely
neutron.openstack.common.gettextutils.

Fixes bug #1212135

Change-Id: I7f490fb8cf9a4fcba1711cf464f934d60d6d435e

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 14 Aug 2013 07:08:39 +0000 (07:08 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Enable conversion for composite attribute items"
Jenkins [Wed, 14 Aug 2013 06:32:56 +0000 (06:32 +0000)]
Merge "Enable conversion for composite attribute items"

11 years agoMerge "Firewall as a Service (FWaaS) Iptables Driver"
Jenkins [Wed, 14 Aug 2013 06:32:47 +0000 (06:32 +0000)]
Merge "Firewall as a Service (FWaaS) Iptables Driver"

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

Change-Id: I514ff9ce5de7a8c774420d032f9850c7fab67cb4

11 years agoDrop quantum dhcp lease update bin
Dan Prince [Tue, 13 Aug 2013 19:58:39 +0000 (15:58 -0400)]
Drop quantum dhcp lease update bin

In d9832282cf656b162c51afdefb830dacab72defe we dropped
the DHCP lease logic from neutron... including
the neutron-dhcp-agent-dnsmasq-lease-update.

Both the neutron and quantum bins were removed from setup.cfg
so we should also drop the quantum-dhcp-agent-dnsmasq-lease-update
as well.

Change-Id: I568845dc28aa4dc9012435de2f0689aafa00a43c