Merge "extend-node-status"

This commit is contained in:
Zuul
2017-11-29 13:35:54 +00:00
committed by Gerrit Code Review
14 changed files with 58 additions and 23 deletions

View File

@@ -248,7 +248,8 @@ class ModelBuilder(object):
"disk_capacity": node.local_gb,
"vcpus": node.vcpus,
"state": node.state,
"status": node.status}
"status": node.status,
"disabled_reason": compute_service.disabled_reason}
compute_node = element.ComputeNode(**node_attributes)
# compute_node = self._build_node("physical", "compute", "hypervisor",