'Modifies the cluster peering policy configuration.'

def set_cluster_peer_policy(self, is_unauthenticated_access_permitted=None, passphrase_minimum_length=None):

    if (not self.features.CLUSTER_PEER_POLICY):
        return
    if ((is_unauthenticated_access_permitted is None) and (passphrase_minimum_length is None)):
        return
    api_args = {}
    if (is_unauthenticated_access_permitted is not None):
        api_args['is-unauthenticated-access-permitted'] = ('true' if strutils.bool_from_string(is_unauthenticated_access_permitted) else 'false')
    if (passphrase_minimum_length is not None):
        api_args['passphrase-minlength'] = six.text_type(passphrase_minimum_length)
    self.send_request('cluster-peer-policy-modify', api_args)
