]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
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 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 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"

11 years agoMerge "Add session persistence support to LBaaS HAProxy driver"
Jenkins [Thu, 28 Feb 2013 18:48:54 +0000 (18:48 +0000)]
Merge "Add session persistence support to LBaaS HAProxy driver"

11 years agoMerge "Remove compat cfg wrapper"
Jenkins [Thu, 28 Feb 2013 18:45:05 +0000 (18:45 +0000)]
Merge "Remove compat cfg wrapper"

11 years agoEnabled add gateway to refrain from checking exit code
Gary Kotton [Sun, 24 Feb 2013 10:30:08 +0000 (10:30 +0000)]
Enabled add gateway to refrain from checking exit code

Fixes bug 1129741

Change-Id: Ibb9a0e1c0f0e5ad610c4f45ae65eb82e25a57b94

11 years agoAdd stats reporting to HAProxy namespace driver
Oleg Bondarev [Thu, 28 Feb 2013 13:31:03 +0000 (17:31 +0400)]
Add stats reporting to HAProxy namespace driver

fixes bug 1135327

Change-Id: Ib5bc1b66ba57a8d93a5ee181c7cde64893c6b651

11 years agoAdd session persistence support to LBaaS HAProxy driver
Oleg Bondarev [Thu, 28 Feb 2013 09:35:01 +0000 (13:35 +0400)]
Add session persistence support to LBaaS HAProxy driver

fixes bug 1135324

Change-Id: I5bcd6c84d6b402adecfb5a4cf81925ddbefccbb0

11 years agoRemove deprecated assertEquals alias.
Monty Taylor [Sun, 17 Feb 2013 07:04:14 +0000 (23:04 -0800)]
Remove deprecated assertEquals alias.

We have code in the tree that uses both assertEquals and assertEqual. The
former is deprecated:

http://docs.python.org/2/library/unittest.html#deprecated-aliases

As it's a REALLY simple thing to fix, I went ahead and made it all happy.

Change-Id: Ibbd9461e2bda591693a6775b9ede1e87b8c008f2

11 years agoMerge "LBaaS Agent Reference Implementation"
Jenkins [Thu, 28 Feb 2013 04:26:14 +0000 (04:26 +0000)]
Merge "LBaaS Agent Reference Implementation"

11 years agoMerge "Bump python-quantumclient version to 2.1.2"
Jenkins [Thu, 28 Feb 2013 03:22:42 +0000 (03:22 +0000)]
Merge "Bump python-quantumclient version to 2.1.2"

11 years agoLBaaS Agent Reference Implementation
Mark McClain [Sun, 24 Feb 2013 12:55:06 +0000 (07:55 -0500)]
LBaaS Agent Reference Implementation

implements blueprint lbaas-namespace-agent

This a reference implemention of the Quantum load balancing service
using HAProxy.  The implemention is designed for vendors, developers,
and deployers to become familiar with the API and service workflow.

This change also adds some constraint checks for data integrity.

Change-Id: I10a67da11840477ccf063b98149f4f77248802a1

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

Change-Id: Icf2e957ec8a89c7d572411c5d05e819f900bdbc6

11 years agoMerge "create a Quantum port to reserve VIP address"
Jenkins [Wed, 27 Feb 2013 23:49:44 +0000 (23:49 +0000)]
Merge "create a Quantum port to reserve VIP address"

11 years agoMerge "NVP plugin support for dhcp network scheduling"
Jenkins [Wed, 27 Feb 2013 23:38:17 +0000 (23:38 +0000)]
Merge "NVP plugin support for dhcp network scheduling"

11 years agocreate a Quantum port to reserve VIP address
Mark McClain [Mon, 18 Feb 2013 04:31:02 +0000 (23:31 -0500)]
create a Quantum port to reserve VIP address

fixes bug 1129672

The API previously allowed a VIP to be created without verifying that
the tenant had access to the subnet and that the address was valid and
available.  This change modifies VIP creation behavior to create a
Quantum port with the requested address.  If an address is not provided, an
address is allocated using the normal allocation process for the subnet.

This change also renames the port attribute to protocol_port to remove the
ambiguity about which type of port it represents.

Additional tests were added to validate the change in behavior.

Change-Id: Ib19ef653887da568364b4faa0d2c0fac30970b5f

11 years agoNVP plugin support for dhcp network scheduling
Dan Wendlandt [Wed, 27 Feb 2013 21:47:14 +0000 (13:47 -0800)]
NVP plugin support for dhcp network scheduling

blueprint quantum-scheduler

Note: since NVP already support scale-out + high availability for L3
this only implements scheduling for dhcp.

Also, we do not expose the API extension, just use the internal
auto-scheduling.

Change-Id: Ifd29439fd463972ae085e5d28ed1893f94f2a2d8

11 years agoMerge "Fix retrieval of shared networks"
Jenkins [Wed, 27 Feb 2013 21:32:47 +0000 (21:32 +0000)]
Merge "Fix retrieval of shared networks"

11 years agoMerge "NVP Router: Do no perfom SNAT on E-W traffic"
Jenkins [Wed, 27 Feb 2013 21:30:14 +0000 (21:30 +0000)]
Merge "NVP Router: Do no perfom SNAT on E-W traffic"

11 years agoBump python-quantumclient version to 2.1.2
Aaron Rosen [Tue, 26 Feb 2013 21:16:02 +0000 (13:16 -0800)]
Bump python-quantumclient version to 2.1.2

Fixes bug 1133381

Change-Id: I21cbf386c884fce0b30344120676e348d4e3aa91

11 years agoMerge "Add scheduling feature basing on agent management extension"
Jenkins [Wed, 27 Feb 2013 17:43:19 +0000 (17:43 +0000)]
Merge "Add scheduling feature basing on agent management extension"

11 years agoMerge "Port update with existing ip_address only causes exception"
Jenkins [Wed, 27 Feb 2013 17:37:14 +0000 (17:37 +0000)]
Merge "Port update with existing ip_address only causes exception"

11 years agoAdd scheduling feature basing on agent management extension
gongysh [Fri, 22 Feb 2013 15:34:57 +0000 (23:34 +0800)]
Add scheduling feature basing on agent management extension

3rd part of blueprint quantum-scheduler

1. Allow networks to be hosted by certain dhcp agents.
Network to dhcp agent is a
many to many relationship. Provide a simple
scheduler to schedule a network randomly
to an active dhcp agent when a network or port is created.
2. Allow admin user to (de)schedule network to a
certain dhcp agent manually.
3. Allow routers to be hosted by a certain l3 agent.
Router to l3 agent is a many to one relationship.
Provide a simple scheduler to
schedule a router to l3 agent if the router is not
scheduled when the router is  updated.
4. Auto schedule networks and routers to agents when agents
start.
5. Only support ovs plugin at this point

Change-Id: Iddec3ea9d4c0fe2d51a59f7db47145722fc5a1cd

11 years agoRemove compat cfg wrapper
Mark McLoughlin [Fri, 22 Feb 2013 17:29:56 +0000 (17:29 +0000)]
Remove compat cfg wrapper

This wrapper was there to allow oslo-config changes through the gate
while keystoneclient hadn't been updated.

Also update to 2013.1b4.

Change-Id: I3d48673af58ae379e8e4d2c7fb4b4d81f3ed67dd

11 years agoMerge "Limit amount of fixed ips per port"
Jenkins [Wed, 27 Feb 2013 06:42:55 +0000 (06:42 +0000)]
Merge "Limit amount of fixed ips per port"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 27 Feb 2013 06:04:03 +0000 (06:04 +0000)]
Merge "Imported Translations from Transifex"

11 years agoNVP Router: Do no perfom SNAT on E-W traffic
Salvatore Orlando [Wed, 27 Feb 2013 01:28:25 +0000 (02:28 +0100)]
NVP Router: Do no perfom SNAT on E-W traffic

Bug 1130053

This patch ensures 'No Snat' rules are enforced in order to avoid source
natting on east-west traffic.

Change-Id: I967e72e7b6bc8e2763c0fbdf6deeafb43ff27f54

11 years agoEnable multiple L3 GW services on NVP plugin
Salvatore Orlando [Mon, 25 Feb 2013 14:41:06 +0000 (15:41 +0100)]
Enable multiple L3 GW services on NVP plugin

Bug 1130211

This patch allows for using multiple layer-3 gateways leveraging the
provider networks extension.

Change-Id: I293920c2565f4670e9be9b22dc1b60431b62f7e7

11 years agoFix retrieval of shared networks
Salvatore Orlando [Tue, 22 Jan 2013 16:30:02 +0000 (08:30 -0800)]
Fix retrieval of shared networks

Bug 1130171

This patch adds a new tag_scope, 'shared', in order to allow
the NVP plugin to retrieve also shared networks from NVP when
listing networks. This way it won't appear as Quantum has a
network without a corresponding lswitch in NVP

Change-Id: I24f950d54c0b9e582c92e8008e75ebd00f6c9fe3

11 years agoMerge "Fetch all pages when listing NVP Nat Rules"
Jenkins [Wed, 27 Feb 2013 00:18:15 +0000 (00:18 +0000)]
Merge "Fetch all pages when listing NVP Nat Rules"

11 years agoMerge "Fix NVP plugin not notifying metadata access network to DHCP agent"
Jenkins [Wed, 27 Feb 2013 00:17:52 +0000 (00:17 +0000)]
Merge "Fix NVP plugin not notifying metadata access network to DHCP agent"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 27 Feb 2013 00:07:55 +0000 (00:07 +0000)]
Imported Translations from Transifex

Change-Id: Ic0f16a8108abb85b50355b837ae889b22c703886

11 years agoRemove network type validation from provider networks extension
Salvatore Orlando [Mon, 25 Feb 2013 10:37:34 +0000 (11:37 +0100)]
Remove network type validation from provider networks extension

Bug 1133064

As the set of valid network types for the provider networks extension
depends on the particular plugin, validation should be performed there.

Change-Id: I3ce5762458bc553625a458ace80072bd804e31f0

11 years agoFix NVP plugin not notifying metadata access network to DHCP agent
Salvatore Orlando [Tue, 26 Feb 2013 16:57:55 +0000 (17:57 +0100)]
Fix NVP plugin not notifying metadata access network to DHCP agent

Bug 1133395

Due to recent changes in notification logic between Quantum and the DHCP
agent, the notifier the NVP plugin previously used for metadata access
network was not working anymore and needed to be replaced

Change-Id: Ifa0ea55116cf5ef6d546d28ca52e643987b3e5a0

11 years agoLimit amount of fixed ips per port
Gary Kotton [Sun, 24 Feb 2013 13:20:14 +0000 (13:20 +0000)]
Limit amount of fixed ips per port

Fixes bug 1100476

The patch also updates the quantum configuration file to
contain the following:
 - max number of host routes
 - max number of dns servers

Change-Id: Ic5d90034b0231687dfbde8fc65780ab52222c0fd

11 years agoFetch all pages when listing NVP Nat Rules
Salvatore Orlando [Tue, 26 Feb 2013 14:19:40 +0000 (15:19 +0100)]
Fetch all pages when listing NVP Nat Rules

Bug 1133318

Change-Id: I24e9943b4771c4f2b941c229ba1c300dfbf7e331

11 years agoUnpin PasteDeploy dependency version
Mark McLoughlin [Tue, 26 Feb 2013 12:14:15 +0000 (12:14 +0000)]
Unpin PasteDeploy dependency version

Fixes bug #1133262

There are no newer releases of PasteDeploy than 1.5.0 and we have no
reason to believe newer versions will break us. Indeed, if an
incompatible version is released, we will want to know about it quickly.

Change-Id: I331b33b16ea50202886b19bf5c4060d9fa46d5ec

11 years agoMake sure all db accesses use subtransaction
Akihiro MOTOKI [Tue, 26 Feb 2013 07:43:03 +0000 (16:43 +0900)]
Make sure all db accesses use subtransaction

Fixes bug 1133253

Change-Id: If952eaa919cdc7536023525a397e7a8ce4b425aa

11 years agoUse testtools instead of unittest or unittest2.
Monty Taylor [Wed, 6 Feb 2013 06:01:30 +0000 (17:01 +1100)]
Use testtools instead of unittest or unittest2.

As part of the move towards testr and parallel test running, we
start to use testtools and fixtures to make the test suite
resilient and more pedantic.

Part of blueprint grizzly-testtools

Change-Id: I90250de9fe21237db34f6a50b89b15863e270aa5