]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "mailmap: update .mailmap"
Jenkins [Thu, 13 Feb 2014 06:23:38 +0000 (06:23 +0000)]
Merge "mailmap: update .mailmap"

10 years agoMerge "Fix log-related tracebacks in nsx plugin"
Jenkins [Thu, 13 Feb 2014 03:40:11 +0000 (03:40 +0000)]
Merge "Fix log-related tracebacks in nsx plugin"

10 years agoMerge "Lowercase OVS sample config section headers"
Jenkins [Thu, 13 Feb 2014 03:34:08 +0000 (03:34 +0000)]
Merge "Lowercase OVS sample config section headers"

10 years agoMerge "Add DB mappings with NSX logical switches"
Jenkins [Wed, 12 Feb 2014 23:32:48 +0000 (23:32 +0000)]
Merge "Add DB mappings with NSX logical switches"

10 years agoMerge "Raise an error from ovs_lib list operations"
Jenkins [Wed, 12 Feb 2014 22:32:51 +0000 (22:32 +0000)]
Merge "Raise an error from ovs_lib list operations"

10 years agoMerge "NSX: Fix possible deadlock in sync code"
Jenkins [Wed, 12 Feb 2014 22:04:10 +0000 (22:04 +0000)]
Merge "NSX: Fix possible deadlock in sync code"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 12 Feb 2014 19:51:01 +0000 (19:51 +0000)]
Merge "Imported Translations from Transifex"

10 years agoLowercase OVS sample config section headers
Mark T. Voelker [Wed, 12 Feb 2014 16:45:32 +0000 (11:45 -0500)]
Lowercase OVS sample config section headers

The "Sample Configurations" section of ovs_neutron_plugin.ini
has uppercased section headers.  In Havana the section headers
were normalized to lowercase, but the sample configs were never
updated.

Change-Id: Ic33392788317adcd6eb86caeef4f25aa4a3d10c8
Closes-Bug: #1279418

10 years agoAdd DB mappings with NSX logical switches
Salvatore Orlando [Tue, 29 Oct 2013 15:52:58 +0000 (08:52 -0700)]
Add DB mappings with NSX logical switches

This patch introduces DB mappings between neutron network and NSX
logical switches, thus not requiring anymore the Neutron network
ID to be equal to the NSX one.

This change is necessary for enabling asynchronous operations in
the NSX plugin.

This patch also performs NVP/NSX renaming where appropriate.

Related to blueprint nvp-async-backend-communication
Related to blueprint nicira-plugin-renaming

Change-Id: Ic4b65730ee5f9ca5f76f89eb2528709c9cc7973e

10 years agoNSX: Fix possible deadlock in sync code
Aaron Rosen [Tue, 11 Feb 2014 18:16:37 +0000 (10:16 -0800)]
NSX: Fix possible deadlock in sync code

This patch removes the call to nsx from within the db transcation
which can cause deadlock if another request comes in during this time.

Change-Id: If16b53a77997bccfdff2554dead26f42e23eaec9
Closes-bug: #1278991

10 years agoRaise an error from ovs_lib list operations
Akihiro Motoki [Mon, 10 Feb 2014 06:24:54 +0000 (15:24 +0900)]
Raise an error from ovs_lib list operations

Previously list operations in ovs_lib returns an empty list
if RuntimeError occurs and a caller cannot distinguish an error
from normal results. This commit changes ovs_lib list operations
(get_vif_port_set, get_vif_ports, get_bridges) to raise an
exception when RuntimeError occurs.

Note: callers of these commands are ovs/nec/ryu-agent and ovs_cleanup.
- plugin agents: these commands are inside in try/except clause
  in daemon loop and there is no need to change.
- ovs_cleanup: there is no error catch logic in main() at now
  and it calls commands other than ovs_lib, so it can be cleanup
  later if required.

It also fixes the code to use excutils.save_and_reraise_exception
when reraising an exception.

Change-Id: I2aa3b51b8661c75846cb588c08c8f8ee00c37004
Closes-Bug: #1277029

10 years agoMerge "Add migration support from agent to NSX dhcp/metadata services"
Jenkins [Wed, 12 Feb 2014 10:22:32 +0000 (10:22 +0000)]
Merge "Add migration support from agent to NSX dhcp/metadata services"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 12 Feb 2014 06:25:58 +0000 (06:25 +0000)]
Imported Translations from Transifex

Change-Id: I696ef1e400891af9d128b3badb9696a88217bb3b

10 years agoFix log-related tracebacks in nsx plugin
armando-migliaccio [Wed, 12 Feb 2014 03:39:11 +0000 (19:39 -0800)]
Fix log-related tracebacks in nsx plugin

Closes-bug: 1279163

Change-Id: I2a6f0fdbd4d72b74c6a4329cb5e02d9d979705dd

10 years agoMerge "Skip extra logging when devices is empty"
Jenkins [Wed, 12 Feb 2014 04:01:57 +0000 (04:01 +0000)]
Merge "Skip extra logging when devices is empty"

10 years agoMerge "Allow multiple DNS forwarders for dnsmasq"
Jenkins [Tue, 11 Feb 2014 20:41:20 +0000 (20:41 +0000)]
Merge "Allow multiple DNS forwarders for dnsmasq"

10 years agoMerge "NSX plugin: fix floatingip re-association"
Jenkins [Tue, 11 Feb 2014 19:50:00 +0000 (19:50 +0000)]
Merge "NSX plugin: fix floatingip re-association"

10 years agoMerge "Re-enable lazy translation"
Jenkins [Tue, 11 Feb 2014 19:12:21 +0000 (19:12 +0000)]
Merge "Re-enable lazy translation"

10 years agoMerge "Do not append to messages with +"
Jenkins [Tue, 11 Feb 2014 19:10:08 +0000 (19:10 +0000)]
Merge "Do not append to messages with +"

10 years agoMerge "Fix passing keystone token to neutronclient instance"
Jenkins [Tue, 11 Feb 2014 19:09:31 +0000 (19:09 +0000)]
Merge "Fix passing keystone token to neutronclient instance"

10 years agoMerge "Remove extra network scheduling from vmware nsx plugin"
Jenkins [Tue, 11 Feb 2014 18:14:34 +0000 (18:14 +0000)]
Merge "Remove extra network scheduling from vmware nsx plugin"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Tue, 11 Feb 2014 15:57:04 +0000 (15:57 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Remove psutil dependency"
Jenkins [Tue, 11 Feb 2014 09:34:08 +0000 (09:34 +0000)]
Merge "Remove psutil dependency"

10 years agoMerge "Dnsmasq uses all agent IPs as nameservers"
Jenkins [Tue, 11 Feb 2014 09:06:33 +0000 (09:06 +0000)]
Merge "Dnsmasq uses all agent IPs as nameservers"

10 years agoMerge "Fix interprocess locks for run_tests.sh"
Jenkins [Tue, 11 Feb 2014 08:19:35 +0000 (08:19 +0000)]
Merge "Fix interprocess locks for run_tests.sh"

10 years agoMerge "Add an explicit tox job for functional tests"
Jenkins [Tue, 11 Feb 2014 08:03:05 +0000 (08:03 +0000)]
Merge "Add an explicit tox job for functional tests"

10 years agoMerge "Prepare for multiple cisco ML2 mech drivers"
Jenkins [Tue, 11 Feb 2014 06:57:01 +0000 (06:57 +0000)]
Merge "Prepare for multiple cisco ML2 mech drivers"

10 years agoMerge "Enables BigSwitch/Restproxy ML2 VLAN driver"
Jenkins [Tue, 11 Feb 2014 06:51:31 +0000 (06:51 +0000)]
Merge "Enables BigSwitch/Restproxy ML2 VLAN driver"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 11 Feb 2014 06:24:03 +0000 (06:24 +0000)]
Imported Translations from Transifex

Change-Id: I8c1944fd04f74b4d3623a5589cebac89f72f1ff3

10 years agoMerge "Fix error while connecting to busy NSX L2 Gateway"
Jenkins [Tue, 11 Feb 2014 02:41:17 +0000 (02:41 +0000)]
Merge "Fix error while connecting to busy NSX L2 Gateway"

10 years agoMerge "Use oslo.rootwrap library instead of local copy"
Jenkins [Tue, 11 Feb 2014 01:53:53 +0000 (01:53 +0000)]
Merge "Use oslo.rootwrap library instead of local copy"

10 years agoAdd migration support from agent to NSX dhcp/metadata services
armando-migliaccio [Fri, 11 Oct 2013 21:39:28 +0000 (14:39 -0700)]
Add migration support from agent to NSX dhcp/metadata services

This is feature patch (3 of 3) that introduces support for
transitioning existing NSX-based deployments from the agent
based model of providing dhcp and metadata proxy services
to the new agentless based mode. In 'combined' mode, existing
networks will still be served by the existing infrastructure,
whereas new networks will be served by the new infrastructure.

Networks may be migrated to the model using a new CLI tool
provided, called 'neutron-nsx-manage'. Currently the tool
provides two admin-only commands:

  neutron-nsx-manage net-report <net-id-or-name>

This will check that the network can be migrated and returns
the resources currently in use. And:

  neutron-nsx-manage net-migrate <net-id-or-name>

This will move the network over the new model and deallocate
resources from the agent. Once a network has been migrated
there is no turning back.

Completes-blueprint nsx-integrated-services

Change-Id: I37c9aa0e76124e1023899106406de7be6714c24d

10 years agoMerge "ML2 Cisco Nexus MD: Create pre/post DB event handlers"
Jenkins [Tue, 11 Feb 2014 00:03:50 +0000 (00:03 +0000)]
Merge "ML2 Cisco Nexus MD: Create pre/post DB event handlers"

10 years agoMerge "Fix race condition in network scheduling to dhcp agent"
Jenkins [Mon, 10 Feb 2014 22:29:38 +0000 (22:29 +0000)]
Merge "Fix race condition in network scheduling to dhcp agent"

10 years agoMerge "Improve handling of security group updates"
Jenkins [Mon, 10 Feb 2014 21:38:16 +0000 (21:38 +0000)]
Merge "Improve handling of security group updates"

10 years agoNSX plugin: fix floatingip re-association
Salvatore Orlando [Mon, 10 Feb 2014 21:03:08 +0000 (13:03 -0800)]
NSX plugin: fix floatingip re-association

The NSX plugin does not allow to reassociate a floating IP to
a different internal IP address on the same port where it's
currently associated.
This patch fixes this behaviour and adds a unit test to ensure
re-association on the same port with a different IP is possible.

A few tweaks to the unit test aux functions were necessary to
accomodate the newly introduced unit test.

Change-Id: Iafbc3c54ebc4509ca75155ef138cc6da869df7bd
Closes-Bug: #1278581

10 years agoRe-enable lazy translation
Luis A. Garcia [Wed, 15 Jan 2014 23:20:51 +0000 (23:20 +0000)]
Re-enable lazy translation

After enhancements to Oslo Message class, re-enable lazy translation to
enable REST API responses to be translated to the requested user locale.

bp i18n-messages

Change-Id: I80272fb0d063a78882611b3044c920e28cc57d6b

10 years agoDo not append to messages with +
Luis A. Garcia [Thu, 16 Jan 2014 00:01:05 +0000 (00:01 +0000)]
Do not append to messages with +

Some code was appending to translated messages using +, which
oslo-incubator's new gettextutils doesn't support.

The code was changed to use a substitution value in the message
instead.

Part of bp user-locale-api

Change-Id: If2bc1821d0057c4cd53ead7eac1712284464b9bf

10 years agoRemove psutil dependency
Terry Wilson [Fri, 24 Jan 2014 19:34:15 +0000 (13:34 -0600)]
Remove psutil dependency

The version of psutil that was being required is not hosted on
PyPi which caused some issues. This patch removes the psutil
dependency in favor of using the method that was proposed for
the havana backport of polling minimization.

Closes-bug: #1268711
Change-Id: I5a1672cfd195099d92578321153c42b8bfd09b7d

10 years agoMerge "Support building wheels (PEP-427)"
Jenkins [Mon, 10 Feb 2014 13:20:42 +0000 (13:20 +0000)]
Merge "Support building wheels (PEP-427)"

10 years agoMerge "Fix binding:host_id is set to None when port update"
Jenkins [Mon, 10 Feb 2014 11:56:12 +0000 (11:56 +0000)]
Merge "Fix binding:host_id is set to None when port update"

10 years agoMerge "ML2 plugin cannot raise NoResultFound exception"
Jenkins [Mon, 10 Feb 2014 09:44:47 +0000 (09:44 +0000)]
Merge "ML2 plugin cannot raise NoResultFound exception"

10 years agoMerge "add quota support for ryu plugin"
Jenkins [Mon, 10 Feb 2014 09:40:29 +0000 (09:40 +0000)]
Merge "add quota support for ryu plugin"

10 years agoMerge "Disallow non-admin users update net's shared attribute"
Jenkins [Mon, 10 Feb 2014 09:08:19 +0000 (09:08 +0000)]
Merge "Disallow non-admin users update net's shared attribute"

10 years agoMerge "Fix misspellings in neutron"
Jenkins [Mon, 10 Feb 2014 09:06:52 +0000 (09:06 +0000)]
Merge "Fix misspellings in neutron"

10 years agomailmap: update .mailmap
Isaku Yamahata [Mon, 10 Feb 2014 06:47:59 +0000 (15:47 +0900)]
mailmap: update .mailmap

Change-Id: I20841bcaf29a6be44999a4ee33f2c85e2a41a27d

10 years agoFix binding:host_id is set to None when port update
hyunsun [Wed, 18 Dec 2013 09:03:34 +0000 (18:03 +0900)]
Fix binding:host_id is set to None when port update

when updating a port 'binding:host_id' is reset if not specified among
the parameter to be updated. As a result, a None value for
'binding:host_id' is sent from the notifier which might potentially
cause consumers to not work properly.

Closes-Bug: #1245310
Change-Id: Icfb5179940cca9f8a705eb36bdbfcbc8a421a272

10 years agoMerge "Return request-id in API response"
Jenkins [Mon, 10 Feb 2014 05:53:36 +0000 (05:53 +0000)]
Merge "Return request-id in API response"

10 years agoMerge "Fix typo in rootwrap files: neuton -> neutron"
Jenkins [Mon, 10 Feb 2014 04:40:42 +0000 (04:40 +0000)]
Merge "Fix typo in rootwrap files: neuton -> neutron"

10 years agoReturn request-id in API response
Akihiro Motoki [Thu, 5 Dec 2013 06:55:31 +0000 (15:55 +0900)]
Return request-id in API response

Import RequestIdMiddleware from oslo which ensures to request-id
in API response. CatchErrorsMiddleware is also imported to ensure
all internal exceptions are caught outermost.
api-paste.ini is updated to use them.

KeystonAuthContext middleware is updated so that it uses
request-id generated by RequestIdMiddleware.

Add middleware to openstack.conf and import all modules
under middleware directory from oslo.

DocImpact UpgradeImpact
This patch adds new WSGI middlewares "request_id" and "catch_errors".
They needs to be added to api-paste.ini when upgrading.

Change-Id: Icf01b7de697ef50bef53212da2cf520d1ff78b88
Closes-Bug: #1239923

10 years agoSkip extra logging when devices is empty
Yuanchao Sun [Sun, 9 Feb 2014 16:20:31 +0000 (00:20 +0800)]
Skip extra logging when devices is empty

Change-Id: Id9ae8aef0555109bd88600965adb2744ab924430
Closes-Bug: #1278271

10 years agoImprove handling of security group updates
Salvatore Orlando [Thu, 19 Dec 2013 08:26:38 +0000 (00:26 -0800)]
Improve handling of security group updates

Currently updates to security group rules or membership
are handled by immediately triggering a call to refresh_firewall.
This call is quite expensive, and it is often executed with a
very high frequency.

With this patch, the notification handler simply adds devices for
which the firewall should be refreshed to a set, which will then
be processed in another routine. The latter is supposed to
be called in the main agent loop.

This patch for 'provider updates' simply sets a flag for refreshing
the firewall for all devices.

In order to avoid breaking other agents leveraging the security
group RPC mixin, the reactive behaviour is still available, and is
still the default way of handling security group updates.

Partial-Bug: #1253993
Partially implements blueprint: neutron-tempest-parallel

Change-Id: I1574544734865506ff5383404516cc9349c16ec4

10 years agoML2 plugin cannot raise NoResultFound exception
Édouard Thuleau [Sat, 8 Feb 2014 17:28:19 +0000 (18:28 +0100)]
ML2 plugin cannot raise NoResultFound exception

The ML2 plugin cannot raise NoResultFound exception because it does not
use the correct sqlalchemy library:
'from sqlalchemy import exc as ...' instead of 'from sqlalchemy.orm
import exc as ...'

Closes-Bug: #1277914
Change-Id: If3819adc62b9254f0c08eea6dcfcf5f06288e20e

10 years agoFix typo in rootwrap files: neuton -> neutron
Robert Collins [Sun, 9 Feb 2014 08:19:41 +0000 (21:19 +1300)]
Fix typo in rootwrap files: neuton -> neutron

The l3 filters one in particular breaks /usr/local installs because
its spelt wrongly.

Change-Id: I609e3f448256cb8c9211c4d67ae48cb2ee5b6094

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 9 Feb 2014 06:23:12 +0000 (06:23 +0000)]
Imported Translations from Transifex

Change-Id: Ie1523eac21f7222050cab5dc923810adfbb39f77

10 years agoMerge "NVP plugin:fix delete sec group when backend is out of sync"
Jenkins [Sun, 9 Feb 2014 00:57:51 +0000 (00:57 +0000)]
Merge "NVP plugin:fix delete sec group when backend is out of sync"

10 years agoMerge "Enable hacking H233 rule"
Jenkins [Sat, 8 Feb 2014 02:09:33 +0000 (02:09 +0000)]
Merge "Enable hacking H233 rule"

10 years agoMerge "validate if the router has external gateway interface set"
Jenkins [Sat, 8 Feb 2014 02:09:24 +0000 (02:09 +0000)]
Merge "validate if the router has external gateway interface set"

10 years agoMerge "improve UT coverage for nicira_db operations"
Jenkins [Sat, 8 Feb 2014 01:14:38 +0000 (01:14 +0000)]
Merge "improve UT coverage for nicira_db operations"

10 years agoPrepare for multiple cisco ML2 mech drivers
Henry Gessau [Fri, 7 Feb 2014 01:56:00 +0000 (20:56 -0500)]
Prepare for multiple cisco ML2 mech drivers

Code tree reorganization in preparation for ML2 mechanism drivers for
other cisco products. The cisco nexus ML2 mechanism driver and its
test cases need to move down into their own subdirectory.

Closes-bug: #1277222

Change-Id: I2ba366332276069545b3deb0bbd39016a893327b

10 years agoML2 Cisco Nexus MD: Create pre/post DB event handlers
Rich Curran [Thu, 14 Nov 2013 22:20:07 +0000 (17:20 -0500)]
ML2 Cisco Nexus MD: Create pre/post DB event handlers

Split ML2 cisco nexus event handers for update and delete
into precommit (called during DB transactions) and postcommit
(called after DB transactions) methods.

Also fixes some unit tests that were incorrectly accessing
context managers without using the "with" statement.

Closes-Bug: #1241098
Change-Id: I59b046342706230222c1be39d13a455ca5a884ea

10 years agoSupport building wheels (PEP-427)
Sascha Peilicke [Tue, 19 Nov 2013 08:57:32 +0000 (09:57 +0100)]
Support building wheels (PEP-427)

Universal is used to identify pure-Python module(by bdist_wheel). For
these, it is sufficient to build a wheel with _any_ Python ABI version
and publish that to PyPI (by whatever means).

Change-Id: Ibca65044d61d4b9b248013e4fe316f3c1a05f764

10 years agoNVP plugin:fix delete sec group when backend is out of sync
Salvatore Orlando [Fri, 15 Nov 2013 11:06:19 +0000 (03:06 -0800)]
NVP plugin:fix delete sec group when backend is out of sync

If a security group does not exist on the NVP backend, an error
should not be raised on deletion of the security group.

This patch changes the plugin behavior by deleting the record
from the database and just logging that the security group
was not found on the NVP backend.

Closes-Bug: #1251422

Change-Id: Ib8adf7a830ff336655fd83ad4118cde641adf284

10 years agoUse oslo.rootwrap library instead of local copy
Thierry Carrez [Thu, 6 Feb 2014 15:27:36 +0000 (16:27 +0100)]
Use oslo.rootwrap library instead of local copy

Remove rootwrap code copied from oslo-incubator, make the
{neutron,quantum}-rootwrap console_script entrypoints point to
oslo.rootwrap code instead.

Adjust bin/{neutron,quantum}-rootwrap[-xen-dom0] so that it calls
into oslo.rootwrap.cmd.

Change-Id: I22df4060d6bca6affd7761fec49d2767ca8f59cf
Implements: blueprint neutron-oslo-rootwrap

10 years agoFix misspellings in neutron
Shane Wang [Fri, 7 Feb 2014 07:27:36 +0000 (15:27 +0800)]
Fix misspellings in neutron

Fix misspellings detected by:
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -

Change-Id: I93d9e2a65b0c1d1d801cae59b74d7258fbdb17dc
Closes-Bug: #1257295

10 years agoMerge "Simplify ip allocation/recycling to relieve db pressure"
Jenkins [Thu, 6 Feb 2014 19:49:31 +0000 (19:49 +0000)]
Merge "Simplify ip allocation/recycling to relieve db pressure"

10 years agoMerge "[ML2] l2-pop MD handle multi create/delete ports"
Jenkins [Thu, 6 Feb 2014 19:49:20 +0000 (19:49 +0000)]
Merge "[ML2] l2-pop MD handle multi create/delete ports"

10 years agoMerge "Tweak version nvp/nsx version validation logic for router operations"
Jenkins [Thu, 6 Feb 2014 19:48:01 +0000 (19:48 +0000)]
Merge "Tweak version nvp/nsx version validation logic for router operations"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 6 Feb 2014 17:07:37 +0000 (17:07 +0000)]
Merge "Imported Translations from Transifex"

10 years agoAllow multiple DNS forwarders for dnsmasq
Sylvain Afchain [Thu, 12 Dec 2013 23:12:29 +0000 (00:12 +0100)]
Allow multiple DNS forwarders for dnsmasq

This patch change the dnsmasq_server configuration option to a ListOpt
in order to enable user to specify multiple DNS forwarders for each
dnsmasq instance.

DocImpact

Change-Id: I21963b4a6c99e4edb11040d77a6aeaa35ff44641
Closes-bug: #1240027

10 years agoMerge "LBaaS: fix handling pending create/update members and health monitors"
Jenkins [Thu, 6 Feb 2014 14:59:31 +0000 (14:59 +0000)]
Merge "LBaaS: fix handling pending create/update members and health monitors"

10 years agoMerge "Expunge session contents between plugin requests"
Jenkins [Thu, 6 Feb 2014 14:25:21 +0000 (14:25 +0000)]
Merge "Expunge session contents between plugin requests"

10 years agoFix passing keystone token to neutronclient instance
Ihar Hrachyshka [Thu, 30 Jan 2014 12:42:29 +0000 (13:42 +0100)]
Fix passing keystone token to neutronclient instance

Neutron client expects token to be passed as token= argument, while
neutron-metadata-agent passes auth_token= instead. This effectively makes the
client to authenticate against keystone each time it's instantiated. In
neutron-metadata-agent case, it means 'each time a client sends a metadata
request.'

The issue results in high cpu utilization on keystone side when simultaneously
invoking multiple nova instances with cloud-init.

Change-Id: I2a31f9c0c3cfa915975ecc53d71168a3895528d8
Closes-Bug: 1274487

10 years agoFix race condition in network scheduling to dhcp agent
Eugene Nikanorov [Wed, 5 Feb 2014 21:52:35 +0000 (01:52 +0400)]
Fix race condition in network scheduling to dhcp agent

Rarely dhcp agent rpc call get_active_networks_info() can interleave
with network scheduling initiated by create.port.end notification.
In this case scheduling raises and port creation returns 500.
Need to synchronize on DhcpNetworkBindings table.

Closes-Bug: #1276552
Change-Id: I52d94a40772a99c7032dba15b200bf0f21362f93

10 years agoadd quota support for ryu plugin
Yoshihiro Kaneko [Tue, 7 Jan 2014 06:48:38 +0000 (15:48 +0900)]
add quota support for ryu plugin

This patch adds Quota extension support to Ryu plugin and db migration
script.

Closes-Bug: #1266650
Change-Id: I4328ebf7bf307390461807bd8bb3318ac2f64845

10 years agoMerge "Fix error message typo"
Jenkins [Thu, 6 Feb 2014 08:57:48 +0000 (08:57 +0000)]
Merge "Fix error message typo"

10 years agoMerge "Configure floating IPs addresses after NAT rules"
Jenkins [Thu, 6 Feb 2014 07:05:54 +0000 (07:05 +0000)]
Merge "Configure floating IPs addresses after NAT rules"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 6 Feb 2014 06:24:36 +0000 (06:24 +0000)]
Imported Translations from Transifex

Change-Id: I05e158928b76ba1d8aeb1b74fcf07035e419825d

10 years agoEnables BigSwitch/Restproxy ML2 VLAN driver
Kevin Benton [Tue, 28 Jan 2014 01:26:12 +0000 (17:26 -0800)]
Enables BigSwitch/Restproxy ML2 VLAN driver

Refactors Bigswitch/Restproxy plugin by separating into
reusable libraries that can be used by the plugin as well
as the ml2 driver to proxy calls to the backend controller.

Enables basic unit tests for the ML2 driver.

Removes deprecated separate unplug/plug operations on ports.

Implements: blueprint bigswitch-ml2-driver
Change-Id: I4e22ba7e20ec4f405b9fd34a1bf08a48544f317d

10 years agoMerge "Use an independent iptables lock per namespace"
Jenkins [Thu, 6 Feb 2014 00:43:21 +0000 (00:43 +0000)]
Merge "Use an independent iptables lock per namespace"

10 years agoMerge "NVP: Add LOG.exception to see why router was not created"
Jenkins [Thu, 6 Feb 2014 00:43:11 +0000 (00:43 +0000)]
Merge "NVP: Add LOG.exception to see why router was not created"

10 years agoMerge "Base ML2 bulk support on the loaded drivers"
Jenkins [Thu, 6 Feb 2014 00:43:00 +0000 (00:43 +0000)]
Merge "Base ML2 bulk support on the loaded drivers"

10 years agoFix error message typo
Fawad Khaliq [Wed, 5 Feb 2014 18:15:13 +0000 (10:15 -0800)]
Fix error message typo

 * Fix error message typo in "_network_admin_state"
   function where "Network Admin State Validation Falied"
   should be changed to "Network Admin State Validation Failed"

Change-Id: I767e93c300250b4422e3980f799862ceb976c951
Closes-Bug: #1276409
Signed-off-by: Fawad Khaliq <fawad@plumgrid.com>
10 years agoConfigure floating IPs addresses after NAT rules
Salvatore Orlando [Tue, 14 Jan 2014 20:47:46 +0000 (12:47 -0800)]
Configure floating IPs addresses after NAT rules

Change the behaviour of the L3 agent in order to set the IP addresses
for the floating IPs on the external gateway interface after the
relevant NAT rules have been applied.
This will avoid a transitory period in which the floating IP exists
and is reachable but it not yet wired to the actual target.

Partial-Bug: #1265505

Change-Id: Ib382fde021868bab2185f2fa5bdee86559148ba7

10 years agoAdd an explicit tox job for functional tests
Maru Newby [Tue, 14 Jan 2014 18:43:22 +0000 (18:43 +0000)]
Add an explicit tox job for functional tests

This change is in support of adding a new jenkins job dedicated
to functional testing.  Functional tests will no longer be
run as part of the unit tests.

Change-Id: Ia99940f7e5a2165720ae2a74aadf62ff17ad3d75

10 years agoimprove UT coverage for nicira_db operations
armando-migliaccio [Tue, 14 Jan 2014 21:35:06 +0000 (13:35 -0800)]
improve UT coverage for nicira_db operations

Also, ensure that a rollback is issued in the
event of any DB error.

Change-Id: I706db09f11fb5f6b369a1bd0cb1016df7d0359b5
Related-bug: #1265472

10 years agoMerge "Remove release_lease from the DHCP driver interface"
Jenkins [Wed, 5 Feb 2014 15:05:51 +0000 (15:05 +0000)]
Merge "Remove release_lease from the DHCP driver interface"

10 years agoMerge "Use information from the dnsmasq hosts file to call dhcp_release"
Jenkins [Wed, 5 Feb 2014 15:05:42 +0000 (15:05 +0000)]
Merge "Use information from the dnsmasq hosts file to call dhcp_release"

10 years agoMerge "LBaaS: handle NotFound exceptions in update_status callback"
Jenkins [Wed, 5 Feb 2014 12:56:08 +0000 (12:56 +0000)]
Merge "LBaaS: handle NotFound exceptions in update_status callback"

10 years agoMerge "Remove garbage in vim header"
Jenkins [Wed, 5 Feb 2014 12:26:11 +0000 (12:26 +0000)]
Merge "Remove garbage in vim header"

10 years agoMerge "Fix race condition in delete_port method. Fix update_port method"
Jenkins [Wed, 5 Feb 2014 11:47:54 +0000 (11:47 +0000)]
Merge "Fix race condition in delete_port method. Fix update_port method"

10 years agoMerge "Reduce severity of log messages in validation methods"
Jenkins [Wed, 5 Feb 2014 11:46:36 +0000 (11:46 +0000)]
Merge "Reduce severity of log messages in validation methods"

10 years agoMerge "Change metadata-agent to have a configurable backlog"
Jenkins [Wed, 5 Feb 2014 11:46:24 +0000 (11:46 +0000)]
Merge "Change metadata-agent to have a configurable backlog"

10 years agoMerge "Change metadata-agent to spawn multiple workers"
Jenkins [Wed, 5 Feb 2014 11:46:14 +0000 (11:46 +0000)]
Merge "Change metadata-agent to spawn multiple workers"

10 years agoMerge "Avoid re-wiring ports unnecessarily"
Jenkins [Wed, 5 Feb 2014 10:04:45 +0000 (10:04 +0000)]
Merge "Avoid re-wiring ports unnecessarily"

10 years agoMerge "Rename nvp_cluster for VMware NSX plugin"
Jenkins [Wed, 5 Feb 2014 08:58:32 +0000 (08:58 +0000)]
Merge "Rename nvp_cluster for VMware NSX plugin"

10 years agoMerge "Process port_update notifications in the main agent loop"
Jenkins [Wed, 5 Feb 2014 08:44:31 +0000 (08:44 +0000)]
Merge "Process port_update notifications in the main agent loop"

10 years agoMerge "Minimize the cost of checking for api worker exit"
Jenkins [Wed, 5 Feb 2014 07:52:48 +0000 (07:52 +0000)]
Merge "Minimize the cost of checking for api worker exit"

10 years agoAvoid re-wiring ports unnecessarily
Salvatore Orlando [Sat, 21 Dec 2013 00:59:05 +0000 (16:59 -0800)]
Avoid re-wiring ports unnecessarily

In the majority of cases a port_update notification pertains
a change in the properties affecting port filter, and does
not affect port wiring, ie: the local vlan tag.

This patch simply avoids doing port wiring/unwiring if the
local vlan tag did not change.
The extra overhead for the ovs-db get operation is offset
by the fact that get commands are generally faster than
set commands, and by avoiding executing the ovs-ofctl operation.

Partial-Bug: #1253993
Partially implements blueprint: neutron-tempest-parallel

Change-Id: Ia0bd2dc4e5a2634a4c863ff32ccc5cabe8e21337

10 years agoProcess port_update notifications in the main agent loop
Salvatore Orlando [Thu, 12 Dec 2013 14:02:13 +0000 (06:02 -0800)]
Process port_update notifications in the main agent loop

Instead of processing a port update notification directly in
the RPC call, the actual processing is moved into the main
rpc loop, whereas the RPC call just adds the updated port
identifier to a set of updated ports.
In this way, a port_update notification won't compete with the
main rpc loop, causing long delays into its completion under
heavy load. Also, repeated port_update notifications received
within a single iteration of the main agent loop will be
coalesced and processed only once.
This will also avoid the risk of processing notifications out
of order thus ending up with an actual configuration which
differs from the desired one.

This patch still performs L2 wiring for updated ports even if
it is necessary only when the administrative state of a port
changes.

The update_ports method has been renamed to scan_ports as the latter
name appears to be more in line with what the method actually does.

Partial-Bug: #1253993
Partially implements blueprint: neutron-tempest-parallel
Change-Id: I219c6bdf63b0b5e945b655677f9e28fa591f03cd