RFE: QoS – rule's management (set,delete, show…) requires <qos-policy> parameter in addition to <rule-id>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Wishlist
|
Miguel Lavalle |
Bug Description
In order to create QoS rule we must provide policy name and that’s OK, because rule should be
associated to specific QoS policy.
Once user wants to manage the existing QoS rules, for example: SHOW, DELETE or SET commands, <qos-policy> and <rule-id> are mandatory parameters and this doesn’t make sense as <rule-id> only should be enough. (Just like we have in other features, security groups for example)
The above is relevant for both: Rest APIs and CLI.
Documentation change will be required on fix.
Usage example for: SET,DELETE and SHOW
1) SET
(openstack) network qos rule set
usage: network qos rule set [-h] [--max-kbps <max-kbps>]
2) DELETE
(openstack) network qos rule delete
usage: network qos rule delete [-h] <qos-policy> <rule-id>
network qos rule delete: error: too few arguments
3) SHOW
(openstack) network qos rule show
usage: network qos rule show [-h] [-f {json,shell,
network qos rule show: error: too few arguments
tags: | added: qos |
summary: |
- QoS – rule management (set,delete, show…) requires <qos-policy> - parameter in addition to <Rule-ID> + QoS – rule's management (set,delete, show…) requires <qos-policy> + parameter in addition to <rule-id> |
Changed in neutron: | |
importance: | Undecided → Wishlist |
Changed in neutron: | |
milestone: | none → stein-rc1 |
Changed in neutron: | |
assignee: | Miguel Lavalle (minsel) → Slawek Kaplonski (slaweq) |
Changed in neutron: | |
status: | In Progress → Fix Committed |
assignee: | Slawek Kaplonski (slaweq) → Miguel Lavalle (minsel) |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Since a QoS rule will only be associated with one QoS policy, I believe this is a valid change.