Skip to content

Commit

Permalink
Add OpenStack host model doc
Browse files Browse the repository at this point in the history
Adding openstack host model doc, describing what collumns
will be filled by attributes available from OpenStack Ironic
service.
  • Loading branch information
Ladas committed Jan 9, 2015
1 parent bbc21d7 commit e3a2c50
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
1 change: 1 addition & 0 deletions architecture/providers_database_architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ be filled with EMS_Refresh.
* [OrchestrationStackResource](providers_database_architecture/orchestration_stack_resource.md)
* [OrchestrationTemplate](providers_database_architecture/orchestration_template.md)
* [Host](providers_database_architecture/host.md) (STI)
* HostOpenstackInfra
* HostKvm
* HostMicrosoft
* HostRedhat
Expand Down
24 changes: 14 additions & 10 deletions architecture/providers_database_architecture/host.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Host model documentation

OpenstackInfra host is tied to Ironic service, allowing management and
inventory collection over Ironic API.

* Table: hosts
* Used in: Kvm, Microsoft, Redhat, Vmware
* Used in: Kvm, Microsoft, Redhat, Vmware, OpenstackInfra
* STI models:
* HostOpenstackInfra
* HostKvm
* HostMicrosoft
* HostRedhat
Expand All @@ -11,19 +15,19 @@

| Column | Type | Used in | Comment |
| ----------------------- | --------- | ----------------- | ------- |
| name | string | | |
| name | string | OpenstackInfra | Name of the host |
| hostname | string | | |
| ipaddress | string | | |
| ipaddress | string | OpenstackInfra | IP address of the host |
| vmm_vendor | string | | |
| vmm_version | string | | |
| vmm_product | string | | |
| vmm_buildnumber | string | | |
| created_on | datetime | | |
| updated_on | datetime | | |
| created_on | datetime | All | Created on timestamp of ManageIQ object |
| updated_on | datetime | All | Updated on timestamp of ManageIQ object |
| guid | string | | |
| ems_id | integer | | |
| ems_id | integer | All | ForeignKey |
| user_assigned_os | string | | |
| power_state | string | | |
| power_state | string | OpenstackInfra | Power state of the host |
| smart | integer | | |
| settings | string | | |
| last_perf_capture_on | datetime | | |
Expand All @@ -34,9 +38,9 @@
| admin_disabled | boolean | | |
| service_tag | string | | |
| asset_tag | string | | |
| ipmi_address | string | | |
| mac_address | string | | |
| type | string | | STI class |
| ipmi_address | string | OpenstackInfra | IP address of IPMI interface of the host |
| mac_address | string | OpenstackInfra | Mac address of the host |
| type | string | All | STI class |
| failover | boolean | | |
| ems_ref | string | | |
| hyperthreading | boolean | | |
Expand Down

0 comments on commit e3a2c50

Please sign in to comment.