Пример #1
0
def reconnect_agent(host):
    """ Reconnect a previously partitioned node to the network

        :param hostname: host or IP of the machine to partition from the cluster
    """

    network.restore_iptables(host)
Пример #2
0
def reconnect_agent(host):
    """ Reconnect a previously partitioned node to the network

        :param hostname: host or IP of the machine to partition from the cluster
    """

    network.restore_iptables(host)
Пример #3
0
def reconnect_master(master_ip):
    """ Reconnect a previously partitioned master to the network

    :param master_ip IP of the master to be reconnected
    """
    network.restore_iptables(master_ip)
Пример #4
0
def reconnect_master():
    """ Reconnect a previously partitioned master to the network
    """
    network.restore_iptables(shakedown.master_ip())