| 
| def  | __init__ (self, mininet, stdin=sys.stdin, script=None, **kwargs) | 
|   | Start and run interactive or batch mode CLI.  More...
  | 
|   | 
| def  | initReadline (cls) | 
|   | Set up history if readline is available.  More...
  | 
|   | 
| 
def  | run (self) | 
|   | Run our cmdloop(), catching KeyboardInterrupt. 
  | 
|   | 
| 
def  | emptyline (self) | 
|   | Don't repeat last command when you hit return. 
  | 
|   | 
| 
def  | getLocals (self) | 
|   | Local variable bindings for py command. 
  | 
|   | 
| 
def  | do_help (self, line) | 
|   | Describe available CLI commands. 
  | 
|   | 
| 
def  | do_nodes (self, _line) | 
|   | List all nodes. 
  | 
|   | 
| 
def  | do_ports (self, _line) | 
|   | display ports and interfaces for each switch 
  | 
|   | 
| 
def  | do_net (self, _line) | 
|   | List network connections. 
  | 
|   | 
| def  | do_sh (self, line) | 
|   | Run an external shell command.  More...
  | 
|   | 
| def  | do_py (self, line) | 
|   | Evaluate a Python expression.  More...
  | 
|   | 
| def  | do_px (self, line) | 
|   | Execute a Python statement.  More...
  | 
|   | 
| 
def  | do_pingall (self, line) | 
|   | Ping between all hosts. 
  | 
|   | 
| 
def  | do_pingpair (self, _line) | 
|   | Ping between first two hosts, useful for testing. 
  | 
|   | 
| 
def  | do_pingallfull (self, _line) | 
|   | Ping between all hosts, returns all ping results. 
  | 
|   | 
| 
def  | do_pingpairfull (self, _line) | 
|   | Ping between first two hosts, returns all ping results. 
  | 
|   | 
| def  | do_iperf (self, line) | 
|   | Simple iperf TCP test between two (optionally specified) hosts.  More...
  | 
|   | 
| def  | do_iperfudp (self, line) | 
|   | Simple iperf UDP test between two (optionally specified) hosts.  More...
  | 
|   | 
| 
def  | do_intfs (self, _line) | 
|   | List interfaces. 
  | 
|   | 
| 
def  | do_dump (self, _line) | 
|   | Dump node info. 
  | 
|   | 
| def  | do_link (self, line) | 
|   | Bring link(s) between two nodes up or down.  More...
  | 
|   | 
| def  | do_xterm (self, line, term='xterm') | 
|   | Spawn xterm(s) for the given node(s).  More...
  | 
|   | 
| def  | do_x (self, line) | 
|   | Create an X11 tunnel to the given node, optionally starting a client.  More...
  | 
|   | 
| def  | do_gterm (self, line) | 
|   | Spawn gnome-terminal(s) for the given node(s).  More...
  | 
|   | 
| 
def  | do_exit (self, _line) | 
|   | Exit. 
  | 
|   | 
| 
def  | do_quit (self, line) | 
|   | Exit. 
  | 
|   | 
| 
def  | do_EOF (self, line) | 
|   | Exit. 
  | 
|   | 
| 
def  | isatty (self) | 
|   | Is our standard input a tty? 
  | 
|   | 
| def  | do_noecho (self, line) | 
|   | Run an interactive command with echoing turned off.  More...
  | 
|   | 
| def  | do_source (self, line) | 
|   | Read commands from an input file.  More...
  | 
|   | 
| def  | do_dpctl (self, line) | 
|   | Run dpctl (or ovs-ofctl) command on all switches.  More...
  | 
|   | 
| 
def  | do_time (self, line) | 
|   | Measure time taken for any command in Mininet. 
  | 
|   | 
| 
def  | do_links (self, _line) | 
|   | Report on links. 
  | 
|   | 
| 
def  | do_switch (self, line) | 
|   | Starts or stops a switch. 
  | 
|   | 
| 
def  | do_wait (self, _line) | 
|   | Wait until all switches have connected to a controller. 
  | 
|   | 
| def  | default (self, line) | 
|   | Called on an input line when the command prefix is not recognized.  More...
  | 
|   | 
| 
def  | waitForNode (self, node) | 
|   | Wait for a node to finish, and print its output. 
  | 
|   | 
| 
def  | precmd (self, line) | 
|   | allow for comments in the cli 
  | 
|   | 
Simple command-line interface to talk to nodes.