Ravel Python API Reference
A Database-Defined Network Controller
Public Member Functions | List of all members
ravel.cli.RavelConsole Class Reference

Command line interface for Ravel. More...

Inherits Cmd.

Public Member Functions

def default
 Check loaded applications before raising unknown command error.
 
def emptyline
 Don't repeat the last line when hitting return on empty line.
 
def do_test
 Placeholder for batch commands for testing.
 
def do_apps
 List available applications and their status.
 
def do_profile
 Run command and report detailed execution time. More...
 
def do_reinit
 Reinitialize the database, deleting all data except topology.
 
def do_stat
 Show running configuration, state.
 
def do_time
 Run command and report execution time.
 
def do_watch
 Launch an xterm window to watch database tables in real-time. More...
 
def do_EOF
 Quit Ravel console.
 
def do_exit
 Quit Ravel console.
 
def do_help
 List available commands with 'help' or detailed help with 'help cmd'.
 
def completenames
 Add loaded application names/shortcuts to cmd name completions.
 

Detailed Description

Command line interface for Ravel.

Member Function Documentation

def ravel.cli.RavelConsole.do_profile (   self,
  line 
)

Run command and report detailed execution time.

Note - if no counters are found, try enabling auto-orchestration with orch auto on

def ravel.cli.RavelConsole.do_watch (   self,
  line 
)

Launch an xterm window to watch database tables in real-time.

Parameters
Usagewatch [table1(,max_rows)] [table2(,max_rows)] ...
Examplewatch hosts switches cf,5

The documentation for this class was generated from the following file: