]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoadd state_path sample back to l3_agent.ini file
Mark McClain [Mon, 3 Dec 2012 15:32:30 +0000 (10:32 -0500)]
add state_path sample back to l3_agent.ini file

fixes bug 1086012

A prior change incorrectly removed the sample state_path from the
l3_agent config file.  This change adds the correct sample value to the
file.

Change-Id: I10455706442c004e5d0337834b5baa3b794af5e7

11 years agoMerge "Removes unused code in quantum.common"
Jenkins [Mon, 3 Dec 2012 09:37:56 +0000 (09:37 +0000)]
Merge "Removes unused code in quantum.common"

11 years agoRemoves unused code in quantum.common
Zhongyue Luo [Mon, 3 Dec 2012 07:45:51 +0000 (15:45 +0800)]
Removes unused code in quantum.common

Removed boolize() in quantum.common.utils

Fixes bug #877120

Change-Id: Icb30b4200baf8743bbee6b4dd035c8b316c38533

11 years agoFixes import order nits
Zhongyue Luo [Mon, 3 Dec 2012 02:06:23 +0000 (10:06 +0800)]
Fixes import order nits

Change-Id: I8bcfbcbc0d97a96a9c05d29510d3017b8a054cec

11 years agoMerge "update state_path default to be the same value"
Jenkins [Sun, 2 Dec 2012 01:45:24 +0000 (01:45 +0000)]
Merge "update state_path default to be the same value"

11 years agoMerge "Completes coverage of quantum.agent.linux.utils"
Jenkins [Sat, 1 Dec 2012 15:31:22 +0000 (15:31 +0000)]
Merge "Completes coverage of quantum.agent.linux.utils"

11 years agoMerge "prevent deletion of router interface if it is needed by a floating ip"
Jenkins [Sat, 1 Dec 2012 03:01:25 +0000 (03:01 +0000)]
Merge "prevent deletion of router interface if it is needed by a floating ip"

11 years agoupdate state_path default to be the same value
Mark McClain [Fri, 30 Nov 2012 23:03:52 +0000 (18:03 -0500)]
update state_path default to be the same value

fixes bug 1085249

This patch sets the default state_path to match a reasonable deployment
value instead of the devstack default.

Change-Id: Ib0c10621d91760588a68a62df8a60682d780e015

11 years agoUse /usr/bin/ for the metadata proxy in l3.filters
Dan Prince [Fri, 30 Nov 2012 21:13:51 +0000 (16:13 -0500)]
Use /usr/bin/ for the metadata proxy in l3.filters

Updates the l3.filters proxy to use /usr/bin/ instead
of /usr/local/bin.  This should be a more distro friendly
default and follows the pattern used by other OpenStack
services as well.

Change-Id: I8fbaa49f97f5367c112dc399db838d204af7b4c8

11 years agoMerge "Fixes Rpc related exception in NVP plugin"
Jenkins [Fri, 30 Nov 2012 18:35:23 +0000 (18:35 +0000)]
Merge "Fixes Rpc related exception in NVP plugin"

11 years agoprevent deletion of router interface if it is needed by a floating ip
Dan Wendlandt [Fri, 30 Nov 2012 17:01:15 +0000 (09:01 -0800)]
prevent deletion of router interface if it is needed by a floating ip

bug 1081325

Change-Id: I33495fd7ee812eded015b2d3783d1cf6a3bf14bc

11 years agoMerge "add metadata proxy support for Quantum Networks"
Jenkins [Fri, 30 Nov 2012 16:50:34 +0000 (16:50 +0000)]
Merge "add metadata proxy support for Quantum Networks"

11 years agoCompletes coverage of quantum.agent.linux.utils
Zhongyue Luo [Thu, 29 Nov 2012 07:50:12 +0000 (15:50 +0800)]
Completes coverage of quantum.agent.linux.utils

Renamed test_agent_utils to test_agent_linux_utils
Added test cases

Fixes bug #1084817

Change-Id: If0269a003bd8e1fc6f6ef3c622d7a015dadf50aa

11 years agoFixes Rpc related exception in NVP plugin
Aaron Rosen [Fri, 30 Nov 2012 00:24:55 +0000 (16:24 -0800)]
Fixes Rpc related exception in NVP plugin

The rpc changes from commit 05383d13 were not also made against
the nvp_plugin. Bug #1084803

Change-Id: Iac95065bda2f6b83e07c27045f374ab8690865ca

11 years agomake the DHCP agent use a unique queue name
Mark McClain [Thu, 29 Nov 2012 17:26:29 +0000 (12:26 -0500)]
make the DHCP agent use a unique queue name

fixes bug: 1084621

This generates a unique name, so that multiple agents can be active
within a deployment.

Change-Id: Ia2bdc27866e6aa4aebd0bd28d1dfd25c3167dd03

11 years agoMerge "Fixes Context exception in BigSwitch/FloodLight Plugin"
Jenkins [Thu, 29 Nov 2012 13:38:17 +0000 (13:38 +0000)]
Merge "Fixes Context exception in BigSwitch/FloodLight Plugin"

11 years agoMerge "Completes coverage of quantum.agent.rpc.py"
Jenkins [Thu, 29 Nov 2012 12:14:49 +0000 (12:14 +0000)]
Merge "Completes coverage of quantum.agent.rpc.py"

11 years agoFixes Context exception in BigSwitch/FloodLight Plugin
Sumit Naiksatam [Thu, 29 Nov 2012 10:17:59 +0000 (02:17 -0800)]
Fixes Context exception in BigSwitch/FloodLight Plugin

Bug #1083389

Aligning with the changes in the patch: https://review.openstack.org/#/c/15726
to only use Quantum API context.

Change-Id: I5644ad59c34430a9d558c39bbc07f594609ebfbc

11 years agoMerge "Completes coverage of quantum.agent.netns_cleanup.py"
Jenkins [Thu, 29 Nov 2012 08:25:58 +0000 (08:25 +0000)]
Merge "Completes coverage of quantum.agent.netns_cleanup.py"

11 years agofix remap of floating-ip within l3-agent polling interval
Dan Wendlandt [Thu, 29 Nov 2012 06:10:41 +0000 (22:10 -0800)]
fix remap of floating-ip within l3-agent polling interval

bug 1083990

Change-Id: I1bb365fe6accc24a223acd2b31d4eacdb6809410

11 years agoCompletes coverage of quantum.agent.rpc.py
Zhongyue Luo [Thu, 29 Nov 2012 03:29:07 +0000 (11:29 +0800)]
Completes coverage of quantum.agent.rpc.py

Added test cases

Fixes bug #1084381

Change-Id: I9179aac206befa6b0449814646639ed96a1eadbc

11 years agoCompletes coverage of quantum.agent.netns_cleanup.py
Zhongyue Luo [Thu, 29 Nov 2012 01:37:24 +0000 (09:37 +0800)]
Completes coverage of quantum.agent.netns_cleanup.py

Added test cases
Fixed typos

Fixes bug #1084332

Change-Id: I86c2321dfe5f3f1ac4b8b570a6c76dbb1928bfb0

11 years agoadd metadata proxy support for Quantum Networks
Mark McClain [Fri, 16 Nov 2012 04:08:52 +0000 (23:08 -0500)]
add metadata proxy support for Quantum Networks

blueprint metadata-overlapping-networks

Adds Metadata for guest VMs running on Qunatum networks.  This requires
a companion patchset for Nova to test.

Change-Id: I524c6fdcd6a44e46da08395fd84c1288052a69ea

11 years agoMerge "Use openstack.common.logging in NEC OpenFlow plugin"
Jenkins [Wed, 28 Nov 2012 22:44:38 +0000 (22:44 +0000)]
Merge "Use openstack.common.logging in NEC OpenFlow plugin"

11 years agoMerge "Correct i18n message for api and db module"
Jenkins [Wed, 28 Nov 2012 22:44:31 +0000 (22:44 +0000)]
Merge "Correct i18n message for api and db module"

11 years agoMake signing dir a subdir in /var/lib/quantum.
Dan Prince [Wed, 28 Nov 2012 19:01:36 +0000 (14:01 -0500)]
Make signing dir a subdir in /var/lib/quantum.

Moves the keystone_signing directory into a subdirectory
of /var/lib/quantum which is use for lots of other things
as well.

Change-Id: I451d2bca17dcdb5b7050bc412e709285f87cb788

11 years agoUse openstack.common.logging in NEC OpenFlow plugin
Akihiro MOTOKI [Wed, 28 Nov 2012 13:13:42 +0000 (22:13 +0900)]
Use openstack.common.logging in NEC OpenFlow plugin

Fixes bug 1084129

Also fixes non-i18n raise messages.

Change-Id: I077662329d17427fa3efa7269244248613a6ab85

11 years agoCorrect i18n message for api and db module
He Jie Xu [Wed, 28 Nov 2012 06:52:43 +0000 (14:52 +0800)]
Correct i18n message for api and db module

Part of bp make-string-localizable

Change-Id: I68af562af9438a6cff0628a98ace8aeb291dfeaa

11 years agoFixes update router gateway successful with existed floatingip association
He Jie Xu [Mon, 26 Nov 2012 07:23:15 +0000 (15:23 +0800)]
Fixes update router gateway successful with existed floatingip association

Fixes bug 1081877

Change-Id: I77e6034a39dc9db85de691a9ba596b2c8ca9d124

11 years agoFixes order of route entries.
Gary Kotton [Mon, 26 Nov 2012 17:07:12 +0000 (17:07 +0000)]
Fixes order of route entries.

Fixes bug 1083238

This patch makes sure that a route entry for dnsmasq is placed first
before any others (for example the l3-agent one). This makes DHCP work
when network namespaces are disabled.

Change-Id: I241a8e30127d614f7582e10d999521f6486e5255

11 years agofix so cisco plugin db model to not override count methods
Dan Wendlandt [Tue, 27 Nov 2012 17:53:28 +0000 (09:53 -0800)]
fix so cisco plugin db model to not override count methods

bug 1083696

also fixes bug 1083180, which has L3 plugin base class implement
get_*_count methods and raise
NotImplemented, which is the "right" thing to do from a
code-as-documentation perspective.

Change-Id: I0367953bcea930b1ca70e416d3de22eeea1aa99d

11 years agoUse auth_token middleware in keystoneclient.
Yaguang Tang [Tue, 27 Nov 2012 08:55:32 +0000 (16:55 +0800)]
Use auth_token middleware in keystoneclient.

The auth_token middleware moved into keystoneclient so a full
keystone install is not required to use the middleware.Also
add missing signing_dir to api-paste.ini.

Change-Id: If6c339045b70b3d4d70f0297ec32ed3cfdf431de

11 years agoMerge "Make sure we can update when there is no gateway port linked to it"
Jenkins [Tue, 27 Nov 2012 10:22:33 +0000 (10:22 +0000)]
Merge "Make sure we can update when there is no gateway port linked to it"

11 years agoMerge "Fixes pep8 nit"
Jenkins [Tue, 27 Nov 2012 09:05:13 +0000 (09:05 +0000)]
Merge "Fixes pep8 nit"

11 years agoMerge "Fix syntax error in nvplib"
Jenkins [Tue, 27 Nov 2012 09:05:03 +0000 (09:05 +0000)]
Merge "Fix syntax error in nvplib"

11 years agoMerge "Removes quantum.tests.test_api_v2._uuid()"
Jenkins [Tue, 27 Nov 2012 07:55:16 +0000 (07:55 +0000)]
Merge "Removes quantum.tests.test_api_v2._uuid()"

11 years agoFixes pep8 nit
Zhongyue Luo [Tue, 27 Nov 2012 02:29:29 +0000 (10:29 +0800)]
Fixes pep8 nit

Removes a space

Change-Id: I8bd949cff4e18cb7707a4bccb3546f82a8354a68

11 years agoMake sure we can update when there is no gateway port linked to it
gongysh [Tue, 27 Nov 2012 01:59:40 +0000 (09:59 +0800)]
Make sure we can update when there is no gateway port linked to it

Bug #1083387

Change-Id: I7e56d072a6e430ddde816781fe480c6028577c5f

11 years agoMerge "Removes _validate_boolean()"
Jenkins [Tue, 27 Nov 2012 02:03:14 +0000 (02:03 +0000)]
Merge "Removes _validate_boolean()"

11 years agoMerge "Refactors quantum.api.v2.attributes.py"
Jenkins [Tue, 27 Nov 2012 01:58:14 +0000 (01:58 +0000)]
Merge "Refactors quantum.api.v2.attributes.py"

11 years agoFix syntax error in nvplib
Salvatore Orlando [Tue, 27 Nov 2012 00:53:30 +0000 (16:53 -0800)]
Fix syntax error in nvplib

Bug 1083379

Change-Id: I906be569b72506df5729e547407a204739c36305

11 years agoRemoves quantum.tests.test_api_v2._uuid()
Zhongyue Luo [Fri, 23 Nov 2012 04:56:01 +0000 (12:56 +0800)]
Removes quantum.tests.test_api_v2._uuid()

Removed _uuid function
Defined an _uuid alias of openstack.common.uuidutils.generate_uuid

Fixes bug #1082255

Change-Id: I7d10ce3ade27eb4cdd533b5a77b9c405ad1dc174

11 years agoMerge "Correct i18n message for ovs plugin"
Jenkins [Mon, 26 Nov 2012 22:27:25 +0000 (22:27 +0000)]
Merge "Correct i18n message for ovs plugin"

11 years agoMerge "Add filters for quantum-debug"
Jenkins [Mon, 26 Nov 2012 22:24:02 +0000 (22:24 +0000)]
Merge "Add filters for quantum-debug"

11 years agoAdd filters for quantum-debug
Nachi Ueno [Tue, 20 Nov 2012 22:54:53 +0000 (14:54 -0800)]
Add filters for quantum-debug

only allows ping command here.
Fixes bug 1071110

Change-Id: I38f24e40de048845f01dbc07c79bb02acf92da31

11 years agoMerge "Removing unnecessary setUp()/tearDown() in SecurityGroupsTestCase"
Jenkins [Mon, 26 Nov 2012 18:01:09 +0000 (18:01 +0000)]
Merge "Removing unnecessary setUp()/tearDown() in SecurityGroupsTestCase"

11 years agoRemoving unnecessary setUp()/tearDown() in SecurityGroupsTestCase
Iryoung Jeong [Mon, 26 Nov 2012 04:56:36 +0000 (13:56 +0900)]
Removing unnecessary setUp()/tearDown() in SecurityGroupsTestCase

This patch removes not required setUp()/tearDown() functions in
SecurityGroupsTestCase. The functions are almost identical in
test_db_plugin.QuantumDbPluginV2TestCase. Only difference is initializing
ext_mgr which is done by SecurityGroupDBTestCase.setUp().

And redundant inheritance of unittest2.TestCase for SecurityGroupsTestCase
is fixed.

Change-Id: I50d8efd047e23d02d76b8f38b75c730b75bb96ce

11 years agoFix exception when security group rule already exists
Gary Kotton [Sun, 25 Nov 2012 15:43:21 +0000 (15:43 +0000)]
Fix exception when security group rule already exists

Fixes bug 1082842

Change-Id: I5f51c3637903ff817fb47af82419c453094eb5be

11 years agoMerge "Replaces uuid.uuid4 with uuidutils.generate_uuid()"
Jenkins [Mon, 26 Nov 2012 04:52:41 +0000 (04:52 +0000)]
Merge "Replaces uuid.uuid4 with uuidutils.generate_uuid()"

11 years agoDon't force run_tests.sh pep8 only to use -N.
Dan Prince [Mon, 26 Nov 2012 03:01:27 +0000 (22:01 -0500)]
Don't force run_tests.sh pep8 only to use -N.

Previously running run_tests.sh -p would *always* run
outside of the virtual environment. This commit makes -p
work equally well with -N (no-virtual-env) and -V (virtual-env).

Change-Id: I214404e85af2122b2ea7330e6496848a1e0d7ddf

11 years agoCorrect i18n message for ovs plugin
He Jie Xu [Thu, 22 Nov 2012 14:23:28 +0000 (22:23 +0800)]
Correct i18n message for ovs plugin

Part of bp make-string-localizable

Change-Id: I891d0128fd9e24805cef2c1db99cf8e716c7b4a0

11 years agoReplaces uuid.uuid4 with uuidutils.generate_uuid()
Zhongyue Luo [Fri, 23 Nov 2012 03:54:37 +0000 (11:54 +0800)]
Replaces uuid.uuid4 with uuidutils.generate_uuid()

Fixes bug #1082248

Change-Id: I1be4ae129382585cecc4346e1e712ee0ab03bab5

11 years agoMerge "Correct i18n message"
Jenkins [Sun, 25 Nov 2012 21:26:05 +0000 (21:26 +0000)]
Merge "Correct i18n message"

11 years agoMerge "Removes quantum.common.utils.str_uuid()"
Jenkins [Sun, 25 Nov 2012 20:33:49 +0000 (20:33 +0000)]
Merge "Removes quantum.common.utils.str_uuid()"

11 years agoMerge "pass static to argv to quantum-debug config parser"
Jenkins [Sun, 25 Nov 2012 20:02:03 +0000 (20:02 +0000)]
Merge "pass static to argv to quantum-debug config parser"

11 years agoCorrect i18n message
He Jie Xu [Thu, 22 Nov 2012 14:05:28 +0000 (22:05 +0800)]
Correct i18n message

Part of bp make-string-localizable

Change-Id: I9020d7ef426602656fc198018c176eec813cd74b

11 years agoRemoves _validate_boolean()
Zhongyue Luo [Wed, 14 Nov 2012 01:00:03 +0000 (09:00 +0800)]
Removes _validate_boolean()

Removed _validate_boolean function
Removed all type:boolean verifications

Fixes bug #1082256

Change-Id: I68883ff4dd727fa034d57876b46519d637156af6

11 years agoRemoves quantum.common.utils.str_uuid()
Zhongyue Luo [Thu, 15 Nov 2012 01:02:20 +0000 (09:02 +0800)]
Removes quantum.common.utils.str_uuid()

Replaced str_uuid() with openstack.common.uuidutils.generate_uuid()

Fixes bug #1082236

Change-Id: Ib09b070bfa1de4435c831d1d3c0fb0b0d12011bd

11 years agoRefactors quantum.api.v2.attributes.py
Zhongyue Luo [Thu, 15 Nov 2012 13:47:49 +0000 (22:47 +0900)]
Refactors quantum.api.v2.attributes.py

Logic changes were done for consistency across methods,
removal of redundant code and lower memory consumption.

Fixes bug #1082224

Change-Id: Ie09773d35325bec69ea82b3b59f812af5fa1c4d6

11 years agoUpdates tearDown() to release instance objects
Iryoung Jeong [Thu, 22 Nov 2012 03:58:47 +0000 (12:58 +0900)]
Updates tearDown() to release instance objects

This change fixes the bug by releasing the objects of the instance
of class QuantumDbPluginV2TestCase. Removing unnecessary objects
explicitly reduces the memory required by unit tests.

Fixes bug 1065276

Change-Id: Ia003a7718e1aedc4e4c8fb02b723f4a511ebc319

11 years agopass static to argv to quantum-debug config parser
Mark McClain [Wed, 21 Nov 2012 18:16:37 +0000 (13:16 -0500)]
pass static to argv to quantum-debug config parser

fixes bug 1079609

The quantum-debug tests were using the test runners sys.argv instead of
creating a known value.  This fix passes a fake argv to parse.

Change-Id: Iaae7292057b839f64e172504a55034a0d9272918

11 years agoMerge "Improve openvswitch and linuxbridge agents' parsing of mappings"
Jenkins [Tue, 20 Nov 2012 16:05:41 +0000 (16:05 +0000)]
Merge "Improve openvswitch and linuxbridge agents' parsing of mappings"

11 years agoImprove openvswitch and linuxbridge agents' parsing of mappings
Bob Kukura [Tue, 13 Nov 2012 18:50:53 +0000 (13:50 -0500)]
Improve openvswitch and linuxbridge agents' parsing of mappings

Created generic quantum.utils.parse_mappings function that detects
duplicate key or value strings, and changed openvswitch and
linuxbridge agents to use this to parse their mappings from physical
networks to bridges or interfaces. Fixes bug 1067669.

Also fixed some typos in comments.

Change-Id: I342eaeeb6ff4c6e25d57d631f250faac082011b8

11 years agoMove extension.py into quantum/api.
Dan Prince [Mon, 5 Nov 2012 16:57:53 +0000 (11:57 -0500)]
Move extension.py into quantum/api.

This change moves extensions.py out of the extensions module
and into the api module. This resolves an issue where the
following log WARNING message would occur each time the Quantum
API starts:

Did not find expected name "Extensions" in
/usr/lib/python2.7/site-packages/quantum/extensions/extensions.py

Fixes LP Bug #1074895.

Change-Id: Ia5ed206870551f9b33b74dcdc9d0503e447f298d

11 years agoEnsure that the expiration time for leased IP is updated correctly
Gary Kotton [Sat, 17 Nov 2012 05:51:47 +0000 (05:51 +0000)]
Ensure that the expiration time for leased IP is updated correctly

Fixes bug 1081664

Change-Id: I77596ef65be817a874fad41b49e7ddbc0663c237

11 years agoMerge "bug 1057844: improve floating-ip association checks"
Jenkins [Wed, 21 Nov 2012 05:37:58 +0000 (05:37 +0000)]
Merge "bug 1057844: improve floating-ip association checks"

11 years agoFix context problem
gongysh [Fri, 9 Nov 2012 14:45:58 +0000 (22:45 +0800)]
Fix context problem

On plugin side, we use normal API context if any to call RPC methods.
We use our plugin dispatcher to convert RPC context into quantum admin
context. After that the callback's functions have the first argument context
as normal quantum context.

On agent side, we use admin context without session property as its
RPC calling context. Call back context is default RPCCommonContext in
Openstack common modules.

This patch also fixes the problem in the following bug:

Bug #1077012

Change-Id: I913b48dcd84d275cd7de30ca990be00c243e63ea

11 years agoMerge "fix broken logic of only using hasattr to check for get_x_counts"
Jenkins [Tue, 20 Nov 2012 22:54:08 +0000 (22:54 +0000)]
Merge "fix broken logic of only using hasattr to check for get_x_counts"

11 years agobug 1057844: improve floating-ip association checks
Dan Wendlandt [Tue, 20 Nov 2012 22:09:19 +0000 (14:09 -0800)]
bug 1057844: improve floating-ip association checks

allow multiple floating ips to be associated with the same internal port
as long as they map to different external nets (not yet supported in
Folsom) or different internal fixed IPs.  With Quantum, there is no
need to disallow either scenario.

Also improve check for a valid external network to router to internal
subnet path when a floating IP is bound.

Change-Id: Iced675e1f064172ee8a5bb6b9e37032e83af5711

11 years agofix broken logic of only using hasattr to check for get_x_counts
Dan Wendlandt [Tue, 20 Nov 2012 20:59:20 +0000 (12:59 -0800)]
fix broken logic of only using hasattr to check for get_x_counts

bug 1081259

Change-Id: I1dad596830685968ae47394e0e85afe1b72ab544

11 years agoPrevent router being deleted if it is used by a floating IP
Gary Kotton [Fri, 16 Nov 2012 00:20:33 +0000 (00:20 +0000)]
Prevent router being deleted if it is used by a floating IP

Fixes bug 1080638

Change-Id: I10768044aac3fe0ce994e42e798df754478d98d1

11 years agoUpdates clear_db() to unregister models and close session.
Iryoung Jeong [Thu, 15 Nov 2012 06:23:12 +0000 (15:23 +0900)]
Updates clear_db() to unregister models and close session.

fixes bug 1080988

This change fixes the bug by ensuring the metadata and session objects
are properly cleaned up by clear_db(). Using the proper calls reduces
the memory required by unit tests.

Change-Id: I1d1802b642eff83b7f96211608195afaf68e855a

11 years agoThe change allows loading several service plugins along with core plugin.
Eugene Nikanorov [Thu, 8 Nov 2012 14:44:02 +0000 (18:44 +0400)]
The change allows loading several service plugins along with core plugin.

The following functionality changes were made:
1. Multiple plugins are loaded one per type
2. QuantumManager now holds dictionary {plugin_type: plugin_instance}
   Core plugin is stored there as well
3. Extensions are checked against all loaded plugins
4. Service plugins are specified by service_plugins option in quantum.conf file
5. Provide basic interface for service plugins
6. Introduce dummy service plugin as example and PoC
7. Service plugin's REST calls get corresponding plugin's common prefix
8. Add UTs for new extension framework functionality and for QuantumManager

Implements: blueprint quantum-service-framework
Change-Id: I1d00d6f848937410bccd91c852ff0871a86d7bb8

11 years agoMerge "Fix unitest test_router_list with wrong fake return value"
Jenkins [Tue, 20 Nov 2012 07:19:45 +0000 (07:19 +0000)]
Merge "Fix unitest test_router_list with wrong fake return value"

11 years agofix incorrect kwarg param name for region with l3-agent
Dan Wendlandt [Mon, 19 Nov 2012 17:29:52 +0000 (09:29 -0800)]
fix incorrect kwarg param name for region with l3-agent

bug 1080793

Change-Id: Iec600e98406b0210ab3a472c97f3b4d8f0f96d44

11 years agoAll egress traffic allowed by default should be implied
Aaron Rosen [Wed, 14 Nov 2012 22:52:06 +0000 (14:52 -0800)]
All egress traffic allowed by default should be implied

This commit removes the egress rules that were created by default
to align with the way security groups work in amazon VPC.
"By default, all egress is allowed from the security
group until you add outbound rules to the group (then only the egress you
specified is allowed)."

Change-Id: I63936fbf76ea9a2828c8923be6ec14aac46b21bd

11 years agoMerge "Ensure that deleted gateway IP address is recycled correctly"
Jenkins [Mon, 19 Nov 2012 09:46:20 +0000 (09:46 +0000)]
Merge "Ensure that deleted gateway IP address is recycled correctly"

11 years agoMerge "Completes unittest coverage of quantum.api.v2.attributes.py"
Jenkins [Mon, 19 Nov 2012 07:29:24 +0000 (07:29 +0000)]
Merge "Completes unittest coverage of quantum.api.v2.attributes.py"

11 years agoFix unitest test_router_list with wrong fake return value
He Jie Xu [Thu, 8 Nov 2012 04:43:22 +0000 (12:43 +0800)]
Fix unitest test_router_list with wrong fake return value

Fixes bug 1077879

The object of return list shouldn't wrap in 'router'

Change-Id: I26862088f55a8d674bf22d66c7aeda1ca8fb1f98

11 years agoDelete floating port and floatingip in the same transaction
gongysh [Mon, 19 Nov 2012 02:00:01 +0000 (10:00 +0800)]
Delete floating port and floatingip in the same transaction

Bug #1080516

Change-Id: Icb5b71e29af582cb0e381e22909f46b325063d71

11 years agoCompletes unittest coverage of quantum.api.v2.attributes.py
Zhongyue Luo [Tue, 13 Nov 2012 02:05:51 +0000 (10:05 +0800)]
Completes unittest coverage of quantum.api.v2.attributes.py

Tests were added to cover all cases of each function

Change-Id: Ic856bc6efb84360a8f5eaffde09dd68055bbe9c9

11 years agoUse DB count to get resource counts.
Juergen Brendel [Thu, 8 Nov 2012 02:00:11 +0000 (15:00 +1300)]
Use DB count to get resource counts.

Fixes bug 1075369.

During quota check we used to simply retrieve the entire collection
of resources from the database, then counting them in Python. This
patch introduces a specialized _get_collection_count() method, which
instead take advantage of the DB's built-in count capabilities.

In order to take advantage of this, plugins can now implement
get_*_count() methods for their resources. This is used (if present)
by the quota checking function.

Patch incorporates review feedback from Dan W, Alex Xu, Zhongyue Luo,
Edgar Magana, Akihiro Motoki and gongysh.

Change-Id: I87e2d0294e116e8147fed2ee90c9eb0cf1a54362

11 years agoMerge "Remove qpid configuration variables no longer supported"
Jenkins [Fri, 16 Nov 2012 10:48:02 +0000 (10:48 +0000)]
Merge "Remove qpid configuration variables no longer supported"

11 years agoMerge "plugin/ryu, linux/interface: remove ryu specific interface driver"
Jenkins [Fri, 16 Nov 2012 05:53:56 +0000 (05:53 +0000)]
Merge "plugin/ryu, linux/interface: remove ryu specific interface driver"

11 years agoMerge "Allow NVP plugin to use per-tenant quota extension"
Jenkins [Thu, 15 Nov 2012 22:40:29 +0000 (22:40 +0000)]
Merge "Allow NVP plugin to use per-tenant quota extension"

11 years agoplugin/ryu, linux/interface: remove ryu specific interface driver
Isaku Yamahata [Thu, 15 Nov 2012 19:20:57 +0000 (04:20 +0900)]
plugin/ryu, linux/interface: remove ryu specific interface driver

Implements blueprint ryu-remove-ryu-specific-interface-driver
Since Ryu specific interface driver is not needed any more,
delete it.

Change-Id: Ic3336e8aac3076ddc949044d7ff25608bb7d297f
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
11 years agoMerge "Revert "Put gw_port into router dict result.""
Jenkins [Thu, 15 Nov 2012 17:51:49 +0000 (17:51 +0000)]
Merge "Revert "Put gw_port into router dict result.""

11 years agoAllow NVP plugin to use per-tenant quota extension
Aaron Rosen [Thu, 15 Nov 2012 17:40:53 +0000 (09:40 -0800)]
Allow NVP plugin to use per-tenant quota extension

Change-Id: I704b52471e44b2d4e75dcf4435d55d6c6974a870

11 years agoMerge "Part of the patch set that enables VM's to use libvirts bridge type."
Jenkins [Thu, 15 Nov 2012 16:36:57 +0000 (16:36 +0000)]
Merge "Part of the patch set that enables VM's to use libvirts bridge type."

11 years agoRevert "Put gw_port into router dict result."
gongysh [Thu, 15 Nov 2012 15:50:22 +0000 (23:50 +0800)]
Revert "Put gw_port into router dict result."

This reverts commit c1c19b11792e8e220b11466051739ea5b4279a7a.

Bug #1079206

Change-Id: Ia5fd84470779846749c00bb7dae7198055388347

11 years agoEnsure that deleted gateway IP address is recycled correctly
Gary Kotton [Tue, 13 Nov 2012 00:12:45 +0000 (00:12 +0000)]
Ensure that deleted gateway IP address is recycled correctly

Fixes bug 1079980

Change-Id: I6819899cae6f366423ade70613c85fd84d1a270d

11 years agoEnsure that fixed port IP address is in valid allocation range.
Gary Kotton [Wed, 7 Nov 2012 00:44:35 +0000 (00:44 +0000)]
Ensure that fixed port IP address is in valid allocation range.

Fixes bug 1077292

Change-Id: I587655bece83d0f6aa665e522efbc0ecd5ef1734

11 years agoMerge "RESTProxy Plugin for Floodlight and BigSwitch"
Jenkins [Wed, 14 Nov 2012 07:24:55 +0000 (07:24 +0000)]
Merge "RESTProxy Plugin for Floodlight and BigSwitch"

11 years agoMerge "plugin/ryu: update for ryu update"
Jenkins [Wed, 14 Nov 2012 06:18:58 +0000 (06:18 +0000)]
Merge "plugin/ryu: update for ryu update"

11 years agoRESTProxy Plugin for Floodlight and BigSwitch
Sumit Naiksatam [Tue, 23 Oct 2012 08:37:28 +0000 (01:37 -0700)]
RESTProxy Plugin for Floodlight and BigSwitch

blueprint restproxy-plugin

Implements blueprint restproxy-plugin.

This Quantum plugin translates Quantum function calls to authenticated
REST requests to a set of redundant external network controllers.

Change-Id: Idbde6a7403c459503e8e0ee8b25ddaa8af5be36e

11 years agoMerge "Ensure that mac address is set to namespace side veth end."
Jenkins [Wed, 14 Nov 2012 01:05:25 +0000 (01:05 +0000)]
Merge "Ensure that mac address is set to namespace side veth end."

11 years agoMerge "plugin/ryu: add tunnel support"
Jenkins [Tue, 13 Nov 2012 12:20:17 +0000 (12:20 +0000)]
Merge "plugin/ryu: add tunnel support"

11 years agoEnsure that mac address is set to namespace side veth end.
Akihiro MOTOKI [Tue, 13 Nov 2012 11:36:09 +0000 (20:36 +0900)]
Ensure that mac address is set to namespace side veth end.

Fixes bug 1073350

Change-Id: I4c0e85b500ac966a4250e2b6df634aab812f67e9

11 years agoplugin/ryu: update for ryu update
Yoshihiro Kaneko [Tue, 24 Jul 2012 13:01:07 +0000 (13:01 +0000)]
plugin/ryu: update for ryu update

blueprint ryu-plugin-update-for-ryu
Now ryu has GRE tunnel support, so update ryu plugin to support it.
This implements/simplifies GRE tunneling support for ryu plugin

Change-Id: I158affcb60c9016753dbbbf5f1ad50286af49c23
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
11 years agoplugin/ryu: add tunnel support
Isaku Yamahata [Fri, 10 Aug 2012 05:53:08 +0000 (14:53 +0900)]
plugin/ryu: add tunnel support

blueprint ryu-tunnel-support
This patch adds tunneling support to Ryu plugin.
Ryu supports gre tunneling which requires quantum ryu plugin to manage
key assignment.

Change-Id: I9f8db0913941c3da13045170e1557d333f0c68e2
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>