OlvmCpu

class oci.cloud_migrations.models.OlvmCpu(**kwargs)

Bases: object

CPU attributes in OLVM

Attributes:

ARCHITECTURE_AARCH64

A constant which can be used with the architecture property of a OlvmCpu.

ARCHITECTURE_PPC64

A constant which can be used with the architecture property of a OlvmCpu.

ARCHITECTURE_S390_X

A constant which can be used with the architecture property of a OlvmCpu.

ARCHITECTURE_UNDEFINED

A constant which can be used with the architecture property of a OlvmCpu.

ARCHITECTURE_X86_64

A constant which can be used with the architecture property of a OlvmCpu.

MODE_CUSTOM

A constant which can be used with the mode property of a OlvmCpu.

MODE_HOST_MODEL

A constant which can be used with the mode property of a OlvmCpu.

MODE_HOST_PASSTHROUGH

A constant which can be used with the mode property of a OlvmCpu.

architecture

Gets the architecture of this OlvmCpu.

core

Gets the core of this OlvmCpu.

cpu_topology

Gets the cpu_topology of this OlvmCpu.

cpu_tune

Gets the cpu_tune of this OlvmCpu.

level

Gets the level of this OlvmCpu.

mode

Gets the mode of this OlvmCpu.

name

Gets the name of this OlvmCpu.

speed

Gets the speed of this OlvmCpu.

type

Gets the type of this OlvmCpu.

Methods:

__init__(**kwargs)

Initializes a new OlvmCpu object with values from keyword arguments.

ARCHITECTURE_AARCH64 = 'AARCH64'

A constant which can be used with the architecture property of a OlvmCpu. This constant has a value of “AARCH64”

ARCHITECTURE_PPC64 = 'PPC64'

A constant which can be used with the architecture property of a OlvmCpu. This constant has a value of “PPC64”

ARCHITECTURE_S390_X = 'S390X'

A constant which can be used with the architecture property of a OlvmCpu. This constant has a value of “S390X”

ARCHITECTURE_UNDEFINED = 'UNDEFINED'

A constant which can be used with the architecture property of a OlvmCpu. This constant has a value of “UNDEFINED”

ARCHITECTURE_X86_64 = 'X86_64'

A constant which can be used with the architecture property of a OlvmCpu. This constant has a value of “X86_64”

MODE_CUSTOM = 'CUSTOM'

A constant which can be used with the mode property of a OlvmCpu. This constant has a value of “CUSTOM”

MODE_HOST_MODEL = 'HOST_MODEL'

A constant which can be used with the mode property of a OlvmCpu. This constant has a value of “HOST_MODEL”

MODE_HOST_PASSTHROUGH = 'HOST_PASSTHROUGH'

A constant which can be used with the mode property of a OlvmCpu. This constant has a value of “HOST_PASSTHROUGH”

__init__(**kwargs)

Initializes a new OlvmCpu object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • architecture (str) – The value to assign to the architecture property of this OlvmCpu. Allowed values for this property are: “AARCH64”, “PPC64”, “S390X”, “UNDEFINED”, “X86_64”

  • core (list[oci.cloud_migrations.models.OlvmCore]) – The value to assign to the core property of this OlvmCpu.

  • cpu_tune (oci.cloud_migrations.models.OlvmCpuTune) – The value to assign to the cpu_tune property of this OlvmCpu.

  • level (int) – The value to assign to the level property of this OlvmCpu.

  • mode (str) – The value to assign to the mode property of this OlvmCpu. Allowed values for this property are: “CUSTOM”, “HOST_MODEL”, “HOST_PASSTHROUGH”

  • name (str) – The value to assign to the name property of this OlvmCpu.

  • speed (float) – The value to assign to the speed property of this OlvmCpu.

  • cpu_topology (oci.cloud_migrations.models.OlvmCpuTopology) – The value to assign to the cpu_topology property of this OlvmCpu.

  • type (str) – The value to assign to the type property of this OlvmCpu.

property architecture

Gets the architecture of this OlvmCpu. CPU architecture

Allowed values for this property are: “AARCH64”, “PPC64”, “S390X”, “UNDEFINED”, “X86_64”

Returns

The architecture of this OlvmCpu.

Return type

str

property core

Gets the core of this OlvmCpu. List of cores of this CPU

Returns

The core of this OlvmCpu.

Return type

list[oci.cloud_migrations.models.OlvmCore]

property cpu_topology

Gets the cpu_topology of this OlvmCpu.

Returns

The cpu_topology of this OlvmCpu.

Return type

oci.cloud_migrations.models.OlvmCpuTopology

property cpu_tune

Gets the cpu_tune of this OlvmCpu.

Returns

The cpu_tune of this OlvmCpu.

Return type

oci.cloud_migrations.models.OlvmCpuTune

property level

Gets the level of this OlvmCpu. Level of this CPU

Returns

The level of this OlvmCpu.

Return type

int

property mode

Gets the mode of this OlvmCpu. CPU mode

Allowed values for this property are: “CUSTOM”, “HOST_MODEL”, “HOST_PASSTHROUGH”

Returns

The mode of this OlvmCpu.

Return type

str

property name

Gets the name of this OlvmCpu. A human-readable name in plain text.

Returns

The name of this OlvmCpu.

Return type

str

property speed

Gets the speed of this OlvmCpu. Speed of this CPU

Returns

The speed of this OlvmCpu.

Return type

float

property type

Gets the type of this OlvmCpu. CPU type

Returns

The type of this OlvmCpu.

Return type

str