'Delete an Anti Affinity Policy using the CLC API.
:param p: datacenter to delete a policy from
:return: none'

def _delete_policy(self, p):

    try:
        policy = self.policy_dict[p['name']]
        policy.Delete()
    except CLCException as ex:
        self.module.fail_json(msg='Failed    to    delete    anti    affinity    policy    :    {0}.    {1}'.format(p['name'], ex.response_text))
