eth-cscs / manta

Another CLI for Alps
https://eth-cscs.github.io/manta/
BSD 3-Clause "New" or "Revised" License
14 stars 3 forks source link

FEAT: new command to get a cluster summary #74

Closed Masber closed 3 months ago

Masber commented 3 months ago

create new command manta get cluster --output summary <cluster name>

and output

+--------------+-----------+
| Power status | Num nodes |
+==========================+
| FAILED       |     0     |
| ON           |     1     |
| OFF          |     3     |
| READY        |     12    |
| STANDBY      |     0     |
| UNCONFIGURED |     0     |
+--------------+-----------+
+-------------------------+-----------+
| Boot configuration name | Num nodes |
+=====================================+
| Not found               |     16    |
+-------------------------+-----------+
+--------------------------------------+-----------+
| Boot image id                        | Num nodes |
+==================================================+
| ecdd99f9-8dfe-464b-9fcc-e3993ccbb663 |     2     |
| 8bc94664-595c-4419-b849-63fe55fa8395 |     2     |
| 92fc0a05-4902-4f44-9457-3251175e6628 |     9     |
| f9ed4dcd-277d-4c35-a7a9-cb53caaa1771 |     3     |
+--------------------------------------+-----------+
+---------------------------------------------+-----------+
| Runtime configuration name                  | Num nodes |
+=========================================================+
| zinal-cta-compute-24.3.0-cscs-24.3.0        |     2     |
| zinal-zinal-compute-24.3.0-cscs-24.3.0      |     9     |
| zinal_moleson-compute-config-cscs-24.3.0    |     3     |
| zinal-gpu-compute-config-cscs-24.3.0.r1-0.1 |     2     |
+---------------------------------------------+-----------+
Masber commented 3 months ago

added to v1.35.0