148 | | The `-o` option will save the output to a file. The filename is chosen by Omni and printed as part of the output. For user gpousr25 this will look like : |
| 148 | The `-o` option will save the output to a file. The filename is chosen by Omni and printed as part of the output. The output will look like : |
| 149 | {{{ |
| 150 | geni@geni-vm:~$ omni.py listresources -a pg-utah -o |
| 151 | INFO:omni:Loading config file /home/geni/.gcf/omni_config |
| 152 | INFO:omni:Using control framework pg |
| 153 | INFO:omni:Saving output to a file. |
| 154 | INFO:omni:Substituting AM nickname pg-utah with URL https://www.emulab.net/protogeni/xmlrpc/am, URN unspecified_AM_URN |
| 155 | INFO:omni:Listed resources on 1 out of 1 possible aggregates. |
| 156 | INFO:omni:Writing to 'rspec-www-emulab-net-protogeni.xml' |
| 157 | INFO:omni: ------------------------------------------------------------ |
| 158 | INFO:omni: Completed listresources: |
| 159 | |
| 160 | Options as run: |
| 161 | aggregate: pg-utah |
| 162 | framework: pg |
| 163 | native: True |
| 164 | output: True |
| 165 | |
| 166 | Args: listresources |
| 167 | |
| 168 | Result Summary: Retrieved resources from 1 aggregates. |
| 169 | Wrote rspecs from 1 aggregates to 1 files |
| 170 | Saved listresources RSpec at 'unspecified_AM_URN' to file rspec-www-emulab-net-protogeni.xml; . |
| 171 | INFO:omni: ============================================================ |
| 172 | }}} |
| 173 | |
| 174 | Open the file that Omni saved and just take a look to see how an advertisement RSpec looks like. |
157 | | For user gpousr25, this would look like : |
158 | | {{{ |
159 | | |
| 183 | The output looks like : |
| 184 | {{{ |
| 185 | geni@geni-vm:~$ omni.py listmyslices inki |
| 186 | INFO:omni:Loading config file /home/geni/.gcf/omni_config |
| 187 | INFO:omni:Using control framework pg |
| 188 | INFO:omni:User 'inki' has slice(s): |
| 189 | urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+testclemson |
| 190 | urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+gponox |
| 191 | urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+inkislice |
| 192 | INFO:omni: ------------------------------------------------------------ |
| 193 | INFO:omni: Completed listmyslices: |
| 194 | |
| 195 | Options as run: |
| 196 | framework: pg |
| 197 | native: True |
| 198 | |
| 199 | Args: listmyslices inki |
| 200 | |
| 201 | Result Summary: Found 3 slice(s) for user 'inki'. |
| 202 | |
| 203 | INFO:omni: ============================================================ |
| 204 | geni@geni-vm:~$ ] |