terraform-provider-libvirt/website/docs/d/node_info.html.markdown

924 B

layout page_title sidebar_current description
libvirt Libvirt: libvirt_node_info docs-libvirt-node-info Use this data source to get information about the current node

Data Source: libvirt_node_info

Retrieve information about the current node

Example Usage

data "libvirt_node_info" "node" {

}

Argument Reference

This data source has no arguments.

Attribute Reference

This data source exports the following attributes in addition to the arguments above:

  • cpu_cores_per_socket - Number of CPU cores per each socket
  • cpu_cores_total - Number of CPU cores in total
  • cpu_model - CPU Architecture, usually x86_64
  • cpu_sockets - How many CPU sockets are present
  • cpu_threads_per_core - How many CPU Threads are available per each CPU core
  • memory_total_kb - The amount of memory installed, in KiB
  • numa_nodes - How many NUMA nodes/cells are available.