OlvmCpuTopology¶
-
class
oci.cloud_migrations.models.OlvmCpuTopology(**kwargs)¶ Bases:
objectCPU Topology in OLVM
Methods
__init__(**kwargs)Initializes a new OlvmCpuTopology object with values from keyword arguments. Attributes
coresGets the cores of this OlvmCpuTopology. socketsGets the sockets of this OlvmCpuTopology. threadsGets the threads of this OlvmCpuTopology. -
__init__(**kwargs)¶ Initializes a new OlvmCpuTopology object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - cores (int) – The value to assign to the cores property of this OlvmCpuTopology.
- sockets (int) – The value to assign to the sockets property of this OlvmCpuTopology.
- threads (int) – The value to assign to the threads property of this OlvmCpuTopology.
-
cores¶ Gets the cores of this OlvmCpuTopology. Number of cores
Returns: The cores of this OlvmCpuTopology. Return type: int
-
sockets¶ Gets the sockets of this OlvmCpuTopology. Number of sockets
Returns: The sockets of this OlvmCpuTopology. Return type: int
-
threads¶ Gets the threads of this OlvmCpuTopology. Number of threads
Returns: The threads of this OlvmCpuTopology. Return type: int
-