1113 | | Options include {{{geni_best_effort = True/False, default false}}}, {{{geni_end_time}}} |
| 1113 | Options include: |
| 1114 | - {{{geni_best_effort = True/False, default false}}} |
| 1115 | - {{{geni_end_time}}} |
| 1116 | - `struct users[]`: An array of user structs, which contain information about the users that might login to the sliver that the AM needs to know about. Each struct must include the key 'keys', which is an array of strings and can be empty. The struct must also include the key 'urn', which is the user’s URN string. The users array can be empty. For example: |
| 1117 | {{{ |
| 1118 | [ |
| 1119 | { |
| 1120 | urn: urn:publicid:IDN+geni.net:gcf+user+alice |
| 1121 | keys: [<ssh key>, <ssh key>] |
| 1122 | }, |
| 1123 | { |
| 1124 | urn: urn:publicid:IDN+geni.net:gcf+user+bob |
| 1125 | keys: [<ssh key>] |
| 1126 | } |
| 1127 | ] |
| 1128 | }}} |
1156 | | Options include {{{geni_end_time}}} and {{{geni_best_effort: <True/False, default false>}}} |
| 1171 | Options include: |
| 1172 | - {{{geni_end_time}}} |
| 1173 | - {{{geni_best_effort: <True/False, default false>}}} |
| 1174 | - `struct users[]`: An array of user structs, which contain information about the users that might login to the sliver that the AM needs to know about. Each struct must include the key 'keys', which is an array of strings and can be empty. The struct must also include the key 'urn', which is the user’s URN string. The users array can be empty. For example: |
| 1175 | {{{ |
| 1176 | [ |
| 1177 | { |
| 1178 | urn: urn:publicid:IDN+geni.net:gcf+user+alice |
| 1179 | keys: [<ssh key>, <ssh key>] |
| 1180 | }, |
| 1181 | { |
| 1182 | urn: urn:publicid:IDN+geni.net:gcf+user+bob |
| 1183 | keys: [<ssh key>] |
| 1184 | } |
| 1185 | ] |
| 1186 | }}} |
1180 | | |
1181 | | == !RenewSlivers == |
1182 | | AKA Renew() or !RenewProvisioned() |
1183 | | {{{ |
1184 | | struct RenewSlivers(string urn[], |
1185 | | struct credentials[], |
1186 | | string expiration_time, |
1187 | | struct options) |
1188 | | }}} |
1189 | | |
1190 | | Where credentials is: |
1191 | | {{{ |
1192 | | credentials = [ |
1193 | | { |
1194 | | geni_type: <string>, |
1195 | | geni_version: <string>, |
1196 | | geni_value: <string>, |
1197 | | <others> |
1198 | | } |
1199 | | ] |
1200 | | }}} |
1201 | | |
1202 | | Options include {{{geni_best_effort: <True/False, default false>}}} |
1203 | | |
1204 | | Return list of structs: |
1205 | | {{{ |
1206 | | [ |
1207 | | { |
1208 | | geni_sliver_urn: <string>, |
1209 | | geni_allocation_status: <string>, |
1210 | | geni_operational_status: <string>, |
1211 | | geni_expires: <time when the sliver expires from its current state>, |
1212 | | <others AM or resource specific> |
1213 | | }, |
1214 | | ... |
1215 | | ] |
1216 | | }}} |
1217 | | |
1218 | | FIXME: Combine with !RenewAllocations()? |
1219 | | FIXME: Split Renew(slice) from Renew(slivers) |