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)
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)
def reconnect_master(): """ Reconnect a previously partitioned master to the network """ network.restore_iptables(shakedown.master_ip())