The neutron-debug client is an extension to the neutron command-line interface (CLI) for the OpenStack neutron-debug tool.
This chapter documents neutron-debug version 2.3.0
.
For help on a specific neutron-debug command, enter:
$ neutron-debug help COMMAND
usage: neutron-debug [--version] [-v] [-q] [-h] [-r NUM]
[--os-service-type <os-service-type>]
[--os-endpoint-type <os-endpoint-type>]
[--service-type <service-type>]
[--endpoint-type <endpoint-type>]
[--os-auth-strategy <auth-strategy>] [--os-cloud <cloud>]
[--os-auth-url <auth-url>]
[--os-tenant-name <auth-tenant-name> | --os-project-name <auth-project-name>]
[--os-tenant-id <auth-tenant-id> | --os-project-id <auth-project-id>]
[--os-username <auth-username>]
[--os-user-id <auth-user-id>]
[--os-user-domain-id <auth-user-domain-id>]
[--os-user-domain-name <auth-user-domain-name>]
[--os-project-domain-id <auth-project-domain-id>]
[--os-project-domain-name <auth-project-domain-name>]
[--os-cert <certificate>] [--os-cacert <ca-certificate>]
[--os-key <key>] [--os-password <auth-password>]
[--os-region-name <auth-region-name>]
[--os-token <token>] [--http-timeout <seconds>]
[--os-url <url>] [--insecure] [--config-file CONFIG_FILE]
<subcommand> ...
probe-create
probe-list
probe-clear
probe-delete
probe-exec
ping-all
ping-all
is an all-in-one command to ping all fixed IPs in a specified
network.--version
-v, --verbose, --debug
-q, --quiet
-h, --help
-r NUM, --retries NUM
--os-service-type <os-service-type>
--os-endpoint-type <os-endpoint-type>
env[OS_ENDPOINT_TYPE]
or public.--service-type <service-type>
--endpoint-type <endpoint-type>
--os-auth-strategy <auth-strategy>
os-cloud <cloud>
--os-auth-url <auth-url>
--os-tenant-name <auth-tenant-name>
--os-project-name <auth-project-name>
--os-tenant-id <auth-tenant-id>
--os-project-id <auth-project-id>
--os-username <auth-username>
--os-user-id <auth-user-id>
--os-user-domain-id <auth-user-domain-id>
--os-user-domain-name <auth-user-domain-name>
--os-project-domain-id <auth-project-domain-id>
--os-project-domain-name <auth-project-domain-name>
--os-cert <certificate>
--os-cacert <ca-certificate>
--os-key <key>
--os-password <auth-password>
--os-region-name <auth-region-name>
--os-token <token>
--http-timeout <seconds>
--os-url <url>
--insecure
--config-file CONFIG_FILE
usage: neutron-debug probe-create NET
Create probe port - create port and interface, then place it into the created network namespace.
NET ID
usage: neutron-debug probe-delete <port-id>
Remove a probe.
<port-id>
usage: neutron-debug probe-exec <port-id> <command>
Execute commands in the namespace of the probe
usage: neutron-debug ping-all <port-id> --timeout <number>
All-in-one command to ping all fixed IPs in a specified network. A probe creation is not needed for this command. A new probe is created automatically. It will, however, need to be deleted manually when it is no longer needed. When there are multiple networks, the newly created probe will be attached to a random network and thus the ping will take place from within that random network.
<port-id>
--timeout <timeout in seconds>
usage: neutron-debug create-probe <NET_ID>
Create a probe namespace within the network identified by NET_ID
.
The namespace will have the name of qprobe-<UUID of the probe port>
Note
For the following examples to function, the security group rules may need to be modified to allow the SSH (TCP port 22) or ping (ICMP) traffic into network.
usage: neutron-debug probe-exec <probe ID> "ssh <IP of instance>"
SSH to an instance within the network.
usage: neutron-debug ping-all <network ID>
Ping all instances on this network to verify they are responding.
usage: neutron-debug probe-exec <probe_ID> dhcping <VM_MAC address> -s <IP of DHCP server>
Ping the DHCP server for this network using dhcping to verify it is working.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.