]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
12 years agoValidate L3 inputs.
Gary Kotton [Wed, 7 Nov 2012 22:57:59 +0000 (22:57 +0000)]
Validate L3 inputs.

Fixes bug 1064765

Change-Id: Idb8d078f3c640d450bcb738cddf875b5e49f1b60

12 years agoMerge "Removing unsed code for Cisco Quantum Plugin V1"
Jenkins [Sat, 10 Nov 2012 12:37:46 +0000 (12:37 +0000)]
Merge "Removing unsed code for Cisco Quantum Plugin V1"

12 years agoRemoving unsed code for Cisco Quantum Plugin V1
Edgar Magana [Fri, 9 Nov 2012 07:16:19 +0000 (23:16 -0800)]
Removing unsed code for Cisco Quantum Plugin V1

Implements BP remove-v1-code-cisco-plugin all code used here
has been moved to Quantum V2 API.

Change-Id: I0c3f0b0c490e6741065b1a6109fd9cac980b1047

12 years agoAdd QUANTUM_ prefix for env used by quantum-debug
Nachi Ueno [Fri, 9 Nov 2012 21:36:44 +0000 (13:36 -0800)]
Add QUANTUM_ prefix for env used by quantum-debug

Fixes bug 1077204
from TEST_CONFIG_FILE to QUANTUM_TEST_CONFIG_FILE
also fixes openstack-common style

Change-Id: I03d386dd5fc28d91ef496aecb1b93ddb4f4a810d

12 years agoMerge "Make tox.ini run pep8 checks on bin."
Jenkins [Fri, 9 Nov 2012 19:48:44 +0000 (19:48 +0000)]
Merge "Make tox.ini run pep8 checks on bin."

12 years agoMerge "Import lockutils and fileutils from openstack-common"
Jenkins [Fri, 9 Nov 2012 19:22:09 +0000 (19:22 +0000)]
Merge "Import lockutils and fileutils from openstack-common"

12 years agoMerge "Adds test scripts for _validate_values"
Jenkins [Fri, 9 Nov 2012 19:12:14 +0000 (19:12 +0000)]
Merge "Adds test scripts for _validate_values"

12 years agoMake tox.ini run pep8 checks on bin.
Dan Prince [Fri, 9 Nov 2012 18:20:50 +0000 (13:20 -0500)]
Make tox.ini run pep8 checks on bin.

This updates the pep8 checks in our tox.ini file so that we are
also scanning the bin directory.

Change-Id: Ia3465a4bbc6a5fef7da4de45b736d8950c920963

12 years agoMerge "Add indication when quantum server started."
Jenkins [Fri, 9 Nov 2012 17:20:30 +0000 (17:20 +0000)]
Merge "Add indication when quantum server started."

12 years agoExplicitly include versioninfo in tarball.
Dan Prince [Fri, 9 Nov 2012 15:33:59 +0000 (10:33 -0500)]
Explicitly include versioninfo in tarball.

The most recent sync of openstack-common setup.py/version.py code
seems to have cause quantum/versioninfo to disappear from the tarball.
(see git commit d65bca8)

This updates MANIFEST.in to explicitly include that file and seems
to resolve the issue.

Fixes LP Bug #1077035.

Change-Id: I5fb395c15ea998da00b11e66947d1b1ea3665ea0

12 years agoAdds test scripts for _validate_values
Zhongyue Luo [Fri, 9 Nov 2012 02:26:53 +0000 (10:26 +0800)]
Adds test scripts for _validate_values

Shortened _validate_values logic
Wrote unittests for _validate_values

Change-Id: I0f947d20b73aa96524121257784f9ba42489e477

12 years agoClean up quantum.api.v2.validators
Zhongyue Luo [Fri, 9 Nov 2012 03:49:04 +0000 (11:49 +0800)]
Clean up quantum.api.v2.validators

Remove redundant declarations
Sort validators by lexographical order

Change-Id: I9a55a55a28702bba38615bad192f6f80706eec7c

12 years agoMerge "Ensure that the anyjson version is correct."
Jenkins [Fri, 9 Nov 2012 07:29:05 +0000 (07:29 +0000)]
Merge "Ensure that the anyjson version is correct."

12 years agoMerge "Clean up executable modules"
Jenkins [Fri, 9 Nov 2012 07:28:05 +0000 (07:28 +0000)]
Merge "Clean up executable modules"

12 years agoAdd indication when quantum server started.
gongysh [Fri, 9 Nov 2012 02:16:18 +0000 (10:16 +0800)]
Add indication when quantum server started.

Bug #1076834

Option values are printed in two phases due to our
system's starting way. Last print will print out all
option values included in all config files.

In the end when quantum server started, we have an
indication for it.

Change-Id: I4ed9952c94fe74ea946733dc3a94cb2bb2aba37c

12 years agoImport lockutils and fileutils from openstack-common
Nachi Ueno [Thu, 8 Nov 2012 22:31:44 +0000 (14:31 -0800)]
Import lockutils and fileutils from openstack-common

File lock function is needed to support iptables-based security group
implementation.

This is used by bp quantum-security-groups-iptables
Change-Id: Id9c116a1e10e5c240913fae7a127110b806eff0f

12 years agoMerge "Updated openstack-common setup and version code."
Jenkins [Thu, 8 Nov 2012 15:54:15 +0000 (15:54 +0000)]
Merge "Updated openstack-common setup and version code."

12 years agoMerge "Remove nova code from Quantum Cisco Plugin"
Jenkins [Thu, 8 Nov 2012 12:53:09 +0000 (12:53 +0000)]
Merge "Remove nova code from Quantum Cisco Plugin"

12 years agoMerge "Fixes convert_to_boolean logic"
Jenkins [Thu, 8 Nov 2012 12:42:48 +0000 (12:42 +0000)]
Merge "Fixes convert_to_boolean logic"

12 years agoClean up executable modules
Zhongyue Luo [Thu, 8 Nov 2012 01:55:15 +0000 (09:55 +0800)]
Clean up executable modules

Disabled execution of modules loaded by execution files in bin
Changed file bit mode of modules which are executable

Change-Id: If8a3378c79bb5bfcde1b93066c6b2c0a3d1107ad

12 years agoRemove nova code from Quantum Cisco Plugin
Edgar Magana [Thu, 8 Nov 2012 06:57:35 +0000 (22:57 -0800)]
Remove nova code from Quantum Cisco Plugin

Fixes bug 1073311

Change-Id: Ifd408d7fdbbaec1fd70e8d114dc2cdc38505b2c2

12 years agoUse isinstance for _validate_boolean
Zhongyue Luo [Tue, 6 Nov 2012 03:01:00 +0000 (11:01 +0800)]
Use isinstance for _validate_boolean

Makes _validate_boolean's validation condition more strict

Change-Id: I286934cab3ccbb3f6d965a37dd2ade6b5dcdfb0a

12 years agoFixes convert_to_boolean logic
Zhongyue Luo [Tue, 6 Nov 2012 03:54:34 +0000 (11:54 +0800)]
Fixes convert_to_boolean logic

Clean-up to make code more intuitive.

Change-Id: If97ed089c0dfcc45b05cc7066180e6d8d32ce257

12 years agoUpdated openstack-common setup and version code.
Monty Taylor [Thu, 1 Nov 2012 13:23:58 +0000 (14:23 +0100)]
Updated openstack-common setup and version code.

Updating setup and version require code changes in the code base. This is done
here to support Id9c116a1e10e5c240913fae7a127110b806eff0f

Change-Id: I60b6dd6d684982e33de8fbf051a3dcaf98cb9b87

12 years agoMerge "Ensure that HTTP 400 codes are returned for invalid input"
Jenkins [Wed, 7 Nov 2012 18:59:47 +0000 (18:59 +0000)]
Merge "Ensure that HTTP 400 codes are returned for invalid input"

12 years agoFix openssl zombies
Gary Kotton [Sun, 4 Nov 2012 07:03:48 +0000 (07:03 +0000)]
Fix openssl zombies

Fixes bug 1074257

Change-Id: I6a6673ad12dfbd24dc1d02623e2e70068999fe45

12 years agoEnsure that the anyjson version is correct.
Gary Kotton [Sat, 3 Nov 2012 04:54:03 +0000 (04:54 +0000)]
Ensure that the anyjson version is correct.

Fixes bug 1075977

Change-Id: Ieb5a8b3f3eefb8e0faea8bd5dcd8a0f3f7c4ec07

12 years agoAdd eventlet_backdoor and threadgroup from openstack-common
Gary Kotton [Sat, 3 Nov 2012 03:18:06 +0000 (03:18 +0000)]
Add eventlet_backdoor and threadgroup from openstack-common

In addition to this the list of imports is now in an alphabetical order.

Change-Id: I34517ce3f740f63094d21b3cbebb542cc40661a2

12 years agoAdd loopingcall from openstack-common
Gary Kotton [Sat, 3 Nov 2012 02:43:03 +0000 (02:43 +0000)]
Add loopingcall from openstack-common

Change-Id: I65a1eb1676f0efb4decb75aa3dfd3af35012bd77

12 years agoAdded service from openstack-common
Gary Kotton [Sat, 3 Nov 2012 00:13:11 +0000 (00:13 +0000)]
Added service from openstack-common

Change-Id: Ie9892508820f81d487f41d5e3839d125c887681b

12 years agoMerge "Sync latest notifier changes from openstack-common"
Jenkins [Tue, 6 Nov 2012 18:42:14 +0000 (18:42 +0000)]
Merge "Sync latest notifier changes from openstack-common"

12 years agoMerge "Pep8 fixes for quantum master."
Jenkins [Tue, 6 Nov 2012 15:41:26 +0000 (15:41 +0000)]
Merge "Pep8 fixes for quantum master."

12 years agoMerge "Testcase of listing collection shouldn't depend on default order of db query"
Jenkins [Tue, 6 Nov 2012 08:26:54 +0000 (08:26 +0000)]
Merge "Testcase of listing collection shouldn't depend on default order of db query"

12 years agoMerge "Removes regex validation of UUIDs in dhcp_agent"
Jenkins [Tue, 6 Nov 2012 08:25:08 +0000 (08:25 +0000)]
Merge "Removes regex validation of UUIDs in dhcp_agent"

12 years agoMerge "Update KillFilter to handle 'deleted' exe's."
Jenkins [Tue, 6 Nov 2012 08:24:58 +0000 (08:24 +0000)]
Merge "Update KillFilter to handle 'deleted' exe's."

12 years agoMerge "Use _validate_uuid in quantum.plugins.nec.extensions.packetfilter.py"
Jenkins [Tue, 6 Nov 2012 08:05:28 +0000 (08:05 +0000)]
Merge "Use _validate_uuid in quantum.plugins.nec.extensions.packetfilter.py"

12 years agoMerge "Use is_uuid_like in quantum.extensions.securitygroup.py"
Jenkins [Tue, 6 Nov 2012 08:05:11 +0000 (08:05 +0000)]
Merge "Use is_uuid_like in quantum.extensions.securitygroup.py"

12 years agoMerge "Fix unnecessary logging messages during tests"
Jenkins [Tue, 6 Nov 2012 02:35:42 +0000 (02:35 +0000)]
Merge "Fix unnecessary logging messages during tests"

12 years agoSync latest notifier changes from openstack-common
Dan Prince [Mon, 5 Nov 2012 21:41:41 +0000 (16:41 -0500)]
Sync latest notifier changes from openstack-common

Updates Quantum with the latest changes from openstack-commons
notifier package:

    Rename rabbit_notifier to rpc_notifier.

    The previous rabbit_notifier module is generic and can be used
    for all RPC notifications.

    This commit moves the rabbit_notifier module to rpc_notifier and
    adds a new deprecated rabbit_notifier module which can be used for
    Grizzly so that users can have a chance to easily upgrade this
    config setting.

Also updates the agent code and config file to reflect this change
(and get unit tests to pass)

Fixes LP Bug #1075330.

Change-Id: If9a4f5fa27638b25a29b66dbfed757554358ff7c

12 years agoUpdate KillFilter to handle 'deleted' exe's.
Dan Prince [Thu, 1 Nov 2012 02:11:42 +0000 (22:11 -0400)]
Update KillFilter to handle 'deleted' exe's.

Updates KillFilter so that it handles the case where the executable
linked to by /proc/PID/exe is updated or deleted.

Includes new test case with coverage for this fix as well.

Fixes LP Bug #1073768

Change-Id: If568693e0b491f8806ff0156701766929ca0b3e0

12 years agoPep8 fixes for quantum master.
Dan Prince [Mon, 5 Nov 2012 18:14:19 +0000 (13:14 -0500)]
Pep8 fixes for quantum master.

This patch addresses some pep8 issues I found when running
run_tests.sh -p on Fedora 17.

Change-Id: I24896c43bd303c29f85a35814231e970223c132e

12 years agoMerge "Log loaded extension messages as INFO not WARNING."
Jenkins [Mon, 5 Nov 2012 16:41:45 +0000 (16:41 +0000)]
Merge "Log loaded extension messages as INFO not WARNING."

12 years agoMerge "Use uuidutils.is_uuid_like in quantum.extentions.l3"
Jenkins [Mon, 5 Nov 2012 16:34:36 +0000 (16:34 +0000)]
Merge "Use uuidutils.is_uuid_like in quantum.extentions.l3"

12 years agoMerge "Add check for cidr overrapping for adding external gateway"
Jenkins [Mon, 5 Nov 2012 16:34:27 +0000 (16:34 +0000)]
Merge "Add check for cidr overrapping for adding external gateway"

12 years agoUse _validate_uuid in quantum.plugins.nec.extensions.packetfilter.py
Zhongyue Luo [Mon, 5 Nov 2012 14:24:57 +0000 (22:24 +0800)]
Use _validate_uuid in quantum.plugins.nec.extensions.packetfilter.py

Change-Id: I3564e492c41c5400e0935d364d536ca69b413c24

12 years agoUse is_uuid_like in quantum.extensions.securitygroup.py
Zhongyue Luo [Mon, 5 Nov 2012 16:19:46 +0000 (00:19 +0800)]
Use is_uuid_like in quantum.extensions.securitygroup.py

Change-Id: If86cea62a918ed9bc826b9c9b22130b5d7c967f1

12 years agoRemoves regex validation of UUIDs in dhcp_agent
Zhongyue Luo [Mon, 5 Nov 2012 15:16:03 +0000 (23:16 +0800)]
Removes regex validation of UUIDs in dhcp_agent

Removed re and quantum.api.v2 imports
Removed _validate_field method
Use uuidutils.is_uuid_like for uuid validation

Change-Id: I35e751969cf1f9ff7850fc01b8e4a3f6d788918e

12 years agoUse uuidutils.is_uuid_like in quantum.extentions.l3
Zhongyue Luo [Mon, 5 Nov 2012 15:27:49 +0000 (23:27 +0800)]
Use uuidutils.is_uuid_like in quantum.extentions.l3

Change-Id: I82e42aebd45d743ed890190e478294531f7db4e6

12 years agoImplements _validate_uuid
Zhongyue Luo [Mon, 5 Nov 2012 14:40:50 +0000 (22:40 +0800)]
Implements _validate_uuid

Validates uuids with uuidutils.is_uuid_like
Reordered validation funtions alphabetically

Change-Id: I4c138d471c420ed520e6c881e07d36478119d12b

12 years agoMerge "Use uuidutils for uuid validation"
Jenkins [Mon, 5 Nov 2012 11:59:32 +0000 (11:59 +0000)]
Merge "Use uuidutils for uuid validation"

12 years agoMerge "Drop lxml dependency"
Jenkins [Mon, 5 Nov 2012 10:51:56 +0000 (10:51 +0000)]
Merge "Drop lxml dependency"

12 years agoUse uuidutils for uuid validation
Zhongyue Luo [Wed, 31 Oct 2012 03:01:33 +0000 (11:01 +0800)]
Use uuidutils for uuid validation

Removed api.v2.attributes import
Removed re import
Fixed if-else statement to enhance readability

Change-Id: Id4c107f3bc8c6eb94ae155814538b8f6081cb93b

12 years agoDrop lxml dependency
Zhongyue Luo [Mon, 5 Nov 2012 05:35:39 +0000 (13:35 +0800)]
Drop lxml dependency

Fixes bug #1068290

Removed lxml from tools/pip-requires
Removed usused method _to_xml() in quantum.wsgi.XMLDictSerializer

Change-Id: I3410fd8645739abfd853f71efcbb354b58677b18

12 years agoTestcase of listing collection shouldn't depend on default order of db query
He Jie Xu [Sun, 4 Nov 2012 08:21:36 +0000 (16:21 +0800)]
Testcase of listing collection shouldn't depend on default order of db query

When adding sort feature for quantum, found some testcase of listing
collection depend on default order of db query. Fix those testcase for
ports, networks, and subnets.

Change-Id: Ifefb80dc4a20e27b861c693226b967947bac1a5a

12 years agoAdd uuidutils module
Zhongyue Luo [Mon, 29 Oct 2012 03:25:54 +0000 (11:25 +0800)]
Add uuidutils module

Added uuidutils to openstack-common.conf file and
updated quantum/openstack/common

Change-Id: If3d3908f666115b3c461e8820c5bafcf1cc69e97

12 years agoLog loaded extension messages as INFO not WARNING.
Dan Prince [Sun, 4 Nov 2012 15:02:44 +0000 (10:02 -0500)]
Log loaded extension messages as INFO not WARNING.

Updates the log statement we use when an extension is loaded
to log as info instead of warn.

Fixes LP Bug #1074889.

Change-Id: Ibf5a8a38a1f37c55ca99e0e2209a48ba04d609ae

12 years agoMerge "let metaplugin work with plugin which has not l3 extension support"
Jenkins [Sun, 4 Nov 2012 07:07:52 +0000 (07:07 +0000)]
Merge "let metaplugin work with plugin which has not l3 extension support"

12 years agoMerge "Clean-up comments in quantum/db/l3_db.py"
Jenkins [Fri, 2 Nov 2012 21:08:58 +0000 (21:08 +0000)]
Merge "Clean-up comments in quantum/db/l3_db.py"

12 years agoMerge "db_base_plugin_v2.QuantumDbPluginV2.create_port clean-up"
Jenkins [Fri, 2 Nov 2012 20:41:45 +0000 (20:41 +0000)]
Merge "db_base_plugin_v2.QuantumDbPluginV2.create_port clean-up"

12 years agodb_base_plugin_v2.QuantumDbPluginV2.create_port clean-up
Zhongyue Luo [Fri, 2 Nov 2012 01:38:21 +0000 (09:38 +0800)]
db_base_plugin_v2.QuantumDbPluginV2.create_port clean-up

Removed redundant dictionary lookups

Change-Id: Iac0e05d81cb26e262501a54576483c821fa55003

12 years agoClean-up comments in quantum/db/l3_db.py
Zhongyue Luo [Fri, 2 Nov 2012 03:17:25 +0000 (11:17 +0800)]
Clean-up comments in quantum/db/l3_db.py

Change-Id: I85eaedca8b428ac7ba31f7aa088acb3c21129381

12 years agoImport order clean-up
Zhongyue Luo [Fri, 2 Nov 2012 01:42:42 +0000 (09:42 +0800)]
Import order clean-up

Reorder imports by full module path

Change-Id: I50bc2a5ff6cea939049fed8066471b15e84adbe6

12 years agolet metaplugin work with plugin which has not l3 extension support
Nachi Ueno [Thu, 1 Nov 2012 23:58:25 +0000 (23:58 +0000)]
let metaplugin work with plugin which has not l3 extension support

Fixes bug 1074183
Also Fixes bug 1074184 ( fix get_nework call with fields)

Change-Id: I3bfdb22dd3be8a58cd884629dc5e3385730bb1bc

12 years agoEnsure that HTTP 400 codes are returned for invalid input
Gary Kotton [Mon, 8 Oct 2012 05:58:00 +0000 (05:58 +0000)]
Ensure that HTTP 400 codes are returned for invalid input

Fixes bug 1062046

A number of additional validation functions were added. They
do basic validations.

Change-Id: I0fc207e996f11b50fdaa4d80075ae5704cba7003

12 years agoMerge "support 'send_arp_for_ha' option in l3_agent"
Jenkins [Thu, 1 Nov 2012 16:07:26 +0000 (16:07 +0000)]
Merge "support 'send_arp_for_ha' option in l3_agent"

12 years agoMerge "Use openstack common log to do logging."
Jenkins [Thu, 1 Nov 2012 15:05:41 +0000 (15:05 +0000)]
Merge "Use openstack common log to do logging."

12 years agoUse openstack common log to do logging.
gongysh [Tue, 30 Oct 2012 15:21:46 +0000 (23:21 +0800)]
Use openstack common log to do logging.

Bug #1073194

We use openstack common log to do logging. At the same time, we will use
quantum logger as our top logger, so that all sub loggers will be set
according to quantum.conf

Change-Id: I5adf72e6031ad437e05c3521864a83757b3e7887

12 years agoPut gw_port into router dict result.
gongysh [Wed, 31 Oct 2012 14:01:35 +0000 (22:01 +0800)]
Put gw_port into router dict result.

Bug #1069782

We put gw_port into router dict result so that client can get more
information for the result router.

Change-Id: I54cec8a71441a9370c7ba95767a92190bf1c9c21

12 years agoAdd check for cidr overrapping for adding external gateway
Nachi Ueno [Fri, 21 Sep 2012 20:52:16 +0000 (20:52 +0000)]
Add check for cidr overrapping for adding external gateway

Fixes bug 1053633
Also add check for cidr overrapping between external gateway and
interfaces

Change-Id: I5bfb2fd96ea467b63e940893979a912caf550deb

12 years agoFix unnecessary logging messages during tests
Gary Kotton [Tue, 30 Oct 2012 23:17:13 +0000 (23:17 +0000)]
Fix unnecessary logging messages during tests

Fixes bug 1074431

Change-Id: I70d40760e1fcb5a4755836dd582fb8e163ee13bd

12 years agosupport 'send_arp_for_ha' option in l3_agent
justin ljj [Mon, 27 Aug 2012 08:27:23 +0000 (16:27 +0800)]
support 'send_arp_for_ha' option in l3_agent

Fixes bug 1042046

Sending gratuitous ARPs when a external router or a floating
IP was added in order to facilitate HA.

I am using iputils-arping package to send ARP packets. You will need
to install iputils-arping on Ubuntu and iputils on Fedora/RHEL/CentOS.
Arping locates in /usr/bin/arping on Ubuntu and locates in /sbin/arping
on Fedora/RHEL/CentOS.

Change-Id: I125dbc57b90027dc5e99ff0a5d6877843a0b02a5

12 years agopin sqlalchemy to 0.7
Gary Kotton [Sat, 27 Oct 2012 03:05:35 +0000 (03:05 +0000)]
pin sqlalchemy to 0.7

The sqlalchemy package 0.8.0b1 released on October 30, 2012
removed SQLSoup

(http://docs.sqlalchemy.org/en/latest/changelog/migration_08.html#sqlsoup)

Ensure that the SqlSoup import is still supported. A number of quantum agents
make use of this code to access the database.

Fixes bug 1073555

Change-Id: I78b27716c6e3eb05d874314f0bc544a917fd5853

12 years agoRemove unused metaplugin agents
Nachi Ueno [Tue, 30 Oct 2012 22:30:21 +0000 (22:30 +0000)]
Remove unused metaplugin agents

Fixes bug 1038840

Change-Id: I891247ebd4e58b950c9254d267a06aadc4602d18

12 years agoMerge "Support external network in probe-create."
Jenkins [Tue, 30 Oct 2012 08:42:10 +0000 (08:42 +0000)]
Merge "Support external network in probe-create."

12 years agoMerge "Get subnets of router interfaces with an elevated context."
Jenkins [Tue, 30 Oct 2012 04:44:41 +0000 (04:44 +0000)]
Merge "Get subnets of router interfaces with an elevated context."

12 years agoMerge "Chmod agent/linux/iptables_manager.py"
Jenkins [Tue, 30 Oct 2012 03:07:51 +0000 (03:07 +0000)]
Merge "Chmod agent/linux/iptables_manager.py"

12 years agoMerge "Fix exception when port status is updated with linux bridge plugin"
Jenkins [Tue, 30 Oct 2012 03:07:09 +0000 (03:07 +0000)]
Merge "Fix exception when port status is updated with linux bridge plugin"

12 years agoGet subnets of router interfaces with an elevated context.
Akihiro MOTOKI [Mon, 29 Oct 2012 13:37:37 +0000 (22:37 +0900)]
Get subnets of router interfaces with an elevated context.

Fixes bug 1057558

A router may have interfaces owned by other tenants (by admin operations).
An elevated context is required to get subnet information for such interfaces.

Change-Id: Iaf24c842c2c1e3c52573e7f9831d5f6d8fc01885

12 years agoSupport external network in probe-create.
Nachi Ueno [Mon, 29 Oct 2012 20:05:48 +0000 (13:05 -0700)]
Support external network in probe-create.

Fixes bug #1070960

Change-Id: Ic0d3c56a26fe44359a772f40a7c7d92086a49a28

12 years agoremove unused modules for linuxbridge/ovs plugin agent
Jiajun Liu [Mon, 29 Oct 2012 10:26:43 +0000 (18:26 +0800)]
remove unused modules for linuxbridge/ovs plugin agent

fixes bug 1072635.

Since linuxbridge/ovs plugin agent can not access database any more.
remove unused sqlsouq module.

Change-Id: I0bf02798e2b6e63e1f3690bf0920132ba5dd7e65

12 years agoChmod agent/linux/iptables_manager.py
Zhongyue Luo [Mon, 29 Oct 2012 05:52:43 +0000 (13:52 +0800)]
Chmod agent/linux/iptables_manager.py

Change file mode bits of iptables_manager.py to 644

Change-Id: I63ab56c44f2e142a80830141e7fe12189a33d49f

12 years agoMerge "Make create_floatingip support transaction"
Jenkins [Sun, 28 Oct 2012 20:09:15 +0000 (20:09 +0000)]
Merge "Make create_floatingip support transaction"

12 years agoMerge "Update policies"
Jenkins [Sun, 28 Oct 2012 10:36:05 +0000 (10:36 +0000)]
Merge "Update policies"

12 years agoMerge "Quantum Security Groups API"
Jenkins [Sat, 27 Oct 2012 01:18:26 +0000 (01:18 +0000)]
Merge "Quantum Security Groups API"

12 years agoMerge "Remove database access from agents"
Jenkins [Fri, 26 Oct 2012 22:18:25 +0000 (22:18 +0000)]
Merge "Remove database access from agents"

12 years agoQuantum Security Groups API
Aaron Rosen [Wed, 10 Oct 2012 00:10:27 +0000 (17:10 -0700)]
Quantum Security Groups API

Implements blueprint quantum-security-groups API

In addition the the convention that if a URI has a '-' in it, it's
replaced with a '_'. For example: POST security-groups will convert
the body to {'security_group':  ..}

Change-Id: I2c5219ed1d44a43ce1bf03d49df9f5c1af23352b

12 years agoMerge "use object directly instead of the foreigh key to update master db object."
Jenkins [Fri, 26 Oct 2012 13:18:26 +0000 (13:18 +0000)]
Merge "use object directly instead of the foreigh key to update master db object."

12 years agoMake create_floatingip support transaction
Nachi Ueno [Thu, 25 Oct 2012 21:14:48 +0000 (21:14 +0000)]
Make create_floatingip support transaction

Fixes bug #1064748
Also added unit test

Change-Id: I82b2031af0a87a92ace9a8b86f89772beaca5e8f

12 years agoMerge "Fix database clear when table does not exist"
Jenkins [Thu, 25 Oct 2012 17:48:25 +0000 (17:48 +0000)]
Merge "Fix database clear when table does not exist"

12 years agoUpdate policies
Kevin L. Mitchell [Fri, 12 Oct 2012 19:35:42 +0000 (14:35 -0500)]
Update policies

Merge in update openstack-common policy code.

Updates Quantum-specific policy glue code to eliminate deprecated
openstack-common policy interfaces.  Also cleans up policy code
to allow for returning fine-grained policy values.

Change-Id: I2951a0de3751bd2ec868e7a661070fed624e4af2

12 years agoNotify about router and floating IP usages
Julien Danjou [Wed, 24 Oct 2012 13:11:24 +0000 (15:11 +0200)]
Notify about router and floating IP usages

This fixes the Quantum side of bug #1070009

Change-Id: I07c41814a3acfb2749d503fe1bc64ab7707535ee
Signed-off-by: Julien Danjou <julien@danjou.info>
12 years agoFix exception when port status is updated with linux bridge plugin
Gary Kotton [Thu, 25 Oct 2012 03:30:24 +0000 (03:30 +0000)]
Fix exception when port status is updated with linux bridge plugin

Fixes bug 1072713

Change-Id: I3466e747764fc379d413d9493cf80ea35552179f

12 years agoMerge "Call iptables without absolute path."
Jenkins [Thu, 25 Oct 2012 01:31:01 +0000 (01:31 +0000)]
Merge "Call iptables without absolute path."

12 years agoMerge "Add MTU support to Linux bridge."
Jenkins [Wed, 24 Oct 2012 20:53:29 +0000 (20:53 +0000)]
Merge "Add MTU support to Linux bridge."

12 years agoMerge "Add unit tests for the ovs quantum agent."
Jenkins [Wed, 24 Oct 2012 19:52:22 +0000 (19:52 +0000)]
Merge "Add unit tests for the ovs quantum agent."

12 years agoCall iptables without absolute path.
Akihiro MOTOKI [Wed, 24 Oct 2012 13:14:06 +0000 (22:14 +0900)]
Call iptables without absolute path.

Fixes bug 1069966

rootwrap expects the command name is not absolute. We need to call
the command without path to make rootwrap work well.

Change-Id: I6120103908d10ca257d177a320294de06a89c646

12 years agoDelete the child object via setting the parent's attribute to None.
gongysh [Wed, 24 Oct 2012 08:13:09 +0000 (16:13 +0800)]
Delete the child object via setting the parent's attribute to None.

Bug #1070335

We should not operate the foreigh key attribute of parent attribute
directly.

Change-Id: I98dc8eae78fdf67f0e7189e73afba77c6affcc0e

12 years agoAdd unit tests for the ovs quantum agent.
Maru Newby [Tue, 23 Oct 2012 22:25:54 +0000 (22:25 +0000)]
Add unit tests for the ovs quantum agent.

 * Supporting the quantum dhcp agent on XenServer/XCP requires
   modifying the ovs agent.  As no unit tests exist at present for
   the ovs agent, this change adds enough test coverage to help
   ensure that the modifications to support xen will not break
   existing functionality.
 * Supports blueprint xenapi-ovs

Change-Id: Ib99414ec02e8910cbb0ce377b1a1e73acd057794

12 years agoMerge "Update default base database to be V2"
Jenkins [Tue, 23 Oct 2012 20:18:48 +0000 (20:18 +0000)]
Merge "Update default base database to be V2"

12 years agoAdd MTU support to Linux bridge.
Jonathan LaCour [Tue, 23 Oct 2012 19:22:19 +0000 (19:22 +0000)]
Add MTU support to Linux bridge.

Fixes bug 1030932

Added MTU parity to Linux bridge interface driver.

Change-Id: I020b009a32f9317d3bb1224ad03dda291c715e96