Commit Graph

6 Commits

Author SHA1 Message Date
Przemyslaw Szczerbik 6b2fe94b2c Move RULE_TYPE_MINIMUM_PACKET_RATE to neutron-lib
Addresses TODO comment from:

neutron/services/qos/constants.py

Related-Bug: #1922237
See-Also: https://review.opendev.org/785236
Change-Id: Ie6fffb7829ac1f212f4c4e40fc2e5161f2ccd6fe
2021-11-03 11:18:27 +01:00
LIU Yulong 8ca7087ed9 Move packet_rate_limit type to neutron-lib
These are the TODO works of:
neutron/services/qos/constants.py
neutron/extensions/qos_pps_rule.py

Related-bug: #1912460
Change-Id: I295d8004efd563a5044631ec504d4eb9ae1be55d
2021-08-17 05:57:45 +00:00
Przemyslaw Szczerbik 83b6727dad Add API extension definition for QoS minimum pps rule
This patch adds a new API extension definition for QoS minimum
packet rate (pps) rule.

Related-Bug: #1922237
See-Also: https://review.opendev.org/785236
Change-Id: Ia03cebdd030dbfa489bccb3b104e5db71dac0aef
2021-08-04 13:08:31 +02:00
LIU Yulong db45b9226d Adds API extension for QoS rule type pps
This patch adds new API extension for QoS rule
type packet per second(pps).

Related-bug: #1912460
Change-Id: I4148fb3c0da6c45f24ddd4d640c2ad0d34778e51
2021-05-24 10:37:00 +08:00
Rodolfo Alonso Hernandez c5cb36903f Add "qos_network_policy_id" field to "port" definition
DocImpact

Change-Id: Ic1d555ef957124c866a2baf788564b3c200583eb
Related-Bug: #1851362
2019-12-09 16:37:54 +00:00
Boden R d35f7e1716 rehome qos service DriverBase class
The neutron.services.qos.drivers.base.DriverBase class is used by a
number of consumers [1]. This patch rehomes it into neutron_lib along
with the qos_consts that are also used by consumers [2].

UTs and a release note are also included.

[1] http://codesearch.openstack.org/?q=from%20neutron%5C.services%5C.qos%5C.drivers%20import%20base
[2] http://codesearch.openstack.org/?q=from%20neutron%5C.services%5C.qos%20import%20qos_consts

Change-Id: Ifaf4657c37791e8e11907c66fb6cab7128c122a6
2017-06-13 09:06:33 -06:00