📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
core
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/core/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: amd_rome_bm_platform_config.pyc
a N��f: � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�PlatformConfig� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Zdd� Zdd� Zdd� Zd S )!�AmdRomeBmPlatformConfigz} The platform configuration of a bare metal instance that uses the BM.Standard.E3.128 shape (the AMD Rome platform). �NPS0�NPS1�NPS2�NPS4c K s~ ddddddddddd� | _ ddddd d ddd dd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )aV Initializes a new AmdRomeBmPlatformConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.core.models.AmdRomeBmPlatformConfig.type` attribute of this class is ``AMD_ROME_BM`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this AmdRomeBmPlatformConfig. Allowed values for this property are: "AMD_MILAN_BM", "AMD_ROME_BM", "AMD_ROME_BM_GPU", "INTEL_ICELAKE_BM", "INTEL_SKYLAKE_BM", "AMD_VM", "INTEL_VM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param is_secure_boot_enabled: The value to assign to the is_secure_boot_enabled property of this AmdRomeBmPlatformConfig. :type is_secure_boot_enabled: bool :param is_trusted_platform_module_enabled: The value to assign to the is_trusted_platform_module_enabled property of this AmdRomeBmPlatformConfig. :type is_trusted_platform_module_enabled: bool :param is_measured_boot_enabled: The value to assign to the is_measured_boot_enabled property of this AmdRomeBmPlatformConfig. :type is_measured_boot_enabled: bool :param numa_nodes_per_socket: The value to assign to the numa_nodes_per_socket property of this AmdRomeBmPlatformConfig. Allowed values for this property are: "NPS0", "NPS1", "NPS2", "NPS4", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type numa_nodes_per_socket: str :param is_symmetric_multi_threading_enabled: The value to assign to the is_symmetric_multi_threading_enabled property of this AmdRomeBmPlatformConfig. :type is_symmetric_multi_threading_enabled: bool :param is_access_control_service_enabled: The value to assign to the is_access_control_service_enabled property of this AmdRomeBmPlatformConfig. :type is_access_control_service_enabled: bool :param are_virtual_instructions_enabled: The value to assign to the are_virtual_instructions_enabled property of this AmdRomeBmPlatformConfig. :type are_virtual_instructions_enabled: bool :param is_input_output_memory_management_unit_enabled: The value to assign to the is_input_output_memory_management_unit_enabled property of this AmdRomeBmPlatformConfig. :type is_input_output_memory_management_unit_enabled: bool :param percentage_of_cores_enabled: The value to assign to the percentage_of_cores_enabled property of this AmdRomeBmPlatformConfig. :type percentage_of_cores_enabled: int �str�bool�int) �type�is_secure_boot_enabled�"is_trusted_platform_module_enabled�is_measured_boot_enabled�numa_nodes_per_socket�$is_symmetric_multi_threading_enabled�!is_access_control_service_enabled� are_virtual_instructions_enabled�.is_input_output_memory_management_unit_enabled�percentage_of_cores_enabledr �isSecureBootEnabled�isTrustedPlatformModuleEnabled�isMeasuredBootEnabled�numaNodesPerSocket� isSymmetricMultiThreadingEnabled�isAccessControlServiceEnabled�areVirtualInstructionsEnabled�(isInputOutputMemoryManagementUnitEnabled�percentageOfCoresEnabledN�AMD_ROME_BM)� swagger_types� attribute_map�_type�_is_secure_boot_enabled�#_is_trusted_platform_module_enabled�_is_measured_boot_enabled�_numa_nodes_per_socket�%_is_symmetric_multi_threading_enabled�"_is_access_control_service_enabled�!_are_virtual_instructions_enabled�/_is_input_output_memory_management_unit_enabled�_percentage_of_cores_enabled)�self�kwargs� r2 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/amd_rome_bm_platform_config.py�__init__ sB 4�� z AmdRomeBmPlatformConfig.__init__c C s | j S )a� Gets the numa_nodes_per_socket of this AmdRomeBmPlatformConfig. The number of NUMA nodes per socket (NPS). Allowed values for this property are: "NPS0", "NPS1", "NPS2", "NPS4", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The numa_nodes_per_socket of this AmdRomeBmPlatformConfig. :rtype: str )r* �r0 r2 r2 r3 r y s z-AmdRomeBmPlatformConfig.numa_nodes_per_socketc C s g d�}t ||�sd}|| _dS )z� Sets the numa_nodes_per_socket of this AmdRomeBmPlatformConfig. The number of NUMA nodes per socket (NPS). :param numa_nodes_per_socket: The numa_nodes_per_socket of this AmdRomeBmPlatformConfig. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r* )r0 r �allowed_valuesr2 r2 r3 r � s c C s | j S )a Gets the is_symmetric_multi_threading_enabled of this AmdRomeBmPlatformConfig. Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading. Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads. :return: The is_symmetric_multi_threading_enabled of this AmdRomeBmPlatformConfig. :rtype: bool �r+ r5 r2 r2 r3 r � s z<AmdRomeBmPlatformConfig.is_symmetric_multi_threading_enabledc C s || _ dS )a0 Sets the is_symmetric_multi_threading_enabled of this AmdRomeBmPlatformConfig. Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading. Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads. :param is_symmetric_multi_threading_enabled: The is_symmetric_multi_threading_enabled of this AmdRomeBmPlatformConfig. :type: bool Nr8 )r0 r r2 r2 r3 r � s c C s | j S )a� Gets the is_access_control_service_enabled of this AmdRomeBmPlatformConfig. Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through. :return: The is_access_control_service_enabled of this AmdRomeBmPlatformConfig. :rtype: bool �r, r5 r2 r2 r3 r � s z9AmdRomeBmPlatformConfig.is_access_control_service_enabledc C s || _ dS )a� Sets the is_access_control_service_enabled of this AmdRomeBmPlatformConfig. Whether the Access Control Service is enabled on the instance. When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through. :param is_access_control_service_enabled: The is_access_control_service_enabled of this AmdRomeBmPlatformConfig. :type: bool Nr9 )r0 r r2 r2 r3 r � s c C s | j S )aZ Gets the are_virtual_instructions_enabled of this AmdRomeBmPlatformConfig. Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes. :return: The are_virtual_instructions_enabled of this AmdRomeBmPlatformConfig. :rtype: bool �r- r5 r2 r2 r3 r � s z8AmdRomeBmPlatformConfig.are_virtual_instructions_enabledc C s || _ dS )ay Sets the are_virtual_instructions_enabled of this AmdRomeBmPlatformConfig. Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes. :param are_virtual_instructions_enabled: The are_virtual_instructions_enabled of this AmdRomeBmPlatformConfig. :type: bool Nr: )r0 r r2 r2 r3 r � s c C s | j S )a* Gets the is_input_output_memory_management_unit_enabled of this AmdRomeBmPlatformConfig. Whether the input-output memory management unit is enabled. :return: The is_input_output_memory_management_unit_enabled of this AmdRomeBmPlatformConfig. :rtype: bool �r. r5 r2 r2 r3 r � s zFAmdRomeBmPlatformConfig.is_input_output_memory_management_unit_enabledc C s || _ dS )aW Sets the is_input_output_memory_management_unit_enabled of this AmdRomeBmPlatformConfig. Whether the input-output memory management unit is enabled. :param is_input_output_memory_management_unit_enabled: The is_input_output_memory_management_unit_enabled of this AmdRomeBmPlatformConfig. :type: bool Nr; )r0 r r2 r2 r3 r � s c C s | j S )a Gets the percentage_of_cores_enabled of this AmdRomeBmPlatformConfig. The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores. If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled. :return: The percentage_of_cores_enabled of this AmdRomeBmPlatformConfig. :rtype: int �r/ r5 r2 r2 r3 r s z3AmdRomeBmPlatformConfig.percentage_of_cores_enabledc C s || _ dS )a" Sets the percentage_of_cores_enabled of this AmdRomeBmPlatformConfig. The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores. If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled. :param percentage_of_cores_enabled: The percentage_of_cores_enabled of this AmdRomeBmPlatformConfig. :type: int Nr<