Server IP : 184.154.167.98 / Your IP : 3.136.19.103 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/cloudinit/sources/azure/__pycache__/ |
Upload File : |
3 \�meX � @ s� d dl Z d dlmZ d dlmZ d dlmZ d dlmZmZ d dl m Z mZ e je �Zeej d�dd �Zeed �dd�Ze jed �dd�Zed�dd�ZdS )� N)�datetime)�Optional)�version)�handlers�instantiated_handler_registry)�errors�identity)�returnc C s t jjd�} t| tj�sdS | S )z'Get instantiated KVP telemetry handler.Z telemetryN)r Zregistered_items�get� isinstancer �HyperVKvpReportingHandler)�kvp_handler� r �/usr/lib/python3.6/kvp.py�get_kvp_handler s r )�reportr c C s, t � }|dkrtjd� dS |jd| � dS )z/Report to host via PROVISIONING_REPORT KVP key.Nz.KVP handler not enabled, skipping host report.FZPROVISIONING_REPORTT)r �LOG�debugZ write_key)r r r r r �report_via_kvp s r )�errorr c C s t | j� �S )N)r Zas_encoded_report)r r r r �report_failure_to_host&