]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "Updated from global requirements"
Jenkins [Fri, 31 Jul 2015 09:04:50 +0000 (09:04 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "Update dhcp agent cache for network:dhcp ports"
Jenkins [Fri, 31 Jul 2015 07:47:07 +0000 (07:47 +0000)]
Merge "Update dhcp agent cache for network:dhcp ports"

9 years agoMerge "Add plural names for quota resources"
Jenkins [Fri, 31 Jul 2015 06:58:24 +0000 (06:58 +0000)]
Merge "Add plural names for quota resources"

9 years agoMerge "Introduce usage data tracking for Neutron"
Jenkins [Fri, 31 Jul 2015 06:57:44 +0000 (06:57 +0000)]
Merge "Introduce usage data tracking for Neutron"

9 years agoMerge "Keep dns nameserver order consistency"
Jenkins [Fri, 31 Jul 2015 04:43:24 +0000 (04:43 +0000)]
Merge "Keep dns nameserver order consistency"

9 years agoMerge "Python 3: fix test_attributes"
Jenkins [Thu, 30 Jul 2015 15:30:01 +0000 (15:30 +0000)]
Merge "Python 3: fix test_attributes"

9 years agoMerge "Create packages for quota modules"
Jenkins [Wed, 29 Jul 2015 22:21:29 +0000 (22:21 +0000)]
Merge "Create packages for quota modules"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 29 Jul 2015 20:44:01 +0000 (20:44 +0000)]
Updated from global requirements

Change-Id: I3a884a73d51df0f93b5cc88b3e3250d81bb1f455

9 years agoMerge "Moving out cisco n1kv extensions"
Jenkins [Wed, 29 Jul 2015 17:44:42 +0000 (17:44 +0000)]
Merge "Moving out cisco n1kv extensions"

9 years agoMerge "Correct fcntl.flock use in Pidfile.unlock"
Jenkins [Wed, 29 Jul 2015 17:38:02 +0000 (17:38 +0000)]
Merge "Correct fcntl.flock use in Pidfile.unlock"

9 years agoUpdate dhcp agent cache for network:dhcp ports
sridhargaddam [Mon, 27 Jul 2015 03:46:48 +0000 (03:46 +0000)]
Update dhcp agent cache for network:dhcp ports

When a network with a dhcp_enabled subnet is scheduled on a dhcp
agent, dhcp driver creates the network:dhcp port for the subnet.
However, the port info is not updated in dhcp agents internal cache.
Subsequently if the user deletes the network:dhcp port, the port is
properly deleted on the server side (i.e., in the database) and when
the port_delete_end notification is sent to the dhcp agent, it simply
ignores it as the port entry would be missing in the cache. This patch
fixes this issue by updating the dhcp agents cache when dhcp driver
creates the network:dhcp port for the subnets.

Closes-Bug: #1478426
Change-Id: I69f5834dd964a4320c606c4e0aa2cdba70416943

9 years agoMerge "Allow overriding of the neutron endpoint URL in metadata agent"
Jenkins [Wed, 29 Jul 2015 14:16:00 +0000 (14:16 +0000)]
Merge "Allow overriding of the neutron endpoint URL in metadata agent"

9 years agoKeep dns nameserver order consistency
changzhi [Thu, 16 Jul 2015 02:14:16 +0000 (10:14 +0800)]
Keep dns nameserver order consistency

Currently, there is no dns servers prioritization for subnets
for Neutron.

Generally speaking, it is useful to keep the order of dns
nameservers consistent. Add a new column named 'order' in table
'dnsnameservers' and add nameserver into DB one by one.

Closes-Bug: #1218629
Implements: blueprint keep-dns-nameserver-orderconsistency
Change-Id: Id937aea411397d39370368a4eb45be26c4eefa9e

9 years agoMerge "Updated from global requirements"
Jenkins [Tue, 28 Jul 2015 23:39:34 +0000 (23:39 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "[neutron-db-manage] revision: properly bootstrap a new branch"
Jenkins [Tue, 28 Jul 2015 19:18:44 +0000 (19:18 +0000)]
Merge "[neutron-db-manage] revision: properly bootstrap a new branch"

9 years agoAdd plural names for quota resources
Salvatore Orlando [Tue, 23 Jun 2015 11:54:28 +0000 (04:54 -0700)]
Add plural names for quota resources

Introduce a 'plural_name' attribute in the BaseResource
class in the neutron.quota.resource module. This will
enable to specify the plural name of a resource when it's
entered in the quota registry.

This will come handy for managing reservations and also
removes the need for passing the collection name when
counting a resource.

Also, the name of the 'resources' parameter for the
_count_resource routine has ben changed to collection_name,
as the previous one was misleading, since it led to believe
it should be used for a collection, whereas it is simply
the name of a collection.

Change-Id: I0b61ba1856e9552cc14574be28fec6c77fb8783c
Related-Blueprint: better-quotas

9 years agoIntroduce usage data tracking for Neutron
Salvatore Orlando [Thu, 16 Apr 2015 18:56:27 +0000 (11:56 -0700)]
Introduce usage data tracking for Neutron

This patch introduces application logic support for tracking
Neutron resource usage data, thus introducing a different
way of enforcing quota limits, which now relies on records
tracking resource usage for each tenant.

When these records go "out-of-sync" with actual resource usage,
the quota usage table entry is marked "dirty".
And it will be resynchronized the next time a resource count is
requested. Changes in resource utilization are detected using
SQLAlchemy events.

This patch however does not automatically enable resource usage
tracking for any plugin. Plugins must explicitly declare for which
resources they wish to enable tracking. To this aim, this patch
provides the @tracked_resources decorator.

As some operators might wish to not use resource usage tracking, this
patch adds the track_quota_usage configuration option. If set to
False, DB-level usage tracking will not be performed, and
resources will be counted as before, ie: invoking a plugin method.

Usage tracking is performed using a new resource type,
TrackedResource, which can work side by side with CountableResource,
the one Neutron used so far. To this aim a ResourceRegistry class
has been introduced for registering and managing resources. Most
of the resource management code previously embedded in the
QuotaEngine class is being moved to ResourceRegistry as a part of
this patch.

Partially implements blueprint better-quota

Change-Id: If461399900973a38d7b82e0b3ac54fc052f09529

9 years agoCreate packages for quota modules
Salvatore Orlando [Tue, 2 Jun 2015 23:13:35 +0000 (16:13 -0700)]
Create packages for quota modules

This patch simply renames quota modules introducing two
new packages:
1) neutron.quota
2) neutron.db.quota

This paves the way for adding more quota related modules.
Unit tests paths are changed accordingly, as well as references
to moved modules.
This patch hovewer preserves the ability of importing
neutron.db.quota_db in order to avoid breaking repositories which
use neutron as a requirement.

Change-Id: I946e87f1b2ebb3e80d64aecfe58aeff9f81896f3
Related-blueprint: better-quotas

9 years agoMerge "Python 3: fix test_dhcp"
Jenkins [Tue, 28 Jul 2015 16:47:36 +0000 (16:47 +0000)]
Merge "Python 3: fix test_dhcp"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Tue, 28 Jul 2015 16:46:48 +0000 (16:46 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Add FUJITSU vendor plugin in sub_projects"
Jenkins [Tue, 28 Jul 2015 16:46:29 +0000 (16:46 +0000)]
Merge "Add FUJITSU vendor plugin in sub_projects"

9 years agoPython 3: fix test_attributes
Cyril Roelandt [Fri, 24 Jul 2015 14:19:19 +0000 (16:19 +0200)]
Python 3: fix test_attributes

In Python 3, strings have an __iter__ method, which makes convert_to_list fail.

Change-Id: I2411ecd31d7d05ff6f0f004180edffc76d28573b
Blueprint: neutron-python3

9 years agoAdd FUJITSU vendor plugin in sub_projects
Yushiro FURUKAWA [Tue, 28 Jul 2015 02:36:04 +0000 (11:36 +0900)]
Add FUJITSU vendor plugin in sub_projects

Change-Id: Iee06e96d0887f7a973079194ec05b444c0874763

9 years agoPython 3: fix test_dhcp
Cyril Roelandt [Fri, 24 Jul 2015 13:52:42 +0000 (15:52 +0200)]
Python 3: fix test_dhcp

In Python 3, dhcp.LOG.process is not called when calling dhcp.LOG.debug. Since
what we really want to know is whether dhcp.LOG.debug is called, tweak the test
a little.

Change-Id: I9c9d9a6162181d6e518a603193013c28e218cdee
Blueprint: neutron-python3

9 years agoMerge "Fix inconsistency of if/return logic in attributes.py"
Jenkins [Tue, 28 Jul 2015 12:02:07 +0000 (12:02 +0000)]
Merge "Fix inconsistency of if/return logic in attributes.py"

9 years agoMerge "Python 3: do not index dict_values objects"
Jenkins [Mon, 27 Jul 2015 21:33:36 +0000 (21:33 +0000)]
Merge "Python 3: do not index dict_values objects"

9 years agoMerge "Python 3: fix test_context"
Jenkins [Mon, 27 Jul 2015 21:33:21 +0000 (21:33 +0000)]
Merge "Python 3: fix test_context"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 27 Jul 2015 17:56:32 +0000 (17:56 +0000)]
Updated from global requirements

Change-Id: Ib81ed61a31427abe8033081fadb39a3c3080fbd4

9 years agoMerge "Fix KeyError: 'L3_ROUTER_NAT' in l3 scheduler functional test"
Jenkins [Mon, 27 Jul 2015 17:34:50 +0000 (17:34 +0000)]
Merge "Fix KeyError: 'L3_ROUTER_NAT' in l3 scheduler functional test"

9 years agoMerge "Cleanup IPAM tests"
Jenkins [Mon, 27 Jul 2015 16:34:28 +0000 (16:34 +0000)]
Merge "Cleanup IPAM tests"

9 years agoPython 3: fix test_context
Cyril Roelandt [Fri, 24 Jul 2015 16:05:42 +0000 (18:05 +0200)]
Python 3: fix test_context

In Python 3, b'...'.startswith must be given bytes.

Change-Id: I4e83685ac6119db6f16d693df37955620271082f
Blueprint: neutron-python3

9 years agoMerge "Add DB support for resource usage tracking"
Jenkins [Mon, 27 Jul 2015 14:31:20 +0000 (14:31 +0000)]
Merge "Add DB support for resource usage tracking"

9 years agoFix KeyError: 'L3_ROUTER_NAT' in l3 scheduler functional test
Assaf Muller [Sat, 25 Jul 2015 20:14:32 +0000 (16:14 -0400)]
Fix KeyError: 'L3_ROUTER_NAT' in l3 scheduler functional test

The issue was introduced by commit with change ID:
Ic4df299bac83c80abf0890a81d2dd36d15993b33

In Neutron-speak we define the 'core plugin' as something like ML2, while
service plugins examples are L3, VPNaaS, etc. The code was initializing
the L3 service plugin as the core plugin, which is unexpected behavior.
The code will now use the DB core plugin base class as the core plugin,
and not initialize the service plugins. The tests will manually and locally
instantiate a L3 service plugin instance and use it.

Change-Id: I2b7d2f6ccd5fe18e322e70b4e376db23d76b9092
Closes-Bug: #1478273

9 years agoMerge "L2 agent RPC add new RPC calls"
Jenkins [Mon, 27 Jul 2015 14:00:17 +0000 (14:00 +0000)]
Merge "L2 agent RPC add new RPC calls"

9 years agoCleanup IPAM tests
Pavel Bondar [Mon, 27 Jul 2015 13:00:56 +0000 (16:00 +0300)]
Cleanup IPAM tests

Replace assert with self.assetTrue.
Use self.assertIsInstance for comparing instance type.
Pass arguments to assertEqual as (expected, observed).

Change-Id: Ic0201276bdda7d99f9d1e25751eab8f9ebbb4a16

9 years agoFix inconsistency of if/return logic in attributes.py
John Davidge [Mon, 27 Jul 2015 10:39:59 +0000 (11:39 +0100)]
Fix inconsistency of if/return logic in attributes.py

In neutron/api/v2/attributes.py some methods use:

if data is None:
    return
return something

Others use:

if data is not None:
    return something

Both have the same effect, but are inconsistent.

This patch standardises the usage around the shorter version.

Change-Id: Idc9e6eb1852d2565906fc2c8e8a7c0a63bc1a0dd
Closes-Bug: 1478512

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 27 Jul 2015 06:07:28 +0000 (06:07 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I6119ea9a2b1cb4ec1b0cc73f882d8f9d34fabe8d

9 years ago[neutron-db-manage] revision: properly bootstrap a new branch
Ihar Hrachyshka [Sat, 18 Jul 2015 12:52:53 +0000 (14:52 +0200)]
[neutron-db-manage] revision: properly bootstrap a new branch

If the intended branch is not present, bootstrap it:

- create directory;
- mark the new migration script with proper branch label;
- make the script down_revision == None to indicate it's a new branch;

One missing thing is making the script depends_on the previous release
branch. This is currently unsupported by alembic though.

Partially-Implements: blueprint online-schema-migrations
Change-Id: Ib3b9dfcbdb56db99b07a8e54629dda5933e1c1f5

9 years agoAdd DB support for resource usage tracking
Salvatore Orlando [Tue, 19 May 2015 16:49:26 +0000 (09:49 -0700)]
Add DB support for resource usage tracking

This patch introduces database support for tracking Neutron
resource usage data. A single DB model class tracks usage
info for all neutron resources.

The patch also provides a simple API for managing resource
usage info, as well as unit tests providing coverage for
this API.

This patch also makes a slight change to the ContextBase
class, adding the ability to explicitly set is_advsvc at
initialization time. While this probably makes no difference
for practical use of the context class, it simplifies
development of DB-only unit tests.

Related-Blueprint: better-quotas

Change-Id: I62100551b89103a21555dcc45e84195c05e89800

9 years agoMerge "Stop use of oslo_utils.timeutils.strtime()"
Jenkins [Sat, 25 Jul 2015 22:37:12 +0000 (22:37 +0000)]
Merge "Stop use of oslo_utils.timeutils.strtime()"

9 years agoMerge "Decompose Apic ML2 mechanism driver"
Jenkins [Sat, 25 Jul 2015 03:04:54 +0000 (03:04 +0000)]
Merge "Decompose Apic ML2 mechanism driver"

9 years agoMerge "Remove duplicate DHCP agent registration in unit test"
Jenkins [Fri, 24 Jul 2015 20:36:02 +0000 (20:36 +0000)]
Merge "Remove duplicate DHCP agent registration in unit test"

9 years agoDecompose Apic ML2 mechanism driver
Ivar Lazzaro [Thu, 18 Jun 2015 23:02:11 +0000 (16:02 -0700)]
Decompose Apic ML2 mechanism driver

As a part of the vendor decomposition effort, the
apic ML2 driver code is removed and replaced by
its version in the openstack/networking-cisco
repo.

Change-Id: Iffb5245b4c88b65afe62dd7435ee80489a654fee
Partial-implements: blueprint core-vendor-decomposition

9 years agoRemove duplicate DHCP agent registration in unit test
Assaf Muller [Fri, 24 Jul 2015 19:19:43 +0000 (15:19 -0400)]
Remove duplicate DHCP agent registration in unit test

Looks like a copy/paste mistake.

Change-Id: Ib8878e68f5348e03c9021ae3760b81f7cc73e68f

9 years agoPython 3: do not index dict_values objects
Cyril Roelandt [Fri, 24 Jul 2015 14:58:35 +0000 (16:58 +0200)]
Python 3: do not index dict_values objects

Change-Id: I7260468b81d42415ac08ecda09973720b5b263a4
Blueprint: neutron-python3

9 years agoMerge "Add Cathy Zhang as networking-sfc Lieutenant"
Jenkins [Fri, 24 Jul 2015 18:47:30 +0000 (18:47 +0000)]
Merge "Add Cathy Zhang as networking-sfc Lieutenant"

9 years agoMerge "Add error message when migrate from distributed router to centralized"
Jenkins [Fri, 24 Jul 2015 18:46:57 +0000 (18:46 +0000)]
Merge "Add error message when migrate from distributed router to centralized"

9 years agoL2 agent RPC add new RPC calls
rossella [Wed, 14 Jan 2015 14:11:36 +0000 (15:11 +0100)]
L2 agent RPC add new RPC calls

This patch introduces two new RPC calls:
* update_device_list
* get_devices_details_list_and_failed_devices

update_device_up and update_device_down are the RPC calls
used by the L2 agent to notify the plugin that
a device is up or down. These calls accept only one device.
update_device_list accepts a list of devices that will
be put up or down and returns a list of devices for which
the operation failed.

get_devices_details_list_and_failed_devices is a new RPC
call that returns a list of devices details and a list of
devices for which it was not possible to retrieve the
details.

Thanks to these new calls, the agent will be able to update
the status of several devices using one RPC call
and to retry the operation only for the devices that failed
instead of performing a full resync.
This will be implemented in another patch.

This patch introduces the new calls only for the OVS agent.
A following patch will take care of the other L2 agents.

DocImpact
Partially-Implements: blueprint restructure-l2-agent

Change-Id: Idb4e81f4399cf66025ec7edfcb78801c15e493af

9 years agoMerge "Adds garp_master_repeat and garp_master_refresh to keepalived.conf"
Jenkins [Fri, 24 Jul 2015 17:21:21 +0000 (17:21 +0000)]
Merge "Adds garp_master_repeat and garp_master_refresh to keepalived.conf"

9 years agoMerge "Avoid printing log options multiple times"
Jenkins [Fri, 24 Jul 2015 17:18:29 +0000 (17:18 +0000)]
Merge "Avoid printing log options multiple times"

9 years agoMerge "Add Pluggable IPAM Backend Part 2"
Jenkins [Fri, 24 Jul 2015 17:18:14 +0000 (17:18 +0000)]
Merge "Add Pluggable IPAM Backend Part 2"

9 years agoAdd Cathy Zhang as networking-sfc Lieutenant
Kyle Mestery [Fri, 24 Jul 2015 14:07:26 +0000 (14:07 +0000)]
Add Cathy Zhang as networking-sfc Lieutenant

Change-Id: Ie20bccf4b328ba6c83224c665c0e1a3034697384
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoAdd error message when migrate from distributed router to centralized
Sergey Belous [Fri, 24 Jul 2015 10:41:35 +0000 (13:41 +0300)]
Add error message when migrate from distributed router to centralized

When trying to migrate from distributed router to centralized
a NotImplementedError occurs with empty message.
Need to concretize a message.

Closes-Bug: #1477509
Change-Id: I2b57ec5af38a0f87c1ab256cb8af66bc443be824

9 years agoAvoid printing log options multiple times
Salvatore Orlando [Fri, 24 Jul 2015 12:21:43 +0000 (05:21 -0700)]
Avoid printing log options multiple times

This patch ensures log_opt_values is invoked only once, thus
avoiding annoying multiple dumps of options values.

Note that is rpc_workers is greater than 0 a second dump will
be logged. This patch does not address this as REST and RPC
servers are going to be separated as a part of the feature/pecan
work.

Closes-Bug: #1477975

Change-Id: Ia5dcb609241de6ad30d9831c5fb98a9e2be6ad7f

9 years agoMerge "Fix a property comment in metadata_agent files"
Jenkins [Fri, 24 Jul 2015 08:17:36 +0000 (08:17 +0000)]
Merge "Fix a property comment in metadata_agent files"

9 years agoMerge "Metaplugin removal"
Jenkins [Fri, 24 Jul 2015 08:13:54 +0000 (08:13 +0000)]
Merge "Metaplugin removal"

9 years agoAdd Pluggable IPAM Backend Part 2
Pavel Bondar [Thu, 14 May 2015 11:06:08 +0000 (14:06 +0300)]
Add Pluggable IPAM Backend Part 2

Introduces new Pluggable IPAM backend.
IP/subnet allocation calls are sent to IPAM driver.
Calls to IPAM Driver are considered as call to third-party
environment, so if any action fails, rollback action is called.

Removes associate_neutron_subnet step from interface and reference
driver. It is not needed any more because foreign key relationship
between IPAM subnet and neutron subnet was removed.
So IPAM subnet can store id of neutron subnet,
which is not created yet.

For now only reference IPAM driver is available.

Temporarily disabled test_ipam_pluggable_backend from
gate-neutron-python34. Current patch adds executing
parts of test_db_base_plugin_v2, which is not py34 compatible yet.
Might be enabled back once 204791 is merged.

Partially-Implements: blueprint neutron-ipam

Change-Id: Ic18461cf19d2eebf8fad5535eee0eb034959800e

9 years agoMerge "Python 3: fix neutron.tests.unit.agent.dhcp.test_agent"
Jenkins [Fri, 24 Jul 2015 05:52:05 +0000 (05:52 +0000)]
Merge "Python 3: fix neutron.tests.unit.agent.dhcp.test_agent"

9 years agoMerge "Fix handling of port-range-min 0 in secgroup RPC and agent"
Jenkins [Thu, 23 Jul 2015 19:52:53 +0000 (19:52 +0000)]
Merge "Fix handling of port-range-min 0 in secgroup RPC and agent"

9 years agoMerge "Add address scope API tests"
Jenkins [Thu, 23 Jul 2015 18:25:53 +0000 (18:25 +0000)]
Merge "Add address scope API tests"

9 years agoMerge "Updated from global requirements"
Jenkins [Thu, 23 Jul 2015 17:14:35 +0000 (17:14 +0000)]
Merge "Updated from global requirements"

9 years agoPython 3: fix neutron.tests.unit.agent.dhcp.test_agent
Cyril Roelandt [Thu, 23 Jul 2015 09:23:21 +0000 (09:23 +0000)]
Python 3: fix neutron.tests.unit.agent.dhcp.test_agent

A simple "list vs dict_keys" issue was preventing two tests from succeeding.

Change-Id: I9386ddc600005ebb1b3f5382f6e43c19d31d4213
Blueprint: neutron-python3

9 years agoMerge "neutron-db-manage: fix check_migration for branch-less migration directories"
Jenkins [Thu, 23 Jul 2015 15:08:30 +0000 (15:08 +0000)]
Merge "neutron-db-manage: fix check_migration for branch-less migration directories"

9 years agoMerge "Python 3: fix neutron.tests.unit.agent.linux.test_async_process"
Jenkins [Thu, 23 Jul 2015 14:12:06 +0000 (14:12 +0000)]
Merge "Python 3: fix neutron.tests.unit.agent.linux.test_async_process"

9 years agoMerge "Allow passing table argument to construct IpRouteCommand"
Jenkins [Thu, 23 Jul 2015 14:03:01 +0000 (14:03 +0000)]
Merge "Allow passing table argument to construct IpRouteCommand"

9 years agoMerge "Define fullstack router/network/subnet management fixture"
Jenkins [Thu, 23 Jul 2015 14:02:47 +0000 (14:02 +0000)]
Merge "Define fullstack router/network/subnet management fixture"

9 years agoMerge "Add new ovs DB API to inquire interfaces name list in a bridge"
Jenkins [Thu, 23 Jul 2015 14:02:34 +0000 (14:02 +0000)]
Merge "Add new ovs DB API to inquire interfaces name list in a bridge"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 23 Jul 2015 12:50:58 +0000 (12:50 +0000)]
Updated from global requirements

Change-Id: I36e87e41ba3a99b43bc57e9c9586ec9494db62d7

9 years agoMerge "Just use {0,1,2} rather sys.std*.fileno()"
Jenkins [Thu, 23 Jul 2015 11:56:16 +0000 (11:56 +0000)]
Merge "Just use {0,1,2} rather sys.std*.fileno()"

9 years agoMerge "Fix race condition by using lock on enable_radvd"
Jenkins [Thu, 23 Jul 2015 10:33:05 +0000 (10:33 +0000)]
Merge "Fix race condition by using lock on enable_radvd"

9 years agoMerge "[devref] db_layer: expand on how new migration scripts look like"
Jenkins [Thu, 23 Jul 2015 10:10:44 +0000 (10:10 +0000)]
Merge "[devref] db_layer: expand on how new migration scripts look like"

9 years agoMerge "Ensure that update_fip_statuses gets called"
Jenkins [Thu, 23 Jul 2015 10:10:24 +0000 (10:10 +0000)]
Merge "Ensure that update_fip_statuses gets called"

9 years agoMetaplugin removal
Hirofumi Ichihara [Fri, 17 Jul 2015 05:32:21 +0000 (14:32 +0900)]
Metaplugin removal

Metaplugin is removed in Liberty.
Remove all metaplugin related codes.

DocImpact
APIImpact

Co-Authored-By: Itsuro Oda <oda@valinux.co.jp>
Change-Id: I9cf36e1fd3a009c175e0d475af407a30f4e5c408
Closes-Bug: #1465126

9 years agoFix handling of port-range-min 0 in secgroup RPC and agent
shihanzhang [Tue, 14 Jul 2015 11:20:46 +0000 (19:20 +0800)]
Fix handling of port-range-min 0 in secgroup RPC and agent

For TCP/UDP protocol, port valid range is 0 to 65535, so for a
security group rule, its valid range is also 0 to 65535. this
patch makes two changes:
1. if a security group rule port_range_min is 0, l2 agent also can
   get port_range_min real value 0 when it gets this rule for a
   device via RPC.
2. For IptablesFirewallDriver, if port range is [0, xxxx], l2 agent
   also need add this rule to iptables.

Change-Id: If93c54a31d973187889ead2c2797ffdd40a4393d
Closes-bug: #1473965

9 years agoFix a property comment in metadata_agent files
Bertrand Lallau [Mon, 20 Jul 2015 13:12:49 +0000 (15:12 +0200)]
Fix a property comment in metadata_agent files

Metadata Proxy UNIX domain socket mode allows 4 values not 3.

Change-Id: I83787856acda48608e1f0997329a92876afed613

9 years agoMerge "Remove deprecated OVS and LB plugin DB tables"
Jenkins [Thu, 23 Jul 2015 08:30:36 +0000 (08:30 +0000)]
Merge "Remove deprecated OVS and LB plugin DB tables"

9 years agoMerge "ensure_dir: move under neutron.common.utils"
Jenkins [Thu, 23 Jul 2015 08:28:16 +0000 (08:28 +0000)]
Merge "ensure_dir: move under neutron.common.utils"

9 years agoMerge "OVS agent factor our port stats processing"
Jenkins [Thu, 23 Jul 2015 07:59:29 +0000 (07:59 +0000)]
Merge "OVS agent factor our port stats processing"

9 years agoMerge "Fixed L3 agent manual scheduling for HA routers"
Jenkins [Thu, 23 Jul 2015 07:59:08 +0000 (07:59 +0000)]
Merge "Fixed L3 agent manual scheduling for HA routers"

9 years agoMerge "Port help text for dvr_base_mac from neutron.conf"
Jenkins [Thu, 23 Jul 2015 07:36:27 +0000 (07:36 +0000)]
Merge "Port help text for dvr_base_mac from neutron.conf"

9 years agoMerge "Python 3: enable more tests"
Jenkins [Thu, 23 Jul 2015 07:18:32 +0000 (07:18 +0000)]
Merge "Python 3: enable more tests"

9 years agoMerge "ovs_lib: Fix native implementation of db_list"
Jenkins [Thu, 23 Jul 2015 03:23:54 +0000 (03:23 +0000)]
Merge "ovs_lib: Fix native implementation of db_list"

9 years agoMerge "Fullstack testing devref follow up"
Jenkins [Thu, 23 Jul 2015 03:05:33 +0000 (03:05 +0000)]
Merge "Fullstack testing devref follow up"

9 years agoMerge "Tweak wording for project inclusion process"
Jenkins [Wed, 22 Jul 2015 23:51:43 +0000 (23:51 +0000)]
Merge "Tweak wording for project inclusion process"

9 years agoMerge "Use only the lower 16 bits of iptables mark for marking"
Jenkins [Wed, 22 Jul 2015 22:48:53 +0000 (22:48 +0000)]
Merge "Use only the lower 16 bits of iptables mark for marking"

9 years agoMerge "Alter unit test to match bug and cleanup ext logic"
Jenkins [Wed, 22 Jul 2015 19:09:56 +0000 (19:09 +0000)]
Merge "Alter unit test to match bug and cleanup ext logic"

9 years agoMerge "Always use BridgeDevice to manage linuxbridges"
Jenkins [Wed, 22 Jul 2015 19:03:15 +0000 (19:03 +0000)]
Merge "Always use BridgeDevice to manage linuxbridges"

9 years agoMerge "Add address_scope_db to neutron/models/head.py"
Jenkins [Wed, 22 Jul 2015 16:05:24 +0000 (16:05 +0000)]
Merge "Add address_scope_db to neutron/models/head.py"

9 years agoAdd address scope API tests
Numan Siddique [Mon, 6 Jul 2015 18:49:03 +0000 (00:19 +0530)]
Add address scope API tests

This patch adds the address scope api tests and
also returns the address scope resource attr map
in the get_extended_resources() function which was
missed in the previous patch

Co-Authored-By: vikram.choudhary <vikram.choudhary@huawei.com>
Co-Authored-By: Ryan Tidwell <rktidwell85@gmail.com>
Change-Id: I819f08dfb78346f92ba73e11daa7294518e7452a
Partially-implements:  blueprint address-scopes

9 years agoPython 3: enable more tests
Cyril Roelandt [Wed, 22 Jul 2015 11:03:58 +0000 (11:03 +0000)]
Python 3: enable more tests

Now that Routes 2.2 has been released, we can run some tests that were
previously commented out.

Change-Id: I46d8479ae4f29dc8b26143e7a49f88ff35198e9d
Blueprint: neutron-python3

9 years agoAdd new ovs DB API to inquire interfaces name list in a bridge
Yalei Wang [Tue, 9 Jun 2015 05:46:57 +0000 (13:46 +0800)]
Add new ovs DB API to inquire interfaces name list in a bridge

In OVS, ports don't equal to interfaces when a bond port created. This patch
add the new API get_iface_name_list to get the interfaces' name, and it's
supplementary to the current get_port_name_list API.

Change-Id: I29c220e099b8dcf78248e2d660c435578bb2932d
Partial-Bug: #1460494

9 years agoMerge "Python 3: fix test_provider_configuration"
Jenkins [Wed, 22 Jul 2015 04:45:31 +0000 (04:45 +0000)]
Merge "Python 3: fix test_provider_configuration"

9 years agoMerge "Added functional tests for L3 schedulers."
Jenkins [Wed, 22 Jul 2015 02:14:54 +0000 (02:14 +0000)]
Merge "Added functional tests for L3 schedulers."

9 years agoMerge "Fix note in devref/contribute.rst"
Jenkins [Wed, 22 Jul 2015 02:11:29 +0000 (02:11 +0000)]
Merge "Fix note in devref/contribute.rst"

9 years agoTweak wording for project inclusion process
armando-migliaccio [Tue, 21 Jul 2015 23:08:41 +0000 (16:08 -0700)]
Tweak wording for project inclusion process

There may be projects that have not being created yet, so revise
the wording a bit to provide clarity that new projects can also
submit for inclusion right off the bat.

Change-Id: I862dc3d1835472066c23c3df8e049ae17bf47c2b

9 years agoDefine fullstack router/network/subnet management fixture
Cedric Brandily [Thu, 18 Jun 2015 12:19:21 +0000 (12:19 +0000)]
Define fullstack router/network/subnet management fixture

This change defines the generic fixture ClientFixture for managing
neutron resources:

* router create/cleanup
* network create/cleanup
* subnet create/cleanup
* router interface add/cleanup

And uses it in neutron.test.fullstack.test_l3_agent.

Change-Id: I09fe40d65db60aeee1ff57a7e45c1978a5433517

9 years agoFix race condition by using lock on enable_radvd
sridhargaddam [Fri, 19 Jun 2015 16:17:01 +0000 (16:17 +0000)]
Fix race condition by using lock on enable_radvd

For an HA Router, radvd is spawned only in the Master Node.
KeepalivedStateChangeHandler after receiving the state notification
on the unix domain socket, would either enable/disable the radvd
process depending on the state of the HA Router. In parallel, if
there is a request to add an interface to the router, router.process()
would try to enable radvd in parallel. So there is a possible race
condition as two threads try to enable radvd in parallel. This patch
uses appropriate locking mechanism to prevent this race condition.

Closes-Bug: #1466663
Change-Id: I40df78cc57fcde5512336d9dfef88b3b06a69bcb

9 years agoFix note in devref/contribute.rst
Wei Wang [Mon, 20 Jul 2015 14:55:31 +0000 (22:55 +0800)]
Fix note in devref/contribute.rst

Now note in devref/contribute.rst is formated as a section,
so it will appear at catalog which is pretty ugly.

This fix uses note admonition to replace it and specifies Mitaka
as the release name instead of Mxxx.

Change-Id: Ic4afb086e7d4eace035ebe74d1244eabe1ff8915

9 years agoensure_dir: move under neutron.common.utils
Ihar Hrachyshka [Sat, 18 Jul 2015 12:52:53 +0000 (14:52 +0200)]
ensure_dir: move under neutron.common.utils

There is nothing Linux or agent specific in the function. I need to use
it outside agent code in one of depending patches, hence moving it into
better location while leaving the previous symbol in place, with
deprecation warning, for backwards compatibility.

Change-Id: I252356a72f3c742e57c1b6127275030f0994a221

9 years agoRemove deprecated OVS and LB plugin DB tables
Henry Gessau [Thu, 25 Jun 2015 17:58:30 +0000 (13:58 -0400)]
Remove deprecated OVS and LB plugin DB tables

Now that the openvswitch and linuxbridge monolithic plugins have been
deprecated and replaced by ML2 mechanism drivers, we can remove their
database tables.

Also remove the migrate_to_ml2.py script which is no longer supported.

Change-Id: Ia8d77cb7e4e4b3d4957365cc124ac71a59e62745
Partially-Implements: blueprint reference-implementation-split
Closes-Bug: #1468433