'Gets one or more Vserver peer relationships.'

def get_vserver_peers(self, vserver_name=None, peer_vserver_name=None):

    api_args = None
    if (vserver_name or peer_vserver_name):
        api_args = {'query': {'vserver-peer-info': {}}}
        if vserver_name:
            api_args['query']['vserver-peer-info']['vserver'] = vserver_name
        if peer_vserver_name:
            api_args['query']['vserver-peer-info']['peer-vserver'] = peer_vserver_name
    result = self.send_iter_request('vserver-peer-get-iter', api_args)
    if (not self._has_records(result)):
        return []
    vserver_peers = []
    for vserver_peer_info in result.get_child_by_name('attributes-list').get_children():
        vserver_peer = {'vserver': vserver_peer_info.get_child_content('vserver'), 'peer-vserver': vserver_peer_info.get_child_content('peer-vserver'), 'peer-state': vserver_peer_info.get_child_content('peer-state'), 'peer-cluster': vserver_peer_info.get_child_content('peer-cluster')}
        vserver_peers.append(vserver_peer)
    return vserver_peers
