'Gets the cluster peering policy configuration.'

def get_cluster_peer_policy(self):

    if (not self.features.CLUSTER_PEER_POLICY):
        return {}
    result = self.send_request('cluster-peer-policy-get')
    attributes = (result.get_child_by_name('attributes') or netapp_api.NaElement('none'))
    cluster_peer_policy = (attributes.get_child_by_name('cluster-peer-policy') or netapp_api.NaElement('none'))
    policy = {'is-unauthenticated-access-permitted': cluster_peer_policy.get_child_content('is-unauthenticated-access-permitted'), 'passphrase-minimum-length': cluster_peer_policy.get_child_content('passphrase-minimum-length')}
    if (policy['is-unauthenticated-access-permitted'] is not None):
        policy['is-unauthenticated-access-permitted'] = strutils.bool_from_string(policy['is-unauthenticated-access-permitted'])
    if (policy['passphrase-minimum-length'] is not None):
        policy['passphrase-minimum-length'] = int(policy['passphrase-minimum-length'])
    return policy
