| Server IP : 159.69.118.108 / Your IP : 216.73.216.231 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-4gb-fsn1-1 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 13:53:54 UTC 2025 aarch64 User : root ( 0) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/cloudinit/sources/__pycache__/ |
Upload File : |
�
��i�5 � � � d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlZd dlm Z d dl
mZ d dlm
Z
d dlmZmZmZmZmZ d dlmZmZ d dlmZ d d lmZmZ d d
lmZ d dlmZ ej@ e!� Z"dd
gZ#dZ$dZ%dZ& G d� dejN jP � Z)d� Z*d� Z+ G d� dejX � Z-e-ej\ ffgZ/d� Z0y)� N)�urlparse)�ConnectionError)�HTTPConnection)�PoolManager)�dmi�performance�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 �: �� || _ t t | � di |�� y )N� )�source_address�superr �__init__)�selfr �kwargs� __class__s ��F/usr/lib/python3/dist-packages/cloudinit/sources/DataSourceScaleway.pyr zSourceAddressAdapter.__init__+ s �� �,���
�"�D�2�<�V�<� c � � t j t j t j dfgz }t |||| j |�� | _ y )N� )� num_pools�maxsize�blockr �socket_options)r �default_socket_options�socket�
SOL_SOCKET�SO_REUSEPORTr r �poolmanager)r �connectionsr% r&