Allow PUT on direction param in QoS minimum pps rule
Based on discussion in the previous review [1] and IRC [2], it was
decided to allow direction parameter in QoS minimum packet rate
rule to be updated with a PUT request. This behavior matches current
behavior of other QoS rules.
If the rule to be updated is associated with a bound port, the request
is going to be rejected by the server.
Since direction-oriented and direction-less QoS min pps rules are
mutually exclusive, the request is going to be rejected if it would
result in mixing direction-oriented and direction-less rules in a single
policy.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron- lib/+/803914 /opendev. org/openstack/ neutron- lib/commit/ fb4775cf8362588 775467f4f92e641 8f379369db
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit fb4775cf8362588 775467f4f92e641 8f379369db
Author: Przemyslaw Szczerbik <email address hidden>
Date: Mon Aug 9 14:07:40 2021 +0200
Allow PUT on direction param in QoS minimum pps rule
Based on discussion in the previous review [1] and IRC [2], it was
decided to allow direction parameter in QoS minimum packet rate
rule to be updated with a PUT request. This behavior matches current
behavior of other QoS rules.
If the rule to be updated is associated with a bound port, the request
is going to be rejected by the server.
Since direction-oriented and direction-less QoS min pps rules are
mutually exclusive, the request is going to be rejected if it would
result in mixing direction-oriented and direction-less rules in a single
policy.
[1] https:/ /review. opendev. org/802486 /meetings. opendev. org/irclogs/ %23openstack- neutron/ latest. log.html# t2021-08- 09T07:56: 39
[2] https:/
Related-Bug: #1922237 /review. opendev. org/785236 c30388f564b704b a42c8967527
See-Also: https:/
Change-Id: If1f7b28184c740