'Process the request - Main Code Path
:return: Returns with either an exit_json or fail_json'

def process_request(self):

    p = self.module.params
    self._set_clc_credentials_from_env()
    self.policy_dict = self._get_policies_for_datacenter(p)
    if (p['state'] == 'absent'):
        (changed, policy) = self._ensure_policy_is_absent(p)
    else:
        (changed, policy) = self._ensure_policy_is_present(p)
    if hasattr(policy, 'data'):
        policy = policy.data
    elif hasattr(policy, '__dict__'):
        policy = policy.__dict__
    self.module.exit_json(changed=changed, policy=policy)
