Changes between Initial Version and Version 1 of GEC11NetworkingExperiments/TutorialBackup


Ignore:
Timestamp:
07/26/11 16:47:19 (13 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC11NetworkingExperiments/TutorialBackup

    v1 v1  
     1
     2Before configuring your omni, you will need to run this command. For <USERNAME>,
     3you can use anything you want.
     4
     5{{{
     6gen-certs.py -f gcf.ini -u <USERNAME>
     7}}}
     8
     9Then we would need to start a local clearing house, slice authority and aggregate manager.
     10Run this command to start the CH and the SA:
     11{{{
     12xterm -e gcf-ch.py -f gcf.ini &
     13}}}
     14
     15Run this command to start the AM:
     16{{{
     17xterm -e gcf-am.py  -f gcf.ini &
     18}}}
     19
     20Now you can go ahead and configure omni. You can go through the omni commands
     21that we go over in the tutorial just use the option '-f my_gcf'.
     22
     23   * 'createslice' command would look like
     24   {{{
     25omni.py createslice <USERNAME>slice -f my_gcf
     26   }}}
     27
     28   * 'listmyslices'
     29   {{{
     30omni.py listmyslices <USERNAME> -f my_gcf
     31}}}
     32
     33   * 'renewslice'
     34   {{{
     35omni.py renewslice -c omni_config_inki inkislice -f my_gcf 20110727T00:00:00
     36   }}}
     37   
     38Also use the '--omnispec' in listresources, createsliver. So listresources would look like
     39
     40   * 'listresources'
     41   {{{
     42   omni.py listresources -f my_gcf --omnispec -o
     43   }}}
     44   Copy the output file from the above command to a new file
     45   {{{
     46cp omnispec-1AMs.json rspecs/mygcf.rspec
     47   }}}
     48   
     49   * 'createsliver'
     50   Edit the above created file, 'mygcf.rspec', and change the 'allocate' ('''NOT''' the 'allocated') from false to true and then
     51   {{{
     52     omni.py createsliver -f my_gcf --omnispec <USERNAME>slice rspecs/mygcf.rspec
     53   }}}
     54
     55   * 'listresources' in a slice
     56   {{{
     57   omni.py listresources -f my_gcf --omnispec <USERNAME>slice
     58   }}}
     59
     60   * 'deletesliver'
     61   {{{
     62    {{{
     63   omni.py deletesliver -f my_gcf --omnispec <USERNAME>slice
     64   }}}