Added missed "raises:" docstrings into numa_get_constraints() method
Change-Id: Ifc56b9edb63d5f77555d2f69ba96f759e4f114e5
This commit is contained in:
committed by
Timofey Durakov
parent
199d3d81ee
commit
bc2073ce88
@@ -1190,7 +1190,6 @@ def numa_get_constraints(flavor, image_meta):
|
||||
:param flavor: a flavor object to read extra specs from
|
||||
:param image_meta: nova.objects.ImageMeta object instance
|
||||
|
||||
:returns: InstanceNUMATopology or None
|
||||
:raises: exception.InvalidNUMANodesNumber if the number of NUMA
|
||||
nodes is less than 1 or not an integer
|
||||
:raises: exception.ImageNUMATopologyForbidden if an attempt is made
|
||||
@@ -1208,6 +1207,10 @@ def numa_get_constraints(flavor, image_meta):
|
||||
CPU given in a NUMA mapping is not valid
|
||||
:raises: exception.ImageNUMATopologyCPUDuplicates if an instance
|
||||
CPU is specified in CPU mappings for two NUMA nodes
|
||||
:raises: exception.ImageNUMATopologyCPUsUnassigned if an instance
|
||||
CPU given in a NUMA mapping is not assigned to any NUMA node
|
||||
:raises: exception.ImageNUMATopologyMemoryOutOfRange if sum of memory from
|
||||
each NUMA node is not equal with total requested memory
|
||||
:raises: exception.ImageCPUPinningForbidden if a CPU policy
|
||||
specified in a flavor conflicts with one defined in image
|
||||
metadata
|
||||
|
||||
Reference in New Issue
Block a user