Skip to content

Commit

Permalink
Add doc of hardware model
Browse files Browse the repository at this point in the history
Adding doc of hardware model and connection to OpenstackInfra
provider.
  • Loading branch information
Ladas committed Jan 9, 2015
1 parent e3a2c50 commit 437c4af
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions architecture/providers_database_architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
36 changes: 36 additions & 0 deletions architecture/providers_database_architecture/hardware.md
Original file line number Diff line number Diff line change
@@ -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 | | |

0 comments on commit 437c4af

Please sign in to comment.