def delete_ptr_records(self, device, ip_address=None):
        device_type = self._resolve_device_type(device)
        href, svc_name = self._get_ptr_details(device, device_type)
        uri = "/rdns/%s?href=%s" % (svc_name, href)
        if ip_address:
            uri = "%s&ip=%s" % (uri, ip_address)
        resp, resp_body = self._async_call(uri, method="DELETE",
                has_response=False,
                error_class=exc.PTRRecordDeletionFailed)
        return resp_body.get("status") == "COMPLETED"
Only work on POSIX-like systems, which have parted and lsblk installed.
dataset/ETHPy150Open rackspace/pyrax/pyrax/clouddns.py/CloudDNSManager.delete_ptr_records--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/parted.py/__virtual__