Changes between Version 10 and Version 11 of GEMINI/Tutorial/GEC20/GENI_Desktop_and_GEMINI_data/RetrieveData

06/20/14 14:41:57 (9 years ago)

intro to rest api


  • GEMINI/Tutorial/GEC20/GENI_Desktop_and_GEMINI_data/RetrieveData

    v10 v11  
    3737step-by-step process of scanning the topology, looking for metadata, finding the eventTypes you are interested in (using or a browser), and then as a simple graphing tool tht can be customized for whatever graphing the user needs
     39Before we provide a step-by-step guide to retrieving data, lets go more in depth with these components. UNIS is a topology service that is used to describe a network but underlying this concept is a RESTful API. As you might expect UNIS supports the standard HTTP Verbs: GET, POST, PUT, and DELETE.
     41* For example, if we wanted to query all the nodes on our slice we could: GET unis_host:port/nodes [[BR]]
     42* For example, if we wanted to query one particular node on our slice we could: GET unis_host:port/nodes/:id
     44These HTTP requests to UNIS can be executed through the browser, a script, or via the command line. For a more detailed explaination of the UNIS RESTful API see []. A user can supply the same HTTP verbs to interact with the MS but remember that the MS is located on the Global Node for a given slice. For a more detailed explaination of the MS RESTful API see []. If you would like more information about how UNIS represents the individual components of a network see this detailed resource [].