commit b3ca00f7a603d3f1763c7a031baf476b85f790bc
Author: Margaret Frances <email address hidden>
Date: Fri Mar 18 04:50:07 2016 -0400
Refactor QoS plugin to avoid code duplication
This change refactors the rule-specific methods in qos_plugin.py
in order to facilitate implementation of additional QoS rule types.
Further, with the recent merge of https://review.openstack.org/#/c/292488/, which prevents primary
keys in Neutron's oslo.versioned objects from being updated, the
QoS plugin needed additional refactoring. This change implements a
generic method in Neutron's base objects to handle object updates
without updating the primary key. This method is then used in the
QoS plugin.
Reviewed: https:/ /review. openstack. org/294463 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b3ca00f7a60 3d3f1763c7a031b af476b85f790bc
Committed: https:/
Submitter: Jenkins
Branch: master
commit b3ca00f7a603d3f 1763c7a031baf47 6b85f790bc
Author: Margaret Frances <email address hidden>
Date: Fri Mar 18 04:50:07 2016 -0400
Refactor QoS plugin to avoid code duplication
This change refactors the rule-specific methods in qos_plugin.py
in order to facilitate implementation of additional QoS rule types.
Further, with the recent merge of /review. openstack. org/#/c/ 292488/, which prevents primary
https:/
keys in Neutron's oslo.versioned objects from being updated, the
QoS plugin needed additional refactoring. This change implements a
generic method in Neutron's base objects to handle object updates
without updating the primary key. This method is then used in the
QoS plugin.
Co-Authored-By: Slawek Kaplonski <email address hidden>
Change-Id: I863f063a0cfbb4 64cedd00bddc15d d853cbb6389
Partial-Bug: #1468353