ska-tango-images-tango-dsconfig
This image contains json2tango provided by dsconfig. json2tango allows loading
Tango configuration from a json file into a Tango database.
Summary
Release 0.6.0 of ska-tango-images provides the 1.8.0 tag of the ska-tango-images-tango-dsconfig OCI image.
The image uses ska-tango-images-tango-python as a base image and so
provides the same features, in addition to the json2tango utility.
Included Software
Package |
Version |
|---|---|
PyTango |
10.0.0 |
dsconfig |
1.8.0 |
tango_admin |
1.24 |
cppTango |
10.0.0 |
ZeroMQ |
4.3.5 |
omniORB |
4.3.2 |
opentelemetry-cpp |
1.16.1 |
Usage Example
To produce a JSON dump of the contents of a Tango database running at
TANGO_HOST to the file tango-dump.json:
docker run --rm --env TANGO_HOST=$TANGO_HOST --net=host \
artefact.skao.int/ska-tango-images-tango-dsconfig:1.8.0 \
python -m dsconfig.dump > tango-dump.json
To load the same JSON dump (found in the current directory) back into the Tango database:
docker run --rm --env TANGO_HOST=$TANGO_HOST --net=host -v .:/mnt:z \
artefact.skao.int/ska-tango-images-tango-dsconfig:1.8.0 \
json2tango --write /mnt/tango-dump.json