'Get the ring object to use to handle a request based on its policy.
:param policy_idx: policy index as defined in swift.conf
:returns: appropriate ring object'

def get_object_ring(self, policy_idx):

    return POLICIES.get_object_ring(policy_idx, self.swift_dir)
