def _get_token(host, username, password):
 url = 'http://{}/cgi-bin/luci/rpc/auth'.format(host)
 return _req_json_rpc(url, 'login', username, password)

def _get_token ( host , username , password ) : url = 'http://{}/cgi-bin/luci/rpc/auth' . format ( host ) return _req_json_rpc ( url , 'login' , username , password )
get the auth token for this request .