A Tango gateway server
Project description
tango-gateway
A Tango gateway server
Clients from other networks can connect to the gateway to access the tango database transparently. It opens ports dynamically when an access to a device is required and redirects the traffic to the corresponding device. The ZMQ tango events are also supported.
Requirements
- python >= 3.9
- zmq
- aiozmq
- pytango (optional)
- prometheus_client (optional)
Usage
$ tango-gateway -h
usage: tango-gateway [-h] [--bind ADDRESS] [--port PORT] [--tango HOST] [--verbose]
Run a Tango gateway server
optional arguments:
-h, --help show this help message and exit
--bind ADDRESS, -b ADDRESS
Specify the bind address (default is all interfaces)
--port PORT, -p PORT Port for the server (default is 10000)
--tango HOST, -t HOST
Tango host (default is given by PyTango)
--promfile PROMFILE Name of file to write Prometheus metrics to. Requires prometeus_client.
--verbose, -v
Contact
KITS : kitscontrol@maxiv.lu.se
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tango_gateway-1.2.0.tar.gz
(48.2 kB
view details)
Built Distribution
File details
Details for the file tango_gateway-1.2.0.tar.gz
.
File metadata
- Download URL: tango_gateway-1.2.0.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95de03b58469cd63d7ff0dc2db7fcd0dd5bc6ffd0f035cb90cd56d66a46142b |
|
MD5 | df1e33e763fd21fdad72453a04f00693 |
|
BLAKE2b-256 | f916de800d7c68eee6ca6f48be385cdd367e183adafc5f3e63a63abe3481c0c0 |
File details
Details for the file tango_gateway-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: tango_gateway-1.2.0-py3-none-any.whl
- Upload date:
- Size: 37.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8fd81147daf3710bddfe7d4bb9847cb7d178c71a57bf896122ed06e8e2f1d1a |
|
MD5 | 332e6d5d520ebbc57a786fcfaf4f1eb2 |
|
BLAKE2b-256 | 1c6daf3ac5dc094c963c8d223eff1a993db1e9923c07fd86e1dcaa4ca5611496 |