Files
tobiko/setup.cfg
Slawek Kaplonski 8067bbff85 Add "http ping" command to the Tobiko CLI tool
This patch adds new CLI command `tobiko http ping <url>` which will be
used in the background tests. It is simply script which sends HTTP
request to the given url every N seconds given as an `interval`
parameter. It only do HTTP HEAD request to check response code. If the
response code is 2xx or 3xx then this tool considers it as OK. If it is
4xx or higher, then it considers it as FAILED.

Results are stored in the file which can be also configured through the
CLI option.

Related: #TOBIKO-130
Change-Id: I7f40c1fb068856e6b8cc04f8d5ae41c9ebe3a8e6
2025-05-21 15:00:52 +00:00

59 lines
1.3 KiB
INI

[metadata]
name = tobiko
summary = OpenStack Testing Upgrades Library
description_file =
README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://tobiko.readthedocs.io/
python_requires = >=3.8
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
keywords =
setup
distutils
[files]
packages =
tobiko
[entry_points]
console_scripts =
tobiko = tobiko.cmd:main
tobiko-fixture = tobiko.cmd.fixture:main
tobiko-keystone-credentials = tobiko.openstack.keystone._credentials:print_credentials
tobiko.cli_commands =
ping = tobiko.cmd:TobikoPing
http_ping = tobiko.cmd:TobikoHttpPing
oslo.config.opts =
tobiko = tobiko.config:list_tobiko_options
[global]
setup-hooks =
pbr.hooks.setup_hook
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
[wheel]
universal = 1
[tool:pytest]
render_collapsed = True