~ubuntu-branches/ubuntu/trusty/quantum/trusty

« back to all changes in this revision

Viewing changes to quantum/debug/README

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short
  • Date: 2012-11-23 09:43:14 UTC
  • mfrom: (2.1.16)
  • Revision ID: package-import@ubuntu.com-20121123094314-e1tqsulrwe21b9aq
Tags: 2013.1~g1-0ubuntu1
[ Adam Gandelman ]
* debian/patches/*: Refreshed for opening of Grizzly.

[ Chuck Short ]
* New upstream release.
* debian/rules: FTFBS if there is missing binaries.
* debian/quantum-server.install: Add quantum-debug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Debug Helper Script for Quantum
2
2
 
3
3
- Configure
4
 
export TEST_CONFIG_FILE=/etc/quantum/dhcp_agent.ini
 
4
export QUANTUM_TEST_CONFIG_FILE=/etc/quantum/debug.ini
5
5
or
6
 
export TEST_CONFIG_FILE=/etc/quantum/l3_agent.ini
 
6
export QUANTUM_TEST_CONFIG_FILE=/etc/quantum/l3_agent.ini
7
7
 
8
8
you can also specify config file by --config-file option
9
9
 
10
10
- Usage
11
11
quantum-debug commands
12
12
 
13
 
probe-create <net-id>  Create probe port - create port and interface, then plug it in.
 
13
probe-create <net-id>
 
14
  Create probe port - create port and interface, then plug it in.
14
15
  This commands returns a port id of a probe port. A probe port is a port which is used to test.
15
16
  The port id is probe id.
16
17
  We can have multiple probe probes in a network, in order to check connectivity between ports.
18
19
  quantum-debug probe-exec probe_id_1 'nc -l 192.168.100.3 22'
19
20
  quantum-debug probe-exec probe_id_2 'nc -vz 192.168.100.4 22'
20
21
 
 
22
  Note: You should use a user and a tenant who has permission to
 
23
   modify network and subnet if you want to probe. For example, you need to be admin user if you
 
24
   want to probe external network.
 
25
 
21
26
probe-delete <port-id>  Delete probe - delete port then uplug
22
27
probe-exec <port-id> 'command'    Exec commands on the namespace of the probe
23
28
`probe-exec <port-id>` 'interactive command' Exec interactive command (eg, ssh)