]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoImproving code reuse with loadbalancer entity deletion
Avishay Balderman [Thu, 24 Jan 2013 12:31:49 +0000 (04:31 -0800)]
Improving code reuse with loadbalancer entity deletion

Fixes bug #1103988

Change-Id: I55df965a1592ecc5a76bf9f02d43e3aaa26c1980

11 years agoMerge "Fix all extension contract classes inherit from extensions.ExtensionDescriptor"
Jenkins [Thu, 24 Jan 2013 11:12:04 +0000 (11:12 +0000)]
Merge "Fix all extension contract classes inherit from extensions.ExtensionDescriptor"

11 years agoMerge "get_security_group() now returns rules"
Jenkins [Thu, 24 Jan 2013 11:10:01 +0000 (11:10 +0000)]
Merge "get_security_group() now returns rules"

11 years agoMerge "Fixes per tenant quota doesn't work"
Jenkins [Thu, 24 Jan 2013 10:51:05 +0000 (10:51 +0000)]
Merge "Fixes per tenant quota doesn't work"

11 years agoMerge "Fix database reconnection"
Jenkins [Thu, 24 Jan 2013 10:34:28 +0000 (10:34 +0000)]
Merge "Fix database reconnection"

11 years agoFix database reconnection
Gary Kotton [Thu, 24 Jan 2013 09:15:32 +0000 (09:15 +0000)]
Fix database reconnection

Fixes bug 1103904

Change-Id: I2f3bc450d5d7ea04c20b3be2afed3c0c5a00435a

11 years agoFixes per tenant quota doesn't work
He Jie Xu [Thu, 24 Jan 2013 07:26:55 +0000 (15:26 +0800)]
Fixes per tenant quota doesn't work

Fixes bug 1101331

Change-Id: I9c4e88b437506ed5818ee56ff6fd70588cb0f965

11 years agoAdds port security api extension and base class
Aaron Rosen [Wed, 9 Jan 2013 06:53:02 +0000 (22:53 -0800)]
Adds port security api extension and base class

Implements blueprint port-security-api-base-class
This patch also updates the _create_network/port in the unit tests
so that it does not remove false values from arg_list.
Fixes bug 1097527

Change-Id: I22b55b0ed56c830995ffb491176c801c697abe6f

11 years agoLinuxBridge: set port status as 'DOWN' on creation
Gary Kotton [Wed, 23 Jan 2013 07:39:18 +0000 (07:39 +0000)]
LinuxBridge: set port status as 'DOWN' on creation

When a port is created the initial status will be 'DOWN'. The agent
in turn will update the plugin of the actual port status.

Change-Id: I66b51501304f7cb3f0157a4adaec4b82c62b30a3

11 years agoLinuxBridge: update status according to admin_state_up
Gary Kotton [Sun, 13 Jan 2013 09:16:29 +0000 (09:16 +0000)]
LinuxBridge: update status according to admin_state_up

Fixes bug 1099065

In addition to this the agent will only treat ports that exist on the agent.

Change-Id: I927649a45a860421ef0d825015516000475ad08d

11 years agoLBaaS plugin returns unnecessary information for PING and TCP health monitors
Avishay Balderman [Wed, 23 Jan 2013 09:49:32 +0000 (01:49 -0800)]
LBaaS plugin returns unnecessary information for PING and TCP health monitors

Fixes Bug #1100749

Change-Id: Id1e22621b398786f3d6b670f53b6e23e7fb89786

11 years agoFix all extension contract classes inherit from extensions.ExtensionDescriptor
Zhongyue Luo [Tue, 22 Jan 2013 10:52:41 +0000 (18:52 +0800)]
Fix all extension contract classes inherit from extensions.ExtensionDescriptor

Part of blueprint quantum-api-wadl
Fixes bug #1102927

Fixed classes to inherit from ExtensionDescriptor
Reordered methods in sync with parent

Change-Id: I40b3814a490d7da49d0ef075c3482cc104eb7a7c

11 years agoMerge "Enable test_agent_ovs_cleanup to be run alone"
Jenkins [Wed, 23 Jan 2013 08:02:08 +0000 (08:02 +0000)]
Merge "Enable test_agent_ovs_cleanup to be run alone"

11 years agoget_security_group() now returns rules
Aaron Rosen [Wed, 23 Jan 2013 03:24:25 +0000 (19:24 -0800)]
get_security_group() now returns rules

get_security_group() previously only returned a security_group's id,
name, tenant_id, and description. This patch changes get_security_group()
to also return the security_group_rules associated with the security group.
Fixed bug 1103278

Change-Id: Iebc0022faa5c7072380d52b81c13783add0f4d46

11 years agoMerge "set allocation_pool_id nullable=False"
Jenkins [Wed, 23 Jan 2013 05:59:53 +0000 (05:59 +0000)]
Merge "set allocation_pool_id nullable=False"

11 years agoMerge "Fix i18n messages for cisco plugin"
Jenkins [Wed, 23 Jan 2013 04:03:48 +0000 (04:03 +0000)]
Merge "Fix i18n messages for cisco plugin"

11 years agoMerge "Fix i18n messages"
Jenkins [Wed, 23 Jan 2013 03:52:23 +0000 (03:52 +0000)]
Merge "Fix i18n messages"

11 years agoMerge "Provide atomic database access for ports in linuxbridge plugin"
Jenkins [Wed, 23 Jan 2013 03:42:57 +0000 (03:42 +0000)]
Merge "Provide atomic database access for ports in linuxbridge plugin"

11 years agoMerge "Support Port Binding Extension in NEC plugin"
Jenkins [Wed, 23 Jan 2013 00:03:13 +0000 (00:03 +0000)]
Merge "Support Port Binding Extension in NEC plugin"

11 years agoset allocation_pool_id nullable=False
Mark McClain [Tue, 22 Jan 2013 22:48:09 +0000 (17:48 -0500)]
set allocation_pool_id nullable=False

fixes bug 1103216

SQL Primary Keys cannot be null, so this patch fixes an
inconsistency between the models and SQL.  The databases were
correcting this automatically, so a migration is not required.

Change-Id: I724294580de9b86a2edfd4fdc6907e9469b6c552

11 years agoMerge "make IPv6 unit test work on systems with eth0"
Jenkins [Tue, 22 Jan 2013 20:05:38 +0000 (20:05 +0000)]
Merge "make IPv6 unit test work on systems with eth0"

11 years agomake IPv6 unit test work on systems with eth0
Mark McClain [Tue, 22 Jan 2013 17:16:09 +0000 (12:16 -0500)]
make IPv6 unit test work on systems with eth0

fixes bug 1103074

The link local unit test was failing because it depended on eth0 to
exists.  This mocks getaddrinfo() to ensure a consistent return value
across testing environments.

Change-Id: Ie1a4d837efcacac8c8d2217c164ad751922e1a5f

11 years agoMerge "Removes redundant code in quantum.api.api_common"
Jenkins [Tue, 22 Jan 2013 17:12:23 +0000 (17:12 +0000)]
Merge "Removes redundant code in quantum.api.api_common"

11 years agoSupport Port Binding Extension in NEC plugin
Akihiro MOTOKI [Wed, 16 Jan 2013 02:59:02 +0000 (11:59 +0900)]
Support Port Binding Extension in NEC plugin

Fixes bug 1099894
nova/network/quantumv2/api fill the bridge name according to
binding:vif_type attribute passed from Quantum. Otherwise the bridge
is set to None and launching an instance will fail.

blueprint vif-plugging-improvements

Note that binding:capabilities is under discussion and it may be
changed in the future. This commit just adds NEC plugin support
same as OVS and Linux bridge plugin.

Change-Id: Ifd43c3c53615246187621613f72490b62a09b2d6

11 years agoMerge "Update Oslo rpc"
Jenkins [Tue, 22 Jan 2013 13:11:09 +0000 (13:11 +0000)]
Merge "Update Oslo rpc"

11 years agoMerge "Enhance wsgi to listen on ipv6 address"
Jenkins [Tue, 22 Jan 2013 09:36:07 +0000 (09:36 +0000)]
Merge "Enhance wsgi to listen on ipv6 address"

11 years agoEnable NEC OpenFlow plugin to use per-tenant quota
Akihiro MOTOKI [Fri, 18 Jan 2013 17:53:25 +0000 (02:53 +0900)]
Enable NEC OpenFlow plugin to use per-tenant quota

Fixes bug 1099889

Change-Id: I0b778371d0775e594c3217ceb329a7f4e58609f6

11 years agoEnhance wsgi to listen on ipv6 address
Davanum Srinivas [Thu, 10 Jan 2013 16:26:25 +0000 (11:26 -0500)]
Enhance wsgi to listen on ipv6 address

Check if the hostname is ipv6 and set the family appropriately.
Picked up the code snippet from glance to determine the address_family
per markmclain's comment
Picked up some code from nova as well to get the test case running
properly

Fixes LP# 1101341

Change-Id: I67166dc030e4ea0dd82888abfbc9db555747de27

11 years agoMerge "Fix i18n messages in quantum.api.api_common"
Jenkins [Tue, 22 Jan 2013 03:48:56 +0000 (03:48 +0000)]
Merge "Fix i18n messages in quantum.api.api_common"

11 years agoFix i18n messages
He Jie Xu [Sat, 19 Jan 2013 11:58:47 +0000 (19:58 +0800)]
Fix i18n messages

Fix the last scraps of messages

Change-Id: I0494ab43fa95b7040de2b5a596fa08b9c73aab8d

11 years agoUpdate Oslo rpc
Zhongyue Luo [Tue, 22 Jan 2013 02:28:03 +0000 (10:28 +0800)]
Update Oslo rpc

Updated the rpc module for import order fix

Change-Id: I09332425827778672dc232b15ebefd9f9a6dd34a

11 years agoMerge "Completes unittest coverage of quantum.api.api_common"
Jenkins [Mon, 21 Jan 2013 23:06:53 +0000 (23:06 +0000)]
Merge "Completes unittest coverage of quantum.api.api_common"

11 years agoMerge "Enforces generic sqlalchemy types in migrations."
Jenkins [Mon, 21 Jan 2013 18:57:59 +0000 (18:57 +0000)]
Merge "Enforces generic sqlalchemy types in migrations."

11 years agoEnforces generic sqlalchemy types in migrations.
Matt Dietz [Mon, 21 Jan 2013 17:40:50 +0000 (17:40 +0000)]
Enforces generic sqlalchemy types in migrations.

Fixes bug 1102491

Modifies the service_type migration to use sqlalchemy types instead of
mysql types. Also removes the import of mysql from several of the
migrations.

Change-Id: I0495a711cd14f64ced4d32857e30586a42b83839

11 years agoRemove redudant code
Avishay Balderman [Mon, 21 Jan 2013 15:14:31 +0000 (07:14 -0800)]
Remove redudant code

Fixes bug 1102402

Change-Id: Ib4a226cdc18506c1aa08707cc06fa76d4090287f

11 years agoRemoves redundant code in quantum.api.api_common
Zhongyue Luo [Mon, 21 Jan 2013 08:57:46 +0000 (16:57 +0800)]
Removes redundant code in quantum.api.api_common

Fixes bug #1102313

Change-Id: Ie321c48ae6d38f013e1ef8471df4d86b63b28931

11 years agoFix i18n messages in quantum.api.api_common
Zhongyue Luo [Mon, 21 Jan 2013 01:56:13 +0000 (09:56 +0800)]
Fix i18n messages in quantum.api.api_common

Change-Id: I30dc9ad76dbfb6cc038c283d81e449cf64d7ffec

11 years agoCompletes unittest coverage of quantum.api.api_common
Zhongyue Luo [Mon, 21 Jan 2013 08:31:08 +0000 (16:31 +0800)]
Completes unittest coverage of quantum.api.api_common

Fixes bug #1102245

Change-Id: I01c8a563440f56db19d33a743549d2d50f5b48ee

11 years agoEnable test_agent_ovs_cleanup to be run alone
Gary Kotton [Mon, 21 Jan 2013 07:47:28 +0000 (07:47 +0000)]
Enable test_agent_ovs_cleanup to be run alone

Fixed bug 1102243

Change-Id: I0d3df32301903a0ce8547fe50fd03222e1548a72

11 years agoFix i18n messages for cisco plugin
He Jie Xu [Sat, 19 Jan 2013 04:23:04 +0000 (12:23 +0800)]
Fix i18n messages for cisco plugin

fix bug 1101676

Change-Id: I671092b4c47b77bc42474b5bf2f6b8d9791acce6

11 years agoProvide atomic database access for ports in linuxbridge plugin
He Jie Xu [Wed, 9 Jan 2013 01:24:04 +0000 (09:24 +0800)]
Provide atomic database access for ports in linuxbridge plugin

Fixes bug 1097541

Change-Id: I3b16b4504b7b61cebe44df5c169f4877969c8628

11 years agoAdd help strings to config file options in Quantum code.
Kyle Mestery [Thu, 17 Jan 2013 11:46:59 +0000 (11:46 +0000)]
Add help strings to config file options in Quantum code.

Fixes bug 1094989

Change-Id: Ic8f875b41871c79be6a26b829a5af6d3e95b6052

11 years agoMerge "Add a common test case for Port Binding Extension"
Jenkins [Fri, 18 Jan 2013 13:04:12 +0000 (13:04 +0000)]
Merge "Add a common test case for Port Binding Extension"

11 years agoDocument that code is on github now in README.
Robert Collins [Fri, 18 Jan 2013 03:27:46 +0000 (16:27 +1300)]
Document that code is on github now in README.

Change-Id: I1c50fabdee9fc3f6cffc24025e75d48ed1f65dc2

11 years agoMerge "Config lockutils to use a temp path for tests."
Jenkins [Thu, 17 Jan 2013 19:45:41 +0000 (19:45 +0000)]
Merge "Config lockutils to use a temp path for tests."

11 years agoMerge "Update Oslo rpc module"
Jenkins [Thu, 17 Jan 2013 18:57:56 +0000 (18:57 +0000)]
Merge "Update Oslo rpc module"

11 years agoMerge "More unittests for quantum.api.v2.base"
Jenkins [Thu, 17 Jan 2013 18:50:04 +0000 (18:50 +0000)]
Merge "More unittests for quantum.api.v2.base"

11 years agoMerge "Provide atomic database access nvp plugin"
Jenkins [Thu, 17 Jan 2013 18:48:46 +0000 (18:48 +0000)]
Merge "Provide atomic database access nvp plugin"

11 years agoMerge "Fix downgrade revision to make db migration linear"
Jenkins [Thu, 17 Jan 2013 18:47:47 +0000 (18:47 +0000)]
Merge "Fix downgrade revision to make db migration linear"

11 years agoConfig lockutils to use a temp path for tests.
Maru Newby [Thu, 17 Jan 2013 18:42:37 +0000 (18:42 +0000)]
Config lockutils to use a temp path for tests.

 * Tests for iptables_manager were leaving lockfiles in the source
   tree due to the default lock path being in the openstack common
   tree.  This patch sets the lock_path option to an empty string
   for unit tests to ensure that a temporary location is used
   instead.

Change-Id: I5d36dca8cfeba991dfe0803e536d3d74dd2ffe7f

11 years agoFix downgrade revision to make db migration linear
Akihiro MOTOKI [Thu, 17 Jan 2013 13:19:45 +0000 (22:19 +0900)]
Fix downgrade revision to make db migration linear

Fixes bug 1100767

The recent commit 7999282 creates db migration branches.
The migration timeline should be linear and this commit fixes it.

Change-Id: I94e1088352112e8c6ec989a54df83e61797b38c5

11 years agoSend notification on router interface create/delete
Julien Danjou [Fri, 4 Jan 2013 15:29:20 +0000 (16:29 +0100)]
Send notification on router interface create/delete

This fixes bug #1060985 for Quantum

Change-Id: I39d2d15340913dd0fad753c3e95fb74d329481a9
Signed-off-by: Julien Danjou <julien@danjou.info>
11 years agoMerge "_validate_security_groups_on_port was not validating external_ids"
Jenkins [Thu, 17 Jan 2013 09:40:21 +0000 (09:40 +0000)]
Merge "_validate_security_groups_on_port was not validating external_ids"

11 years agoMerge "Refactor hyperv plugin and agent."
Jenkins [Thu, 17 Jan 2013 07:44:30 +0000 (07:44 +0000)]
Merge "Refactor hyperv plugin and agent."

11 years agoMore unittests for quantum.api.v2.base
Zhongyue Luo [Wed, 12 Dec 2012 06:50:59 +0000 (14:50 +0800)]
More unittests for quantum.api.v2.base

Added unittests for the below methods
* quantum.api.v2.base._fields()
* quantum.api.v2.base._filters()
* quantum.api.v2.base.create_resource()

Fixes bug #1092399

Change-Id: Icdddb3a201b4bc577378e78c7a7cd48486a2d57a

11 years agoFixes inefficiency in quantum.api.v2.base._filters
Zhongyue Luo [Fri, 21 Dec 2012 22:26:05 +0000 (06:26 +0800)]
Fixes inefficiency in quantum.api.v2.base._filters

Use iteritems() instead of getall() on request.GET

Fixes bug #1092995

Change-Id: Ic0b5e3d7c7b1ddd072d9fe918ea22a8e9aef9ee4

11 years agoRefactor hyperv plugin and agent.
gongysh [Wed, 16 Jan 2013 03:26:32 +0000 (11:26 +0800)]
Refactor hyperv plugin and agent.

Remove unused imports.
Add an empty tunnel_sync method so that we can run ovs-quantum-agent
with the hyper-v plugin when we are using vlan networks.

Change-Id: I94b1d0cf188d0a1e03e0948708975594f2615fbf

11 years agoUpdate Oslo rpc module
Zhongyue Luo [Thu, 17 Jan 2013 05:00:46 +0000 (13:00 +0800)]
Update Oslo rpc module

Updates rpc/impl_qpid and rpc/impl_zmq

Change-Id: Ie1b2a9d9dc3228528c501ef92d3db2133c3fe127

11 years agoProvide atomic database access nvp plugin
Aaron Rosen [Thu, 10 Jan 2013 21:36:35 +0000 (13:36 -0800)]
Provide atomic database access nvp plugin

* This patch ensures that if multiple queries are done against the
  database they are atomic.
* Removes outdated doc string comments.
* Changes update_network so that it doesn't update the network name in nvp
  since the name is retreved from the database.
* Fixes get_network to return the correct status from nvp. Previously,
  it was always returning ACTIVE.
Fixes bug 1097990

Change-Id: Ie3eb67c98dcb36b18cbef2e0905b59eba48ca81d

11 years ago_validate_security_groups_on_port was not validating external_ids
Aaron Rosen [Wed, 9 Jan 2013 23:08:02 +0000 (15:08 -0800)]
_validate_security_groups_on_port was not validating external_ids

The function _validate_security_groups_on_port was not validating a ports
security group id if the id was an external id. The unit tests now use
set_override() rather than setting cfg values directly. Lastly, quantum.conf
now has the proxy_mode option exposed.
Fixes bug 1095864

Change-Id: I0ec7f9ed36f1a46156c47a115be936bb41ef75d9

11 years agoMerge "Ensure that agents also set control_exchange"
Jenkins [Thu, 17 Jan 2013 01:20:52 +0000 (01:20 +0000)]
Merge "Ensure that agents also set control_exchange"

11 years agoUpdate WebOb version to >=1.2
Doug Hellmann [Wed, 16 Jan 2013 20:56:40 +0000 (15:56 -0500)]
Update WebOb version to >=1.2

The other projects have merged changes to accept
WebOb>=1.2 now, so update Quantum to use the same
version.

See bug #1092227 for details.

Change-Id: I0969752910b92209408d956f633ad2ccacc7fa46
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
11 years agoMerge "Fix ATTR_NOT_SPECIFIED comparison errors"
Jenkins [Wed, 16 Jan 2013 20:44:27 +0000 (20:44 +0000)]
Merge "Fix ATTR_NOT_SPECIFIED comparison errors"

11 years agoMerge "Add migration for network bindings in NVP plugin"
Jenkins [Wed, 16 Jan 2013 20:41:45 +0000 (20:41 +0000)]
Merge "Add migration for network bindings in NVP plugin"

11 years agoEnsure that agents also set control_exchange
Gary Kotton [Wed, 16 Jan 2013 16:28:44 +0000 (16:28 +0000)]
Ensure that agents also set control_exchange

Fixes bug 1100357

Change-Id: I6302edecf851588762d39c99d2f7b2e18ba04bc7

11 years agoAdd a common test case for Port Binding Extension
Akihiro MOTOKI [Wed, 16 Jan 2013 02:13:15 +0000 (11:13 +0900)]
Add a common test case for Port Binding Extension

This commit merges the test cases for Port Binding Extension in
Linux Bridge plugin and Open vSwitch plugin into a common one.
It makes it easier for each plugin to support the port binding extension.

This commit also adds binding:capabilities attribute to OVS plugin.
Note that binding:capabilities is under discussion and it may be changed
in the future. This change is done just to make OVS plugin support
same as Linux Bridge plugin and pass the common unit test for the extension.

blueprint vif-plugging-improvements

Change-Id: Idc38ea65fe2059e23814d94cd0a0f11a09d1f43e

11 years agoFix line endings from CRLF to LF.
David Ripton [Wed, 16 Jan 2013 14:14:19 +0000 (09:14 -0500)]
Fix line endings from CRLF to LF.

Fixes bug #1100234

Change-Id: Idb28558547b69ed4ad64334651405dc70fa9ddb3

11 years agoFixes import order nits
Zhongyue Luo [Wed, 16 Jan 2013 03:36:22 +0000 (11:36 +0800)]
Fixes import order nits

Change-Id: Ide6dff579a126c9af5b593f9ce541873a7643415

11 years agoMerge "NEC OpenFlow plugin supports L3 agent RPC"
Jenkins [Wed, 16 Jan 2013 04:58:19 +0000 (04:58 +0000)]
Merge "NEC OpenFlow plugin supports L3 agent RPC"

11 years agoMerge "Catch up RPC context fixes on NEC OpenFlow plugin"
Jenkins [Wed, 16 Jan 2013 04:47:09 +0000 (04:47 +0000)]
Merge "Catch up RPC context fixes on NEC OpenFlow plugin"

11 years agoFix ATTR_NOT_SPECIFIED comparison errors
Zhongyue Luo [Thu, 3 Jan 2013 02:40:16 +0000 (10:40 +0800)]
Fix ATTR_NOT_SPECIFIED comparison errors

Fixes bug #1099663

Replaced equality operators used with ATTR_NOT_SPECIFIED to 'is' or 'is not'.
Used is_attr_set() where comparsion is done to None and ATTR_NOT_SPECIFIED.

Change-Id: I67c87051b46ca0518fa777cbb1c3e6141a533b61

11 years agoMerge "Update latest OSLO."
Jenkins [Tue, 15 Jan 2013 21:05:47 +0000 (21:05 +0000)]
Merge "Update latest OSLO."

11 years agoMerge "Adding multi switch support to the Cisco Nexus plugin"
Jenkins [Tue, 15 Jan 2013 17:59:45 +0000 (17:59 +0000)]
Merge "Adding multi switch support to the Cisco Nexus plugin"

11 years agoAdd migration for network bindings in NVP plugin
Salvatore Orlando [Tue, 15 Jan 2013 15:49:04 +0000 (07:49 -0800)]
Add migration for network bindings in NVP plugin

Bug 1099895

Ensures the table nvp_network_bindings is created when upgrading
database to head, by adding an appropriate alembic migration

Change-Id: I4a794ed0ec6866d657cb2470d5aa67828e81aa75

11 years agoNEC OpenFlow plugin supports L3 agent RPC
Akihiro MOTOKI [Sun, 30 Dec 2012 20:25:06 +0000 (05:25 +0900)]
NEC OpenFlow plugin supports L3 agent RPC

Fixes bug 1099879

Change-Id: Icbe1d686fea2f821e55c4a25916361dbfe9ad380

11 years agoUpdate latest OSLO.
Gary Kotton [Tue, 15 Jan 2013 13:00:03 +0000 (13:00 +0000)]
Update latest OSLO.

Changes include:
1. Removing the 'extras' in the pip-requires
2. Fixes for fake implementations for RPC calls
3. Version updates due to common version update

Change-Id: Iefd32b3f7d529943b078e6d927d06043286ff94e

11 years agoCatch up RPC context fixes on NEC OpenFlow plugin
Akihiro MOTOKI [Sun, 30 Dec 2012 20:58:36 +0000 (05:58 +0900)]
Catch up RPC context fixes on NEC OpenFlow plugin

Fixes bug 1099179

Change-Id: Ib61081c3aaed8770906dd57874c45358b0418c3f

11 years agoMerge "ensure all enums in loadbalancer models have names"
Jenkins [Tue, 15 Jan 2013 03:00:48 +0000 (03:00 +0000)]
Merge "ensure all enums in loadbalancer models have names"

11 years agoMerge "Optimize if/else logic in quantum.api.v2.base.prepare_request_body()"
Jenkins [Tue, 15 Jan 2013 02:36:52 +0000 (02:36 +0000)]
Merge "Optimize if/else logic in quantum.api.v2.base.prepare_request_body()"

11 years agoMerge "Adds support for deploying Quantum on Windows"
Jenkins [Tue, 15 Jan 2013 01:03:38 +0000 (01:03 +0000)]
Merge "Adds support for deploying Quantum on Windows"

11 years agoMerge "Adds a Hyper-V Quantum plugin"
Jenkins [Mon, 14 Jan 2013 22:47:26 +0000 (22:47 +0000)]
Merge "Adds a Hyper-V Quantum plugin"

11 years agoMerge "Name the securitygrouprules.direction enum."
Jenkins [Mon, 14 Jan 2013 22:27:29 +0000 (22:27 +0000)]
Merge "Name the securitygrouprules.direction enum."

11 years agoensure all enums in loadbalancer models have names
Mark McClain [Mon, 14 Jan 2013 20:31:37 +0000 (15:31 -0500)]
ensure all enums in loadbalancer models have names

fixes bug 1099565

Postgres requires that enums types have names.  This fix adds the name
parameter to the Enum declaration.

Change-Id: Ica67c6cf0b8959761f3022552c1c6a807a4ced82

11 years agoAdding multi switch support to the Cisco Nexus plugin
Arvind Somya [Mon, 7 Jan 2013 23:40:59 +0000 (18:40 -0500)]
Adding multi switch support to the Cisco Nexus plugin

This commit adds intelligent multiple nexus physical switch support for the Cisco plugin.
The plugin also has been modified to scan for the host when an instance is created and
selectively trunk VLAN's for the port for that host only. It also deletes VLANs from nexus
switches when no longer required.

Implements: blueprint cisco-plugin-enhancements

Change-Id: I6275eb1815310d0d5a8123ca2edbc0a0937718e9

11 years agoMerge "Add exception validation for subnet used."
Jenkins [Mon, 14 Jan 2013 17:56:46 +0000 (17:56 +0000)]
Merge "Add exception validation for subnet used."

11 years agoMerge "Remove accessing cfg.CONF.DATABASE in nec-agent"
Jenkins [Mon, 14 Jan 2013 17:56:42 +0000 (17:56 +0000)]
Merge "Remove accessing cfg.CONF.DATABASE in nec-agent"

11 years agoName the securitygrouprules.direction enum.
Dan Prince [Mon, 14 Jan 2013 17:26:36 +0000 (12:26 -0500)]
Name the securitygrouprules.direction enum.

Updates to the SecurityGroupRule model and migration so that we
explicitly name the securitygrouprules.direction enum. This fixes
'Postgresql ENUM type requires a name.' errors.

Fixes LP Bug #1099267.

Change-Id: Ia46fe8d4b0793caaabbfc71b7fa5f0cbb8c6d24b

11 years agoAdds support for deploying Quantum on Windows
Alessandro Pilotti [Sun, 6 Jan 2013 15:27:07 +0000 (17:27 +0200)]
Adds support for deploying Quantum on Windows

Some changes in setup.py are required to properly handle dependencies
and data files on WIndows (including Hyper-V server).

A console script called "quantum-hyperv-agent" has also been added to
start the Hyper-V agent

Change-Id: Ifac2d33afabac242d9dab87b0bc1764421efc16f

11 years agoAdds a Hyper-V Quantum plugin
Alessandro Pilotti [Fri, 4 Jan 2013 18:32:09 +0000 (20:32 +0200)]
Adds a Hyper-V Quantum plugin

Blueprint quantum-plugin-hyper-v

Initial Hyper-V Quantum plugin including VLAN support.
Support for NVGRE networking will be added in a subsequent patch.
The plugin architecture relies heavily on the OVS plugin, with some
design differences to handle different network types via polymorphism.

The plugin contains two main components:

The plugin itself, to be executed on Linux or Windows
The L2 agent, to be executed on each Hyper-V node

L3 networking is currently handled on Linux with the existing agents.

A Nova Quantum Vif plugin is included in the Nova project.

Change-Id: Ie64bff448e3fb1129c5e24baaf148cdcc0aed8b9

11 years agoAdd exception validation for subnet used.
Gary Kotton [Mon, 14 Jan 2013 10:01:20 +0000 (10:01 +0000)]
Add exception validation for subnet used.

As a result of bug 1093754 there was no validation of the actual
exception returned.

Change-Id: Ia3104ca523d30ea40c354afa62ed5ce2b88d5b7e

11 years agoMerge "Remove unsused imports in the plugins package"
Jenkins [Mon, 14 Jan 2013 09:08:15 +0000 (09:08 +0000)]
Merge "Remove unsused imports in the plugins package"

11 years agoRemove accessing cfg.CONF.DATABASE in nec-agent
Akihiro MOTOKI [Sun, 13 Jan 2013 17:57:33 +0000 (02:57 +0900)]
Remove accessing cfg.CONF.DATABASE in nec-agent

Fixes bug 1099162

The database configuration was moved to the common DB module.
There no longer needs to access database configuration in the
plugin specific code.

Change-Id: I4b80ea1e84ffa06d0fffa7f8ccdee08a5b77e239

11 years agoInform a client if Quantum provides port filtering feature
Akihiro MOTOKI [Sat, 12 Jan 2013 12:42:32 +0000 (21:42 +0900)]
Inform a client if Quantum provides port filtering feature

Part of blueprint vif-plugging-improvements

Quantum and Nova have duplicated functionality of packet filtering
such as security groups and anti spoofing filters.
By passing information whether Quantum supports the port filtering feature,
Nova VIF driver can skip its own packet filtering setup.

It is based on Daniel's advise in https://review.openstack.org/#/c/19436/

Change-Id: Ifd260cb61aa3990251510a4a3fe15454d8d584df

11 years agoMerge "DHCP agent unable to access port when restarting"
Jenkins [Sun, 13 Jan 2013 12:26:01 +0000 (12:26 +0000)]
Merge "DHCP agent unable to access port when restarting"

11 years agoRemove unsused imports in the plugins package
Ivan Kolodyazhny [Sat, 12 Jan 2013 16:20:52 +0000 (18:20 +0200)]
Remove unsused imports in the plugins package

Config imports are needed for correct init
quota_db is required to make sure quota database model at the proper timing

Change-Id: I885ed1f673cfc4c6331818ad68e2a505f7d69188

11 years agoMerge "Remove unused imports in unit tests"
Jenkins [Sun, 13 Jan 2013 11:07:39 +0000 (11:07 +0000)]
Merge "Remove unused imports in unit tests"

11 years agoMerge "Fixes quantum.api.v2.base._filters to be more intuitive"
Jenkins [Sun, 13 Jan 2013 10:55:54 +0000 (10:55 +0000)]
Merge "Fixes quantum.api.v2.base._filters to be more intuitive"

11 years agoDHCP agent unable to access port when restarting
Gary Kotton [Sun, 13 Jan 2013 09:58:55 +0000 (09:58 +0000)]
DHCP agent unable to access port when restarting

Fixes bug 1099072

The security groups would return an exception for invalid port ownership.

Change-Id: I8c48adce30b160bd776b5e68bc321e3a2e8cbce2

11 years agoMerge "Use default_notification_level when notification"
Jenkins [Sun, 13 Jan 2013 02:16:42 +0000 (02:16 +0000)]
Merge "Use default_notification_level when notification"

11 years agoRemove unused imports in unit tests
Ivan Kolodyazhny [Wed, 2 Jan 2013 20:40:36 +0000 (22:40 +0200)]
Remove unused imports in unit tests

Change-Id: I10401bc240b2a7aebe6317067dafe8bfe35264f8