← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1681728] [NEW] QoS rule object should be manage in QosRule metaclass

 

Public bug reported:

All QoS rule type classes inherit from abstract class QosRule [1]. Those
rules are always dependent on a QoS rule, through a coerced relationship
on the abstract class.

QosPolicy:
  rules: obj_fields.ListOfObjectsField(QosRule.obj_name(), subclasses=True)

Versions in QoS rule classes need to be handled from the parent QosRule
object because it's the only reference QosPolicy can make to them via
obj_relationships version map.

[1]
https://github.com/openstack/neutron/blob/master/neutron/objects/qos/rule.py#L49

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: qos

** Tags added: qos

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1681728

Title:
  QoS rule object should be manage in QosRule metaclass

Status in neutron:
  New

Bug description:
  All QoS rule type classes inherit from abstract class QosRule [1].
  Those rules are always dependent on a QoS rule, through a coerced
  relationship on the abstract class.

  QosPolicy:
    rules: obj_fields.ListOfObjectsField(QosRule.obj_name(), subclasses=True)

  Versions in QoS rule classes need to be handled from the parent
  QosRule object because it's the only reference QosPolicy can make to
  them via obj_relationships version map.

  [1]
  https://github.com/openstack/neutron/blob/master/neutron/objects/qos/rule.py#L49

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1681728/+subscriptions


Follow ups