????

Your IP : 216.73.217.84


Current Path : /lib/python3.9/site-packages/ipalib/install/__pycache__/
Upload File :
Current File : //lib/python3.9/site-packages/ipalib/install/__pycache__/hostname.cpython-39.opt-1.pyc

a

}�fp�@sVdZddlmZddlmZddlmZddlmZddlm	Z	Gdd	�d	ej
�Zd
S)z
Host name installer module
�)�typing)�knob)�CheckedIPAddress�)�service)�prepare_onlyc@szeZdZdZeejeddddd�Ze	e�Zej
dd��Zedd	d
�Ze	e�Zeddd
�Ze	e�Zeddd
�Z
e	e
�Z
dS)
�HostNameInstallInterfacezi
    Interface common to all service installers which create DNS address
    records for `host_name`
    NzVSpecify IP address that should be added to DNS. This option can be used multiple timesz--ip-addressZ
IP_ADDRESS)�descriptionZ	cli_namesZcli_metavarcCsP|D]F}zt|�WqtyH}ztd�||���WYd}~qd}~00qdS)Nzinvalid IP address {0}: {1})r�	Exception�
ValueError�format)�self�values�value�e�r�;/usr/lib/python3.9/site-packages/ipalib/install/hostname.py�ip_addresses s�z%HostNameInstallInterface.ip_addresseszJAll routable IP addresses configured on any interface will be added to DNS)r	z6Do not use DNS for hostname lookup during installationz/do not wait until the host is resolvable in DNS)�__name__�
__module__�__qualname__�__doc__rr�ListrrrZ	validatorZall_ip_addressesZno_host_dnsZno_wait_for_dnsrrrrrs2
�
���rN)rZipapython.installrZipapython.install.corerZipapython.ipautilr�rrZServiceInstallInterfacerrrrr�<module>s