| Server IP : 43.141.50.122 / Your IP : 113.219.202.173 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/sources/__pycache__/ |
Upload File : |
�
hg�d�= � � � d dl Z d dlZd dlZd dlZd dlmZ d dlZd dlmZ d dl m
Z
d dlmZ d dl
mZ d dl
mZ d dl
mZmZmZmZ d d lmZmZ d d
lmZ d dlmZmZ d dlmZ d d
lm Z ej! e"� � Z#ddgZ$dZ%dZ&dZ' G d� dej( j) � � Z*d� Z+d� Z, G d� dej- � � Z.e.ej/ ffgZ0d� Z1dS )� N)�urlparse)�ConnectionError)�HTTPConnection)�PoolManager)�dmi)�log)�net�sources�
url_helper�util)�
EventScope� EventType)�NoDHCPLeaseError)�EphemeralDHCPv4�EphemeralIPv6Network)�DataSourceHostname)�ProcessExecutionErrorzhttp://169.254.42.42zhttp://[fd00:42::42]� � �
c �* � � e Zd ZdZ� fd�Zdd�Z� xZS )�SourceAddressAdapterzF
Adapter for requests to choose the local address to bind to.
c �V �� || _ t t | � � j di |�� d S )N� )�source_address�superr �__init__)�selfr �kwargs� __class__s ��I/usr/lib/python3.11/site-packages/cloudinit/sources/DataSourceScaleway.pyr zSourceAddressAdapter.__init__, s5 �� �,���2��"�D�)�)�2�<�<�V�<�<�<�<�<� Fc � � t j t j t j dfgz }t |||| j |�� � | _ d S )N� )� num_pools�maxsize�blockr �socket_options)r �default_socket_options�socket�
SOL_SOCKET�SO_REUSEPORTr r �poolmanager)r �connectionsr&