ernw/openstack
steampipe plugin install ernw/openstack

Table: openstack_server

A hypervisor isolates the hypervisor operating system from the virtual machines (servers).

Examples

Basic hypervisor info

select
id,
hypervisor_hostname,
host_ip,
state,
hypervisor_type
from
openstack_hypervisor;

All running hypervisors

select
id,
hypervisor_hostname,
host_ip,
state,
hypervisor_type
from
openstack_hypervisor
where
state = 'up';

System resource usage of running hypervisors

select
id,
hypervisor_hostname,
host_ip,
vcpus,
vcpus_used,
disk_available_least,
free_disk_gb,
free_ram_mb,
local_gb,
local_gb_used,
running_vms,
memory_mb,
memory_mb_used
from
openstack_hypervisor
where
state = 'up';

All disabled hypervisors

select
id,
hypervisor_hostname,
host_ip,
state,
hypervisor_type
from
openstack_hypervisor
where
status = 'disabled';

Schema for openstack_hypervisor

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
cpu_archtextThe arch of the CPU.
cpu_modeltextThe model of the CPU.
cpu_vendortextThe vendor of the CPU.
current_workloadbigintThe number of tasks the hypervisor is responsible for.
disk_available_leastbigintThe actual free disk on the hypervisor, measured in GB.
free_disk_gbbigintThe free disk remaining on the hypervisor, measured in GB.
free_ram_mbbigintThe free RAM in the hypervisor, measured in MB.
host_iptextThe hypervisor's IP address.
hypervisor_hostnametextThe hostname of the hypervisor.
hypervisor_typetextThe type of hypervisor.
hypervisor_versiontextThe version of the hypervisor.
idtext=The unique ID of the hypervisor.
local_gbbigintThe disk space in the hypervisor, measured in GB.
local_gb_usedbigintThe used disk space of the hypervisor, measured in GB.
memory_mbbigintThe total memory of the hypervisor, measured in MB.
memory_mb_usedbigintThe used memory of the hypervisor, measured in MB.
running_vmsbigintThe number of running vms on the hypervisor.
servicetextThe service this hypervisor represents.
statetextState of the hypervisor, either 'up'or 'down'.
statustextStatus of the hypervisor, either 'enabled' or 'disabled'.
vcpusbigintThe total number of vcpus on the hypervisor.
vcpus_usedbigintThe number of used vcpus on the hypervisor.