improve compute data model

Registered by licanwei on 2019-06-29

In the case of overcommit vcpu or mem. we can't get the exact free vcpu and mem because we can't get the allocation ratio from Nova API. Now allocation ratio for VCPU and Ram can get from placement API. we need to add some fields the compute data model.
there are allocation ratio for vcpu and ram, vcpu_used and mem_used. We can get the exact vcpu and mem info through these info.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
licanwei
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for train
Implementation:
Implemented
Milestone target:
milestone icon train-1
Started by
Dantali0n on 2019-09-05
Completed by
Dantali0n on 2019-09-05

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:bp/improve-compute-data-model

Addressed by: https://review.opendev.org/668639
    Improve Compute Data Model

Addressed by: https://review.opendev.org/668598
    [WiP] Improve Compute Data Model

Addressed by: https://review.opendev.org/672657
    Check resource class before using

Addressed by: https://review.opendev.org/672870
    Getting data from placement when updating datamodel

Addressed by: https://review.opendev.org/672928
    set disk field to disk capacity

Addressed by: https://review.opendev.org/673120
    replace disk_capacity by disk

Addressed by: https://review.opendev.org/673129
    Add resource capacity property

Addressed by: https://review.opendev.org/673195
    update node resource capacity for basic_consolidation

Addressed by: https://review.opendev.org/673232
    update host_maintenance strategy

Addressed by: https://review.opendev.org/673282
    update workload_balance strategy

Addressed by: https://review.opendev.org/674783
    update vm_workload_consolidation strategy

Addressed by: https://review.opendev.org/675020
    update outlet_temp_control strategy

Addressed by: https://review.opendev.org/675031
    update uniform_airflow strategy

Addressed by: https://review.opendev.org/675035
    update noisy_neighbor strategy

Addressed by: https://review.opendev.org/675065
    add releasenote for bp improve-compute-data-model

Addressed by: https://review.opendev.org/675067
    update improve-compute-data-model spec

Addressed by: https://review.opendev.org/675506
    Remove resource used fields from ComputeNode

Addressed by: https://review.opendev.org/675829
    Remove unused disk_capacity field

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.