]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "Don't fatal error during initialization for missing service providers"
Jenkins [Tue, 18 Aug 2015 01:12:22 +0000 (01:12 +0000)]
Merge "Don't fatal error during initialization for missing service providers"

9 years agoMerge "NSX: Move DB models as part of core vendor decomposition"
Jenkins [Tue, 18 Aug 2015 01:09:00 +0000 (01:09 +0000)]
Merge "NSX: Move DB models as part of core vendor decomposition"

9 years agoMerge "Break down _bind_port_if_needed in ML2"
Jenkins [Mon, 17 Aug 2015 19:51:52 +0000 (19:51 +0000)]
Merge "Break down _bind_port_if_needed in ML2"

9 years agoDon't fatal error during initialization for missing service providers
Doug Wiegley [Mon, 17 Aug 2015 15:17:46 +0000 (09:17 -0600)]
Don't fatal error during initialization for missing service providers

Sometime during the split, code was added to fixup driver paths,
which imports service providers even for plugins which are not
in use. That, combined with neutron including default service
providers for VPN and LOADBALANCER, resulted in a really messy
mess in terms of removing VPN from the main neutron test suites.

This change stops the imports, so that if one of the services is
missing, neutron server can still start. It likely breaks the driver
path fixup, which can be fixed outside of this gate blockage.

Closes-Bug: #1483266
Change-Id: I23f9007357d8cbbae599997c244561a4e2f32ce1

9 years agoNSX: Move DB models as part of core vendor decomposition
Abhishek Raut [Mon, 10 Aug 2015 16:54:05 +0000 (09:54 -0700)]
NSX: Move DB models as part of core vendor decomposition

This patch removes the database models from neutron repo.
Also removes README, common modules and plugin module.

Change-Id: I5d5b0acf34417889c2a449f22b92fd105697d90d
Related-Blueprint: core-vendor-decomposition
Partial-bug: #1483453

9 years agoMerge "Preserve DVR FIP rule priority over Agent restarts"
Jenkins [Mon, 17 Aug 2015 18:50:08 +0000 (18:50 +0000)]
Merge "Preserve DVR FIP rule priority over Agent restarts"

9 years agoMerge "Merge remote-tracking branch 'origin/feature/qos' into merge-branch"
Jenkins [Mon, 17 Aug 2015 18:49:56 +0000 (18:49 +0000)]
Merge "Merge remote-tracking branch 'origin/feature/qos' into merge-branch"

9 years agoMerge "NSX plugin: Moving away plugin extensions"
Jenkins [Mon, 17 Aug 2015 18:49:02 +0000 (18:49 +0000)]
Merge "NSX plugin: Moving away plugin extensions"

9 years agoMerge remote-tracking branch 'origin/feature/qos' into merge-branch
Ihar Hrachyshka [Mon, 17 Aug 2015 11:05:32 +0000 (13:05 +0200)]
Merge remote-tracking branch 'origin/feature/qos' into merge-branch

Note to reviewers: gerrit diff for merge patches is very limited, and
leaving comments in global section won't scale, so please comment here:

https://etherpad.openstack.org/p/qos-merge-back-review

This merge commit introduces QoS feature into Liberty release of
Neutron.

The feature is documented in: doc/source/devref/quality_of_service.rst
included with the merge patch.

It includes:

- QoS API service plugin with QoS policy and QoS bandwidth limit
  (egress) rule support;
- core plugin mechanism to determine supported rule types, with its ML2
  implementation;
- new agent extension manager;
- QoS agent extension with pluggable backend QoS drivers (Open vSwitch
  and SR-IOV support is included).

To extend network and port core resources with qos_policy_id attribute,
a new ML2 extension driver (qos) was introduced that relies on the QoS
core resource extension (the idea is that eventually we'll get a core
resource extension manager that can be directly reused by core plugins).

Agent-server interaction is based on:

- get_device_details() method that is extended with qos_policy_id;
- a new push/pull mechanism that allows agents and servers to
  communicate using oslo.versionedobjects based objects sent on the
  wire.

The merge includes the following types of test coverage:

- unit tests;
- functional tests for OVS agent, QoS agent extension, and low level
  ovs_lib changes;
- API tests to cover port/network qos_policy_id attribute and new QoS
  resources.

The client changes can be found at:

* https://review.openstack.org/189655
* https://review.openstack.org/198277

The team also prepared fullstack test but it needs to wait for client
merge before it can pass in the gate:

* https://review.openstack.org/202492

Gerrit does not show diff for merge changes that did not result in any
conflict, so to facilitate review, rely on the following steps:

- fetch the patch locally
- git fetch origin
- git diff origin/master...

This merge also disables qos extension API tests until the service is
enabled in master gate.

Local changes apart from conflicts:
- updated down_revision for qos migration to reflect master expand head;
- disabled qos API tests with gate_hook.sh until we have it enabled in
  master gate;
- bumped oslo.versionedobjects requirement to reflect what is in
  openstack/requirements' global-requirements.txt

DocImpact
APIImpact
Partially-Implements: blueprint quantum-qos-api
Partially-Implements: blueprint ml2-qos
Partially-Implements: blueprint ml2-qos-ovs-bwlimiting
Partially-Implements: blueprint ml2-sriov-qos-with-bwlimiting
Change-Id: I92916d0e391791187e9a25ff172fb4b3504857b1

9 years agoMerge "ml2: _commit_port_binding: Don't use None to mean False"
Jenkins [Mon, 17 Aug 2015 11:46:11 +0000 (11:46 +0000)]
Merge "ml2: _commit_port_binding: Don't use None to mean False"

9 years agoMerge "Replace internal calls of create_{network, subnet, port}"
Jenkins [Mon, 17 Aug 2015 11:42:56 +0000 (11:42 +0000)]
Merge "Replace internal calls of create_{network, subnet, port}"

9 years agoNSX plugin: Moving away plugin extensions
Roey Chen [Sun, 16 Aug 2015 13:29:26 +0000 (06:29 -0700)]
NSX plugin: Moving away plugin extensions

As part of plugin decomposition, this patch moves vmware-nsx extensions
out of the neutron repository.

Change-Id: Iff4c4781dd96b10733a98f176cf2f0f4d25cb34f
Related-Blueprint: core-vendor-decomposition
Partial-bug: #1483453

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 15 Aug 2015 20:50:51 +0000 (20:50 +0000)]
Updated from global requirements

Change-Id: I5fc0be8c97c21ef68174ff6b8807e05a5e1f19a4

9 years agoMerge "Remove vmware plugin from neutron (etc part)"
Jenkins [Sat, 15 Aug 2015 18:03:52 +0000 (18:03 +0000)]
Merge "Remove vmware plugin from neutron (etc part)"

9 years agoMerge "Final decomposition of the ML2 NCS driver"
Jenkins [Sat, 15 Aug 2015 10:58:50 +0000 (10:58 +0000)]
Merge "Final decomposition of the ML2 NCS driver"

9 years agoMerge "Add lieutenants contact for kuryr"
Jenkins [Fri, 14 Aug 2015 20:01:43 +0000 (20:01 +0000)]
Merge "Add lieutenants contact for kuryr"

9 years agoMerge "lieutenants: Add Neutron infra lieutenants"
Jenkins [Fri, 14 Aug 2015 20:01:16 +0000 (20:01 +0000)]
Merge "lieutenants: Add Neutron infra lieutenants"

9 years agoMerge "Remove 'action' argument from _handle_fip_nat_rules()"
Jenkins [Fri, 14 Aug 2015 19:59:55 +0000 (19:59 +0000)]
Merge "Remove 'action' argument from _handle_fip_nat_rules()"

9 years agoMerge "Remove unneeded shebangs"
Jenkins [Fri, 14 Aug 2015 19:59:09 +0000 (19:59 +0000)]
Merge "Remove unneeded shebangs"

9 years agoMerge "l3: not use L2 plugin _get_subnet unnecessarily"
Jenkins [Fri, 14 Aug 2015 18:31:00 +0000 (18:31 +0000)]
Merge "l3: not use L2 plugin _get_subnet unnecessarily"

9 years agoMerge "l3_db: not use L2 plugin _get_port unnecessarily"
Jenkins [Fri, 14 Aug 2015 18:23:53 +0000 (18:23 +0000)]
Merge "l3_db: not use L2 plugin _get_port unnecessarily"

9 years agoMerge "Setup reference service providers for API test runs"
Jenkins [Fri, 14 Aug 2015 17:03:44 +0000 (17:03 +0000)]
Merge "Setup reference service providers for API test runs"

9 years agoAdd lieutenants contact for kuryr
Gal Sagie [Fri, 14 Aug 2015 12:45:32 +0000 (15:45 +0300)]
Add lieutenants contact for kuryr

Change-Id: I873b88b1fab513d8a4a4ad81a0c2d3161b4cef88

9 years agolieutenants: Add Neutron infra lieutenants
Kyle Mestery [Thu, 13 Aug 2015 16:33:18 +0000 (16:33 +0000)]
lieutenants: Add Neutron infra lieutenants

It's become clear we need to have a centralized contact point
(or points) for Neutron interactions with infra. Lets start out
by making that Doug and Armando for now. Note this list is
alphabetized by last name for those curious on the ordering.

Change-Id: If736dc2c6482d0c2722cf0a5049c8ee5511ed970
Signed-off-by: Kyle Mestery <mestery@mestery.com>
9 years agoReplace internal calls of create_{network, subnet, port}
Isaku Yamahata [Tue, 21 Oct 2014 02:30:32 +0000 (11:30 +0900)]
Replace internal calls of create_{network, subnet, port}

When API controller calls method create_{network, subnet, port),
it made sure that the necessary default values for attrs are filled properly
according to attr mapping.

However, internal calls to these methods do not follow the convention,
when extension codes miss these values, exceptions will be thrown.

This patch introduces helper functions to fix up arguments and replaces
the direct callers of those methods.

Co-Authored-By: gong yong sheng <gong.yongsheng@99cloud.net>
Co-Authored-By: yalei wang <yalei.wang@intel.com>
Change-Id: Ibc6ff897a1a00665a403981a218100a698eb1c33
Closes-Bug: #1383546

9 years agoMerge "Validate local_ip for OVS tunnel"
Jenkins [Fri, 14 Aug 2015 10:27:12 +0000 (10:27 +0000)]
Merge "Validate local_ip for OVS tunnel"

9 years agoml2: _commit_port_binding: Don't use None to mean False
YAMAMOTO Takashi [Fri, 14 Aug 2015 10:08:38 +0000 (19:08 +0900)]
ml2: _commit_port_binding: Don't use None to mean False

The second return value is a boolean.

Change-Id: Id5b2b00bdfcb7c81ba05b1905cd781f38e6ebad8

9 years agoMerge "Add parent_id to _item calling from _handle_action"
Jenkins [Fri, 14 Aug 2015 03:47:15 +0000 (03:47 +0000)]
Merge "Add parent_id to _item calling from _handle_action"

9 years agoMerge "Add configurable options for HA networks"
Jenkins [Fri, 14 Aug 2015 02:03:45 +0000 (02:03 +0000)]
Merge "Add configurable options for HA networks"

9 years agoMerge "db_base_plugin_v2: Avoid creating another session"
Jenkins [Fri, 14 Aug 2015 01:59:03 +0000 (01:59 +0000)]
Merge "db_base_plugin_v2: Avoid creating another session"

9 years agoMerge "Add test that checks external tables are not changed"
Jenkins [Fri, 14 Aug 2015 01:58:50 +0000 (01:58 +0000)]
Merge "Add test that checks external tables are not changed"

9 years agoMerge "Fix update_subnet for prefix delegation"
Jenkins [Fri, 14 Aug 2015 01:56:26 +0000 (01:56 +0000)]
Merge "Fix update_subnet for prefix delegation"

9 years agol3: not use L2 plugin _get_subnet unnecessarily
Isaku Yamahata [Thu, 16 Jul 2015 02:27:16 +0000 (19:27 -0700)]
l3: not use L2 plugin _get_subnet unnecessarily

This patch is clean up to prevent future breakage by eliminating
potentially dangerous code.

l3_db and related code use L2 plugin _get_subnet and related method
unnecessarily instead of get_subnet.
It's dangerous because _get_subnet returns ORM db object which allows
the caller to update db rows directly. So the caller of _get_subnet
may update subnet db without notifying L2 plugin unintentionally.
In that case, L2 plugin or ML2 mechanism driver will be confused.
This patch replaces _get_subnet and _get_subnets_by_network with
get_subnet, get_subnets_by_network where possible.

Change-Id: I85769e639a408a292b5bd70a9d9a1ac292e2b51c
Related-Bug: #1475093

9 years agol3_db: not use L2 plugin _get_port unnecessarily
Isaku Yamahata [Wed, 15 Jul 2015 19:34:12 +0000 (12:34 -0700)]
l3_db: not use L2 plugin _get_port unnecessarily

This patch is clean up to prevent future breakage by eliminating
potentially dangerous code.

l3_db uses L2 plugin _get_port method unnecessarily instead of get_port.
It's dangerous because _get_port returns ORM db object which allows
the caller to update db rows directly. So the caller of _get_port may
update port db without notifying L2 plugin unintentionally.
In that case, L2 plugin or ML2 mechanism driver will be confused.
This patch replace _get_port with get_port method where possible.

Change-Id: I5a23f6cac5ea359645e6947fd69978f060c4ba97
Related-Bug: #1475093

9 years agoBreak down _bind_port_if_needed in ML2
Kevin Benton [Thu, 13 Aug 2015 23:58:02 +0000 (16:58 -0700)]
Break down _bind_port_if_needed in ML2

Separate the looping and retry logic in _bind_port_if_needed
from the actual binding attempts. This also eliminates the
'while True' loop with a regular for loop counter to make it
a little easier to reason about.

A suggestion to do this came up in a code review for
I437290affd8eb87177d0626bf7935a165859cbdd because the function
was difficult to reason about.

Change-Id: I6171cf39a4562ed1da9467e8e604d4519a813977

9 years agoRemove 'action' argument from _handle_fip_nat_rules()
Brian Haley [Thu, 13 Aug 2015 20:57:59 +0000 (16:57 -0400)]
Remove 'action' argument from _handle_fip_nat_rules()

There's only one caller of _handle_fip_nat_rules(), and they
always specify 'add_rules' as the argument, so it's not
necessary any more.  Also, the interface passed must be valid
since the caller has already used it, and would have thrown
an exception before this call was made.  Found during another
code review.

Change-Id: Ie7d4faf2d1bb8e0e8fc4ffc3f18e9214474acf5c

9 years agoRemove vmware plugin from neutron (etc part)
Shih-Hao Li [Thu, 13 Aug 2015 20:22:33 +0000 (13:22 -0700)]
Remove vmware plugin from neutron (etc part)

Remove neutron:/etc/neutron/plugins/vmware/ because
it has been moved to vmware-nsx:/vmware_nsx/etc/
in commit# b27bc1942195ff551cd22ddaf6853a25302cbb7e.

This is the first part of vmware plugin decomposition
(etc, extensions, and database).

Partial-bug: #1483453
Change-Id: Ic6fe5e256369a1b6aabdaadf019989f0e6a6e444

9 years agoMerge "[neutron-db-manage] remove old HEAD file when updating for branches"
Jenkins [Thu, 13 Aug 2015 20:09:56 +0000 (20:09 +0000)]
Merge "[neutron-db-manage] remove old HEAD file when updating for branches"

9 years agoMerge "Fix _update_subnet_allocation_pools returning empty list"
Jenkins [Thu, 13 Aug 2015 18:22:47 +0000 (18:22 +0000)]
Merge "Fix _update_subnet_allocation_pools returning empty list"

9 years agoMerge "[neutron-db-manage] check_migration: validate labels"
Jenkins [Thu, 13 Aug 2015 18:11:21 +0000 (18:11 +0000)]
Merge "[neutron-db-manage] check_migration: validate labels"

9 years agoSetup reference service providers for API test runs
Doug Wiegley [Tue, 11 Aug 2015 21:46:31 +0000 (15:46 -0600)]
Setup reference service providers for API test runs

Partial-bug: #1483266
Change-Id: Ia979fa2fdf25f3c1dbe9e7160d6dde2df51c305e

9 years agoMerge "The unnecessary value "sgids" was deleted"
Jenkins [Thu, 13 Aug 2015 15:48:36 +0000 (15:48 +0000)]
Merge "The unnecessary value "sgids" was deleted"

9 years agoMerge "Support for independent alembic branches in sub-projects"
Jenkins [Thu, 13 Aug 2015 15:32:55 +0000 (15:32 +0000)]
Merge "Support for independent alembic branches in sub-projects"

9 years agoMerge "Python 3: encode unicode response bodies"
Jenkins [Thu, 13 Aug 2015 15:32:12 +0000 (15:32 +0000)]
Merge "Python 3: encode unicode response bodies"

9 years ago[neutron-db-manage] check_migration: validate labels
Ihar Hrachyshka [Tue, 28 Jul 2015 22:16:17 +0000 (00:16 +0200)]
[neutron-db-manage] check_migration: validate labels

Guard against potential down_revision interleave by checking that each
revision has the only revision that corresponds to its location in the
migration tree, and that its parent also has that same single label.

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

9 years agoMerge "Treat sphinx warnings as errors"
Jenkins [Thu, 13 Aug 2015 14:46:30 +0000 (14:46 +0000)]
Merge "Treat sphinx warnings as errors"

9 years agoAdd configurable options for HA networks
John Schwarz [Wed, 12 Aug 2015 10:39:28 +0000 (13:39 +0300)]
Add configurable options for HA networks

The L3 HA mechanism creates a project network for HA (VRRP) traffic
among routers. The HA project network uses the first (default) network
type in 'tenant_network_types'. Depending on the environment, this
combination may not provide a desirable path for HA traffic. For
example, some operators may prefer to use a specific network for HA
traffic to prevent split-brain issues.

This patch adds configurable options that target the network_type and
the physical_network of the created HA network.

Doc-Impact
Closes-Bug: #1481443
Change-Id: I3527a780179b5982d6e0eb0b8c32d6dafeeab730

9 years agoAdd test that checks external tables are not changed
Ann Kamyshnikova [Fri, 7 Aug 2015 13:53:53 +0000 (16:53 +0300)]
Add test that checks external tables are not changed

Alembic migrations should not change tables which models were moved
out of Neutron. This change add check for this.

Also this change remove clear_override from db_sync in
_TestModelsMigrations which is not needed.

Closes-bug: #1466704

Change-Id: I587cd6fb2baa82fd7e452bb8597136efa5b8084e

9 years ago[neutron-db-manage] remove old HEAD file when updating for branches
Ihar Hrachyshka [Wed, 29 Jul 2015 07:38:48 +0000 (09:38 +0200)]
[neutron-db-manage] remove old HEAD file when updating for branches

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

9 years agoRemove unneeded shebangs
Cedric Brandily [Sun, 19 Jul 2015 19:16:54 +0000 (21:16 +0200)]
Remove unneeded shebangs

This change removes unneeded shebangs in python modules.

Change-Id: Id0a3664eddf1ee26830998f4c73e89d0de5249d6

9 years agoPython 3: encode unicode response bodies
fumihiko kakuma [Sat, 8 Aug 2015 13:08:39 +0000 (22:08 +0900)]
Python 3: encode unicode response bodies

This change adds a file needing a python 3 support by
Ie0dc57fbe3ed9b19dac2e958de14387bc4c1a260.

Change-Id: Ice6e8ae618b82ff45398c338c3eee27ed9d5a105
Blueprint: neutron-python3

9 years agoMerge "Remove bigswitch mech_driver entry point definition"
Jenkins [Thu, 13 Aug 2015 09:53:16 +0000 (09:53 +0000)]
Merge "Remove bigswitch mech_driver entry point definition"

9 years agoMerge "Python 3: specify a bytes to an argument for a format type 's' of struct.pack()"
Jenkins [Thu, 13 Aug 2015 08:10:40 +0000 (08:10 +0000)]
Merge "Python 3: specify a bytes to an argument for a format type 's' of struct.pack()"

9 years agoMerge "Python 3: compare response.body to bytes in namespace_proxy test"
Jenkins [Thu, 13 Aug 2015 08:02:02 +0000 (08:02 +0000)]
Merge "Python 3: compare response.body to bytes in namespace_proxy test"

9 years agoMerge "Python 3: encode unicode response bodies"
Jenkins [Thu, 13 Aug 2015 08:01:28 +0000 (08:01 +0000)]
Merge "Python 3: encode unicode response bodies"

9 years agoMerge "Updated from global requirements"
Jenkins [Thu, 13 Aug 2015 07:53:19 +0000 (07:53 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "Improve callback registry devref documentation and usability"
Jenkins [Thu, 13 Aug 2015 07:48:03 +0000 (07:48 +0000)]
Merge "Improve callback registry devref documentation and usability"

9 years agoSupport for independent alembic branches in sub-projects
Henry Gessau [Sun, 5 Jul 2015 07:29:38 +0000 (03:29 -0400)]
Support for independent alembic branches in sub-projects

Sub-projects shall now register their independent alembic migrations
via entrypoints in setup.cfg, and neutron-db-manage will discover them
and run them automatically.

If a service or sub-project is specified explicitly, then
neutron-db-manage will run on only that service or sub-project.

The advanced services project are just special cases of sub-projects.
For example, specifying the CLI option '--service lbaas' is the same
as specifying '--subproject neutron-lbaas'.

Specifying no service or sub-project will cause neutron-db-manage to
run the command on neutron and all installed sub-projects.

Added and consolidated documentation into devref for alembic migrations.

Partial-Bug: #1471333
Partial-Bug: #1470625

Change-Id: I9a06de64ce35675af28adf819de6f22dc832390d

9 years agoRemove bigswitch mech_driver entry point definition
Kanzhe Jiang [Thu, 13 Aug 2015 03:36:54 +0000 (20:36 -0700)]
Remove bigswitch mech_driver entry point definition

After vendor driver split, the entry point for bigswitch ml2
mechanism_driver is no longer valid. The new entry point is defined in
the networking-bigswitch stackforge repo.

Change-Id: Ie6e19a13e49d9d3e95f8ea2f10181592e9f156e5
Closes-Bug: #1484341

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 13 Aug 2015 02:14:42 +0000 (02:14 +0000)]
Updated from global requirements

Change-Id: Ieb2e8eaf3eb9fee93d5fcb8cb4e683a0a6555fc0

9 years agoMerge "Destroy ipset when the corresponding rule is removed"
Jenkins [Thu, 13 Aug 2015 02:03:40 +0000 (02:03 +0000)]
Merge "Destroy ipset when the corresponding rule is removed"

9 years agoMerge "Python 3: do not compare int and NoneType"
Jenkins [Thu, 13 Aug 2015 01:57:55 +0000 (01:57 +0000)]
Merge "Python 3: do not compare int and NoneType"

9 years agoMerge "Fix DVR interface delete by port when gateway is set"
Jenkins [Thu, 13 Aug 2015 00:16:48 +0000 (00:16 +0000)]
Merge "Fix DVR interface delete by port when gateway is set"

9 years agoPython 3: specify a bytes to an argument for a format type 's' of struct.pack()
fumihiko kakuma [Sat, 8 Aug 2015 14:20:45 +0000 (23:20 +0900)]
Python 3: specify a bytes to an argument for a format type 's' of struct.pack()

In python 3, a format type 's' of struct.pack() requires a bytes object to an argument.

Change-Id: Ia4640b31c31b5b7454cd1582af46562fb1885726
Blueprint: neutron-python3

9 years agoMerge "Update fullstack multinode simulation image"
Jenkins [Wed, 12 Aug 2015 20:57:53 +0000 (20:57 +0000)]
Merge "Update fullstack multinode simulation image"

9 years agoPreserve DVR FIP rule priority over Agent restarts
Adolfo Duarte [Fri, 19 Jun 2015 02:50:13 +0000 (19:50 -0700)]
Preserve DVR FIP rule priority over Agent restarts

IP rule priorities assigned to DVR floating IPs need
to be preserved over L3 agent restarts. Reuse
the ItemAllocator class decomposed from Link Local IP
address allocation.  Also move commn unit tests to
ItemAllocator class.

Closes-Bug: #1414779
Change-Id: I6a75aa8ad612ee80b391f0a27a8a7e29519c3f8d
Co-Authored-By: Rajeev Grover <rajeev.grover@hp.com>
Co-Authored-By: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "Fix docs job"
Jenkins [Wed, 12 Aug 2015 20:49:04 +0000 (20:49 +0000)]
Merge "Fix docs job"

9 years agoTreat sphinx warnings as errors
James E. Blair [Wed, 12 Aug 2015 17:51:18 +0000 (10:51 -0700)]
Treat sphinx warnings as errors

Change-Id: I65fcca7eb3397c8f5a777bab1c9c20161263ed26

9 years agoMerge "SR-IOV: Add Agent QoS driver to support bandwidth limit" into feature/qos
Jenkins [Wed, 12 Aug 2015 19:12:11 +0000 (19:12 +0000)]
Merge "SR-IOV: Add Agent QoS driver to support bandwidth limit" into feature/qos

9 years agoMerge "Revert "Revert "Add VIF_DELETED notification event to Nova"""
Jenkins [Wed, 12 Aug 2015 18:05:47 +0000 (18:05 +0000)]
Merge "Revert "Revert "Add VIF_DELETED notification event to Nova"""

9 years agoUpdate fullstack multinode simulation image
Assaf Muller [Wed, 12 Aug 2015 17:20:10 +0000 (13:20 -0400)]
Update fullstack multinode simulation image

Change-Id: I9d332e296b1f72e423ee64b01a82ae36b688c27e

9 years agoFix docs job
Assaf Muller [Wed, 12 Aug 2015 17:29:50 +0000 (13:29 -0400)]
Fix docs job

It looks like the docs job is passing when it shouldn't.

Change-Id: I4b65e470e913cd84e63231259e355c5842878c4b

9 years agoImprove callback registry devref documentation and usability
armando-migliaccio [Wed, 12 Aug 2015 01:16:30 +0000 (18:16 -0700)]
Improve callback registry devref documentation and usability

Latest developments have revealed that the registry can be misused
under certain circumstances, and that it can be harder to use by
projects that extend Neutron.

This patch improves the devref documentation so that developers know
what to expect.

Change-Id: I565b6a2f2a58bf22eae5b36f03c4fd24ba0774d2

9 years agoMerge "Forbid attaching rules if policy isn't accessible" into feature/qos
Jenkins [Wed, 12 Aug 2015 16:10:21 +0000 (16:10 +0000)]
Merge "Forbid attaching rules if policy isn't accessible" into feature/qos

9 years agoMerge "Pass the extension driver exception to plugin" into feature/qos
Jenkins [Wed, 12 Aug 2015 16:09:48 +0000 (16:09 +0000)]
Merge "Pass the extension driver exception to plugin" into feature/qos

9 years agoMerge "Skip FwaaS test that is failing due to race condition"
Jenkins [Wed, 12 Aug 2015 16:06:23 +0000 (16:06 +0000)]
Merge "Skip FwaaS test that is failing due to race condition"

9 years agoMerge "Replace 'import json' with oslo_serialization"
Jenkins [Wed, 12 Aug 2015 16:05:57 +0000 (16:05 +0000)]
Merge "Replace 'import json' with oslo_serialization"

9 years agoFinal decomposition of the ML2 NCS driver
Henry Gessau [Wed, 12 Aug 2015 15:43:29 +0000 (11:43 -0400)]
Final decomposition of the ML2 NCS driver

Closes-Bug: #1484160
Related-Blueprint: core-vendor-decomposition

Depends-On: I713f2378050f514a427fb9937b2a1fc5cc48bd6f

Change-Id: I0a447fd5b176faf96fc0f5e164fa7a3b098ae74f

9 years agoFix update_subnet for prefix delegation
John Davidge [Fri, 7 Aug 2015 15:27:47 +0000 (16:27 +0100)]
Fix update_subnet for prefix delegation

A misnamed function call and execution order issue was causing
update_subnet to fail when a PD enabled subnet received a new CIDR.

This patch fixes the issues, and introduces an rpc api test to
ensure the function works. This includes altering the process_prefix_update
RPC handler to expose the issue to the test.

Change-Id: Id1e781291f711865fd783ed5e0208694097b7024
Closes-Bug: 1482676

9 years agoMerge "Add Kuryr to sub_projects.rst"
Jenkins [Wed, 12 Aug 2015 14:58:34 +0000 (14:58 +0000)]
Merge "Add Kuryr to sub_projects.rst"

9 years agoThe unnecessary value "sgids" was deleted
huangpengtao [Wed, 5 Aug 2015 15:05:06 +0000 (23:05 +0800)]
The unnecessary value "sgids" was deleted

The value "sgids" is unnecessary to be used.
Even it is a bit confused to use "sgids",
the code will be easier to understand without it.

Change-Id: I8b881139a71bdc9f3742e7208610eb56081fbbc7

9 years agoMerge "OVS agent functional test for policy rule delete" into feature/qos
Jenkins [Wed, 12 Aug 2015 12:27:10 +0000 (12:27 +0000)]
Merge "OVS agent functional test for policy rule delete" into feature/qos

9 years agoMerge "Update documentation acording to last QoS/OvS changes" into feature/qos
Jenkins [Wed, 12 Aug 2015 12:15:55 +0000 (12:15 +0000)]
Merge "Update documentation acording to last QoS/OvS changes" into feature/qos

9 years agoFix DVR interface delete by port when gateway is set
Assaf Muller [Mon, 13 Apr 2015 17:26:06 +0000 (13:26 -0400)]
Fix DVR interface delete by port when gateway is set

When removing a DVR interface by port, the subnet_id
passed to delete_csnat_router_interface_ports is None,
and so it deletes all the DVR SNAT ports for the
router.

This patch fixes this issue by passing in the right
subnet_id to the delete_csnat_router_interface_ports.

Change-Id: I16735195c6575454876acd0e99ef45f382963566
Closes-Bug: #1443524
Co-Authored-By: Swaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Co-Authored-By: Oleg Bondarev <obondarev@mirantis.com>
9 years agoMerge "Fix the low level OVS driver to really do egress" into feature/qos
Jenkins [Wed, 12 Aug 2015 12:07:47 +0000 (12:07 +0000)]
Merge "Fix the low level OVS driver to really do egress" into feature/qos

9 years agoSkip FwaaS test that is failing due to race condition
Sean M. Collins [Wed, 12 Aug 2015 11:42:04 +0000 (07:42 -0400)]
Skip FwaaS test that is failing due to race condition

Change-Id: I8a7669b6aff0b407b192af803fbfb636c8f118bb
Related-Bug: #1483875

9 years agoDestroy ipset when the corresponding rule is removed
shihanzhang [Tue, 9 Jun 2015 09:47:39 +0000 (17:47 +0800)]
Destroy ipset when the corresponding rule is removed

if a security group has a rule which allow a remote group access,
but this remote group has no IPv4 and IPv6 members, L2 agent
should not clear the remote group in internal cache of sg_members,
because when above rule is deleted, L2 agent can get the remote group
id from the diff of pre_sg_members-sg_members, then destroy the ipset
set for remote group.

Change-Id: I801b14c9f506c5a07f8875b8f9be1b05d181b842
Closes-bug: #1463331

9 years agoPython 3: compare response.body to bytes in namespace_proxy test
Cedric Brandily [Wed, 29 Jul 2015 11:15:49 +0000 (11:15 +0000)]
Python 3: compare response.body to bytes in namespace_proxy test

WebOb response bodies should be compared to bytes not string.

Change-Id: I2c17d39cc394a1d583b4f4971c0db9ba1875a0d0
Blueprint: neutron-python3

9 years agoForbid attaching rules if policy isn't accessible
John Schwarz [Mon, 3 Aug 2015 15:55:31 +0000 (18:55 +0300)]
Forbid attaching rules if policy isn't accessible

Following up patch If06de416dfe0eb7115fd4be9feb461fae8e8358d, this patch
continues to make sure all access to QoS policies are attempted safely -
if the policy doesn't exist or it's not accessible (for tenant_id
reasons), then an exception will be raised instead.

Change-Id: Id7e64c745cdd63d650a3f69572635dc10197259c
Partially-Implements: quantum-qos-api

9 years agoFix the low level OVS driver to really do egress
Miguel Angel Ajo [Tue, 11 Aug 2015 11:51:16 +0000 (13:51 +0200)]
Fix the low level OVS driver to really do egress

It seems that the Queue + QoS + linux-htb implementation was really
limiting ingress by default. So this patch switches the implementation
to the ovs ingress_policing_rate and ingress_policing_burst parameters
of the Interface table.

Later in time we may want to revise this, to make TC & queueing possible,
but this is good enough for egress limiting.

Also, removed the _update_bandwidth_limit del+set on OvS QoS driver for
the bandwidth limit rule update, since that's not needed anymore.

Change-Id: Ie802a235ae19bf679ba638563ac7377337448f2a
Partially-Implements: ml2-qos

9 years agoSR-IOV: Add Agent QoS driver to support bandwidth limit
Moshe Levi [Fri, 7 Aug 2015 14:35:48 +0000 (17:35 +0300)]
SR-IOV: Add Agent QoS driver to support bandwidth limit

This patch adds SR-IOV agent driver which uses eswitch manager to set VF
rate limit. It also updates the agent to call port_delete api of the
extension manager to cleanup when port is deleted.

Partially-Implements: blueprint ml2-sriov-qos-with-bwlimiting
Change-Id: I364fc8158e502d4dcc3510d6157f12969961a11d

9 years agoPass the extension driver exception to plugin
Yalei Wang [Wed, 5 Aug 2015 17:03:20 +0000 (01:03 +0800)]
Pass the extension driver exception to plugin

The extension driver is intercepted by driver manager currently. It will
cover the errors/exceptions happened in extension drivers. The extension
process will continue even if preceding extension driver get a wrong/useless
extended result, or even no result.
This patch make process_[create|update]_<resource>() and
extend_<resource>_dict() methods return the exception, and log it with proper
level respectively, and also include a minor optimization for the
extend_<resource>_dict() methods.

Change-Id: I20a249c47b58292125476bc44b2372ca959509e3
Closes-Bug: #1468990
(cherry picked from commit 73845d564c910bb9113a3ba5963b368384efbaad)

9 years agoUpdate documentation acording to last QoS/OvS changes
Miguel Angel Ajo [Tue, 11 Aug 2015 14:47:23 +0000 (16:47 +0200)]
Update documentation acording to last QoS/OvS changes

Change Ie802a235ae19bf679ba638563ac7377337448f2a introduces
a few changes to the low level ovs implementation of QoS,
this patch updates documentation.

Change-Id: I46a972b045c03f65888a22f55e893c69da3db14b
Partially-Implements: ml2-qos

9 years agoOVS agent functional test for policy rule delete
Jakub Libosvar [Tue, 11 Aug 2015 12:36:05 +0000 (12:36 +0000)]
OVS agent functional test for policy rule delete

Partially-Implements: ml2-qos
Change-Id: I57a006352d97363005f4f2a7d79ec8f1c91d1555

9 years agoMerge "Clean up test_dvr_router_rem_fips_on_restarted_agent"
Jenkins [Wed, 12 Aug 2015 05:58:34 +0000 (05:58 +0000)]
Merge "Clean up test_dvr_router_rem_fips_on_restarted_agent"

9 years agoAdd Kuryr to sub_projects.rst
YAMAMOTO Takashi [Wed, 5 Aug 2015 06:12:10 +0000 (15:12 +0900)]
Add Kuryr to sub_projects.rst

Change-Id: I8974b140cd69ddf125fecad0ea4714e803bf9740

9 years agoMerge "devref: update quality_of_service" into feature/qos
Jenkins [Wed, 12 Aug 2015 03:21:56 +0000 (03:21 +0000)]
Merge "devref: update quality_of_service" into feature/qos

9 years agoMerge "Fix: Skip rescheduling networks if no DHCP agents available"
Jenkins [Tue, 11 Aug 2015 20:31:29 +0000 (20:31 +0000)]
Merge "Fix: Skip rescheduling networks if no DHCP agents available"

9 years agoMerge "Use oslo.log library instead of system logging module"
Jenkins [Tue, 11 Aug 2015 19:46:34 +0000 (19:46 +0000)]
Merge "Use oslo.log library instead of system logging module"

9 years agoClean up test_dvr_router_rem_fips_on_restarted_agent
Assaf Muller [Tue, 11 Aug 2015 18:20:07 +0000 (14:20 -0400)]
Clean up test_dvr_router_rem_fips_on_restarted_agent

* self._add_fip wasn't actually doing anything useful, it just
  throws off the reader by making him/her think that line is
  important when it isn't.
* Added an assertion that checks that the FIP namespace exists
  before the reconfiguration of the router.

Change-Id: Ifd27f20d9d8d11575212b95e3bbe534bfe2d3b8f