Changes between Version 32 and Version 33 of GAPI_AM_API_DRAFT
- Timestamp:
- 02/29/12 06:34:53 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GAPI_AM_API_DRAFT
v32 v33 303 303 }}} 304 304 - Get a ticket promising resources requested in the rspec. 305 - If there is already an outstanding ticket for the slice, an error is returned. 305 306 - Return: ticket 306 307 - Result State: {{{ticketed}}} … … 329 330 - Note that resources which do not require a 'start' may already be {{{ready}}} on normal return from !RedeemTicket. 330 331 - Omitting the ticket causes the aggregate to redeem the outstanding ticket for this slice if any. If none, return an error code. 332 - The ticket must be valid: not expired or previously redeemed or replaced. If so, an error is returned. 331 333 332 334 3. !ReleaseTicket … … 337 339 - Return: True or error 338 340 - Omitting the ticket causes the aggregate to release the 0 or 1 outstanding tickets for this slice. 341 - If this ticket was from !UpdateSlivers, then the sliver returns to the {{{allocated}}} state and existing resources are not modified. 339 342 340 343 4. !UpdateTicket … … 344 347 string ticket, struct options) 345 348 }}} 346 - For updating a reservation in place, replacing one ticket with a new one. 349 - For updating a reservation in place, replacing one ticket with a new one. On success, the old ticket is invalid. 347 350 - Return: Ticket 348 351 - Result State: {{{ticketed}}} 349 352 - Options may include {{{geni_start_time}}} and {{{geni_end_time}}} (see below) 353 - The ticket must be valid: not expired or previously redeemed or replaced. If so, an error is returned. 350 354 351 355 5. !UpdateSlivers … … 365 369 - Get a promise for resources that would replace currently allocated resources, as defined in [#ChangeSetC:UpdateSlivers Change Set C]. 366 370 - Result State: {{{ticketed}}} 371 - On completion, the slice has both a ticket and a set of slivers at this aggregate. Overall it is both {{{allocated}}} and {{{ticketed}}}, which is called {{{ticketed}}}. 367 372 - Options may include {{{geni_start_time}}} and {{{geni_end_time}}}, a RFC3339 requested start and end time for the reservation (option not required). 368 373 - The request should Fail (return an error code) if the resources cannot be reserved from or until the requested time.