Пример #1
0
 def unregister_ip(self, ips):
     self.update_ips(ips, add=False)
     for ip in ips:
         self.zk_conn.delete(paths.drop_ip(ip))
Пример #2
0
 def drop_ip_address(self, ip_address):
     self.zk_conn.write(paths.drop_ip(ip_address), "")