commit ff0a4445267da908376d14d1b4fa398f2ecfb2b8
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/650258 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ff0a4445267 da908376d14d1b4 fa398f2ecfb2b8
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit ff0a4445267da90 8376d14d1b4fa39 8f2ecfb2b8
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