fuel2 node list sort command doesn't work for nodes.
How to reproduce:
1. Deploy fuel-master node and fuel-slave nodes from fuel-community-9.0-3837-2016-02-13_04-58-54 (13 Feb 2016 05:28:22) 2. In CLI mode (fuel-master): [root@fuel ~]# fuel2 node list -s name +----+------+----------+-------------+-------+-----------+-------------------+---------+---------------+--------+ | id | name | status | os_platform | roles | ip | mac | cluster | platform_name | online | +----+------+----------+-------------+-------+-----------+-------------------+---------+---------------+--------+ | 7 | abc | discover | ubuntu | - | 10.20.0.5 | 08:00:27:4d:97:e3 | None | None | True | | 4 | _abc | error | ubuntu | - | 10.20.0.3 | 08:00:27:73:3a:d5 | None | None | True | | 8 | def | discover | ubuntu | - | 10.20.0.4 | 08:00:27:4b:04:ea | None | None | True | +----+------+----------+-------------+-------+-----------+-------------------+---------+---------------+--------+ 3. The output (sorting by name) does not correspond to a desired result.
fuel2 node list sort command doesn't work for nodes.
How to reproduce:
1. Deploy fuel-master node and fuel-slave nodes from fuel-community- 9.0-3837- 2016-02- 13_04-58- 54 (13 Feb 2016 05:28:22) -----+- ------- --+---- ------- --+---- ---+--- ------- -+----- ------- ------- +------ ---+--- ------- -----+- ------- + -----+- ------- --+---- ------- --+---- ---+--- ------- -+----- ------- ------- +------ ---+--- ------- -----+- ------- + -----+- ------- --+---- ------- --+---- ---+--- ------- -+----- ------- ------- +------ ---+--- ------- -----+- ------- +
2. In CLI mode (fuel-master):
[root@fuel ~]# fuel2 node list -s name
+----+-
| id | name | status | os_platform | roles | ip | mac | cluster | platform_name | online |
+----+-
| 7 | abc | discover | ubuntu | - | 10.20.0.5 | 08:00:27:4d:97:e3 | None | None | True |
| 4 | _abc | error | ubuntu | - | 10.20.0.3 | 08:00:27:73:3a:d5 | None | None | True |
| 8 | def | discover | ubuntu | - | 10.20.0.4 | 08:00:27:4b:04:ea | None | None | True |
+----+-
3. The output (sorting by name) does not correspond to a desired result.