My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
GNI_API_Description  
Description of the current and proposed GNI API.
Updated Jun 23, 2009 by hanio...@gmail.com

Simple GNI API

The GNI API TF will come up with a common API to cover most cases. In the interim, though, we will be using a very simple API developed during the GUSI effort. This simple API contains these two operations:

  • ReservationParams create(ReservationParams) : creates a new reservation with some parameters
  • ReservationParams list() : lists all reservations

ReservationParams has these fields:

  • string reservationId : the globally unique reservation identifier
  • string srcEndpoint : the source endpoint identifier
  • string dstEndpoint : the destination endpoint identifier
  • xs:date activationTime : A date/time field that represents when the circuit is to be activated
  • integer duration : the duration of the circuit, in seconds
  • integer bandwidth : the bandwidth of the circuit, in Mbps
  • string status : the current status of the reservation. Possible values : RESERVED, ACTIVE, FINISHED, FAILED

This API is currently implemented by both the is.glif.fenius.ws.simple.SimpleFeniusService web service and the is.glif.fenius.api.Translator interface.

The intent is for the Translator interface to be changing to follow the mainline common API work, while the SimpleFeniusService is only there to facilitate development in the early stages.


Sign in to add a comment
Powered by Google Project Hosting