commit e7788ed0c80ba5f45eafeda5a6c07a8300156535
Author: Lajos Katona <email address hidden>
Date: Fri Mar 1 14:39:13 2019 +0100
Fix QoS rule update
QoS rule (QosBandwidthLimitRule and QosMinimumBandwidthRule) update now
expects to have direction field in the API request for checking for
duplicates.
This patch changes this by using the rule fetched from the policy and
the update will work on that rule object instead of a newly created
object which for minimum_bandwidth rule has no default direction, which
causes the update to fail.
Change-Id: Ib8f95bf14193a50f22102668bed9208a93d1caba
Closes-Bug: #1815618
(cherry picked from commit c1999a2b2268a4f5477247974363e31cb54e0e6b)
Reviewed: https:/ /review. openstack. org/645172 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e7788ed0c80 ba5f45eafeda5a6 c07a8300156535
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit e7788ed0c80ba5f 45eafeda5a6c07a 8300156535
Author: Lajos Katona <email address hidden>
Date: Fri Mar 1 14:39:13 2019 +0100
Fix QoS rule update
QoS rule (QosBandwidthLi mitRule and QosMinimumBandw idthRule) update now
expects to have direction field in the API request for checking for
duplicates.
This patch changes this by using the rule fetched from the policy and
the update will work on that rule object instead of a newly created
object which for minimum_bandwidth rule has no default direction, which
causes the update to fail.
Change-Id: Ib8f95bf14193a5 0f22102668bed92 08a93d1caba 5477247974363e3 1cb54e0e6b)
Closes-Bug: #1815618
(cherry picked from commit c1999a2b2268a4f