| 142 | == How-to handle-geni.py command == |
| 143 | The helper-scripts/handle-geni.py command can be useful in debugging gush, and in determining how to connect to a host. For example in the above PG Gush example, one can connect to each of the hosts in the slice lnevers02. The ''connect'' command argument was based on the results for the following: |
| 144 | {{{ |
| 145 | $ helper-scripts/handle-geni.py -f pg -a https://www.emulab.net/protogeni/xmlrpc/am sliverstatus lnevers02 |
| 146 | INFO:omni:Loading config file omni_config |
| 147 | INFO:omni:Using control framework pg |
| 148 | INFO:omni:Sliver at https://www.emulab.net/protogeni/xmlrpc/am: |
| 149 | <?xml version="1.0"?> |
| 150 | <gush> |
| 151 | <slice name="lnevers02"> |
| 152 | <expires>2011-10-17 18:24:37</expires> |
| 153 | <node name="lnevers@pc151.emulab.net"/> |
| 154 | <node name="lnevers@pc96.emulab.net"/> |
| 155 | </slice> |
| 156 | </gush> |
| 157 | }}} |
| 158 | The quoted value of "node name" is used to connect to a host when running GUSH. |
| 159 | |