File: //lib/python3/dist-packages/uaclient/files/__pycache__/notices.cpython-310.pyc
o
nHJe� � @ s� d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlm Z m
Z
mZmZm
Z
e �e
�e��Ze
�� Zedg d��ZG dd � d ee�ZG d
d� d�Zdadd
� Zdeddfdd�Zdeddfdd�Zdee fdd�ZdS )� N)�
namedtuple)�Enum)�List)�defaults�event_logger�messages�system�util�NoticeFileDetails)�order_id�label�is_permanent�messagec @ s e Zd Zeddddd�Zedddejd�Zedd d
ejd�Zedddej d�Z
ed
ddejd�Zeddd
ejd�Zedddej
d�Z
eddd
ejjd�Zeddd
ejd�Zeddd
ejd�Zedddejd�Zeddd
ejd�Zeddddd�Zedd dejd�Zed!d"d
ejd�Zd#S )$�Notice�reboot_required�10FzSystem reboot required)r r r
r �enable_reboot_required�11�reboot_script_failed�12T�fips_reboot_required�20�fips_system_reboot_required�21�fips_install_out_of_date�22�fips_disable_reboot_required�23�fips_proc_file_error�24�fips_manual_disable_url�25�wrong_fips_metapackage_on_cloud�lp_lts_reboot_required�30�contract_refresh_warning�40�operation_in_progress�60z"Operation in progress: {operation}�auto_attach_retry_full_notice�70�auto_attach_total_failure�71N)�__name__�
__module__�__qualname__r
�REBOOT_REQUIREDr �ENABLE_REBOOT_REQUIRED_TMPL�ENABLE_REBOOT_REQUIRED�REBOOT_SCRIPT_FAILED�FIPS_REBOOT_REQUIRED_MSG�FIPS_REBOOT_REQUIRED�FIPS_SYSTEM_REBOOT_REQUIRED�FIPS_INSTALL_OUT_OF_DATE�FIPS_DISABLE_REBOOT_REQUIRED�FIPS_PROC_FILE_ERROR�tmpl_msg�NOTICE_FIPS_MANUAL_DISABLE_URL�FIPS_MANUAL_DISABLE_URL�&NOTICE_WRONG_FIPS_METAPACKAGE_ON_CLOUD�WRONG_FIPS_METAPACKAGE_ON_CLOUD�LIVEPATCH_LTS_REBOOT_REQUIRED�NOTICE_REFRESH_CONTRACT_WARNING�CONTRACT_REFRESH_WARNING�OPERATION_IN_PROGRESS�AUTO_ATTACH_RETRY_NOTICE�AUTO_ATTACH_RETRY_FULL_NOTICE�&AUTO_ATTACH_RETRY_TOTAL_FAILURE_NOTICE�AUTO_ATTACH_RETRY_TOTAL_FAILURE� rG rG �8/usr/lib/python3/dist-packages/uaclient/files/notices.pyr s� ��������������
�r c @ s>