def clean_ceph_remote(ips): config_api = ConfigAPI() for remot_node in ips: ssh_obj = ssh() ssh_obj.call_command( remot_node, " python {} ".format(config_api.get_node_clean_script_path()))
def clean_ceph_local(): config_api = ConfigAPI() call_cmd(" python {} ".format(config_api.get_node_clean_script_path()))