| 21 | === Using Omni to find and extend slice and sliver expiration times === |
| 22 | If you are using the Omni experimenter tool, you can use the following command to find slice expiration time: |
| 23 | {{{ |
| 24 | $ omni print_slice_expiration my-slice-name |
| 25 | ... |
| 26 | Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+my-slice-name expires on 2015-02-23 20:47:28 UTC |
| 27 | }}} |
| 28 | |
| 29 | From the above result, you can see that the slice named 'my-slice-name' expires on '2015-02-23 20:47:28 UTC'. You can expand the amount of time that you request resources by renewing the slice, as follows: |
| 30 | {{{ |
| 31 | $ omni renewslice my-slice-name 2015-02-28 |
| 32 | }}} |
| 33 | |
| 34 | |
| 35 | To find the expiration date for a sliver, you can use omni or stitcher as follows: |
| 36 | {{{ |
| 37 | $omni --useSliceAggregates sliverstatus slice-name -o |
| 38 | .... |
| 39 | Slice slice-name at AM ucd-eg has overall SliverStatus: ready. |
| 40 | Resources in slice slice-name at AM ucd-eg expire at 2015-03-02T17:48:44 UTC. <<---- Expiration date for sliver |
| 41 | Saved sliverstatus on slice-name at AM ucd-eg to file slice-name-sliverstatus-exogeni-net-ucdvmsite.json. |
| 42 | Slice slice-name at AM al2s has overall SliverStatus: ready. |
| 43 | Resources in slice slice-name at AM al2s expire at 2015-08-20T17:47:53 UTC. <<---- Expiration date for sliver |
| 44 | Saved sliverstatus on slice-name at AM al2s to file slice-name-sliverstatus-al2s-internet2-edu.json. |
| 45 | Slice slice-name at AM illinois-ig has overall SliverStatus: ready. |
| 46 | Resources in slice slice-name at AM illinois-ig expire at 2015-05-17T17:48:46 UTC. <<---- Expiration date for sliver |
| 47 | Saved sliverstatus on slice-name at AM illinois-ig to file slice-name-sliverstatus-instageni-illinois-edu.json. |
| 48 | Returned status of slivers on 5 of 5 possible aggregates. |
| 49 | }}} |
| 50 | |
| 51 | |
| 52 | |