Skip to main content

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.4
  • 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


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.1.0.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

tango_gateway-1.1.0-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file tango-gateway-1.1.0.tar.gz.

File metadata

  • Download URL: tango-gateway-1.1.0.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for tango-gateway-1.1.0.tar.gz
Algorithm Hash digest
SHA256 58fc8d32e9364882f96ee46d93ca45e9f6b158f913ec9e555f9fd4d660c54244
MD5 ea8c0001d56dd2c93f656946166605cb
BLAKE2b-256 94456487e19c268ad29e5f414ca25079957ba63d87a61e718283714f21036839

See more details on using hashes here.

File details

Details for the file tango_gateway-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tango_gateway-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c32d62871accc4a5a24196510a3b66499dfaafe22f0c4c7f99cb6bff466e9557
MD5 5807d3586bb1acfe9aa7571f413230da
BLAKE2b-256 7d9d168c3b1440196ce41e775f9e5539d68df2bf9d49a0111981bd12bb56ff16

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page