Changes between Version 12 and Version 13 of GeniGet
- Timestamp:
- 11/18/13 09:01:58 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeniGet
v12 v13 1 1 = geni-get = 2 2 3 A command that runs on and is accessible from inside a GENI compute resource (node) and tells you GENI meta-information about the slice, sliver and experimenter associated with the node. This is a separate tool that m ust be installed in your disk image. All GENI compute resource providers shouldmake available a version of this client script that can be installed on their compute resources such that the below functionality works.3 A command that runs on and is accessible from inside a GENI compute resource (node) and tells you GENI meta-information about the slice, sliver and experimenter associated with the node. This is a separate tool that may be installed in your disk image. All GENI compute resource providers shall make available a version of this client script that can be installed on their compute resources such that the below functionality works. 4 4 5 5 Within this specification, `client` refers to any software or configuration installed on the compute resource (node). `server` refers to any software or configuration required to support these functions that is not installed within each compute resource, if any. 6 6 7 '''FIXME: Return error code for the script?''' 7 == Return codes == 8 This script shall return an unix error code of `0` for success, and non-zero on any kind of error. 9 10 '''FIXME: Defined error codes for the script?''' 8 11 9 12 = PG implementation = … … 28 31 - `--version` 29 32 30 Options that may be no-opsfor some client implementations but must be valid options:33 Options that may have no effect for some client implementations but must be valid options: 31 34 - `--no-cache` 32 35 - `--port` … … 59 62 60 63 == commands == 61 Return a list of all commands that you can issue in this implementation. The return is a JSON list. Each of the commands listed below should be supported, but additional commands are allowed.64 Return a list of all commands that you can issue in this implementation. The return is a JSON array. Each of the commands listed below should be supported, but additional commands are allowed. 62 65 63 66 Example: … … 102 105 == geni_user == 103 106 104 Return the users and SSH keys installed on this node. Return is in the format of the geni_userargument to the AM API: http://groups.geni.net/geni/wiki/GAPI_AM_API_V3/CommonConcepts#geni_users105 106 '''FIXME: Includes updates from later `poa` actions?''' 107 Return the users and SSH keys installed on this node. Return is in the format of the `geni_user` argument to the AM API: http://groups.geni.net/geni/wiki/GAPI_AM_API_V3/CommonConcepts#geni_users 108 109 Note that this return shall include include any changes to the defined users and keys made through later AM API calls (e.g. `PeformOperationalAction` action `geni_update_users`), but not calls made directly within the compute node. 107 110 108 111 Example: … … 142 145 Return the return from the GENI AM API `getversion` command for the latest AM API revision supported, in JSON format. Note that not every element from the AM API `getversion` call is required to be returned here, but all are allowed and more are encouraged. 143 146 144 '''FIXME: Which selected fields are returned here? If this is a full getversion return, then which AM API version# is used? The one you used to make the reservation?''' 147 Returned fields shall include all of the fields that this aggregate supports from this list: `geni_am_type`, `geni_single_allocation`, `geni_allocate`, `geni_credential_types`, `geni_am_code_version`, `geni_urn`, `geni_api_versions`, plus any others specific to this aggregate or defined by later versions of the AM API. 145 148 146 149 Example: … … 152 155 == manifest == 153 156 154 Return the manifest RSpec for the slice, in standard GENI RSpec XML format. 155 156 '''FIXME: For only this node? For only this AM?''' 157 Return the manifest RSpec for the slice, in standard GENI RSpec XML format. This manifest shall describe all resources reserved in this slice at this aggregate, not just the current compute resource. 157 158 158 159 Example: … … 190 191 == sliverstatus == 191 192 192 Return the AM API v2 return from `sliverstatus` for this slice (see http://groups.geni.net/geni/wiki/GAPI_AM_API_V2#SliverStatus), a JSON struct. 193 194 '''FIXME: For just the current resource (plus an overall status)? Or for all resources at this AM?''' 193 Return the AM API v2 return from `sliverstatus` for this slice (see http://groups.geni.net/geni/wiki/GAPI_AM_API_V2#SliverStatus), a JSON array. This status shall be for all slivers in this slice at this aggregate. 195 194 196 195 Example: … … 201 200 202 201 == status == 203 Return the AM API v3 `status` return. Only supported if the AM supports AM API v3. See http://groups.geni.net/geni/wiki/GAPI_AM_API_V3#Status 204 205 ''' FIXME: For only the current sliver? Or for all resources at this AM? If only for this sliver, then the status should also include a slice-overall status.''' 202 Return the AM API v3 `status` return. Only supported if the AM supports AM API v3. See http://groups.geni.net/geni/wiki/GAPI_AM_API_V3#Status. This status shall be for all slivers in this slice at this aggregate. 206 203 207 204 Example: