/opt/chainguard/openstack-neutron-2026.2/lib/python3.14/site-packages/futurist/_utils.py:34: EventletDeprecationWarning:
Eventlet is deprecated. It is currently being maintained in bugfix mode, and
we strongly recommend against using it for new projects.
If you are already using Eventlet, we recommend migrating to a different
framework. For more detail see
https://eventlet.readthedocs.io/en/latest/asyncio/migration.html
import eventlet as _eventlet # noqa
usage: neutron-sanitize-port-mac-addresses [-h] [--config-dir DIR] [--config-file PATH] [--debug]
[--log-config-append PATH]
[--log-date-format DATE_FORMAT] [--log-dir LOG_DIR]
[--log-file PATH] [--nodebug] [--nouse-journal]
[--nouse-json] [--nouse-syslog]
[--shell_completion SHELL_COMPLETION]
[--state_path STATE_PATH]
[--syslog-log-facility SYSLOG_LOG_FACILITY]
[--use-journal] [--use-json] [--use-syslog]
[--database-asyncio_connection DATABASE_ASYNCIO_CONNECTION]
[--database-asyncio_slave_connection DATABASE_ASYNCIO_SLAVE_CONNECTION]
[--database-backend DATABASE_BACKEND]
[--database-connection DATABASE_CONNECTION]
[--database-connection_debug DATABASE_CONNECTION_DEBUG]
[--database-connection_parameters DATABASE_CONNECTION_PARAMETERS]
[--database-connection_recycle_time DATABASE_CONNECTION_RECYCLE_TIME]
[--database-connection_trace]
[--database-db_inc_retry_interval]
[--database-db_max_retries DATABASE_DB_MAX_RETRIES]
[--database-db_max_retry_interval DATABASE_DB_MAX_RETRY_INTERVAL]
[--database-db_retry_interval DATABASE_DB_RETRY_INTERVAL]
[--database-max_overflow DATABASE_MAX_OVERFLOW]
[--database-max_pool_size DATABASE_MAX_POOL_SIZE]
[--database-max_retries DATABASE_MAX_RETRIES]
[--database-mysql_sql_mode DATABASE_MYSQL_SQL_MODE]
[--database-mysql_wsrep_sync_wait DATABASE_MYSQL_WSREP_SYNC_WAIT]
[--database-noconnection_trace]
[--database-nodb_inc_retry_interval]
[--database-nosqlite_synchronous]
[--database-nosynchronous_reader]
[--database-nouse_db_reconnect]
[--database-pool_timeout DATABASE_POOL_TIMEOUT]
[--database-retry_interval DATABASE_RETRY_INTERVAL]
[--database-slave_connection DATABASE_SLAVE_CONNECTION]
[--database-sqlite_synchronous]
[--database-synchronous_reader]
[--database-use_db_reconnect]
options:
-h, --help show this help message and exit
--config-dir DIR Path 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. This option must be set from the command-line.
--config-file PATH Path to a config file to use. Multiple config files can be specified, with
values in later files taking precedence. Defaults to None. This option
must be set from the command-line.
--debug, -d If set to true, the logging level will be set to DEBUG instead of the
default INFO level.
--log-config-append, --log-config, --log_config PATH
The 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. Note
that when logging configuration files are used then all logging
configuration is set in the configuration file and other logging
configuration options are ignored (for example, log-date-format).
--log-date-format DATE_FORMAT
Defines the format string for %(asctime)s in log records. Default: None .
This option is ignored if log_config_append is set.
--log-dir, --logdir LOG_DIR
(Optional) The base directory used for relative log_file paths. This
option is ignored if log_config_append is set.
--log-file, --logfile PATH
(Optional) Name of log file to send logging output to. If no default is
set, logging will go to stderr as defined by use_stderr. This option is
ignored if log_config_append is set.
--nodebug The inverse of --debug
--nouse-journal The inverse of --use-journal
--nouse-json The inverse of --use-json
--nouse-syslog The inverse of --use-syslog
--shell_completion SHELL_COMPLETION
Display a shell completion script Allowed values: bash, zsh
--state_path STATE_PATH
Where to store Neutron state files. This directory must be writable by the
agent.
--syslog-log-facility SYSLOG_LOG_FACILITY
Syslog facility to receive log lines. This option is ignored if
log_config_append is set.
--use-journal Enable journald for logging. If running in a systemd environment you may
wish to enable journal support. Doing so will use the journal native
protocol which includes structured metadata in addition to log
messages.This option is ignored if log_config_append is set.
--use-json Use JSON formatting for logging. This option is ignored if
log_config_append is set.
--use-syslog Use syslog for logging. Existing syslog format is DEPRECATED and will be
changed later to honor RFC5424. This option is ignored if
log_config_append is set.
database options:
--database-asyncio_connection DATABASE_ASYNCIO_CONNECTION
The SQLAlchemy asyncio connection string to use to connect to the
database.
--database-asyncio_slave_connection DATABASE_ASYNCIO_SLAVE_CONNECTION
The SQLAlchemy asyncio connection string to use to connect to the slave
database.
--database-backend DATABASE_BACKEND
The back end to use for the database.
--database-connection DATABASE_CONNECTION
The SQLAlchemy connection string to use to connect to the database.
--database-connection_debug DATABASE_CONNECTION_DEBUG
Verbosity of SQL debugging information: 0=None, 100=Everything.
--database-connection_parameters DATABASE_CONNECTION_PARAMETERS
Optional URL parameters to append onto the connection URL at connect time;
specify as param1=value1¶m2=value2&...
--database-connection_recycle_time DATABASE_CONNECTION_RECYCLE_TIME
Connections which have been present in the connection pool longer than
this number of seconds will be replaced with a new one the next time they
are checked out from the pool.
--database-connection_trace
Add Python stack traces to SQL as comment strings.
--database-db_inc_retry_interval
If True, increases the interval between retries of a database operation up
to db_max_retry_interval.
--database-db_max_retries DATABASE_DB_MAX_RETRIES
Maximum retries in case of connection error or deadlock error before error
is raised. Set to -1 to specify an infinite retry count.
--database-db_max_retry_interval DATABASE_DB_MAX_RETRY_INTERVAL
If db_inc_retry_interval is set, the maximum seconds between retries of a
database operation.
--database-db_retry_interval DATABASE_DB_RETRY_INTERVAL
Seconds between retries of a database transaction.
--database-max_overflow DATABASE_MAX_OVERFLOW
If set, use this value for max_overflow with SQLAlchemy.
--database-max_pool_size DATABASE_MAX_POOL_SIZE
Maximum number of SQL connections to keep open in a pool. Setting a value
of 0 indicates no limit.
--database-max_retries DATABASE_MAX_RETRIES
Maximum number of database connection retries during startup. Set to -1 to
specify an infinite retry count.
--database-mysql_sql_mode DATABASE_MYSQL_SQL_MODE
The SQL mode to be used for MySQL sessions. This option, including the
default, overrides any server-set SQL mode. To use whatever SQL mode is
set by the server configuration, set this to no value. Example:
mysql_sql_mode=
--database-mysql_wsrep_sync_wait DATABASE_MYSQL_WSREP_SYNC_WAIT
For Galera only, configure wsrep_sync_wait causality checks on new
connections. Default is None, meaning don't configure any setting.
--database-noconnection_trace
The inverse of --connection_trace
--database-nodb_inc_retry_interval
The inverse of --db_inc_retry_interval
--database-nosqlite_synchronous
The inverse of --sqlite_synchronous
--database-nosynchronous_reader
The inverse of --synchronous_reader
--database-nouse_db_reconnect
The inverse of --use_db_reconnect
--database-pool_timeout DATABASE_POOL_TIMEOUT
If set, use this value for pool_timeout with SQLAlchemy.
--database-retry_interval DATABASE_RETRY_INTERVAL
Interval between retries of opening a SQL connection.
--database-slave_connection DATABASE_SLAVE_CONNECTION
The SQLAlchemy connection string to use to connect to the slave database.
--database-sqlite_synchronous
If True, SQLite uses synchronous mode.
--database-synchronous_reader
Whether or not to assume a reader context needs to guarantee it can read
data committed by a writer assuming replication lag is present; defaults
to True. When False, a reader context works the same as async_reader and
will select the slave database if present. When using a galera cluster,
this can be set to False only if you set mysql_wsrep_sync_wait to 1 (this
will guarantee that the reader will wait until writesets are
committed).Note that this may incur a performance degradation within the
galera cluster. Note also that this parameter has no effect if you do not
set any slave_connection.
--database-use_db_reconnect
Enable the experimental use of database reconnect on connection lost.
Options (46)
| Option | Description | Source |
|---|---|---|
-h, --help | show this help message and exit | help |
--config-dir DIR | Path to a config directory to pull `*.conf` files from. | help |
--config-file PATH | Path to a config file to use. | help |
--debug, -d | If set to true, the logging level will be set to DEBUG instead of the default INFO level. | help |
--log-config-append, --log-config, --log_config PATH | The name of a logging configuration file. | help |
--log-date-format DATE_FORMAT | Defines the format string for %(asctime)s in log records. | help |
--log-dir, --logdir LOG_DIR | (Optional) The base directory used for relative log_file paths. | help |
--log-file, --logfile PATH | (Optional) Name of log file to send logging output to. | help |
--nodebug | The inverse of --debug | help |
--nouse-journal | The inverse of --use-journal | help |
--nouse-json | The inverse of --use-json | help |
--nouse-syslog | The inverse of --use-syslog | help |
--shell_completion SHELL_COMPLETION | Display a shell completion script Allowed values: bash, zsh | help |
--state_path STATE_PATH | Where to store Neutron state files. | help |
--syslog-log-facility SYSLOG_LOG_FACILITY | Syslog facility to receive log lines. | help |
--use-journal | Enable journald for logging. | help |
--use-json | Use JSON formatting for logging. | help |
--use-syslog | Use syslog for logging. | help |
--database-asyncio_connection DATABASE_ASYNCIO_CONNECTION | The SQLAlchemy asyncio connection string to use to connect to the database. | help |
--database-asyncio_slave_connection DATABASE_ASYNCIO_SLAVE_CONNECTION | The SQLAlchemy asyncio connection string to use to connect to the slave database. | help |
--database-backend DATABASE_BACKEND | The back end to use for the database. | help |
--database-connection DATABASE_CONNECTION | The SQLAlchemy connection string to use to connect to the database. | help |
--database-connection_debug DATABASE_CONNECTION_DEBUG | Verbosity of SQL debugging information: 0=None, 100=Everything. | help |
--database-connection_parameters DATABASE_CONNECTION_PARAMETERS | Optional URL parameters to append onto the connection URL at connect time; | help |
--database-connection_recycle_time DATABASE_CONNECTION_RECYCLE_TIME | Connections which have been present in the connection pool longer than this number of seconds will be replaced with a new one the next time they are checked out from the pool. | help |
--database-connection_trace | Add Python stack traces to SQL as comment strings. | help |
--database-db_inc_retry_interval | If True, increases the interval between retries of a database operation up to db_max_retry_interval. | help |
--database-db_max_retries DATABASE_DB_MAX_RETRIES | Maximum retries in case of connection error or deadlock error before error is raised. | help |
--database-db_max_retry_interval DATABASE_DB_MAX_RETRY_INTERVAL | If db_inc_retry_interval is set, the maximum seconds between retries of a database operation. | help |
--database-db_retry_interval DATABASE_DB_RETRY_INTERVAL | Seconds between retries of a database transaction. | help |
--database-max_overflow DATABASE_MAX_OVERFLOW | If set, use this value for max_overflow with SQLAlchemy. | help |
--database-max_pool_size DATABASE_MAX_POOL_SIZE | Maximum number of SQL connections to keep open in a pool. | help |
--database-max_retries DATABASE_MAX_RETRIES | Maximum number of database connection retries during startup. | help |
--database-mysql_sql_mode DATABASE_MYSQL_SQL_MODE | The SQL mode to be used for MySQL sessions. | help |
--database-mysql_wsrep_sync_wait DATABASE_MYSQL_WSREP_SYNC_WAIT | For Galera only, configure wsrep_sync_wait causality checks on new connections. | help |
--database-noconnection_trace | The inverse of --connection_trace | help |
--database-nodb_inc_retry_interval | The inverse of --db_inc_retry_interval | help |
--database-nosqlite_synchronous | The inverse of --sqlite_synchronous | help |
--database-nosynchronous_reader | The inverse of --synchronous_reader | help |
--database-nouse_db_reconnect | The inverse of --use_db_reconnect | help |
--database-pool_timeout DATABASE_POOL_TIMEOUT | If set, use this value for pool_timeout with SQLAlchemy. | help |
--database-retry_interval DATABASE_RETRY_INTERVAL | Interval between retries of opening a SQL connection. | help |
--database-slave_connection DATABASE_SLAVE_CONNECTION | The SQLAlchemy connection string to use to connect to the slave database. | help |
--database-sqlite_synchronous | If True, SQLite uses synchronous mode. | help |
--database-synchronous_reader | Whether or not to assume a reader context needs to guarantee it can read data committed by a writer assuming replication lag is present; | help |
--database-use_db_reconnect | Enable the experimental use of database reconnect on connection lost. | help |