D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
python3.9
/
site-packages
/
ipalib
/
install
/
__pycache__
/
Filename :
hostname.cpython-39.opt-1.pyc
back
Copy
a }�fp � @ sV d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z G dd � d ej �Zd S )z Host name installer module � )�typing)�knob)�CheckedIPAddress� )�service)�prepare_onlyc @ sz e Zd ZdZeeje ddddd�Ze e�Zej dd� �Zedd d �Ze e�Zeddd �Ze e�Zeddd �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_metavarc C sP |D ]F}zt |� W q tyH } ztd�||���W Y d }~qd }~0 0 qd S )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__r r �Listr r r Z validatorZall_ip_addressesZno_host_dnsZno_wait_for_dnsr r r r r s2 � ���r N)r Zipapython.installr Zipapython.install.corer Zipapython.ipautilr � r r ZServiceInstallInterfacer r r r r �<module> s