Current Dir: /snap/core22/2955/usr/lib/python3/dist-packages/cloudinit/config/__pycache__/
[FILE] cc_ansible.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_apk_configure.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_apt_configure.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_apt_pipelining.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_bootcmd.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_byobu.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_ca_certs.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_chef.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_disable_ec2_metadata.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_disk_setup.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_fan.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_final_message.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_growpart.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_grub_dpkg.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_install_hotplug.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_keyboard.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_keys_to_console.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_landscape.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_locale.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_lxd.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_mcollective.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_mounts.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_ntp.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_package_update_upgrade_install.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_phone_home.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_power_state_change.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_puppet.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_raspberry_pi.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_reset_rmc.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_resizefs.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_resolv_conf.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_rh_subscription.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_rsyslog.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_runcmd.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_salt_minion.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_scripts_per_boot.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_scripts_per_instance.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_scripts_per_once.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_scripts_user.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_scripts_vendor.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_seed_random.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_set_hostname.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_set_passwords.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_snap.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_spacewalk.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_ssh.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_ssh_authkey_fingerprints.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_ssh_import_id.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_timezone.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_ubuntu_autoinstall.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_ubuntu_drivers.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_ubuntu_pro.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_update_etc_hosts.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_update_hostname.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_users_groups.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_wireguard.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_write_files.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_write_files_deferred.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_yum_add_repo.cpython-310.pyc [ edit | delete | rename ]
[FILE] cc_zypper_add_repo.cpython-310.pyc [ edit | delete | rename ]
[FILE] modules.cpython-310.pyc [ edit | delete | rename ]
[FILE] schema.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2955/usr/lib/python3/dist-packages/cloudinit/config/__pycache__/schema.cpython-310.pyc
o
��i
� � @ s6 d Z ddlZddlZddlZddlZddlZddlZddlZddlZ ddl
mZ ddlm
Z
ddlmZ ddlmZ ddlmZ ddlmZ dd lmZmZmZmZmZmZmZmZ ddlZdd
l m!Z!m"Z"m#Z#m$Z$ ddl%m&Z& ddl'm(Z(m)Z) dd
l*m+Z+ ddl,m-Z- ddl.m/Z/ ddl0m1Z1 ddl2m3Z3m4Z4 zddl5m6Z6 W n e7y� e8Z6Y nw zddl9m:Z:m;Z; dZ<W n e7y� dZ<Y nw e�=e>�Z?dZ@dZAdZBdZCdZDeEdd� e(�F� D ��ZGer�ddlZddlHmIZImJZJ G dd� deJ�ZKneLZKG d d!� d!e6�ZMG d"d#� d#e�ZNeeN ZOG d$d%� d%e�ZPePjQd&eAiePjRd&eCiePjSd&eBiePjTd&eCiiZUG d'd(� d(e�ZVG d)d*� d*e�ZWG d+d,� d,e�ZXdd-d.�d/eOd0eeY d1eYd2eYfd3d4�ZZG d5d6� d6e[�Z\G d7d8� d8e\�Z]d9d:� Z^ d�d;eLd2eYfd<d=�Z_d2ee6 fd>d?�Z`eMfdead@eLdAeYdBee8 fdCdD�ZbeMfdBee8 fdEdF�ZceMfdBee8 fdGdH�ZddIdJ� Zed�d@eLfdKdL�ZfdMeLd2eeg fdNdO�Zh d�dMeLdPeadQeadRead2eaf
dSdT�ZidUdV� Zjd@eLdWeafdXdY�Zke#�ldZ�dePjQddddfd;eLd@eeL d[ePdPeadWeadRead\ead2eafd]d^��ZmG d_d`� d`�Znddda�dbeYdceLddeeO deeeO d2eeYeof f
dfdg�ZpdheYd2eeN fdidj�Zq d�dkeYdheYdleeY d2eXfdmdn�ZrePjQddfdkeYd@eLd[ePdQeadleeY d2eafdodp�Zsd2eYfdqdr�ZtePjQfd[ePd2eLfdsdt�Zud�dudv�Zvdwdx� Zwd2eeYeeW f fdydz�Zxd{d|� Zyd2eYfd}d~�Zzdd�� Z{e>d�k�r�e�|e{� � dS dS )�zFschema.py: Set of module functions for processing cloud-config schema.� N)�defaultdict)�suppress)�deepcopy)�Enum)�EACCES)�partial)�
TYPE_CHECKING�DefaultDict�List�
NamedTuple�Optional�Tuple�Type�Union)�features� lifecycle�performance�safeyaml)�read_cfg_paths)�INCLUSION_TYPES_MAP�type_from_starts_with)�Paths)�error)�DataSourceNotFoundException)�mkdtemp)�load_text_file�
write_file)�ValidationError)�NetplanParserException�ParserTFzUhttps://raw.githubusercontent.com/canonical/cloud-init/main/cloudinit/config/schemas/zschema-cloud-config-v1.jsonzschema-network-config-v1.jsonzschema-network-config-v2.json�
deprecatedc C s g | ]
}|d dkr|�qS )r �#� )�.0�tr"