Got something going on over here: https://review.openstack.org/#/c/143513/
It'll produce output similar to that of horizon:
steve:python-openstackclient$ openstack volume list +--------------------------------------+--------------+-----------+------+------------------------------+ | ID | Display Name | Status | Size | Attached to | +--------------------------------------+--------------+-----------+------+------------------------------+ | 5554d8d6-242a-47d7-893e-8c5a8553f31e | v2 | available | 1 | | | 43d1a560-4f6c-48a4-a80c-6ec63f182b0d | vol1 | in-use | 1 | Attached to in2 on /dev/vdb | +--------------------------------------+--------------+-----------+------+------------------------------+
Got something going on over here: https:/ /review. openstack. org/#/c/ 143513/
It'll produce output similar to that of horizon:
steve:python- openstackclient $ openstack volume list ------- ------- ------- ------- ----+-- ------- -----+- ------- ---+--- ---+--- ------- ------- ------- ------+ ------- ------- ------- ------- ----+-- ------- -----+- ------- ---+--- ---+--- ------- ------- ------- ------+ 242a-47d7- 893e-8c5a8553f3 1e | v2 | available | 1 | | 4f6c-48a4- a80c-6ec63f182b 0d | vol1 | in-use | 1 | Attached to in2 on /dev/vdb | ------- ------- ------- ------- ----+-- ------- -----+- ------- ---+--- ---+--- ------- ------- ------- ------+
+------
| ID | Display Name | Status | Size | Attached to |
+------
| 5554d8d6-
| 43d1a560-
+------