]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
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 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 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>
11 years agoMerge "Adds tests for attribute._validate_uuid"
Jenkins [Mon, 12 Nov 2012 18:35:18 +0000 (18:35 +0000)]
Merge "Adds tests for attribute._validate_uuid"

11 years agoMerge "Adds test scripts for _validate_range"
Jenkins [Mon, 12 Nov 2012 18:15:05 +0000 (18:15 +0000)]
Merge "Adds test scripts for _validate_range"

11 years agoMerge "Adds test scripts for _validate_string"
Jenkins [Mon, 12 Nov 2012 17:59:55 +0000 (17:59 +0000)]
Merge "Adds test scripts for _validate_string"

11 years agoMerge "Adds tests for attributes.is_attr_set"
Jenkins [Mon, 12 Nov 2012 16:57:43 +0000 (16:57 +0000)]
Merge "Adds tests for attributes.is_attr_set"

11 years agoAdds tests for attribute._validate_uuid
Zhongyue Luo [Mon, 12 Nov 2012 08:18:21 +0000 (16:18 +0800)]
Adds tests for attribute._validate_uuid

Removed redundant condition in _validate_uuid logic
Wrote test cases accordingly

Change-Id: I6ee83bda90cdfeaeaa17da6241f2673d0959baa2

11 years agoAdds tests to attribute.convert_to_int
Zhongyue Luo [Mon, 12 Nov 2012 08:07:18 +0000 (16:07 +0800)]
Adds tests to attribute.convert_to_int

Change-Id: I1a8ec7b1710f1b1165a9fc125335523ae18f29a4

11 years agoAdds tests for attributes.is_attr_set
Zhongyue Luo [Mon, 12 Nov 2012 03:49:42 +0000 (11:49 +0800)]
Adds tests for attributes.is_attr_set

ATTR_NOT_SPECIFIED and None are singleton objects

When conducting "is in" against a list of objects, they are compared using
unequal unless they are the same object.
http://docs.python.org/2/reference/expressions.html#in

According to PEP8, they should be compared by their id not value
Therefore the is_attr_set logic has changed to:
    return not (attribute is None or attribute is ATTR_NOT_SPECIFIED)

Wrote unittests for is_attr_set

Change-Id: I2ebdd29564e5627b9e33b13a744948e8c9c0b9ce

11 years agoAdds test scripts for _validate_string
Zhongyue Luo [Thu, 8 Nov 2012 09:40:59 +0000 (17:40 +0800)]
Adds test scripts for _validate_string

Cleanup _validate_string method
Added tests covering all cases

Change-Id: I48ed989ad69df19f32e7266fc77724f492441d17

11 years agoAdds test scripts for _validate_range
Zhongyue Luo [Fri, 9 Nov 2012 04:48:19 +0000 (12:48 +0800)]
Adds test scripts for _validate_range

Shortened _validate_range logic
Wrote unittests for _validate_range

Change-Id: I9fc69dd6c37f9c08c3112c1a14cdcdb26194f17a

11 years agoPart of the patch set that enables VM's to use libvirts bridge type.
Gary Kotton [Thu, 25 Oct 2012 03:22:03 +0000 (03:22 +0000)]
Part of the patch set that enables VM's to use libvirts bridge type.

Fixes bug 1078210

The bridge will be created by Nova and not by the agent. This is the first
part for the blueprint vif-plugin-improvements

This patch supports Nova managing bridges too.

In addition to this it cleans gateway code no longer used.

Change-Id: Ia621ba5edd12d8eb7ea412a2993fea43189bd511

11 years agoRemove qpid configuration variables no longer supported
Gary Kotton [Sat, 10 Nov 2012 22:29:35 +0000 (22:29 +0000)]
Remove qpid configuration variables no longer supported

Change-Id: I25396654fdd03ae54d7d7470a9d2952689836c50

11 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"

11 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

11 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

11 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."

11 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"

11 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"

11 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

11 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."

11 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

11 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

11 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

11 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."

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

11 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

11 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

11 years agoUpdate latest openstack-common code
Gary Kotton [Thu, 8 Nov 2012 21:16:01 +0000 (21:16 +0000)]
Update latest openstack-common code

This fixes bug 1073999 (quantum/openstack/common/rpc/impl_qpid.py)

In addition to this the common code is updated.

Change-Id: I41223963baf34772edcd0d6d7ef5686a5fad1035

11 years agoMerge "Validate L3 inputs."
Jenkins [Tue, 13 Nov 2012 06:46:13 +0000 (06:46 +0000)]
Merge "Validate L3 inputs."

11 years agoMerge "Treat case when pid is None"
Jenkins [Mon, 12 Nov 2012 21:05:58 +0000 (21:05 +0000)]
Merge "Treat case when pid is None"

11 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."

11 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"

11 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"

11 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

11 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

11 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

11 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

11 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

11 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