summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/conncheck.py
blob: 132e2fedc1ea68d69f519b4e7eabc28104bcf0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Copyright (C) 2016  FreeIPA Contributors see COPYING for license
#

"""
Connection check module
"""

from ipalib.install import service
from ipalib.install.service import enroll_only, replica_install_only
from ipapython.install.core import knob


class ConnCheckInterface(service.ServiceAdminInstallInterface):
    """
    Interface common to all installers which perform connection check to the
    remote master.
    """

    skip_conncheck = knob(
        None,
        description="skip connection check to remote master",
    )
    skip_conncheck = enroll_only(skip_conncheck)
    skip_conncheck = replica_install_only(skip_conncheck)