Public bug reported: Two type of QoS policies can apply to a port: - Port QoS policies: set directly on the port. - Network QoS policies: those ones applied on the port's network.
If both are applied, port QoS policy must prevail over the network QoS policy (if both are different) [1]. To know if a rule must be applied on a port, a check is made in neutron/objects/qos/rule:QoSRule.should_apply_to_port. The logic currently implemented doesn't reflect what is documented in [1]. The expected result of test_should_apply_to_port_with_compute_port_and_net_policy must be False. [1] https://docs.openstack.org/mitaka/networking-guide/config-qos.html ** Affects: neutron Importance: Undecided Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez) Status: In Progress ** Tags: qos ** Changed in: neutron Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez) ** 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/1665282 Title: To prioritize port QoS policies over network QoS policies Status in neutron: In Progress Bug description: Two type of QoS policies can apply to a port: - Port QoS policies: set directly on the port. - Network QoS policies: those ones applied on the port's network. If both are applied, port QoS policy must prevail over the network QoS policy (if both are different) [1]. To know if a rule must be applied on a port, a check is made in neutron/objects/qos/rule:QoSRule.should_apply_to_port. The logic currently implemented doesn't reflect what is documented in [1]. The expected result of test_should_apply_to_port_with_compute_port_and_net_policy must be False. [1] https://docs.openstack.org/mitaka/networking-guide/config-qos.html To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1665282/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp