]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoDo not delete subnets with IPs on router interfaces
Salvatore Orlando [Fri, 8 Mar 2013 17:10:38 +0000 (18:10 +0100)]
Do not delete subnets with IPs on router interfaces

Bug 1152171

This patch simply causes a 409 to be returned when attempting to
delete a subnet which has IPs on ports whose device_owner is
network:router_interface

This does not address a similar problem that arises when the ips for
a port owned by a router_interface are updated. This problem is hidden
when updating a port which has been assigned the gateway_ip by an
exception in the IP recycling process. However, it will hit when the
port was explicitly added to the router, since it will have an ip
different from the subnet's gateway ip.

Change-Id: I38dfd2639acd03db8d3f1f933495a456a4a8724f

11 years agoFix exception typo
Gary Kotton [Fri, 8 Mar 2013 09:51:41 +0000 (09:51 +0000)]
Fix exception typo

Fixes bug 1152525

Change-Id: I24b5340b791a7408fbd2c7a371971445a24333b7

11 years agoMerge "Wrap quota controller with resource.Resource"
Jenkins [Fri, 8 Mar 2013 09:45:03 +0000 (09:45 +0000)]
Merge "Wrap quota controller with resource.Resource"

11 years agoMerge "Enable handling the report_state RPC call in Brocade Plugin"
Jenkins [Fri, 8 Mar 2013 09:32:24 +0000 (09:32 +0000)]
Merge "Enable handling the report_state RPC call in Brocade Plugin"

11 years agoWrap quota controller with resource.Resource
He Jie Xu [Tue, 5 Feb 2013 11:05:53 +0000 (19:05 +0800)]
Wrap quota controller with resource.Resource

Fixes bug 1116137

Currently the format of error message returned by quota extension was
different with quantum other resource. Other resource will return as
json(eg, '{"QuantumError": "error message"}'). But quota extension only
return messages without any format.
'quantum.api.v2.resource.Resource' provider error messages processing.
So wrap quota controller with it.

By the way, fix some small stuff:
* Use specific exception 'QuotaTenantNotFound' instead of generic exception.
* Correct error message.
* Use attribute mapping checking the request body.

Change-Id: I71261198aa79e9ed8e0ae672de32552abdbf45c1

11 years agoMerge "Allow probe-create to specify device_owner."
Jenkins [Fri, 8 Mar 2013 07:31:58 +0000 (07:31 +0000)]
Merge "Allow probe-create to specify device_owner."

11 years agoAllow probe-create to specify device_owner.
Zhesen [Thu, 17 Jan 2013 01:57:57 +0000 (17:57 -0800)]
Allow probe-create to specify device_owner.

The device owner of the probe port can be
specified by the --device-owner option.

There are two values for device-owner option,
network or compute.

The probe port will be created with the network
as the device owner by default.

Fixes: bug #1102726
Change-Id: I72d62e2fe7b8f7a5eb4411bc9052efa82fb4fdf5

11 years agoMerge "Create quantum client for each api request in metadata agent"
Jenkins [Fri, 8 Mar 2013 02:59:16 +0000 (02:59 +0000)]
Merge "Create quantum client for each api request in metadata agent"

11 years agoMerge "add ns-metadata-proxy rootwrap filters to dhcp.filters"
Jenkins [Fri, 8 Mar 2013 01:59:15 +0000 (01:59 +0000)]
Merge "add ns-metadata-proxy rootwrap filters to dhcp.filters"

11 years agoEnable handling the report_state RPC call in Brocade Plugin
Shiv Haris [Wed, 6 Mar 2013 23:25:49 +0000 (15:25 -0800)]
Enable handling the report_state RPC call in Brocade Plugin

Fixes: bug #1150294
Change-Id: I4f641af48140a108e7c707446cda52509d567c8d

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

Change-Id: I434136d9dab5344b72eec2e7e319b756c88bc80e

11 years agoCreate quantum client for each api request in metadata agent
Nachi Ueno [Wed, 6 Mar 2013 04:52:22 +0000 (20:52 -0800)]
Create quantum client for each api request in metadata agent

Fixes bug 1148017

Change-Id: I6f9263f01d17dcc44a4deb42cdaa348164ac4819

11 years agoLock tables for update on allocation/deletion
Ante Karamatic [Thu, 7 Feb 2013 11:33:49 +0000 (12:33 +0100)]
Lock tables for update on allocation/deletion

Allocating, creating and deleting port might happen
in parallel and we need to make sure we don't
assign same IP to multiple different requests.

Added treatment for vlan tags and tunnel ID's

Fixes: bug #1110807
Change-Id: Idbb04d3ce6eacd308b05536f1942a35a0792199e

11 years agoNVP plugin: configure metadata network only if overlapping IPs are enabled
Salvatore Orlando [Thu, 7 Mar 2013 13:19:16 +0000 (14:19 +0100)]
NVP plugin: configure metadata network only if overlapping IPs are enabled

Bug 1152144

This patch also add a warning emitted in the logs at startup if the
configuration is not correct.

Change-Id: Idbf10c64f068a71ef1ed9c29a6a0c4e736bb975d

11 years agoMerge "isolated network metadata does not work with nvp plugin"
Jenkins [Thu, 7 Mar 2013 09:34:12 +0000 (09:34 +0000)]
Merge "isolated network metadata does not work with nvp plugin"

11 years agoMerge "Show default configuration Quotas"
Jenkins [Thu, 7 Mar 2013 09:29:17 +0000 (09:29 +0000)]
Merge "Show default configuration Quotas"

11 years agoMerge "Notify creation or deletion of dhcp port for security group"
Jenkins [Thu, 7 Mar 2013 07:23:41 +0000 (07:23 +0000)]
Merge "Notify creation or deletion of dhcp port for security group"

11 years agoShow default configuration Quotas
Gary Kotton [Mon, 4 Mar 2013 10:21:28 +0000 (10:21 +0000)]
Show default configuration Quotas

Fixes bug 1144076

The patch set shows the defualt quotas that exist in
the configuration file. This is if the DB_QUOTA_DRIVER
is not configured. In this case the user is required
to update the configuration file and restart the service.

Change-Id: I5517c0215e8cfa71453ee38c34d8249e74346fdf

11 years agoadd ns-metadata-proxy rootwrap filters to dhcp.filters
Dan Wendlandt [Thu, 7 Mar 2013 01:40:52 +0000 (17:40 -0800)]
add ns-metadata-proxy rootwrap filters to dhcp.filters

bug 1150628

now that dhcp-agent also uses ns-metadata-proxy, we need to make sure
those rootwrap filters are installed in scenarios where dhcp-agent is
installed by l3-agent is not.

Change-Id: I141b2291aceb93d650258ff1df1ef0122ce8da90

11 years agoisolated network metadata does not work with nvp plugin
Aaron Rosen [Wed, 6 Mar 2013 23:02:12 +0000 (15:02 -0800)]
isolated network metadata does not work with nvp plugin

This patch removes the not self.conf.enable_metadata_network
check before adding METADATA_DEFAULT_IP to ip_cidrs. This result
of this is that the dhcp agent interface will have
169.254.169.254/16 on it even if the network is
enable_metadata_network=True which doesn't matter and happens anyway if one
sets enable_meta_network=False. This change only effects the nvp plugin
as this is the only one that uses the enable_metadata_network flag.

Change-Id: Ifb3b28daed9e3bfc61bb0d8a48c40d027d0e2a51

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 7 Mar 2013 00:07:02 +0000 (00:07 +0000)]
Imported Translations from Transifex

Change-Id: Iadf0974ffdada18d175698d73bf69ab16e4682da

11 years agoLoad quota resources dynamically
Gary Kotton [Wed, 6 Mar 2013 11:48:40 +0000 (11:48 +0000)]
Load quota resources dynamically

Fixes bug 1149287

Change-Id: Ie02c7091f326c39f92e6a906c19e937e50227658

11 years agoNotify creation or deletion of dhcp port for security group
Nachi Ueno [Fri, 1 Mar 2013 00:46:52 +0000 (16:46 -0800)]
Notify creation or deletion of dhcp port for security group

fixes bug 1103840

Change-Id: I8031bc607a874871a8081575bce1526b3453aff6

11 years agoMerge "Moved the configuration variables."
Jenkins [Wed, 6 Mar 2013 16:25:25 +0000 (16:25 +0000)]
Merge "Moved the configuration variables."

11 years agoMerge "fix mis-matched kwargs for a few calls to NvpPluginException"
Jenkins [Wed, 6 Mar 2013 15:47:29 +0000 (15:47 +0000)]
Merge "fix mis-matched kwargs for a few calls to NvpPluginException"

11 years agoMerge "Populate default explicit allow rules for egress"
Jenkins [Wed, 6 Mar 2013 09:20:03 +0000 (09:20 +0000)]
Merge "Populate default explicit allow rules for egress"

11 years agofix mis-matched kwargs for a few calls to NvpPluginException
Dan Wendlandt [Wed, 6 Mar 2013 08:59:54 +0000 (00:59 -0800)]
fix mis-matched kwargs for a few calls to NvpPluginException

bug 1148839

Change-Id: I7d08719c0ac9a7445f4863c91854e4dcd8c81be6

11 years agoMerge "Fix syntax error in credential.py and missing __init__.py"
Jenkins [Wed, 6 Mar 2013 07:48:08 +0000 (07:48 +0000)]
Merge "Fix syntax error in credential.py and missing __init__.py"

11 years agoPopulate default explicit allow rules for egress
Tomoe Sugihara [Fri, 1 Mar 2013 11:19:13 +0000 (20:19 +0900)]
Populate default explicit allow rules for egress

This way, the default behavior becomes clear and
symmetric to ingress processing.

Fixes bug 1143283

Change-Id: Id6496819aaceda50def597739f7872653d5b2e00

11 years agoMerge "Make run_tests.sh pep8 conf match tox."
Jenkins [Wed, 6 Mar 2013 04:57:09 +0000 (04:57 +0000)]
Merge "Make run_tests.sh pep8 conf match tox."

11 years agoSwitch to oslo.config.
Dan Prince [Wed, 6 Mar 2013 03:31:54 +0000 (22:31 -0500)]
Switch to oslo.config.

The oslo-config package has been renamed. Switch to the new version.

Change-Id: I24d44bac42a1478550e4c16b2a41b1b57e87fb4a

11 years agoMerge "Add common test base class to hold common things."
Jenkins [Wed, 6 Mar 2013 03:15:50 +0000 (03:15 +0000)]
Merge "Add common test base class to hold common things."

11 years agoMoved the configuration variables.
Jason Zhang [Mon, 4 Mar 2013 19:45:22 +0000 (11:45 -0800)]
Moved the configuration variables.

Moved the configuration variables from dhcp agent
to linux interface so l3-agent works with
Metadriver.

Also removed the unnecessary configuration variables
from quantum debug agent because of the above
modification.

Fixes: bug #1138757
Change-Id: Ib23fee18a08ef1c531feb05d98c9a76f5385a4ff

11 years agoMake run_tests.sh pep8 conf match tox.
Dan Prince [Wed, 6 Mar 2013 02:01:02 +0000 (21:01 -0500)]
Make run_tests.sh pep8 conf match tox.

Updates our run_tests.sh pep8 excludes so that match what we do
in tox.ini (Adds E711,E712 to the exclude list)

Change-Id: Iaf2cee898a957847d444aa7c48db1d4ad088ab6e

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 6 Mar 2013 01:59:26 +0000 (01:59 +0000)]
Merge "Imported Translations from Transifex"

11 years agoFix syntax error in credential.py and missing __init__.py
Aaron Rosen [Wed, 6 Mar 2013 01:48:35 +0000 (17:48 -0800)]
Fix syntax error in credential.py and missing __init__.py

This patch fixes a syntax error in credential.py and resolves
the following import error:

In [1]: from quantum.plugins.cisco.extensions import _credential_view as a
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/opt/stack/quantum/<ipython-input-1-ef3f11a361d0> in <module>()
----> 1 from quantum.plugins.cisco.extensions import _credential_view as a

Fixes bug 1148133

Change-Id: I22bc7152fcfec6fdc9f2638bc92d2fb1db99a484

11 years agoMerge "fix incorrect pathname"
Jenkins [Wed, 6 Mar 2013 01:47:36 +0000 (01:47 +0000)]
Merge "fix incorrect pathname"

11 years agoMerge "Prevent DoS through XML entity expansion"
Jenkins [Wed, 6 Mar 2013 01:42:28 +0000 (01:42 +0000)]
Merge "Prevent DoS through XML entity expansion"

11 years agoMerge "Delete DATABASE option checkup testcases"
Jenkins [Wed, 6 Mar 2013 01:00:18 +0000 (01:00 +0000)]
Merge "Delete DATABASE option checkup testcases"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 6 Mar 2013 00:06:47 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Id5447fc9fb0c2dfa35523fe878337e56b48b6e46

11 years agoAdd common test base class to hold common things.
Monty Taylor [Sat, 23 Feb 2013 10:35:28 +0000 (10:35 +0000)]
Add common test base class to hold common things.

There are several common fixtures that every test case wants. Following
the pattern in Nova, add a common base test case class to hold these things.

Change-Id: I2d2cd91e5051d9cbf230e6f48985d6eddcb7b58a

11 years agoMerge "Setup device alias by device flavor information."
Jenkins [Tue, 5 Mar 2013 22:53:18 +0000 (22:53 +0000)]
Merge "Setup device alias by device flavor information."

11 years agoMerge "Rename source_(group_id/ip_prefix) to remote_(group_id/ip_prefix)"
Jenkins [Tue, 5 Mar 2013 22:04:35 +0000 (22:04 +0000)]
Merge "Rename source_(group_id/ip_prefix) to remote_(group_id/ip_prefix)"

11 years agofix incorrect pathname
Baodong (Robert) Li [Fri, 1 Mar 2013 18:02:12 +0000 (10:02 -0800)]
fix incorrect pathname

return of call to os.path.abspath('../../..') depends on the setup of
nose working directory. Change to return the directory where
test_config.py resides

fixes: bug #1138216
Change-Id: I1d3f1e3c88bd30871a018a195cee46a91d35c8a8

11 years agoPrevent DoS through XML entity expansion
Davanum Srinivas [Tue, 26 Feb 2013 20:43:50 +0000 (15:43 -0500)]
Prevent DoS through XML entity expansion

Add a ProtectedXMLParser that overrides the
doctype declaration handler. The handler simply
throws an exception and prevents any further
parsing of the incoming xml.

Fixes LP Bug #1100282

Change-Id: I6488e1a6a52326006e7e7927ece5b5939b72e83e

11 years agoDelete DATABASE option checkup testcases
Zhongyue Luo [Fri, 1 Feb 2013 03:22:34 +0000 (11:22 +0800)]
Delete DATABASE option checkup testcases

Fixes bug #1146441

Change-Id: I2c8dc2bc3e3055e529bdaf38529d804f5e75e036

11 years agoFixes linuxbridge agent downs with tap device deletion timing issue
He Jie Xu [Tue, 5 Mar 2013 01:52:01 +0000 (09:52 +0800)]
Fixes linuxbridge agent downs with tap device deletion timing issue

Fixes bug 1136264

Add try/except in deamon loop for preventing agent broken down by
unhandled exception.

Change-Id: I99a4f2b485f134b240630a895378d0f61d6382d8

11 years agoRename source_(group_id/ip_prefix) to remote_(group_id/ip_prefix)
Aaron Rosen [Mon, 4 Mar 2013 19:04:41 +0000 (11:04 -0800)]
Rename source_(group_id/ip_prefix) to remote_(group_id/ip_prefix)

Fixes bug 1144426

Change-Id: I8b62044b6e679d923fffef69a49f4fd55751f116

11 years agoMerge "L3 port delete prevention: do not raise if no IP on port"
Jenkins [Tue, 5 Mar 2013 07:03:29 +0000 (07:03 +0000)]
Merge "L3 port delete prevention: do not raise if no IP on port"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Tue, 5 Mar 2013 02:57:39 +0000 (02:57 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "move cisco-specific extensions to Cisco extensions directory"
Jenkins [Tue, 5 Mar 2013 01:07:18 +0000 (01:07 +0000)]
Merge "move cisco-specific extensions to Cisco extensions directory"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 5 Mar 2013 00:06:30 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Id338050311494e6951bf678658bd07faafeb348a

11 years agoSetup device alias by device flavor information.
Jason Zhang [Thu, 6 Dec 2012 19:39:34 +0000 (11:39 -0800)]
Setup device alias by device flavor information.

The router interface cannot be deleted since the MetaPlugin
cannot get the flavor information from the port which has
been deleted.
The solution is setting up the alias for each device based
on the flavor information, so the MetaPlugin still can get
the flavor information from the device itself even the
port has been deleted.

Also the router interface cannot be deleted since the
l3_port_check flag is not passed by MetaPlugin.

Fixes: bug #1085276
Change-Id: I670aa45c804e660ee4afb5359e0ab1347f369986

11 years agoMerge "Pin pep8 to 1.3.3"
Jenkins [Mon, 4 Mar 2013 22:06:27 +0000 (22:06 +0000)]
Merge "Pin pep8 to 1.3.3"

11 years agoL3 port delete prevention: do not raise if no IP on port
Salvatore Orlando [Mon, 4 Mar 2013 17:19:47 +0000 (18:19 +0100)]
L3 port delete prevention: do not raise if no IP on port

Bug #1104337

This patch alters the prevent_l3_port_deletion logic.
PortInUse is raised only if the port has a device owner in
(router_interface, router_gateway, floatingip) and an IP
address.
If no IP address is found on the port the port itself can
be considered stale and therefore deleted as any association
with l3 entities would be void.

Change-Id: I9d711b2a9d2cbcc8be481f1751f51fe5b9f01327

11 years agoPin pep8 to 1.3.3
Chuck Short [Fri, 1 Mar 2013 14:21:31 +0000 (08:21 -0600)]
Pin pep8 to 1.3.3

Part of making pep8 version standard across all openstack
projects.

Fixes LP: #1143569

Change-Id: Iefc923123243df161ed72888c1651a622afbda04
Signed-off-by: Chuck Short <chuck.short@canonical.com>
11 years agoAvoid sending names longer than 40 character to NVP
Salvatore Orlando [Thu, 31 Jan 2013 16:42:13 +0000 (08:42 -0800)]
Avoid sending names longer than 40 character to NVP

Bug 1130192

NVP limits for name lenghts are much shorter than Quantum's.
The quantum name is truncated before dispatching the NVP API operation.

Change-Id: Idee568756a0df991003f59d498846ac9ff7fe095

11 years agomove cisco-specific extensions to Cisco extensions directory
Dan Wendlandt [Mon, 4 Mar 2013 17:21:02 +0000 (09:21 -0800)]
move cisco-specific extensions to Cisco extensions directory

bug 1126661

Change-Id: I2581203e90c95dad3ffbe64888e71fc3a59f8f53

11 years agoAdd UT for LBaaS HAProxy driver
Oleg Bondarev [Mon, 4 Mar 2013 14:25:11 +0000 (18:25 +0400)]
Add UT for LBaaS HAProxy driver

fixes bug 1137386

Change-Id: I791d09fc472fd8555f4030cfd1964e70ab9f2771

11 years agoInclude health monitors expected codes upper bound into HAProxy config
Oleg Bondarev [Mon, 4 Mar 2013 14:17:17 +0000 (18:17 +0400)]
Include health monitors expected codes upper bound into HAProxy config

fixes bug 1144424

Change-Id: I017b8fbb8bcf29af158b87c9718e92ae5824794e

11 years agoMerge "Allow DHCP and L3 agents to choose if they should report state"
Jenkins [Mon, 4 Mar 2013 12:29:35 +0000 (12:29 +0000)]
Merge "Allow DHCP and L3 agents to choose if they should report state"

11 years agoMerge "Incorrect argument in calling post_json"
Jenkins [Mon, 4 Mar 2013 10:43:13 +0000 (10:43 +0000)]
Merge "Incorrect argument in calling post_json"

11 years agoAllow DHCP and L3 agents to choose if they should report state
gongysh [Mon, 4 Mar 2013 01:18:44 +0000 (09:18 +0800)]
Allow DHCP and L3 agents to choose if they should report state

Bug #1143195
blueprint quantum-scheduler

Change-Id: Iba7bf82d7130462be4dda6c1c5f9a0fc5633707d

11 years agoMerge "Enable HA proxy to work with fedora"
Jenkins [Mon, 4 Mar 2013 02:26:01 +0000 (02:26 +0000)]
Merge "Enable HA proxy to work with fedora"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 4 Mar 2013 02:25:53 +0000 (02:25 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Add initial testr support."
Jenkins [Mon, 4 Mar 2013 00:39:59 +0000 (00:39 +0000)]
Merge "Add initial testr support."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 4 Mar 2013 00:06:18 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I569a5b68dcf78793353762a50a954bb9df7d6c5a

11 years agoMerge "Prevent exception with VIP deletion"
Jenkins [Sun, 3 Mar 2013 22:59:22 +0000 (22:59 +0000)]
Merge "Prevent exception with VIP deletion"

11 years agoMerge "Change the default l3_agent_manager to L3NATAgent"
Jenkins [Sun, 3 Mar 2013 19:40:16 +0000 (19:40 +0000)]
Merge "Change the default l3_agent_manager to L3NATAgent"

11 years agoEnable HA proxy to work with fedora
Gary Kotton [Sun, 3 Mar 2013 13:39:12 +0000 (13:39 +0000)]
Enable HA proxy to work with fedora

Fixes bug 1142133

Change-Id: I0dc02c96efa8d5f8ab693480e510dbbefcc6a674

11 years agoPrevent exception with VIP deletion
Gary Kotton [Sun, 3 Mar 2013 14:47:31 +0000 (14:47 +0000)]
Prevent exception with VIP deletion

Fixes bug 1137697

Change-Id: I6de55c674da1202eb9c1e2e11eda2e6de554750c

11 years agoMerge "NEC plugin support for dhcp network and router scheduling"
Jenkins [Sun, 3 Mar 2013 10:22:08 +0000 (10:22 +0000)]
Merge "NEC plugin support for dhcp network and router scheduling"

11 years agoMerge "enable linuxbridge for agent scheduler"
Jenkins [Sun, 3 Mar 2013 10:18:04 +0000 (10:18 +0000)]
Merge "enable linuxbridge for agent scheduler"

11 years agoChange the default l3_agent_manager to L3NATAgent
Akihiro MOTOKI [Sat, 2 Mar 2013 10:45:16 +0000 (19:45 +0900)]
Change the default l3_agent_manager to L3NATAgent

This is a l3-agent version of 349aa3ef3563c019f4d0a98fc30117ae0a6cade3.

The combination of the plugin without agent extension support
and L3NATAgentWithStateReport results in an error:
"AttributeError: No such RPC function 'report_state'".

This patch changes l3_agent_manager to be L3NATAgent instead of
L3NATAgentWithStateReport since all plugins do not support
L3NATAgentWithStateReport and having this as the default breaks
all current deployments that upgrade source without changing
their config files.

Fixes bug 1139726

Change-Id: Ibb5c04c89bfad741ec43a372cbf97445f7b3d76c

11 years agoMerge "Set fake rpc implementation in metaplugin test configuration."
Jenkins [Sun, 3 Mar 2013 06:25:03 +0000 (06:25 +0000)]
Merge "Set fake rpc implementation in metaplugin test configuration."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 3 Mar 2013 00:06:28 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Ied72f9530ceb7d5d45228b864466845963b2fd36

11 years agoNEC plugin support for dhcp network and router scheduling
Akihiro MOTOKI [Thu, 28 Feb 2013 05:58:20 +0000 (14:58 +0900)]
NEC plugin support for dhcp network and router scheduling

blueprint quantum-scheduler

Change-Id: Icc1e4213cb6109ec82f4d438e277bd870c02729e

11 years agoenable linuxbridge for agent scheduler
gongysh [Fri, 1 Mar 2013 09:06:23 +0000 (17:06 +0800)]
enable linuxbridge for agent scheduler

Bug #1135793
blueprint quantum-scheduler

In addition, we refactor agent scheduler so that we will make
it easier to enable plugin to support agent scheduler.

Change-Id: I0d5cc8bcea644720a3c5cbe92486ce8d8ecd248c

11 years agoMerge "Host route to metadata server with Bigswitch/Floodlight Plugin"
Jenkins [Sat, 2 Mar 2013 08:18:12 +0000 (08:18 +0000)]
Merge "Host route to metadata server with Bigswitch/Floodlight Plugin"

11 years agoMerge "Move network schedule to first port creation."
Jenkins [Sat, 2 Mar 2013 07:55:45 +0000 (07:55 +0000)]
Merge "Move network schedule to first port creation."

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sat, 2 Mar 2013 05:21:01 +0000 (05:21 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Unpin PasteDeploy dependency version"
Jenkins [Sat, 2 Mar 2013 05:18:09 +0000 (05:18 +0000)]
Merge "Unpin PasteDeploy dependency version"

11 years agoMerge "Replace direct tempfile usage with a fixture."
Jenkins [Sat, 2 Mar 2013 05:17:59 +0000 (05:17 +0000)]
Merge "Replace direct tempfile usage with a fixture."

11 years agoMerge "fix update_port to get tenant_id from db rather than request"
Jenkins [Sat, 2 Mar 2013 05:12:07 +0000 (05:12 +0000)]
Merge "fix update_port to get tenant_id from db rather than request"

11 years agoMove network schedule to first port creation.
gongysh [Fri, 1 Mar 2013 08:23:32 +0000 (16:23 +0800)]
Move network schedule to first port creation.

blueprint quantum-scheduler

we remove scheduling network
to dhcp agent when creating network so that we can give admin
the chance to allocate the given network to a given dhcp agent after
network creation.

Change-Id: I228870669825405277de0505a3f2ece074918524

11 years agoMerge "Cisco plugin support for creating ports without instances"
Jenkins [Sat, 2 Mar 2013 00:38:49 +0000 (00:38 +0000)]
Merge "Cisco plugin support for creating ports without instances"

11 years agoMerge "Ensure max length of iptables chain name w/o prefix is up to 11 chars."
Jenkins [Sat, 2 Mar 2013 00:38:39 +0000 (00:38 +0000)]
Merge "Ensure max length of iptables chain name w/o prefix is up to 11 chars."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 2 Mar 2013 00:06:42 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Idd36a4cc84ae936c9ece3370210f23ef8eaf1cf9

11 years agoHost route to metadata server with Bigswitch/Floodlight Plugin
Sumit Naiksatam [Fri, 1 Mar 2013 06:00:32 +0000 (22:00 -0800)]
Host route to metadata server with Bigswitch/Floodlight Plugin

Host route to metadata server was not getting propagated
to VM when using the Big Switch/Floodlight plugin. The
reason being the update to the subnet (with the host
route information) was not being picked up by the dhcp
agent. This is being fixed here by sending a notification
to the dhcp agent when the host route is added to the subnet.

Fixes: Bug #1134043
Change-Id: If040f51946bcb734da319249df17d03e68aa5588

11 years agoIncorrect argument in calling post_json
Baodong (Robert) Li [Fri, 1 Mar 2013 18:56:02 +0000 (10:56 -0800)]
Incorrect argument in calling post_json

The error is due to change in webtest in which post_json is redefined.
Fix to work with its new definition.

Fixes bug #1138233

Change-Id: I08c131bf50886456f0501d5fa8493e05543c5816

11 years agofix update_port to get tenant_id from db rather than request
Aaron Rosen [Wed, 27 Feb 2013 23:00:41 +0000 (15:00 -0800)]
fix update_port to get tenant_id from db rather than request

This patch changes the behavor of nvp's update_port() to how it previously
worked by retrieving the value from the db and not the request.

Fixes bug 1138330

Change-Id: I49682db392954b3cfaeb4ad4b8acf95113dcae7e

11 years agoEnsure max length of iptables chain name w/o prefix is up to 11 chars.
Akihiro MOTOKI [Thu, 28 Feb 2013 22:19:20 +0000 (07:19 +0900)]
Ensure max length of iptables chain name w/o prefix is up to 11 chars.

The maximum length of Linux iptables chain name must be less than or
equal to 28 characters. In iptables_manager binary_name up to 16 chars
is used as a prefix and a '-' follows it, so a chain name passed to
iptables_manager must be less than 12 character long. Accordingky
MAX_CHAIN_LEN should be changed from 28 to 12. Also this commit
introduces a method to get a chain name with valid length.

Since iptables_firewall module constructs a rule by directly using
a chain name, iptable_firewall also must take care of the length.

Fixes bug #1133833

Change-Id: I6157d519f3cb91ec32dc6a92eae45439b8717b2d

11 years agoCisco plugin support for creating ports without instances
Arvind Somya [Tue, 26 Feb 2013 18:44:49 +0000 (13:44 -0500)]
Cisco plugin support for creating ports without instances

Adding support to the Cisco plugin for creating ports without
an instance id.

Fixes: Bug #1130749
Change-Id: I84407455585be8088fa3591b7e5c39f4ce23e7e4

11 years agomock quantum.agent.common.config.setup_logging
gongysh [Fri, 1 Mar 2013 07:36:19 +0000 (15:36 +0800)]
mock quantum.agent.common.config.setup_logging

Bug #1137249

Change-Id: I7eb7ec3c0247c1ceeefc8e3f88d9cd7753c38c0c

11 years agoMerge "Use db model hook to filter external network"
Jenkins [Fri, 1 Mar 2013 06:55:32 +0000 (06:55 +0000)]
Merge "Use db model hook to filter external network"

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

Change-Id: I54314eaec2161d2d79c7417aaabc609335aea7f8

11 years agoAdd initial testr support.
Monty Taylor [Tue, 19 Feb 2013 22:09:37 +0000 (14:09 -0800)]
Add initial testr support.

This doesn't really do much other that add the needed bits to the repo to
start hacking on testr support in small chunks.

Change-Id: I34fc57fdc7c9ebda8ffa2357a2ef962c7ab41bfa

11 years agoReplace direct tempfile usage with a fixture.
Monty Taylor [Tue, 19 Feb 2013 22:00:12 +0000 (14:00 -0800)]
Replace direct tempfile usage with a fixture.

tempfiles should always be created in fixtures to ensure that they actually
get cleaned up when we're done.

Change-Id: If4eee03b2e9ec6bd5333b8d5022ec9809343584e

11 years agoSet fake rpc implementation in metaplugin test configuration.
Eugene Nikanorov [Thu, 28 Feb 2013 20:13:31 +0000 (00:13 +0400)]
Set fake rpc implementation in metaplugin test configuration.

fixes bug 1112051

Change-Id: Ie38c930429bc328512a629c61e4e06480549e630

11 years agoMerge "Add stats reporting to HAProxy namespace driver"
Jenkins [Thu, 28 Feb 2013 18:49:00 +0000 (18:49 +0000)]
Merge "Add stats reporting to HAProxy namespace driver"