コード例 #1
0
ファイル: agent.py プロジェクト: shaurya10000/shakedown
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
ファイル: agent.py プロジェクト: dcos/shakedown
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
ファイル: master.py プロジェクト: wesleyhuang2014/marathon
def reconnect_master():
    """ Reconnect a previously partitioned master to the network
    """
    network.restore_iptables(shakedown.master_ip())