Changes between Version 45 and Version 46 of GAPI_AM_API_DRAFT
- Timestamp:
- 03/15/12 12:36:12 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GAPI_AM_API_DRAFT
v45 v46 107 107 108 108 AMs 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: 111 EG: 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 120 This uses the RNC schema: 121 {{{ 122 default namespace = "http://www.protogeni.net/resources/rspec/ext/preserve/1" 123 124 # This is meant to extend a node or link 125 Preserved = element preserve { 126 attribute guarantee { "none" | "persistent-state" | 127 "dynamic-state" | "no-disruption" } 128 } 129 130 start = Preserved 131 }}} 132 133 In the above schema, the states represent increasing levels of state preservation guarantee. 109 134 110 135 {{{ … … 292 317 - 3=NO_DISRUPTION (no noticeable service disruption) 293 318 319 ''However'', see above for a proposed RSpec extension to instead make the state guarantee per resource. 320 294 321 Tickets should include the {{{geni_ticket_service_class}}} attribute for advertising the firmness of the promise that a ticket represents (case insensitive string or integer). 295 322 - FIXME: Provide definitions for these service classes.