Changes between Version 19 and Version 20 of AaronHelsinger/GAPI_AM_API_DRAFT
- Timestamp:
- 03/29/12 14:07:37 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AaronHelsinger/GAPI_AM_API_DRAFT
v19 v20 943 943 Where supplying `geni_sliver_urns`, whether or not the `geni_slice_urn` is also supplied, means return a manifest RSpec showing the (allocated or provisioned) slivers listed - not necessarily the complete slice at this aggregate. 944 944 945 Note that the manifest RSpec for allocated slivers may contain less detail than for provisioned slivers. 946 945 947 Return struct: 946 948 {{{ … … 994 996 {{{ 995 997 { 996 rspec: <string manifest>,998 geni_rspec: <string manifest>, 997 999 geni_slivers: [ 998 1000 { … … 1034 1036 Return list of structs: 1035 1037 {{{ 1036 geni_slivers:1037 1038 [ 1038 1039 { … … 1073 1074 {{{ 1074 1075 { 1075 rspec: <string manifest>,1076 geni_rspec: <string manifest>, 1076 1077 geni_slivers: [ 1077 1078 { … … 1114 1115 Return struct: 1115 1116 {{{ 1116 geni_ manifest: <string, RSpec manifest>,1117 geni_rspec: <string, RSpec manifest>, 1117 1118 geni_slivers: 1118 1119 [ … … 1132 1133 1133 1134 FIXME: Is the returned manifest only for newly provisioned slivers? Or all slivers at this AM for this slice? 1135 FIXME: Pull out users[] struct and instead add a Configure() method with AM/resource specific options? 1134 1136 1135 1137 == !UpdateSlivers == … … 1202 1204 Return list of structs: 1203 1205 {{{ 1204 geni_slivers:1205 1206 [ 1206 1207 { … … 1239 1240 { 1240 1241 geni_urn: <slice URN> 1241 [optional: geni_allocation_status: <string, eg provisioned>] 1242 [optional: geni_operational_status: <string, eg ready >] 1243 geni_expires: <datetime of expiration> 1244 struct geni_resources: [ { geni_urn: <sliver URN> 1242 geni_slivers: [ 1243 { geni_sliver_urn: <sliver URN> 1245 1244 geni_allocation_status: <string, eg provisioned> 1246 1245 geni_operational_status: <string, eg ready> 1247 1246 geni_expires: <datetime of individual sliver expiration> 1248 1247 geni_error: <string, eg ''>, 1249 [optional: 'geni_resource_status' : <string>]1248 [optional: others AM/resource specific] 1250 1249 }, 1251 { geni_ urn: <sliver URN>1250 { geni_sliver_urn: <sliver URN> 1252 1251 geni_allocation_status: <string, eg provisioned> 1253 1252 geni_operational_status: <string, eg ready> 1254 1253 geni_expires: <datetime of individual sliver expiration> 1255 1254 geni_error: <string, eg ''>, 1256 [optional: 'geni_resource_status' : <string>]1255 [optional: others AM/resource specific] 1257 1256 } 1258 1257 ] 1259 1258 } 1260 1259 }}} 1260 1261 FIXME: Split Status(slice) from Status(slivers) 1261 1262 1262 1263 == !PerformOperationalAction == … … 1283 1284 {{{ 1284 1285 [ { 1285 geni_urn : <string>, 1286 geni_sliver_urn : <string>, 1287 geni_allocation_status: <string, eg provisioned> 1286 1288 geni_operational_status : <string>, 1287 [optional: geni_resource_status' : <string>] 1289 geni_expires: <datetime of individual sliver expiration> 1290 [optional: AM/resource specific] 1288 1291 }, 1289 1292 ... … … 1291 1294 ; 1292 1295 }}} 1296 1297 FIXME: Split Perform(slice) from Perform(slivers) 1293 1298 1294 1299 == !DeleteSlivers == … … 1341 1346 }}} 1342 1347 1343 Return list of structs: 1344 {{{ 1345 [ 1346 { 1347 geni_sliver_urn: <string>, 1348 geni_allocation_status: <string>, 1349 geni_expires: <time when the sliver expires from its current state>, 1350 <others AM or method specific> 1351 }, 1352 ... 1353 ] 1354 }}} 1348 Return: boolean