Changes between Initial Version and Version 1 of DRAFT_GAPI_AM_API_V2_DELTAS


Ignore:
Timestamp:
12/03/11 11:33:25 (12 years ago)
Author:
Aaron Helsinger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DRAFT_GAPI_AM_API_V2_DELTAS

    v1 v1  
     1[[PageOutline]]
     2
     3= GENI AM API Changes from version 1 to version 2 =
     4
     5This page documents changes to the GENI Aggregate Manager API from [wiki:DRAFT_GAPI_AM_API_V1 version 1] to [wiki:DRAFT_GAPI_AM_API_V2 version 2]. It consists of the text describing the changes to the API which was used to define and adopt the changes to the API for version 2.
     6 * [wiki:DRAFT_GAPI_AM_API_V1 Version 1 of the GENI Aggregate Manager API]
     7 * [wiki:DRAFT_GAPI_AM_API_V2 Version 2 of the GENI Aggregate Manager API]
     8 * [wiki:DRAFT_GAPI_AM_API_DRAFT Draft changes to the GENI Aggregate Manager API] for future versions. That is where this text originally was written.
     9
     10== Summary of Changes ==
     11=== Change Set A: RSpecs are XML documents following GENI schemas ===
     12
     13'''Note''': At the GEC12 coding sprint, this change set was modified slightly from that which is widely implemented. This change
     14 - removed the {{{default_ad_rspec}}} value from !GetVersion
     15 - made the {{{rspec_version}}} argument to !ListResources required and renamed it {{{geni_rspec_version}}}
     16 - renamed the other return values from !GetVersion to use the {{{geni_}}} naming prefix
     17
     18Other parts of this change set have been discussed and well behaved aggregates already implement them. The community has agreed to include this change in version 2 of this API.
     19
     20 * Specify that GENI RSpecs comply with GENI standard XML schemas as posted at http://www.geni.net/resources/rspec. GENI RSpec v3 is what was the ProtoGENI v2 schemas. RSpec and the ProtoGENI schemas are documented on [http://www.protogeni.net/trac/protogeni/wiki/RSpec the ProtoGENI wiki].
     21 * Include additional options in !GetVersion and !ListResources to allow aggregates to support the GENI RSpecs in addition to their own native format.
     22
     23=== Change Set B: Flexible arguments and returns ===
     24
     25 * All methods take an ''options'' argument, which is a non null XML struct. No required options are added with this change - the struct may be empty.
     26 * Method returns are modified to return at least 3 name/value pairs, with arbitrary additional such pairs.
     27  * {{{code}}} indicates success or error return. This itself is an XML-RPC struct, whose content is described below.
     28  * {{{value}}} is the return value as specified in AM API v1 or as modified by Change Set A (RSpec, etc), and
     29  * {{{output}}} is a human readable indication of the nature of the return or error.
     30  * Aggregates are free to use other additional name/value pairs in the return struct.
     31
     32== Adopted Change Details ==
     33
     34=== Change Set A ===
     35
     36'''Note''': At the GEC12 coding sprint, this change set was modified slightly from that which is widely implemented. This change
     37 - removed the {{{default_ad_rspec}}} value from !GetVersion
     38 - made the {{{rspec_version}}} argument to !ListResources required and renamed it {{{geni_rspec_version}}}
     39 - renamed the other return values from !GetVersion to use the {{{geni_}}} naming prefix
     40
     41''Note: The change to GENI standard RSpec schemas originally referenced ProtoGENI v2 RSpec schemas, hosted at www.protogeni.net. These schemas have now been re-branded as GENI v3 RSpec schemas and are hosted at http://www.geni.net/resources/rspec/3.'''
     42
     43''Note: Options in the geni_ namespace remain reserved, but not all GENI standard options need to be named with the geni_ prefix.''
     44
     45==== Part 1: Standardized XML-based GENI RSpecs ====
     46At GEC10 [wiki:GEC10RSpec the GENI community agreed] that GENI RSpecs would be in what was the [http://www.protogeni.net/trac/protogeni/wiki/RSpec ProtoGENI v2 format] and is now known as GENI v3. Aggregates are free to use an alternate format internally, but must accept and produce compliant RSpecs on demand. Note that individual aggregates may use RSpec extensions to describe custom resources or properties of resources. For RSpec extension information, see the ProtoGENI [http://www.protogeni.net/trac/protogeni/wiki/RSpecExtensions2 wiki].
     47
     48For more information:
     49 * [http://www.geni.net/resources/rspec/3 Official GENI v3 RSpec schemas]
     50 * [http://www.protogeni.net/trac/protogeni/wiki/RSpec GENI standard (was ProtoGENI v2) format]
     51 * [http://www.protogeni.net/trac/protogeni/wiki/RSpecExtensions2 RSpec extension information]
     52 * [http://www.protogeni.net/trac/protogeni/wiki/RSpecSchema2 RSpec schemas listing]
     53
     54Specific changes include:
     55 * !ListResources: Return value of !ListResources remains an [http://www.xmlrpc.com/spec XML-RPC] string, but its format and meaning are now proscribed.
     56
     57 The return value is an RSpec matching the [http://www.protogeni.net/trac/protogeni/wiki/RSpec GENI standard] RSpec in text format if {{{geni_compressed}}} is unspecified or set to {{{false}}}. The return value will be a ZLib compressed and then base 64 encoded string representation of the RSpec if {{{geni_compressed}}} is specified and set to {{{true}}}.
     58
     59This RSpec will be a [http://www.geni.net/resources/rspec/3/ad.xsd advertisement RSpec] when invoked with no {{{geni_slice_urn}}} option, representing the resources available at this aggregate. When the client supplies the {{{geni_slice_urn}}} option, then the aggregate will return a [http://www.geni.net/resources/rspec/3/manifest.xsd manifest RSpec], representing all resources allocated to that slice by this aggregate.
     60
     61 * !CreateSliver: rspec argument remains an [http://www.xmlrpc.com/spec XML-RPC] string, but its format and meaning are now proscribed.
     62
     63  `rspec`::
     64    An RSpec matching the [http://www.protogeni.net/trac/protogeni/wiki/RSpec GENI standard] request RSpec [http://www.geni.net/resources/rspec/3/request.xsd schema] containing the resources that the caller is requesting for allocation to the slice specified in {{{slice_urn}}}. These are expected to be consistent with the resources returned by a previous invocation of [wiki:GAPI_AM_API#ListResources ListResources].
     65
     66 * !CreateSliver: return value remains an [http://www.xmlrpc.com/spec XML-RPC] string, but its format and meaning are now proscribed.
     67
     68 The return value is an RSpec matching the [http://www.protogeni.net/trac/protogeni/wiki/RSpec GENI standard] manifest RSpec [http://www.geni.net/resources/rspec/3/manifest.xsd schema] indicating the resources that were allocated to the slice. The result RSpec may contain additional information about the allocated resources.
     69
     70==== Part 2: New RSpec Version Options ====
     71In order to allow aggregates to support both a native RSpec format (e.g. the standard !PlanetLab / SFA RSpecs) as well as the GENI-standard format (GENI v3, was ProtoGENI v2), we need new options to allow a client to request RSpecs in a particular format.
     72
     73Specifically, aggregates will advertise (in !GetVersion) the list of Advertisement and Request RSpec types they are willing to accept. And they will produce manifest RSpecs in a format matching the format of the !CreateSliver input request RSpec (e.g. return a GENI v3 manifest RSpec when given a GENI v3 request RSpec, and a native !PlanetLab manifest RSpec when given a !PlanetLab request RSpec).
     74
     75===== Contract details =====
     76
     77Aggregates advertise the {{{type}}} and {{{version}}} of RSpec formats that they support. If available, they specify the {{{schema}}}, {{{namespace}}} and {{{extensions}}} combination which is the authoritative definition of that format. Clients of the API should understand that combination in order to know how to understand the resources available at that aggregate.
     78
     79If an aggregate advertises a particular {{{type}}}/{{{version}}} (optionally defined with a combination of {{{schema}}}, {{{namespace}}} and {{{extensions}}}) in the {{{geni_ad_rspec_versions}}} attribute of !GetVersion, then it promises to send a correct Advertisement RSpec in response to a !ListResources call which supplies an {{{geni_rspec_version}}} option containing that {{{type}}}/{{{version}}}. ({{{geni_rspec_version}}} is a {{{struct}}} with 2 members, {{{type}}} and {{{version}}}. {{{type}}} and {{{version}}} are ''case-insensitive'' strings, matching those in {{{geni_ad_rspec_versions}}}).
     80
     81If an Aggregate advertises a particular {{{type}}}/{{{version}}} (optionally defined with a combination of {{{schema}}}, {{{namespace}}} and {{{extensions}}}) in the {{{geni_request_rspec_versions}}} attribute of !GetVersion then it promises to correctly honor a !CreateSliver call containing a request RSpec in the given format, and then to return a Manifest RSpec in the corresponding format (i.e. a GENI format request is answered with a GENI format manifest). The aggregate also promises to send a correctly formatted Manifest RSpec in response to a !ListResources call which supplies a valid {{{geni_slice_urn}}} option and an {{{geni_rspec_version}}} option containing that supported {{{type}}}/{{{version}}}.
     82
     83===== New !GetVersion required attributes =====
     84
     85Return the version of the GENI Aggregate API and RSpecs supported by this aggregate.
     86
     87{{{
     88struct GetVersion()
     89}}}
     90
     91The result is an [http://www.xmlrpc.com/spec XML-RPC] struct with at least the following members:
     92
     93{{{
     94{
     95  int geni_api;
     96  array geni_request_rspec_versions of {
     97    string type;
     98    string version;
     99    string schema;
     100    string namespace;
     101    array extensions of string;
     102  };
     103  array geni_ad_rspec_versions of {
     104    string type;
     105    string version;
     106    string schema;
     107    string namespace;
     108    array extensions of string;
     109  };
     110}
     111}}}
     112
     113 `geni_api`::
     114    An integer indicating the revision of the Aggregate Manager API that an aggregate supports. This document describes API version 2 (two).
     115
     116 `geni_request_rspec_versions`::
     117   An array of data structures indicating the RSpec types accepted by this AM in a request.
     118
     119 `geni_ad_rspec_versions`::
     120   An array of data structures indicating what types of RSpec advertisements may be produced by this AM in !ListResources.
     121
     122Elements used within {{{geni_request_rspec_versions}}} and {{{geni_ad_rspec_versions}}}:
     123 `type`, `version`::
     124   Two ''case-insensitive'' strings which together comprise the type of RSpec. The RSpec `type` should be one of "geni", "protogeni", "sfa", "orca", "openflow", or "orbit" and `version` should be a type-specific version identifier as specified by the appropriate control framework. The "geni" type is reserved for GENI standard format RSpecs, following the schemas hosted at www.geni.net.
     125
     126 `schema`::
     127   An optional URL pointing to a schema which can be used to verify the given type of RSpec.
     128
     129 `namespace`::
     130   An optional XML namespace which the RSpec of the given type belongs to.
     131
     132 `extensions`::
     133   An array of aggregate-specific strings denoting which extensions are supported. In the case of ProtoGENI, these are XML namespaces which denote the extension as a whole.
     134
     135Implementations can add additional members to the struct as desired. Implementations should choose an appropriate prefix to avoid conflicts, but avoid {{{geni_}}} which should be reserved for common options.
     136
     137This operation is similar to ProtoGENI's [http://www.protogeni.net/trac/protogeni/wiki/ComponentManagerAPIV2#GetVersion GetVersion] operation. The [http://svn.planet-lab.org/attachment/wiki/WikiStart/sfa.pdf SFA] specification does not include this operation other than through this method.
     138
     139===== New !ListResources Option =====
     140!ListResources will take an additional ''required'' option, {{{geni_rspec_version}}}, allowing a user to request an Advertisement or Manifest Rspec in a particular format. This struct must contain a {{{type}}} and {{{version}}} matching one of this Aggregate's advertised {{{geni_ad_rspec_versions}}}.
     141
     142Specifics:
     143
     144Return information about available resources or resources allocated to a slice.
     145
     146{{{
     147string ListResources(string credentials[], struct options)
     148}}}
     149
     150....
     151
     152 `options`::
     153    An [http://www.xmlrpc.com/spec XML-RPC] struct containing members indicating the set of resources the caller is interested in or the format of the result. In addition to the members specified below, callers can pass additional members that specific aggregate manager implementations might honor. Implementations should choose an appropriate prefix to avoid conflicts, but avoid {{{geni_}}} which should be reserved for common options.
     154
     155The following members are available for use in the options parameter. All aggregate managers are required to implement these options.
     156
     157{{{
     158{
     159  boolean geni_available;
     160  boolean geni_compressed;
     161  string geni_slice_urn;
     162  struct geni_rspec_version {
     163    string type;
     164    string version;
     165  };
     166}
     167}}}
     168
     169....
     170
     171 `geni_rspec_version`::
     172    An [http://www.xmlrpc.com/spec XML-RPC] struct indicating the type and version of Advertisement or Manifest RSpec to return. The struct contains 2 members, {{{type}}} and {{{version}}}. {{{type}}} and {{{version}}} are ''case-insensitive'' strings, matching those in {{{geni_ad_rspec_versions}}} as returned by !GetVersion at this aggregate. This option is ''required'', and aggregates are expected to return a geni_code {{{1}}} ('Bad Arguments') if it is missing.
     173
     174    The returned Rspec will be an Advertisement RSpec when no {{{geni_slice_urn}}} option is supplied. When a valid {{{geni_slice_urn}}} option is supplied, the returned RSpec will be a Manifest RSpec of the type corresponding to {{{geni_rspec_version}}}, but in manifest format.
     175
     176    If the aggregate cannot support the requested {{{type}}}/{{{version}}} (that pair is not listed in {{{geni_ad_rspec_versions}}}), then the aggregate returns an error 13 (UNSUPPORTED).
     177
     178===== New !CreateSliver behavior =====
     179If an Aggregate advertises a {{{type}}}/{{{version}}} pair in its {{{geni_request_rspec_versions}}} as returned by !GetVersion, then it promises to correctly honor a !CreateSliver call containing a request RSpec in the given format, and then to return a Manifest RSpec in the corresponding format (ie a GENI v3 standard request is answered with a GENI v3 manifest).
     180
     181=== Change Set B ===
     182
     183==== Part 1: Additional options argument ====
     184Adding support for additional functionality in the AM API is currently difficult. Many possible areas of innovation are variations on existing functions. This change adds flexibility in arguments to support such innovation.
     185
     186Under this proposal, each method will take an argument which is a set of name-value pairs (an XML-RPC struct, aka a property list). This argument is required for all methods except !GetVersion (where it is optional), but may be empty (non NULL but containing no name/value pairs). Aggregates may support new entries in this 'options' argument to allow new non-standardized functionality.
     187
     188Specifically, this change adds a final {{{struct options}}} argument to each of !GetVersion, !CreateSliver, !SliverStatus, !RenewSliver, !DeleteSliver,  and Shutdown. !ListResources already has that argument. The argument is optional for !GetVersion, but required for all other functions.
     189
     190Aggregates are compliant with this API change by accepting this argument; only for !ListResources are they required to handle any specific options. Similarly, clients are required to supply this argument to talk to compatible aggregates, but are only required to supply any particular options for !ListResources.
     191
     192In !GetVersion, this argument remains optional. Clients that only talk AM API v1 will get an error invoking most functions, when they leave off the {{{options}}} argument. Experimenters can then call !GetVersion (without the {{{options}}} argument). AM API v2 compliant Aggregates shall include the {{{geni_api}}} argument as a top-level entry in the return struct, specifying {{{2}}} to indicate to clients that this AM speaks version 2 of the AM API.  This allows experimenters to understand that they need to upgrade their client, or might instruct a clever client tool to automatically switch to version 2 syntax.
     193
     194Aggregates should not ''require'' any new options to any method - they should always have a reasonable default for any such option. Clients must always be able to work with any aggregate by simply supplying the options required by this API.
     195
     196Aggregates are encouraged to document any new options which they accept in any method, to bootstrap coordination with clients, and provide documentation for human experimenters. This API does not specify how aggregates provide that documentation. One way to provide partial documentation, is to implement [http://xmlrpc-c.sourceforge.net/introspection.html XML-RPC introspection]. Through the use of method help, aggregates can provide human readable text describing options. Alternatively or additionally, aggregates may document options as part of their return from !GetVersion. This allows clients to either avoid communicating with an aggregate for which the client does not understand how to provide those options, or to tailor the client's request to provide those extra options.
     197
     198==== Part 2: Richer return values ====
     199In AM API v1, method failures come back sometimes as XML-RPC Faults, sometimes as ''False'', and is occasionally inconsistent across aggregates. Failures typically do not indicate how the Experimenter should modify their request for it to succeed, or if this is a server error. This proposed change expands and formalizes the return structures, to support semantically richer returns, allowing Experimenters better insight into both successes and failures, and how to respond.
     200
     201Allowing aggregates to return more information, on both errors and success, will allow for a richer client-server communication. It would also allow aggregates to give clients hints on how to use successful returns, or otherwise innovate within the bounds of the AM API.
     202
     203This change will modify all methods to return an XML-RPC struct (aka property list) on any application layer success, failure, and even on an error or for most exceptions. Note that a malformed XML-RPC request should still raise an XML-RPC Fault, and other Faults dictated by the XML-RPC specification should still be raised. This struct will contain the return value from the previous revision of the AM API as an entry, as modified by other changes adopted for API version 2. This struct will have 3 defined entries, and aggregates are free to include other entries to give more information to clients.
     204
     205The three required entries in the return structure are {{{code}}}, {{{value}}}, and {{{output}}}.
     206
     207 * {{{code}}}: An XML-RPC struct containing 3 sub elements. For details on this (adopted) proposal, see: https://openflow.stanford.edu/display/FOAM/AM+return+code+proposal
     208
     209In summary however:
     210
     211{{{
     212code {
     213  geni_code: XML-RPC integer, registered in an XML document off the GENI AM API page
     214  am_type: Optional: XML-RPC string, case insensitive, types in a registry (XML document) linked off the GENI AM API page
     215  am_code: Optional: XML-RPC integer
     216}
     217}}}
     218
     219Integers above are allowed to be negative.
     220
     221{{{am_type}}} and {{{am_code}}} are optional: AMs need not supply them and clients should not have to use them to understand the nature of the response.
     222They serve to further specify the nature of the return as indicated by {{{geni_code}}}
     223
     224Success is indicated by {{{geni_code}}} value of {{{0}}}
     225
     226Error codes and AM types are in an XML document off the GENI AM API page
     227
     228 * {{{value}}}: On success, this is required. Optional on failure or error. Object representing the successful return value. This will be the object previously returned by the function (for example the manifest RSpec for !CreateSliver, or the struct for !SliverStatus). The value is not defined on error, though aggregates are free to use it.
     229  * For !GetVersion, the {{{value}}} is an XML-RPC struct
     230  * For !ListResources, the {{{value}}} is an RSpec
     231  * For !CreateSliver, the {{{value}}} is an RSpec
     232  * For !RenewSliver, the {{{value}}} is a boolean
     233  * For !DeleteSliver, the {{{value}}} is a boolean
     234  * For !SliverStatus, the {{{value}}} is an XML-RPC struct
     235  * For Shutdown, the {{{value}}} is a boolean
     236 * {{{output}}}: On failure or error, this is required. Optional on success. This is a String with a human readable message explaining the result. Specifically, this might include an error string, a stacktrace, or other useful messages to help the Experimenter resolve or report the failure or error. It is not defined on success, though aggregates are free to use it.
     237
     238Aggregates are encouraged to use {{{code}}} values and {{{output}}} messages that help experimenters and tools distinguish between bad input, other experimenter error, temporary server errors, or server bugs.
     239
     240GENI standard error codes will be documented on the GENI AM API Wiki page.
     241
     242Aggregates are similarly encouraged to provide hints on how to fix bad requests using the {{{value}}} entry to experimenters on error or failures. For example, a failed !RenewSliver call that failed because you are not allowed to renew your sliver that far in the future, might return a new date string in the {{{value}}} field that would be allowed. Similarly, a failed !CreateSliver call might return a modified request RSpec in the {{{value}}} field.
     243
     244Aggregates should avoid raising an error (XML-RPC Fault) for application layer errors or any other cases where the XML-RPC specification does not require a Fault, but rather should attempt to return this struct, providing any error messages and stack traces in the {{{output}}} field or other additional fields. Where the XML-RPC standard prescribes specific Faults, those will remain XML-RPC Faults.
     245
     246Aggregates are free to add additional return values to support aggregate or resource specific functionality, or to innovate within the bounds of the AM API. Aggregates are encouraged to document any such new return values which they return, to bootstrap coordination with clients, and provide documentation for human experimenters. One way to provide partial documentation, is to implement [http://xmlrpc-c.sourceforge.net/introspection.html XML-RPC introspection]. Through the use of method help, aggregates can provide human readable text describing return values. Alternatively or additionally, aggregates may document return values as part of their return from !GetVersion. We have not specified the format for advertising those extra return values in !GetVersion.
     247
     248For comparison, Orca functions return property lists internally. The ProtoGENI CMV2 API returns a struct with exactly these 3 values. ProtoGENI however uses a different range of return codes, and largely does not define the {{{value}}} slot on errors.
     249
     250For example, !SliverStatus could return on success:
     251{{{
     252{
     253  code: {
     254       geni_code: 0
     255        },
     256  value:
     257{
     258  geni_urn: <sliver URN>
     259  geni_status: ready
     260  geni_resources: [ { geni_urn: <resource URN>
     261                      geni_status: ready
     262                      geni_error: ''},
     263                    { geni_urn: <resource URN>
     264                      geni_status: ready
     265                      geni_error: ''}
     266                  ]
     267}
     268
     269  output: <none>
     270}
     271}}}
     272
     273On failure, !DeleteSliver might return:
     274{{{
     275{
     276  code: {
     277        geni_code: 12
     278        }
     279  value: False
     280  output: 'No such slice here'
     281}
     282}}}
     283(That code and output are merely examples.)
     284
     285An exception:
     286At the top level, !GetVersion adds a required entry: 'geni_api'=2. This allows v1 clients to determine that they are indeed talking to a
     287GENI AM, but since the version is 2, that is why other function calls will fail with an XML-RPC Fault.
     288
     289==== Supporting multiple API versions ====
     290Aggregates are free to support multiple versions of the API. They do so by providing different URLs for each version of the API that they support.
     291Aggregates should have a 'default' URL (the one typically advertised). That version runs whichever version of the API the server chooses (could be the latest, could be something else.)
     292Each server implementing the API must include all methods, including !GetVersion.
     293
     294This change modifies !GetVersion to include a new required member:
     295{{{
     296geni_api_versions: an XML-RPC struct containing 1+ entries of:
     297  Name: Integer - supported GENI AM API version
     298  Value: String - URL to the XML-RPC server implementing that version of the GENI AM API
     299}}}
     300
     301For example
     302{{{
     303geni_api_versions: {
     304  1: <URL>,
     305  2: <Local URL>,
     306   ...
     307}
     308}}}
     309
     310Where the entries indicate versions of the API supported, and URLs are absolute URLs where that version of the API is supported. (As per Change Set B above, this new member is a sub-structure to the {{{value}}} member.)
     311
     312==== Changes Summary: New Method Signatures ====
     313When taken together, the new method signatures would be:
     314
     315{{{
     316struct GetVersion(options=None)
     317Success Return:
     318{
     319  geni_api = 2
     320  code = {
     321       geni_code = 0
     322         }
     323  value
     324      {
     325        geni_api=2,
     326        geni_api_versions {
     327             2: <local URL>,
     328             <other versions and URLs as supported>
     329             }
     330        geni_request_rspec_versions [{
     331          type=GENI
     332          version=3
     333          schema=...
     334          namespace=....
     335          extensions []},
     336          <other version structs>]
     337        geni_ad_rspec_versions [{type, version, schema, namespace, extensions},]
     338      }
     339  output = <None>
     340}
     341
     342struct ListResources(string credentials[], struct options)
     343Success Return:
     344{
     345   code= {geni_code=0}
     346   value= <GENI v3 Ad or Manifest RSpec string>
     347   output = <None>
     348}
     349
     350struct CreateSliver(string slice_urn,
     351                    string credentials[],
     352                    <GENIv3 request RSpec schema compliant XML string> rspec,
     353                    struct users[],
     354                    struct options)
     355Success Return:
     356{
     357   code={geni_code=0}
     358   value= <GENI v3 Manifest RSpec string>
     359   output = <None>
     360}
     361
     362struct DeleteSliver(string slice_urn, string credentials[], struct options)
     363Success Return:
     364{
     365   code={geni_code=0}
     366   value= boolean
     367   output = <None>
     368}
     369
     370struct SliverStatus(string slice_urn, string credentials[], struct options)
     371Success Return:
     372{
     373   code={geni_code=0}
     374   value= struct (as defined in v1)
     375   output = <None>
     376}
     377
     378struct RenewSliver(string slice_urn,
     379                    string credentials[],
     380                    string expiration_time, struct options)
     381Success Return:
     382{
     383   code={geni_code=0}
     384   value= boolean
     385   output = <None>
     386}
     387
     388struct Shutdown(string slice_urn, string credentials[], struct options)
     389Success Return:
     390{
     391   code={geni_code=0}
     392   value= boolean
     393   output = <None>
     394}
     395}}}