Hi,
No I meant something like this:
$ openstack resource provider list
+--------------------------------------+-------+------------+--------------------------------------+----------------------+
| uuid | name | generation | root_provider_uuid | parent_provider_uuid |
+--------------------------------------+-------+------------+--------------------------------------+----------------------+
| 0f916a23-403f-43c3-ac57-e109bc371dba | jammy | 2 | 0f916a23-403f-43c3-ac57-e109bc371dba | None |
+--------------------------------------+-------+------------+--------------------------------------+----------------------+
$ openstack resource provider inventory list 0f916a23-403f-43c3-ac57-e109bc371dba
+----------------+------------------+----------+----------+----------+-----------+-------+------+
| resource_class | allocation_ratio | min_unit | max_unit | reserved | step_size | total | used |
+----------------+------------------+----------+----------+----------+-----------+-------+------+
| VCPU | 4.0 | 1 | 6 | 0 | 1 | 6 | 0 |
| MEMORY_MB | 1.0 | 1 | 7936 | 512 | 1 | 7936 | 0 |
| DISK_GB | 1.0 | 1 | 28 | 0 | 1 | 28 | 0 |
+----------------+------------------+----------+----------+----------+-----------+-------+------+
$ openstack resource provider inventory list 0f916a23-403f-43c3-ac57-e109bc371dba
+----------------+------------------+----------+----------+----------+-----------+-------+------+
| resource_class | allocation_ratio | min_unit | max_unit | reserved | step_size | total | used |
+----------------+------------------+----------+----------+----------+-----------+-------+------+
| VCPU | 4.0 | 1 | 6 | 0 | 1 | 6 | 1 |
| MEMORY_MB | 1.0 | 1 | 7936 | 512 | 1 | 7936 | 256 |
| DISK_GB | 1.0 | 1 | 28 | 0 | 1 | 28 | 1 |
+----------------+------------------+----------+----------+----------+-----------+-------+------+
Recently this API was also added to Horizon (the web gui for Openstack) as hypervisor API and the compute db behind it is
not preferred.
Best wishes
Lajos Katona (lajoskatona)