]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoUpdated to latest oslo-version code.
Monty Taylor [Thu, 1 Nov 2012 13:23:58 +0000 (14:23 +0100)]
Updated to latest oslo-version code.

In support of tag-based versioning, update to latest oslo-version.
This changes from using versioninfo files to using PKG_INFO.

Change-Id: Ia7d212d531305997153204dfffa44beed4bad0d3

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 3 Feb 2013 16:18:33 +0000 (16:18 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Improve data access method of ryu-agent"
Jenkins [Sun, 3 Feb 2013 02:19:00 +0000 (02:19 +0000)]
Merge "Improve data access method of ryu-agent"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 3 Feb 2013 00:04:18 +0000 (00:04 +0000)]
Imported Translations from Transifex

Change-Id: I303cc1f1e73ad708acfd2886c9d53ba4e1e65cfc

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 2 Feb 2013 00:07:19 +0000 (00:07 +0000)]
Imported Translations from Transifex

Change-Id: I88b832c790f88bd6a0d92e26974d561279d3f6c3

11 years agoMerge "Resetting session persisnence for a VIP."
Jenkins [Fri, 1 Feb 2013 22:38:15 +0000 (22:38 +0000)]
Merge "Resetting session persisnence for a VIP."

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 1 Feb 2013 19:31:39 +0000 (19:31 +0000)]
Merge "Imported Translations from Transifex"

11 years agoResetting session persisnence for a VIP.
Roman Prykhodchenko [Tue, 29 Jan 2013 18:33:17 +0000 (20:33 +0200)]
Resetting session persisnence for a VIP.

This change allows to reset session persistence, if it
was configured for a VIP. It's possible by passing None
value for session persistence through the REST API.

Change-Id: I8690850d0589065502a8eb774d51fe40851624f8
Fixes: bug #1109101
11 years agoImprove data access method of ryu-agent
Yoshihiro Kaneko [Wed, 30 Jan 2013 06:50:41 +0000 (15:50 +0900)]
Improve data access method of ryu-agent

fixes bug #1110174

This patch implement rpc in ryu-agent, instead of accessing a
database directly.
Because it was not necessary to transmit information via database,
therefore the table is eliminated.

Also, I remove openflow controller stuff from a configuration file
of the Ryu plugin because it was not used anymore.

Change-Id: I5e261297c3f92c6a1ac5df229084176e84694e87

11 years agoFixes 'not in' operator usage
Zhongyue Luo [Thu, 31 Jan 2013 08:08:26 +0000 (16:08 +0800)]
Fixes 'not in' operator usage

Fixes bug #1110058

Change-Id: I45c10097abfb929918925e7befb8ed6c36b1de1c

11 years agoMerge "Sync latest cfg from oslo-incubator"
Jenkins [Fri, 1 Feb 2013 01:04:19 +0000 (01:04 +0000)]
Merge "Sync latest cfg from oslo-incubator"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 1 Feb 2013 00:06:48 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Iecbd60ab707a91b5ba54431a7f74c479e48950d9

11 years agoAdds support of TCP protocol for LBaaS VIPs.
Roman Prykhodchenko [Fri, 18 Jan 2013 10:56:19 +0000 (12:56 +0200)]
Adds support of TCP protocol for LBaaS VIPs.

Adds validation of supplied protocols for VIPs and Pools at API and DB levels.
Modifies the schema of the database to allow storing TCP VIPs.

Change-Id: Idab3139f280b5f0a16633974c05f88d70fb8d683
Fixes: bug #1100724
11 years agoMerge "Remove redunant key list generation in Cisco plugin"
Jenkins [Thu, 31 Jan 2013 08:25:05 +0000 (08:25 +0000)]
Merge "Remove redunant key list generation in Cisco plugin"

11 years agoSync latest cfg from oslo-incubator
Mark McLoughlin [Mon, 21 Jan 2013 16:53:51 +0000 (16:53 +0000)]
Sync latest cfg from oslo-incubator

Main cfg change is:

  c5984ba Move logging config options into the log module

Change-Id: I3913ea54465658d93dc56e014dfe5d911b0541d6

11 years agoRemove redunant key list generation in Cisco plugin
Zhongyue Luo [Wed, 30 Jan 2013 08:57:20 +0000 (16:57 +0800)]
Remove redunant key list generation in Cisco plugin

Evaluates existance of key directly on dictionary.

Fixes bug #1110957

Change-Id: I9b46a991ab9c764d7451cc122d208e06778c1ee1

11 years agoFixes if statement inefficiency in quantum.agent.linux.interface
Zhongyue Luo [Wed, 30 Jan 2013 08:07:46 +0000 (16:07 +0800)]
Fixes if statement inefficiency in quantum.agent.linux.interface

Changed logic of checking the existance of a port value

Change-Id: Id06447a753fd0201ef44a047657bd747ce18d546

11 years agoMerge "Disable dhcp_domain distribution when dhcp_domain is empty"
Jenkins [Wed, 30 Jan 2013 07:59:09 +0000 (07:59 +0000)]
Merge "Disable dhcp_domain distribution when dhcp_domain is empty"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 30 Jan 2013 01:58:43 +0000 (01:58 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "correct spelling of Notify in classname"
Jenkins [Wed, 30 Jan 2013 01:32:39 +0000 (01:32 +0000)]
Merge "correct spelling of Notify in classname"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 30 Jan 2013 00:07:31 +0000 (00:07 +0000)]
Imported Translations from Transifex

Change-Id: I04b8dddcb3f6c3c566e3b383d22989ee454f6146

11 years agoPostgresql ENUM type requires a name exceptions NVP Plugin
Aaron Rosen [Tue, 29 Jan 2013 23:36:58 +0000 (15:36 -0800)]
Postgresql ENUM type requires a name exceptions NVP Plugin

Fixes bug 1109824

Change-Id: I62beceaa14773de94e79d7017658f9f6e6212bb6

11 years agoMerge "Fix OVSQuantumAgent.port_update if not admin_state_up"
Jenkins [Tue, 29 Jan 2013 23:19:47 +0000 (23:19 +0000)]
Merge "Fix OVSQuantumAgent.port_update if not admin_state_up"

11 years agocorrect spelling of Notify in classname
Mark McClain [Tue, 29 Jan 2013 21:25:54 +0000 (16:25 -0500)]
correct spelling of Notify in classname

fixes bug 1109310

Change-Id: Ida94b51d069f44bcc3e1e24f868dbe46bf136ee1

11 years agoDisable dhcp_domain distribution when dhcp_domain is empty
Nachi Ueno [Tue, 15 Jan 2013 17:54:59 +0000 (09:54 -0800)]
Disable dhcp_domain distribution when dhcp_domain is empty

fixes bug 1099625

Change-Id: Ib86770345c46a0dd8bb38a4c3e435420170828af

11 years agoMerge "Make protocol and ethertype case insensitive for security groups"
Jenkins [Tue, 29 Jan 2013 20:02:58 +0000 (20:02 +0000)]
Merge "Make protocol and ethertype case insensitive for security groups"

11 years agoMerge "Fix branch in db migration scripts"
Jenkins [Tue, 29 Jan 2013 16:56:20 +0000 (16:56 +0000)]
Merge "Fix branch in db migration scripts"

11 years agoMerge "Finish adding help strings to all config options in Quantum code."
Jenkins [Tue, 29 Jan 2013 16:56:11 +0000 (16:56 +0000)]
Merge "Finish adding help strings to all config options in Quantum code."

11 years agoMake protocol and ethertype case insensitive for security groups
Aaron Rosen [Thu, 24 Jan 2013 23:45:04 +0000 (15:45 -0800)]
Make protocol and ethertype case insensitive for security groups

Fixes bug 1104495

Change-Id: I0d93f5e849ebe0be72fff8c1d82f5825540df338

11 years agoMerge "Add NVP port security implementation"
Jenkins [Tue, 29 Jan 2013 14:49:58 +0000 (14:49 +0000)]
Merge "Add NVP port security implementation"

11 years agoFix branch in db migration scripts
Akihiro MOTOKI [Tue, 29 Jan 2013 13:50:15 +0000 (22:50 +0900)]
Fix branch in db migration scripts

Fixes bug #1108781

Change-Id: Ia6cfcc4a1cc39136bad99be26f40aac9fa3e3e70

11 years agoFinish adding help strings to all config options in Quantum code.
Kyle Mestery [Mon, 28 Jan 2013 10:18:32 +0000 (10:18 +0000)]
Finish adding help strings to all config options in Quantum code.

This adds reasonable help strings to all remaining config options
in Quantum code. This includes all the plugins as well.

Fixes bug 1101356

Change-Id: I1cbe8303ad6d86756b992ae302707a0365625f52

11 years agoMerge "Use install_venv_common.py from oslo."
Jenkins [Tue, 29 Jan 2013 06:45:43 +0000 (06:45 +0000)]
Merge "Use install_venv_common.py from oslo."

11 years agoMerge "Clean up test_extensions.py imports"
Jenkins [Tue, 29 Jan 2013 06:35:31 +0000 (06:35 +0000)]
Merge "Clean up test_extensions.py imports"

11 years agoMerge "OVS cleanup utility removes veth pairs"
Jenkins [Tue, 29 Jan 2013 03:03:20 +0000 (03:03 +0000)]
Merge "OVS cleanup utility removes veth pairs"

11 years agoMerge "Set default lock_path in state_path"
Jenkins [Tue, 29 Jan 2013 02:47:26 +0000 (02:47 +0000)]
Merge "Set default lock_path in state_path"

11 years agoAdd NVP port security implementation
Aaron Rosen [Tue, 15 Jan 2013 06:45:41 +0000 (22:45 -0800)]
Add NVP port security implementation

Implements blueprint nvp-port-security-extension

Change-Id: I9f09424b963acb4f4847d11e9a98432094f8c164

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 29 Jan 2013 00:06:59 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I5a2b3949886393b5926bc98793fe00561ab049e6

11 years agoSet default lock_path in state_path
Jason Kölker [Mon, 28 Jan 2013 23:06:11 +0000 (17:06 -0600)]
Set default lock_path in state_path

* Set the default lock_path to be within quantum's state_path
* Fixes bug 1107950

Change-Id: I346d6088d773b508b4a7ba925fdc91fd4f5bf160

11 years agoUse install_venv_common.py from oslo.
Matthew Treinish [Mon, 28 Jan 2013 19:47:11 +0000 (14:47 -0500)]
Use install_venv_common.py from oslo.

This syncs install_venv_common.py from oslo and reworks the
tools/install_venv.py script to use the new library.

Change-Id: I46bbf7d656e6cb9660e37af2d3ce96150e18e7fe

11 years agoMake get_security_groups() return security group rules
Aaron Rosen [Fri, 25 Jan 2013 19:30:18 +0000 (11:30 -0800)]
Make get_security_groups() return security group rules

In nova, get_security_groups() returns the security groups and their
security group rules. In order to implement the security group proxy
it needs to return this data to nova. This can be done using multiple
requests from nova-api to quantum i.e: get_security_groups(), then
get_security_group() for each group to obtain the rules. If one has a lot
of security groups this will generate a lot of requests. Adding this change
allows all the security groups and their rules to be returned in one shot.

Fix bug 1105399

Change-Id: Ib685960311221ac4e5fe0913c7e00e15ab74accb

11 years agoFix OVSQuantumAgent.port_update if not admin_state_up
Alessio Ababilov [Mon, 28 Jan 2013 15:23:38 +0000 (17:23 +0200)]
Fix OVSQuantumAgent.port_update if not admin_state_up

self.agent does not exist. Use self.plugin_rpc, not
self.agent.plugin_rpc.

Change-Id: Id472c07f5a16891c040cc1afdcb457e1ef81beed

11 years agoClean up test_extensions.py imports
Zhongyue Luo [Sun, 27 Jan 2013 14:48:08 +0000 (22:48 +0800)]
Clean up test_extensions.py imports

Remove unnessesary imports
Import only modules

Change-Id: I4988714e3ae31ce77f3a2c1e27e81dd6258c7546

11 years agoFixes import order errors
Zhongyue Luo [Mon, 21 Jan 2013 00:50:58 +0000 (08:50 +0800)]
Fixes import order errors

Change-Id: I3df7bfb2e0812b006fa41bd76fb6156ebcd74362

11 years agoOVS cleanup utility removes veth pairs
Akihiro MOTOKI [Sat, 29 Dec 2012 20:37:13 +0000 (05:37 +0900)]
OVS cleanup utility removes veth pairs

Fixes bug 1094185

OVSInterfaceDriver plug() creates a veth pair and add it to an OVS
bridge when ovs_use_veth=True. It is useful that OVS cleanup utility
removes such veth paris in addition to removing OVS ports.

Veth pairs to be removed are veth devices corresponding to ports
removed when all_ovs_port==False. Veth pairs created to connect
the integration bridge and physical bridges are not removed.

Change-Id: Ia87f0464e69a45dd0bdfd907ac71a003df9fc23f

11 years agoRevert "Reqd. core_plugin for plugin agents & show cfg opts loaded."
Dan Wendlandt [Mon, 28 Jan 2013 07:58:30 +0000 (23:58 -0800)]
Revert "Reqd. core_plugin for plugin agents & show cfg opts loaded."

This reverts commit 06ce1329a044b8e7be9db59811d4f4316d0d0743.

bug 1059923

patch was found to not be a valid fix.

Change-Id: I465974f60fd65b4d2c9449267ab108fac13d70c8

11 years agoMerge "Reqd. core_plugin for plugin agents & show cfg opts loaded."
Jenkins [Mon, 28 Jan 2013 07:30:13 +0000 (07:30 +0000)]
Merge "Reqd. core_plugin for plugin agents & show cfg opts loaded."

11 years agoMerge "OVS: update status according to admin_state_up"
Jenkins [Sun, 27 Jan 2013 06:38:22 +0000 (06:38 +0000)]
Merge "OVS: update status according to admin_state_up"

11 years agoMerge "Ensure that correct root helper is used"
Jenkins [Fri, 25 Jan 2013 23:35:34 +0000 (23:35 +0000)]
Merge "Ensure that correct root helper is used"

11 years agoReqd. core_plugin for plugin agents & show cfg opts loaded.
Paul Michali [Thu, 24 Jan 2013 13:13:18 +0000 (08:13 -0500)]
Reqd. core_plugin for plugin agents & show cfg opts loaded.

For the linuxbridge, openvswitch, nec, and ryu plugin agents,
require the core_plugin configuration option, and throw an
exception, if not present. Note: cannot make this a required
option for all agents, as there are agent that include the
core config options, but do not require core_plugin.

In addition, log (as debug) the configuration options that
have been loaded at start-up for these four agents. This will
help with diagnosing start-up issues related to the
configuraiton settings (or lack of).

Tested that exception thrown, when missing core_plugin
value in config file(s) included, for these four agents.

bug 1059923
Change-Id: I813f0c2a3d0ec01be74a34e56ab085979197a16a

11 years agoMerge "Fix InvalidContentType can't be raised because of error in constructor"
Jenkins [Fri, 25 Jan 2013 15:58:30 +0000 (15:58 +0000)]
Merge "Fix InvalidContentType can't be raised because of error in constructor"

11 years agoEnsure that correct root helper is used
Gary Kotton [Fri, 25 Jan 2013 15:30:26 +0000 (15:30 +0000)]
Ensure that correct root helper is used

Fixes bug 1105193

Change-Id: Iaaf0b3687c410f5dbfa152d601ae3b2492a610dd

11 years agoFix InvalidContentType can't be raised because of error in constructor
Tatyana Leontovich [Thu, 24 Jan 2013 15:33:57 +0000 (17:33 +0200)]
Fix InvalidContentType can't be raised because of error in constructor

InvalidContentType exception class is defined two times:
in quantum.openstack.common.exception and quantum.common.exceptions
with two different signatures.
A lot of code like wsgi.Serializer.serialize() imports one of them but
attempts to use it with the signature of another one, which ends with
TypeError exception.

This change fixes the bug by removing the second definition of
InvalidContentType class and leaving only one which works correctly
with all code. Also adds unit tests for exceptions to prevent this and similar bugs.

Change-Id: I5d932d75ad184a0a6c6419190f2940bd47b7504e
Fixes: bug #1104090
11 years agoOVS: update status according to admin_state_up
Gary Kotton [Sun, 13 Jan 2013 12:10:23 +0000 (12:10 +0000)]
OVS: update status according to admin_state_up

Fixes bug 1099099

In addition to this the code does the following:
1. validates if the port exists on the OVS when a port update event takes
   place
2. when a port is created the initial state is set as 'DOWN'. this is
   later updated by the agent when it is detected as up

Change-Id: I917d4b5aa8df7395fcaa841d77083546478739d2

11 years agoMerge "Improving code reuse with loadbalancer entity deletion"
Jenkins [Thu, 24 Jan 2013 20:53:14 +0000 (20:53 +0000)]
Merge "Improving code reuse with loadbalancer entity deletion"

11 years agoMerge "Cisco plugin cleanup"
Jenkins [Thu, 24 Jan 2013 19:32:42 +0000 (19:32 +0000)]
Merge "Cisco plugin cleanup"

11 years agoMerge "Use babel to generate translation file"
Jenkins [Thu, 24 Jan 2013 19:10:03 +0000 (19:10 +0000)]
Merge "Use babel to generate translation file"

11 years agoCisco plugin cleanup
Arvind Somya [Wed, 16 Jan 2013 18:40:12 +0000 (13:40 -0500)]
Cisco plugin cleanup

Removing unused plugins and code from the Cisco plugin framework.

Change-Id: Ib22d173a088ad50b410a51a1d92685259d0af473
Implements: blueprint cisco-plugin-cleanup

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 agoUse babel to generate translation file
He Jie Xu [Wed, 23 Jan 2013 16:07:18 +0000 (00:07 +0800)]
Use babel to generate translation file

Fixes bug 1103519

Following http://wiki.openstack.org/Translations to integrate transifex
translation into quantum

We added the empty file quantum/locale/quantum.pot to avoid the
failure of the Jenkin's translation-jobs because git doesn't allow empty
directory to be added into the repository.

After this patch accepted, we need to do as below:
1. Make the transifex quantum project
(https://www.transifex.com/projects/p/quantum/) as part of the
openstack transifex project hub and give access to the transifex
openstack Jenkins account.

2. Add the translation-jobs into openstack/openstack-ci-puppet for
ceilometer.

Change-Id: I329a8bdc51ed8a0e75399c592d3991b1ec06a855

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