← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1508384] [NEW] QoS proxy functions

 

You have been subscribed to a public bug:

The current QoS API is structured so that rules that are added to the API need to be added to the neutron client as well.
I propose the use of proxy functions in neutron that determine which functions to use based on the rule type retrieved using the rule_id or specified through the command line. These proxy functions will take the rule_id or rule_type, policy_id and a list containing the rest of the command line arguments and send them to the corresponding function of that rule.

This would allow new rules to be added to the QoS API without needing to
update the neutron client.

i.e
replace:
qos-bandwidth-limit-rule-create <policy-id>
with
qos-rule-create <rule-type> <policy-id>

and

replace:
qos-bandwidth-limit-rule-update <rule-id> <policy-id>
with
qos-rule-update <rule-id> <policy-id>

Further discussion and ideas would be appreciated.

** Affects: neutron
     Importance: Wishlist
         Status: New


** Tags: qos rfe
-- 
QoS proxy functions
https://bugs.launchpad.net/bugs/1508384
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.


References