def ex_delete_anti_affinity_rule(self, anti_affinity_rule):
        rule_id = self._anti_affinity_rule_to_anti_affinity_rule_id(
            anti_affinity_rule)
        result = self.connection.request_with_orgId_api_1(
            'antiAffinityRule/%s?delete' % (rule_id),
            method='GET').object
        response_code = findtext(result, 'result', GENERAL_NS)
        return response_code in ['IN_PROGRESS', 'SUCCESS']
Remove anti affinity rule
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_delete_anti_affinity_rule