From 437c4afd8f5bc4a0ca405ff97787ae8e1a909b06 Mon Sep 17 00:00:00 2001 From: Ladislav Smola Date: Fri, 9 Jan 2015 14:31:02 +0100 Subject: [PATCH] Add doc of hardware model Adding doc of hardware model and connection to OpenstackInfra provider. --- .../providers_database_architecture.md | 1 + .../hardware.md | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 architecture/providers_database_architecture/hardware.md diff --git a/architecture/providers_database_architecture.md b/architecture/providers_database_architecture.md index e622b64d..60db9b9c 100644 --- a/architecture/providers_database_architecture.md +++ b/architecture/providers_database_architecture.md @@ -59,6 +59,7 @@ be filled with EMS_Refresh. * HostRedhat * HostVmware * HostVmwareEsx +* [Hardware](providers_database_architecture/hardware.md) * [AvailabilityZone](providers_database_architecture/availability_zone.md) (STI) * AvailabilityZoneAmazon * AvailabilityZoneOpenstack diff --git a/architecture/providers_database_architecture/hardware.md b/architecture/providers_database_architecture/hardware.md new file mode 100644 index 00000000..a5654ae9 --- /dev/null +++ b/architecture/providers_database_architecture/hardware.md @@ -0,0 +1,36 @@ +# Hardware model documentation + +* Table: hosts +* Used in: Kvm, Microsoft, Redhat, Vmware, OpenstackInfra + +| Column | Type | Used in | Comment | +| ----------------------- | --------- | ----------------- | ------- | +| config_version | string | | | +| virtual_hw_version | string | | | +| guest_os | string | | | +| numvcpus | integer | OpenstackInfra | Physical CPU count | +| bios | string | | | +| bios_location | string | | | +| time_sync | string | | | +| annotation | text | | | +| vm_or_template_id | integer | All | ForeignKey | +| memory_cpu | integer | OpenstackInfra | Total memory (Mb) | +| host_id | integer | All | ForeignKey | +| cpu_speed | integer | | Processor speed | +| cpu_type | string | | Usually string of 'cpu_manufacturer', 'cpu_model' and 'cpu_family' | +| size_on_disk | integer | | | +| manufacturer | string | | CPU manufacturer | +| model | string | | CPU model | +| number_of_nics | integer | | | +| cpu_usage | integer | | | +| memory_usage | integer | | | +| cores_per_socket | integer | | Cores per CPU | +| logical_cpus | integer | | Logical processor count | +| vmotion_enabled | boolean | | | +| disk_free_space | integer | | | +| disk_capacity | integer | OpenstackInfra | Capacity of the disk (Gb) | +| guest_os_full_name | string | | | +| memory_console | integer | | | +| bitness | integer | | | +| virtualization_type | string | | | +| root_device_type | string | | |