From e3a2c506e07fc727a34ec952f7591b3082c98a08 Mon Sep 17 00:00:00 2001 From: Ladislav Smola Date: Thu, 8 Jan 2015 12:52:10 +0100 Subject: [PATCH] Add OpenStack host model doc Adding openstack host model doc, describing what collumns will be filled by attributes available from OpenStack Ironic service. --- .../providers_database_architecture.md | 1 + .../providers_database_architecture/host.md | 24 +++++++++++-------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/architecture/providers_database_architecture.md b/architecture/providers_database_architecture.md index 3f22cb77..e622b64d 100644 --- a/architecture/providers_database_architecture.md +++ b/architecture/providers_database_architecture.md @@ -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 diff --git a/architecture/providers_database_architecture/host.md b/architecture/providers_database_architecture/host.md index 6cc298e4..13e4f8ce 100644 --- a/architecture/providers_database_architecture/host.md +++ b/architecture/providers_database_architecture/host.md @@ -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 @@ -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 | | | @@ -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 | | |