neutron/neutron/agent
Ihar Hrachyshka 70727ba781 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
2015-08-17 15:16:55 +02:00
..
common Fix the low level OVS driver to really do egress 2015-08-12 09:37:45 +00:00
dhcp Merge "Add DNS and DHCP log into dhcp agent" 2015-08-04 04:08:09 +00:00
l2 Merge "Removed configuration option for qos agent driver selection" into feature/qos 2015-08-11 01:04:55 +00:00
l3 Remove 'action' argument from _handle_fip_nat_rules() 2015-08-13 17:02:41 -04:00
linux Merge "Python 3: specify a bytes to an argument for a format type 's' of struct.pack()" 2015-08-13 08:10:40 +00:00
metadata Python 3: encode unicode response bodies 2015-08-11 00:33:06 +02:00
ovsdb Merge remote-tracking branch 'origin/feature/qos' into merge-branch 2015-07-24 14:24:10 +02:00
windows Python 3: Wrap map() in a list call 2015-07-17 13:21:31 +09:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
dhcp_agent.py Switch to oslo.service 2015-06-29 13:20:55 +03:00
firewall.py Add conntrack-tool to manage security groups 2015-07-21 20:24:53 +08:00
l3_agent.py Switch to oslo.service 2015-06-29 13:20:55 +03:00
metadata_agent.py Allow metadata proxy running with nobody user/group 2015-04-06 18:31:37 +02:00
rpc.py Merge "Fix a microsecond format of isoformat()" 2015-08-03 20:57:02 +00:00
securitygroups_rpc.py Add conntrack-tool to manage security groups 2015-07-21 20:24:53 +08:00