Specifying '-F' or '--field' parameter in the qos related commands, returns abnormal result
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Fix Released
|
Low
|
Yan Songming |
Bug Description
Specifying '-F' or '--filed' parameter in the qos related commands, returns abnormal result
3 problems:
1) Specifying '-F' or '--field' parameter in addition to 'rules' in 'qos-policy-show' command, the result returned contains extra field 'rules',
while specifying '-F' as 'rules',the result is ok,having no more extra field.
2)Specifying '-F' or '--field' parameter in 'qos-bandwidth-
3)Specifying '-F' or '--field' parameter in 'qos-dscp-
The experiment process is as follows:
1)Specifying '-F' or '--field' parameter in addition to 'rules' in 'qos-policy-show' command, the result returned contains extra field 'rules',
while specifying '-F' as 'rules',the result is ok,having no more extra field.
[root@localhost home]# neutron qos-policy-show xwj_01
+------
| Field | Value |
+------
| description | |
| id | da92966e-
| name | xwj_01 |
| rules | 4a2ae096-
| | 93ecc82f-
| shared | False |
| tenant_id | ee4bd2aeeac74bb
+------
[root@localhost home]# neutron qos-policy-show xwj_01 -F description
+------
| Field | Value |
+------
| description | |
| rules | |
+------
[root@localhost home]# neutron qos-policy-show xwj_01 -F id
+------
| Field | Value |
+------
| id | da92966e-
| rules | |
+------
[root@localhost home]# neutron qos-policy-show xwj_01 -F name
+-------+--------+
| Field | Value |
+-------+--------+
| name | xwj_01 |
| rules | |
+-------+--------+
[root@localhost home]# neutron qos-policy-show xwj_01 -F shared
+--------+-------+
| Field | Value |
+--------+-------+
| rules | |
| shared | False |
+--------+-------+
[root@localhost home]# neutron qos-policy-show xwj_01 -F tenant_id
+------
| Field | Value |
+------
| rules | |
| tenant_id | ee4bd2aeeac74bb
+------
[root@localhost home]#
[root@localhost home]# neutron qos-policy-show xwj_01 -F rules
+------
| Field | Value |
+------
| rules | 4a2ae096-
| | 93ecc82f-
+------
2) Specifying '-F' or '--field' parameter in 'qos-bandwidth-
[root@localhost home]# neutron qos-bandwidth-
+------
| Field | Value |
+------
| id | 4a2ae096-
| max_burst_kbps | 700000 |
| max_kbps | 1000000 |
+------
[root@localhost home]# neutron qos-bandwidth-
show_bandwidth_
[root@localhost home]# neutron qos-bandwidth-
show_bandwidth_
[root@localhost home]# neutron qos-bandwidth-
show_bandwidth_
[root@localhost home]# neutron qos-bandwidth-
show_bandwidth_
[root@localhost home]#
3) Specifying '-F' or '--field' parameter in 'qos-dscp-
[root@localhost home]# neutron qos-dscp-
+------
| Field | Value |
+------
| dscp_mark | 26 |
| id | 93ecc82f-
+------
[root@localhost home]# neutron qos-dscp-
show_dscp_
[root@localhost home]# neutron qos-dscp-
show_dscp_
Changed in neutron: | |
assignee: | nobody → dongwenshuai (dong-wenshuai) |
Changed in neutron: | |
status: | New → In Progress |
tags: | added: qos |
Changed in neutron: | |
importance: | Undecided → Low |
summary: |
- Specifying '-F' or '--filed' parameter in the qos related commands, + Specifying '-F' or '--field' parameter in the qos related commands, returns abnormal result |
affects: | neutron → python-neutronclient |
Changed in python-neutronclient: | |
assignee: | dongwenshuai (dong-wenshuai) → Yan Songming (songmingyan) |
Changed in python-neutronclient: | |
status: | In Progress → Fix Committed |
Changed in python-neutronclient: | |
status: | Fix Committed → Fix Released |
Patches have been proposed. /review. openstack. org/#/c/ 324545/ /review. openstack. org/#/c/ 326902/ /review. openstack. org/#/c/ 329852/
https:/
https:/
https:/