Changes between Version 13 and Version 14 of NikySandbox/TridentCommTut


Ignore:
Timestamp:
05/16/12 08:05:16 (8 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NikySandbox/TridentCommTut

    v13 v14  
    146146}}}
    147147
    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 :
     148The `-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{{{
     150geni@geni-vm:~$ omni.py listresources -a pg-utah -o
     151INFO:omni:Loading config file /home/geni/.gcf/omni_config
     152INFO:omni:Using control framework pg
     153INFO:omni:Saving output to a file.
     154INFO:omni:Substituting AM nickname pg-utah with URL https://www.emulab.net/protogeni/xmlrpc/am, URN unspecified_AM_URN
     155INFO:omni:Listed resources on 1 out of 1 possible aggregates.
     156INFO:omni:Writing to 'rspec-www-emulab-net-protogeni.xml'
     157INFO:omni: ------------------------------------------------------------
     158INFO: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.
     169Wrote rspecs from 1 aggregates to 1 files
     170Saved listresources RSpec at 'unspecified_AM_URN' to file rspec-www-emulab-net-protogeni.xml; .
     171INFO:omni: ============================================================
     172}}}
     173
     174Open the file that Omni saved and just take a look to see how an advertisement RSpec looks like.
    149175
    150176=== Listmyslices in Omni ===
     
    155181}}}
    156182
    157 For user gpousr25, this would look like :
    158 {{{
    159 
     183The output looks like :
     184{{{
     185geni@geni-vm:~$ omni.py listmyslices inki
     186INFO:omni:Loading config file /home/geni/.gcf/omni_config
     187INFO:omni:Using control framework pg
     188INFO: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
     192INFO:omni: ------------------------------------------------------------
     193INFO: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 
     203INFO:omni: ============================================================
     204geni@geni-vm:~$ ]
    160205}}}
    161206