← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1959749] Re: minimum_packet_rate qos rule type is not visible in the GET /v2.0/qos/rule-types response

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/827683
Committed: https://opendev.org/openstack/neutron/commit/2f944d310554f0248261fff875141bdf9698b35e
Submitter: "Zuul (22348)"
Branch:    master

commit 2f944d310554f0248261fff875141bdf9698b35e
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Thu Feb 3 00:04:02 2022 +0000

    Support filtering for QoS rule type list
    
    Added support for filtering the QoS rule type list command.
    Two new filter flags are added:
    - all_supported: if True, the listing call will print all QoS rule
      types supported by at least one loaded mechanism driver.
    - all_rules: if True, the listing call will print all QoS rule types
      supported by the Neutron server.
    
    Both filter flags are exclusive and not required.
    
    Depends-On: https://review.opendev.org/c/openstack/neutron-lib/+/827533
    
    Closes-Bug: #1959749
    Change-Id: I41eaab177e121316c3daec34b309c266e2f81979


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  minimum_packet_rate qos rule type is not visible in the GET
  /v2.0/qos/rule-types response

Status in neutron:
  Fix Released

Bug description:
  The GET /v2.0/qos/rule-types API does not return the
  minimum_packet_rate rule type even though the feature itself is
  configured, qos policy can be created with that rule type and ports
  can be bound with such qos policy.

  It is reproduced on recent neutron and neutron-lib master in a
  devstack.

  stack@master0:~/neutron$ git log --oneline | head -n1
  e7b70521d0 Merge "Use elevated context to update router's external gateway"

  stack@master0:~/neutron-lib$ git log --oneline | head -n1
  c5fd706 Merge "Add "connectivity" property to "MechanismDriver""

  Example outputs from this system:

  stack@master0:~$ openstack network qos rule type list

  +-------------------+
  | Type |
  +-------------------+
  | minimum_bandwidth |
  | bandwidth_limit |
  +-------------------+

  stack@master0:~$ openstack network qos rule list qp3-bw-pps

  +--------------------------------------+--------------------------------------+---------------------+----------+-----------------+----------+-----------+-----------+
  | ID | QoS Policy ID | Type | Max Kbps | Max Burst Kbits | Min Kbps | DSCP mark | Direction |
  +--------------------------------------+--------------------------------------+---------------------+----------+-----------------+----------+-----------+-----------+
  | 27a29b90-ce72-4f9c-8a0f-e36596a62e19 | 53bc1d66-c4ce-4f98-b703-8ae29afab6b1 | minimum_bandwidth | | | 2000 | | egress |
  | 2872f1cd-88df-4f13-a689-d53a2b4bf923 | 53bc1d66-c4ce-4f98-b703-8ae29afab6b1 | minimum_bandwidth | | | 2000 | | ingress |
  | 3aa02806-fe95-4bd9-b840-3d7472466f72 | 53bc1d66-c4ce-4f98-b703-8ae29afab6b1 | minimum_packet_rate | | | | | any |
  +--------------------------------------+--------------------------------------+---------------------+----------+-----------------+----------+-----------+-----------+

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



References