| Server IP : 43.141.49.119 / Your IP : 113.219.202.141 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.11/site-packages/cloudinit/__pycache__/ |
Upload File : |
�
hg�d1 � � � d Z ddlmZ ddlmZmZ ddlmZ ej e
� � Z G d� de� � Z G d� de� � Z
d ed
eeee
f fd�ZdS )
z0Classes and functions related to event handling.� )�Enum)�Dict�Set)�logc � � e Zd ZdZd� ZdS )�
EventScope�networkc � � | j S �N��value��selfs �4/usr/lib/python3.11/site-packages/cloudinit/event.py�__str__zEventScope.__str__ �
� ��z�� N)�__name__�
__module__�__qualname__�NETWORKr � r r r r s* � � � � � � �G�� � � � r r c �( � e Zd ZdZdZdZdZdZd� ZdS )� EventTypezCEvent types which can generate maintenance requests for cloud-init.�bootzboot-new-instancezboot-legacy�hotplugc � � | j S r r r s r r zEventType.__str__# r r N) r r r �__doc__�BOOT�BOOT_NEW_INSTANCE�BOOT_LEGACY�HOTPLUGr r r r r r s@ � � � � � �M�M� �D�+���K��G�� � � � r r �user_config�returnc � � i }| � � � D ]�\ }} t |� � }n@# t $ r3}t � dt |� � |� � Y d}~�Nd}~ww xY w d� |d D � � }nB# t $ r5}t � dt |� � |� � g }Y d}~nd}~ww xY wt
|� � ||<