vmware-nsx/quantum/debug
Jiajun Liu 5a55c3fd00 remove not need shebang line in quantum debug
Fixes bug 1050053.

Change-Id: Ia1d8e665d330698d246bddb57330cb376244a1f9
2012-09-20 04:57:12 +00:00
..
README Implements agent for Quantum Networking testing 2012-09-04 16:00:23 +00:00
__init__.py remove not need shebang line in quantum debug 2012-09-20 04:57:12 +00:00
commands.py remove not need shebang line in quantum debug 2012-09-20 04:57:12 +00:00
debug_agent.py remove not need shebang line in quantum debug 2012-09-20 04:57:12 +00:00
shell.py remove not need shebang line in quantum debug 2012-09-20 04:57:12 +00:00

README

Debug Helper Script for Quantum

- Configure
export TEST_CONFIG_FILE=/etc/quantum/dhcp_agent.ini
or
export TEST_CONFIG_FILE=/etc/quantum/l3_agent.ini

you can also specify config file by --config-file option

- Usage
quantum-debug commands

probe-create <net-id>  Create probe port - create port and interface, then plug it in.
  This commands returns a port id of a probe port. A probe port is a port which is used to test.
  The port id is probe id.
  We can have multiple probe probes in a network, in order to check connectivity between ports.

  quantum-debug probe-exec probe_id_1 'nc -l 192.168.100.3 22'
  quantum-debug probe-exec probe_id_2 'nc -vz 192.168.100.4 22'

probe-delete <port-id>  Delete probe - delete port then uplug
probe-exec <port-id> 'command'    Exec commands on the namespace of the probe
`probe-exec <port-id>` 'interactive command' Exec interactive command (eg, ssh)

probe-list     List probes
probe-clear    Clear All probes

ping-all --id <network_id> --timeout 1 (optional)
         ping-all is all-in-one command to ping all fixed ip's in all network or a specified network.
         In the command probe is automatically created if needed.

quantum-debug extends the shell of quantumclient,  so you can use all the commands of quantum