Changes between Version 1 and Version 2 of Documentation/OMFCommandReference


Ignore:
Timestamp:
Jul 24, 2019, 3:25:12 PM (16 months ago)
Author:
jkol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/OMFCommandReference

    v1 v2  
    2121
    2222Examples:
     23
    2324  Return usage/help for the 'exec' command.
    2425    {{{omf exec -h}}}
     
    4344
    4445Examples:
    45   {{{omf stat -t all}}}
    46 
    47   {{{omf stat -t node1-1.grid.orbit-lab.org}}}
    48 
    49   {{{omf stat -t [1..2,1..2]}}}
    50 
    51   {{{omf stat -t system:topo:all -c grid}}}
     46
     47  Get the status of all nodes in the testbed.
     48    {{{omf stat -t all}}}
     49
     50  Get the status of a node.
     51    {{{omf stat -t node1-1.grid.orbit-lab.org}}}
     52
     53  Get the status of a range of nodes.
     54    {{{omf stat -t [1..2,1..2]}}}
     55
     56  Get the status of a topology.
     57    {{{omf stat -t system:topo:all -c grid}}}
    5258
    5359=== omf tell
     
    7177
    7278Examples:
    73   {{{omf tell -a reset -t node1-1.grid.orbit-lab.org}}}
    74 
    75   {{{omf tell -a on -t system:topo:all -c grid}}}
    76 
    77   {{{omf tell -a reboot -t node1-1}}}
    78 
    79   {{{omf tell -a offh -t [1..2,1..5]}}}
    80 
    81   {{{omf tell -a offh -t system:topo:all}}}
    82 
    83   {{{omf tell -a reset -t system:topo:imaged}}}
     79
     80  Reset (soft) a node.
     81    {{{omf tell -a reset -t node1-1.grid.orbit-lab.org}}}
     82
     83  Reboot (hard) a node.
     84    {{{omf tell -a reboot -t node1-1}}}
     85
     86  Turn off (hard) all nodes in a range.
     87    {{{omf tell -a offh -t [1..2,1..5]}}}
     88
     89  Turn off (hard) all nodes in a topology.
     90    {{{omf tell -a offh -t system:topo:all}}}
     91
     92  Reset (soft) all nodes in a topology.
     93    {{{omf tell -a reset -t system:topo:imaged}}}
    8494
    8595=== omf load
     
    110120
    111121Examples:
    112   {{{omf load -t all}}}
    113 
    114   {{{omf load -t system:topo:all -i baseline-2.4.ndz}}}
    115 
    116   {{{omf load -t node1-1 -i wireless-2.6.ndz}}}
    117 
    118   {{{omf load -t [1..10,1..5] -i baseline.ndz -o 400}}}
    119 
    120   {{{omf load -t system:topo:circle -i my_Own_Image.ndz}}}
    121 
    122   {{{omf load -t my_Own_Topology -i baseline-2.2.ndz -t 600 -c grid}}}
    123 
    124   {{{omf load -t my_Own_Topology --outpath ./ --outprefix my_Own_Prefix}}}
     122
     123  Load the default baseline image (baseline.ndz) on all nodes in the testbed.
     124    {{{omf load -t all}}}
     125
     126  Load a image on all nodes in a topology.
     127    {{{omf load -t system:topo:all -i baseline-2.4.ndz}}}
     128
     129  Load an image onto a node.
     130    {{{omf load -t node1-1 -i wireless-2.6.ndz}}}
     131
     132  Load an image onto a range of nodes with a timeout of 400 seconds.
     133    {{{omf load -t [1..10,1..5] -i baseline.ndz -o 400}}}
     134
     135  Load an image onto all nodes in a topology.
     136    {{{omf load -t system:topo:circle -i my_Own_Image.ndz}}}
     137
     138  Load an image onto all nodes in a topology.
     139    {{{omf load -t my_Own_Topology -i baseline-2.2.ndz -t 600 -c grid}}}
     140
     141  ...
     142    {{{omf load -t my_Own_Topology --outpath ./ --outprefix my_Own_Prefix}}}
    125143
    126144
     
    141159}}}
    142160
    143 Examples:
    144   {{{omf save -n node5-3.grid.orbit-lab.org}}}
    145 
    146   {{{omf save -n node1-1.sb2.orbit-lab.org}}}
     161NODE must be specified in FQDN (fully qualified domain name) format (eg. node1-1.sb1.orbit-lab.org).
     162
     163Examples:
     164
     165  Save the disk image from a node.
     166    {{{omf save -n node5-3.grid.orbit-lab.org}}}
     167
     168    {{{omf save -n node1-1.sb2.orbit-lab.org}}}
    147169
    148170=== omf exec