'Creates a cluster peer relationship.'

def create_cluster_peer(self, addresses, username=None, password=None, passphrase=None):

    api_args = {'peer-addresses': [{'remote-inet-address': address} for address in addresses]}
    if username:
        api_args['user-name'] = username
    if password:
        api_args['password'] = password
    if passphrase:
        api_args['passphrase'] = passphrase
    self.send_request('cluster-peer-create', api_args)
