| Server IP : 3.138.164.131 / Your IP : 216.73.216.136 Web Server : Apache System : Linux ns1.techtime.me 4.18.0-147.8.1.el8.lve.1.x86_64 #1 SMP Mon Jun 29 09:55:57 EDT 2020 x86_64 User : injazaat ( 1471) PHP Version : 8.1.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF 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|�||<