Commit d0714422 authored by 류은제's avatar 류은제
Browse files

Update README.md

parent d0c3734e
...@@ -22,10 +22,10 @@ This is a api app which returns Backend.ai agent's current utilizations through ...@@ -22,10 +22,10 @@ This is a api app which returns Backend.ai agent's current utilizations through
Graphql api is used for fetching data from [ Backend.ai manager hub server ]. Graphql api is used for fetching data from [ Backend.ai manager hub server ].
"generate_signature()" function generates all the signature needed for the connections with Backend.ai manager hub server. - "generate_signature()" function generates all the signature needed for the connections with Backend.ai manager hub server.
"query_agent_list()" function queries some fields like {'id','occupied_slots','available_slots','live_stat'} from Agent Class. - "query_agent_list()" function queries some fields like {'id','occupied_slots','available_slots','live_stat'} from Agent Class.
"extract_utilization()" function makes json results we want - "extract_utilization()" function makes json results we want
"myfunction_api()" function includes the Flask framework. Flask could make this code to an api application. - "myfunction_api()" function includes the Flask framework. Flask could make this code to an api application.
- host= ‘0.0.0.0’ => This settings make possible to access api from outside. - host= ‘0.0.0.0’ => This settings make possible to access api from outside.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment