← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1643849] [NEW] The result of 'qos-minimum-bandwidth-rule-list' is wrong

 

Public bug reported:

In master branch,I have a policy,and some rules in it as folloss:

[root@devstack162 devstack]# neutron qos-policy-show p1
+-----------------+----------------------------------------------------------------+
| Field           | Value                                                          |
+-----------------+----------------------------------------------------------------+
| created_at      | 2016-11-22T07:11:02Z                                           |
| description     | aaaaa                                                          |
| id              | d296046b-0a87-496f-93dc-14e8bd5ed638                           |
| name            | p1                                                             |
| project_id      | 9a5b27e4da8b4aec99df42b222a8a696                               |
| revision_number | 5                                                              |
| rules           | 7ba69c66-6911-4176-895d-f5668cc5bbbe (type: bandwidth_limit)   |
|                 | d9c021d5-5433-4d7c-8bfa-69cca486aac8 (type: dscp_marking)      |
|                 | 8c8fc4de-25c5-4d16-85e6-543d0affe916 (type: minimum_bandwidth) |
| shared          | False                                                          |
| tenant_id       | 9a5b27e4da8b4aec99df42b222a8a696                               |
| updated_at      | 2016-11-22T11:07:47Z                                           |
+-----------------+----------------------------------------------------------------+
and the command result of 'qos-bandwidth-limit-rule-list' is:

[root@devstack162 devstack]# neutron  qos-bandwidth-limit-rule-list p1
+--------------------------------------+----------------+----------+
| id                                   | max_burst_kbps | max_kbps |
+--------------------------------------+----------------+----------+
| 7ba69c66-6911-4176-895d-f5668cc5bbbe |             50 |    10000 |


but the command result of 'qos-minimum-bandwidth-rule-list' is:

[root@devstack162 devstack]#  neutron qos-minimum-bandwidth-rule-list p1 
'qos_minimum_bandwidth_rules'

I think the result of 'qos-minimum-bandwidth-rule-lis' is wrong.

** Affects: neutron
     Importance: Undecided
     Assignee: QunyingRan (ran-qunying)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => QunyingRan (ran-qunying)

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

Title:
  The result of 'qos-minimum-bandwidth-rule-list' is wrong

Status in neutron:
  New

Bug description:
  In master branch,I have a policy,and some rules in it as folloss:

  [root@devstack162 devstack]# neutron qos-policy-show p1
  +-----------------+----------------------------------------------------------------+
  | Field           | Value                                                          |
  +-----------------+----------------------------------------------------------------+
  | created_at      | 2016-11-22T07:11:02Z                                           |
  | description     | aaaaa                                                          |
  | id              | d296046b-0a87-496f-93dc-14e8bd5ed638                           |
  | name            | p1                                                             |
  | project_id      | 9a5b27e4da8b4aec99df42b222a8a696                               |
  | revision_number | 5                                                              |
  | rules           | 7ba69c66-6911-4176-895d-f5668cc5bbbe (type: bandwidth_limit)   |
  |                 | d9c021d5-5433-4d7c-8bfa-69cca486aac8 (type: dscp_marking)      |
  |                 | 8c8fc4de-25c5-4d16-85e6-543d0affe916 (type: minimum_bandwidth) |
  | shared          | False                                                          |
  | tenant_id       | 9a5b27e4da8b4aec99df42b222a8a696                               |
  | updated_at      | 2016-11-22T11:07:47Z                                           |
  +-----------------+----------------------------------------------------------------+
  and the command result of 'qos-bandwidth-limit-rule-list' is:

  [root@devstack162 devstack]# neutron  qos-bandwidth-limit-rule-list p1
  +--------------------------------------+----------------+----------+
  | id                                   | max_burst_kbps | max_kbps |
  +--------------------------------------+----------------+----------+
  | 7ba69c66-6911-4176-895d-f5668cc5bbbe |             50 |    10000 |

  
  but the command result of 'qos-minimum-bandwidth-rule-list' is:

  [root@devstack162 devstack]#  neutron qos-minimum-bandwidth-rule-list p1 
  'qos_minimum_bandwidth_rules'

  I think the result of 'qos-minimum-bandwidth-rule-lis' is wrong.

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


Follow ups