def unregister_ip(self, ips): self.update_ips(ips, add=False) for ip in ips: self.zk_conn.delete(paths.drop_ip(ip))
def drop_ip_address(self, ip_address): self.zk_conn.write(paths.drop_ip(ip_address), "")