Executes an RPC request over the NX-API.

def rpc(commands, method='cli', **kwargs):
    '''
    Executes an RPC request over the NX-API.
    '''
    conn_args = nxos_device['conn_args']
    conn_args.update(kwargs)
    return __utils__['nxos_api.rpc'](commands, method=method, **conn_args)