| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/cloudinit/sources/__pycache__/ |
Upload File : |
�
x[h�: � � � 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&