miscellaneous networking command-line clientneutron-debug command-line clientThe 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-debugCOMMANDneutron-debug usage [--os-password <auth-password>]
[--os-tenant-name <auth-tenant-name>]
[--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>]
[--os-region-name <region-name>] [--service-type <service-type>]
[--service-name <service-name>]
[--volume-service-name <volume-service-name>]
[--endpoint-type <endpoint-type>]
[--os-volume-api-version <volume-api-ver>]
[--os-cacert <ca-certificate>] [--retries <retries>]
<subcommand> ...
Subcommandsprobe-create
Create probe port - create port and interface within a network namespace.
probe-list
List all probes.
probe-clear
Clear all probes.
probe-delete
Delete probe - delete port then delete the namespace.
probe-exec
Execute commands in the namespace of the probe.
ping-all
ping-all is an all-in-one command to ping all fixed IPs in a specified network.
neutron-debug optional arguments--versionShow version number and exit.-v, --verbose, --debugIncrease verbosity of output and show tracebacks on
errors. Can be repeated.-q, --quietSuppress output except warnings and errors-h, --helpShow this help message and exit--os-auth-strategy
<auth-strategy>Authentication strategy (Env: OS_AUTH_STRATEGY,
default keystone). For now, any other value will disable
the authentication--os-auth-url <auth-url>Authentication URL (Env: OS_AUTH_URL)--os-tenant-name
<auth-tenant-name>Authentication tenant name (Env: OS_TENANT_NAME)
--os-tenant-id
<auth-tenant-id>Authentication tenant name (Env: OS_TENANT_ID)
--os-username
<auth-username>Authentication username (Env: OS_USERNAME)--os-password
<auth-password>Authentication password (Env: OS_PASSWORD)--os-region-name
<auth-region-name>Authentication region name (Env: OS_REGION_NAME)
--os-token <token>Defaults to env[OS_TOKEN]--endpoint-type
<endpoint-type>Defaults to env[OS_ENDPOINT_TYPE] or
public URL.--os-url <url>Defaults to env[OS_URL]--os-cacert
<ca-certificate>Specify a CA bundle file to use in verifying a TLS
(HTTPS) server certificate. Defaults to
env[OS_CACERT]--insecureExplicitly allow neutron-debug to perform "insecure"
SSL (HTTPS) requests. The server's certificate will not be
verified against any certificate authorities. This option
should be used with caution.--config-file CONFIG_FILEConfig file for interface driver (You may also use
l3_agent.ini)neutron-debug probe-create commandusage: neutron-debug probe-create NETCreate probe port - create port and interface, then
place it into the created network namespace.Positional argumentsNET IDID of the network in which the probe will be
created.neutron-debug probe-list commandusage: neutron-debug probe-listList probes.neutron-debug probe-clear commandusage: neutron-debug probe-clearClear all probes.neutron-debug probe-delete commandusage: neutron-debug probe-delete <port-id>
Remove a probe.
Positional arguments<port-id>ID of the probe to delete.neutron-debug probe-exec commandusage: neutron-debug probe-exec <port-id> <command>Execute commands in the namespace of the probeneutron-debug ping-all commandusage: neutron-debug ping-all <port-id> --timeout <numberAll-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.Positional arguments<port-id>ID of the port to use.Optional arguments--timeout <timeout in
seconds>Optional ping timeout.neutron-debug exampleusage: 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>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.neutron-sanity-check command-line clientThe neutron-sanity-check client is a tool
that checks various sanity about the Networking service. This chapter
documents neutron-sanity-check version 7.0.2.neutron-sanity-check usageusage: neutron-sanity-check [-h] [--arp_header_match] [--arp_responder]
[--config-dir DIR] [--config-file PATH] [--debug]
[--dibbler_version] [--dnsmasq_version]
[--ebtables_installed] [--icmpv6_header_match]
[--iproute2_vxlan] [--keepalived_ipv6_support]
[--log-config-append PATH]
[--log-date-format DATE_FORMAT]
[--log-dir LOG_DIR] [--log-file PATH]
[--log-format FORMAT] [--noarp_header_match]
[--noarp_responder] [--nodebug]
[--nodibbler_version] [--nodnsmasq_version]
[--noebtables_installed] [--noicmpv6_header_match]
[--noiproute2_vxlan] [--nokeepalived_ipv6_support]
[--nonova_notify] [--noovs_geneve] [--noovs_patch]
[--noovs_vxlan] [--noovsdb_native]
[--noread_netns] [--nouse-syslog]
[--nouse-syslog-rfc-format] [--nova_notify]
[--noverbose] [--novf_management] [--ovs_geneve]
[--ovs_patch] [--ovs_vxlan] [--ovsdb_native]
[--read_netns] [--state_path STATE_PATH]
[--syslog-log-facility SYSLOG_LOG_FACILITY]
[--use-syslog] [--use-syslog-rfc-format]
[--verbose] [--version] [--vf_management]neutron-sanity-check optional arguments-h, --helpshow this help message and exit--arp_header_matchCheck for ARP header match support--arp_responderCheck for ARP responder support--config-dir DIRPath to a config directory to pull *.conf files from.
This file set is sorted, so as to provide a
predictable parse order if individual options are
over-ridden. The set is parsed after the file(s)
specified via previous --config-file, arguments hence
over-ridden options in the directory take precedence.--config-file PATHPath to a config file to use. Multiple config files
can be specified, with values in later files taking
precedence. The default files used are: None.--debug, -dPrint debugging output (set logging level to DEBUG
instead of default INFO level).--dibbler_versionCheck minimal dibbler version--dnsmasq_versionCheck minimal dnsmasq version--ebtables_installedCheck ebtables installation--icmpv6_header_matchCheck for ICMPv6 header match support--iproute2_vxlanCheck for iproute2 vxlan support--keepalived_ipv6_supportCheck keepalived IPv6 support--log-config-append PATH, --log_config PATHThe name of a logging configuration file. This file is
appended to any existing logging configuration files.
For details about logging configuration files, see the
Python logging module documentation.--log-date-format DATE_FORMATFormat string for %(asctime)s in log records. Default: None.--log-dir LOG_DIR, --logdir LOG_DIR(Optional) The base directory used for relative
--log-file paths.--log-file PATH, --logfile PATH(Optional) Name of log file to output to. If no
default is set, logging will go to stdout.--log-format FORMATDEPRECATED. A logging.Formatter log message format
string which may use any of the available
logging.LogRecord attributes. This option is
deprecated. Please use logging_context_format_string
and logging_default_format_string instead.--noarp_header_matchThe inverse of --arp_header_match--noarp_responderThe inverse of --arp_responder--nodebugThe inverse of --debug--nodibbler_versionThe inverse of --dibbler_version--nodnsmasq_versionThe inverse of --dnsmasq_version--noebtables_installedThe inverse of --ebtables_installed--noicmpv6_header_matchThe inverse of --icmpv6_header_match--noiproute2_vxlanThe inverse of --iproute2_vxlan--nokeepalived_ipv6_supportThe inverse of --keepalived_ipv6_support--nonova_notifyThe inverse of --nova_notify--noovs_geneveThe inverse of --ovs_geneve--noovs_patchThe inverse of --ovs_patch--noovs_vxlanThe inverse of --ovs_vxlan--noovsdb_nativeThe inverse of --ovsdb_native--noread_netnsThe inverse of --read_netns--nouse-syslogThe inverse of --use-syslog--nouse-syslog-rfc-formatThe inverse of --use-syslog-rfc-format--nova_notifyCheck for nova notification support--noverboseThe inverse of --verbose--novf_managementThe inverse of --vf_management--ovs_geneveCheck for OVS Geneve support--ovs_patchCheck for patch port support--ovs_vxlanCheck for OVS vxlan support--ovsdb_nativeCheck ovsdb native interface support--read_netnsCheck netns permission settings--state_path STATE_PATHWhere to store Neutron state files. This directory
must be writable by the agent.--syslog-log-facility SYSLOG_LOG_FACILITYSyslog facility to receive log lines.--use-syslogUse syslog for logging. Existing syslog format is
DEPRECATED and will be changed later to honor RFC5424.--use-syslog-rfc-format(Optional) Enables or disables syslog rfc5424 format
for logging. If enabled, prefixes the MSG part of the
syslog message with APP-NAME (RFC5424). The format
without the APP-NAME is deprecated in Kilo, and will
be removed in Mitaka, along with this option.--verbose, -vIf set to false, will disable INFO logging level,
making WARNING the default.--versionshow program's version number and exit--vf_managementCheck for VF management support