I just tested it on my devstack (Neutron from Pike branch) with shade
client and it worked fine:

>>> import shade
>>> c = shade.openstack_cloud()
>>> c.list_qos_rule_types()
[Munch({u'type': u'dscp_marking'}), Munch({u'type': u'bandwidth_limit'})]
>>> c.get_qos_rule_type_details('bandwidth_limit')
Munch({u'drivers': [{u'name': u'linuxbridge', u'supported_parameters': 
[{u'parameter_values': {u'start': 0, u'end': 2147483647}, u'parameter_type': 
u'range', u'parameter_name': u'max_kbps'}, {u'parameter_values': [u'ingress', 
u'egress'], u'parameter_type': u'choices', u'parameter_name': u'direction'}, 
{u'parameter_values': {u'start': 0, u'end': 2147483647}, u'parameter_type': 
u'range', u'parameter_name': u'max_burst_kbps'}]}, {u'name': u'openvswitch', 
u'supported_parameters': [{u'parameter_values': {u'start': 0, u'end': 
2147483647}, u'parameter_type': u'range', u'parameter_name': u'max_kbps'}, 
{u'parameter_values': [u'ingress', u'egress'], u'parameter_type': u'choices', 
u'parameter_name': u'direction'}, {u'parameter_values': {u'start': 0, u'end': 
2147483647}, u'parameter_type': u'range', u'parameter_name': 
u'max_burst_kbps'}]}], u'type': u'bandwidth_limit'})

** Changed in: neutron
       Status: New => Invalid

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

Title:
  feature of qos-detailed-reporting-of-available-rules is invalid in
  pike version

Status in neutron:
  Invalid

Bug description:
  Similar with bug https://bugs.launchpad.net/neutron/+bug/1716558,

  According to 
http://specs.openstack.org/openstack/neutron-specs/specs/pike/qos-detailed-reporting-of-available-rules.html,
  we should get details of every available rule type with different drivers in 
pike version.
  but it doesn't work.
  (1)neutron version
  root@ubuntudbs:/etc/neutron/plugins/ml2# vi 
/opt/stack/neutron/neutron.egg-info/PKG-INFO
  Metadata-Version: 1.1
  Name: neutron
  Version: 11.0.0.0rc2.dev122
  Summary: OpenStack Networking
  Home-page: https://docs.openstack.org/neutron/latest/
  (2)the driver informations is missing in the result.
  root@ubuntudbs:/etc/neutron/plugins/ml2# openstack network qos rule type list
  +-----------------+
  | Type            |
  +-----------------+
  | dscp_marking    |
  | bandwidth_limit |
  +-----------------+
  root@ubuntudbs:/etc/neutron/plugins/ml2#

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1716561/+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

Reply via email to