Changes between Version 10 and Version 11 of GENIExperimenter/Tutorials/RunHelloOmni
- Timestamp:
- 03/22/17 09:46:14 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/RunHelloOmni
v10 v11 125 125 omni listresources -a nysernet-ig -o 126 126 </code><br> 127 The <code>-o</code> 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 : <br> 128 <code> 129 geni@geni-VirtualBox:~$ omni listresources -a nysernet-ig -o<br> 127 The <code>-o</code> 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 : 128 <br> 129 <code> 130 $ omni listresources -a nysernet-ig -o<br> 130 131 20:13:35 INFO : Loading agg_nick_cache file '/home/rrhain/.gcf/agg_nick_cache'<br> 131 132 20:13:35 INFO : Loading config file '/home/rrhain/.gcf/omni_config'<br> … … 142 143 <br> 143 144 <pre> 144 Options as run: <br>145 Options as run: 145 146 aggregate: ['nysernet-ig'] 146 147 framework: portal … … 148 149 project: tutorial 149 150 </pre> 150 <br>151 151 Args: listresources<br> 152 <br>153 152 Result Summary: Queried resources from 1 of 1 aggregate(s).<br> 154 153 Wrote rspecs from 1 aggregate(s) to 1 file(s)<br> 155 154 Saved listresources RSpec from 'urn:publicid:IDN+instageni.nysernet.org+authority+cm' (url 'https://instageni.nysernet.org:12369/protogeni/xmlrpc/am/2.0') to file rspec-instageni-nysernet-org.xml;<br> 156 155 20:13:38 INFO : ======================================================<br> 157 </code><br> 158 In the last line of the output Omni will tell you the name of the file that output is saved at. In the example above this would be <code>rspec-instageni-nysernet-org.xml</code>. This file is a <a href="http://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs" target="_blank"> SPECification document(RSpec) </a>, and in particular an advertisement rspec. Open the file that Omni saved and just take a look to see how an advertisement RSpec looks like. In order to see only available resources type:<br> 156 </code> 157 <br> 158 159 In the last line of the output Omni will tell you the name of the file that output is saved at. In the example above this would be <code>rspec-instageni-nysernet-org.xml</code>. This file is a <a href="http://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs" target="_blank"> SPECification document(RSpec) </a>, and in particular an advertisement RSpec. Open the file that Omni saved and just take a look to see how an advertisement RSpec looks like. In order to see only available resources type:<br> 159 160 <code> 160 161 omni listresources -a nysernet-ig --available -o