close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 170 and Version 171 of Old/WiMAX/bOperations


Ignore:
Timestamp:
Jul 3, 2013, 7:43:10 PM (11 years ago)
Author:
ParviK
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/WiMAX/bOperations

    v170 v171  
    303303[[Image(4Node_3.png, 600)]]
    304304
     305
     306==== Some useful commands ====
     307
     308Once you have the testbed set up as explained above, use the following commands to talk to the nodes or troubleshoot.
     309
     3101. '''omf stat'''
     311   
     312   The manual page is shown below.
     313{{{
     314> omf help stat
     315
     316Returns the status of the nodes in a testbed
     317
     318Usage:
     319       stat [-h]
     320       stat [-c] [DOMAIN]
     321       stat "[TOPOLOGY]" [DOMAIN]
     322
     323      With:
     324      -h, --help    print this help message
     325      -c, --count   print a summary of the node status for the testbed DOMAIN
     326                    (default is the testbed where this command is executed)
     327      TOPOLOGY      a valid topology description or file without the trailing '.rb'
     328                    (default is the entire set of nodes on the default testbed)
     329
     330      Some Examples:
     331                     stat all grid
     332                     stat "[[1,2],[1,1]]" sb1
     333                     stat "[[1,1],[2..6,1..2]]"
     334                     stat system:topo:all
     335                     stat system:topo:circle
     336                     stat topo_grid_active
     337}}}
     338
     3392. '''omf tell'''
     340   
     341   The manual page is shown below.
     342{{{
     343> omf help tell
     344
     345Switch ON/OFF the nodes in a testbed
     346
     347Usage:
     348       tell [-h]
     349       tell [COMMAND] "[TOPOLOGY]" [DOMAIN]
     350
     351      With:
     352      -h, --help    print this help message
     353
     354      COMMAND:
     355      on, -on, --turn-on              turn node(s) ON
     356      offs, -offs, --turn-off-soft    turn node(s) OFF (soft)
     357      offh, -offh, --turn-off-hard    turn node(s) OFF (hard)
     358
     359      TOPOLOGY      a valid topology description or file
     360                    (default is the entire set of nodes on the default testbed)
     361
     362      Some Examples:
     363                     tell on all grid
     364                     tell on "1,1..2"
     365                     tell offs "[[1,2],[1,1]]" sb1
     366                     tell offs "[[1,1],[2..6,1..2]]"
     367                     tell offh system:topo:all
     368                     tell offh topo_grid_active
     369}}}
     370
     371