Changes between Version 45 and Version 46 of GAPI_AM_API_DRAFT


Ignore:
Timestamp:
03/15/12 12:36:12 (7 years ago)
Author:
Aaron Helsinger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GAPI_AM_API_DRAFT

    v45 v46  
    107107
    108108AMs which cannot meet the implied limit to service disruption should fail the request (return an error code).
     109
     110''However'' there is an alternative more widely accepted proposal, to use an RSpec extension allowing this guarantee to be per-resource:
     111EG:
     112{{{
     113  <node ... sliver_id="urn:publicid:IDN+jonlab.tbres.emulab.net+sliver+250">
     114    <sliver_type name="raw-pc"/>
     115...
     116    <preserve:preserve guarantee="persistent-state" />
     117  </node>
     118}}}
     119
     120This uses the RNC schema:
     121{{{
     122default namespace = "http://www.protogeni.net/resources/rspec/ext/preserve/1"
     123
     124# This is meant to extend a node or link
     125Preserved = element preserve {
     126  attribute guarantee { "none" | "persistent-state" |
     127                        "dynamic-state" | "no-disruption" }
     128}
     129
     130start = Preserved
     131}}}
     132
     133In the above schema, the states represent increasing levels of state preservation guarantee.
    109134
    110135{{{
     
    292317 - 3=NO_DISRUPTION (no noticeable service disruption)
    293318
     319''However'', see above for a proposed RSpec extension to instead make the state guarantee per resource.
     320
    294321Tickets should include the {{{geni_ticket_service_class}}} attribute for advertising the firmness of the promise that a ticket represents (case insensitive string or integer).
    295322 - FIXME: Provide definitions for these service classes.