Server IP : 23.254.227.96 / Your IP : 216.73.216.46 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.6/site-packages/cloudinit/__pycache__/ |
Upload File : |
3 ��b1 � @ sv d Z ddlmZ ddlmZmZ ddlmZ ej e �ZG dd� de�ZG dd� de�Z eeeee f d �d d�ZdS ) z0Classes and functions related to event handling.� )�Enum)�Dict�Set)�logc @ s e Zd ZdZdd� ZdS )� EventScopeZnetworkc C s | j S )N)�value)�self� r �/usr/lib/python3.6/event.py�__str__ s zEventScope.__str__N)�__name__� __module__�__qualname__ZNETWORKr r r r r r s r c @ s( e Zd ZdZdZdZdZdZdd� ZdS ) � EventTypezCEvent types which can generate maintenance requests for cloud-init.Zbootzboot-new-instancezboot-legacyZhotplugc C s | j S )N)r )r r r r r # s zEventType.__str__N) r r r �__doc__ZBOOTZBOOT_NEW_INSTANCEZBOOT_LEGACYZHOTPLUGr r r r r r s r )�user_config�returnc C s� i }x�| j � D ]�\}}yt|�}W n6 tk rX } ztjdt|�|� wW Y dd}~X nX ydd� |d D �}W n8 tk r� } ztjdt|�|� g }W Y dd}~X nX t|�||<