Merge "Add note to ComputeNode.numa_topology"

This commit is contained in:
Jenkins 2016-01-21 02:59:52 +00:00 committed by Gerrit Code Review
commit 3b2c87e259
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ class ComputeNode(base.NovaPersistentObject, base.NovaObject,
'metrics': fields.StringField(nullable=True),
'stats': fields.DictOfNullableStringsField(nullable=True),
'host_ip': fields.IPAddressField(nullable=True),
# TODO(rlrossit): because of history, numa_topology is held here as a
# StringField, not a NUMATopology object. In version 2 of ComputeNode
# this will be converted over to a fields.ObjectField('NUMATopology')
'numa_topology': fields.StringField(nullable=True),
# NOTE(pmurray): the supported_hv_specs field maps to the
# supported_instances field in the database