Skip to content
Snippets Groups Projects
Commit 3bb63443 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-800: Document purpose of each CDB file

parent f7082774
No related branches found
No related tags found
1 merge request!342Resolve L2SS-800 "Support dts outside"
## Tango Configuration Database files
The ConfigDb.json files in this directory are used to populate the Tango configuration Database for various scenarios.
To load a configuration file, use
```bash
../sbin/update_ConfigDb.sh file.json
```
The following files are provided:
| File | Description | Usage |
|--------------------------------------------|-------------------------------------------------------------|---------------------|
| `LOFAR_ConfigDb.json` | Generic base configuration, registering all of the devices. | Always |
| `tango-archiver-data/archiver-devices.json`| Archiver configuration for TimescaleDB | Always |
| `test_environment_ConfigDb.json` | Base delta for the unit- and integration test suites. | Tests & development |
| `stations/simulators_ConfigDb.json` | A "station" configuration that points to our simulators. | Tests & development |
| `stations/dummy_positions_ConfigDb.json` | An antenna configuration, just to have one (it's CS001). | Tests & development |
| `stations/LTS_ConfigDb.json` | The configuration for the Lab Test Station. | Load on LTS |
| `stations/DTS_ConfigDb.json` | The configuration for the Dwingeloo Test Station. | Load on DTS-lab |
| `stations/DTS_Outside_ConfigDb.json` | The configuration for the Dwingeloo Test Station Outside. | Load on DTS-outside |
| `integrations/` | Configurations required by the integration test suites. | Integration tests |
{
"servers": {
"DataBaseds": {
"2": {
"DataBase": {
"sys/database/2": {}
}
}
},
"TangoAccessControl": {
"1": {
"TangoAccessControl": {
"sys/access_control/1": {}
}
}
},
"TangoRestServer": {
"rest": {
"TangoRestServer": {
"sys/rest/0": {}
}
}
},
"TangoTest": {
"test": {
"TangoTest": {
"sys/tg_test/1": {}
}
}
},
"hdbppcm-srv": {
"01": {
"HdbConfigurationManager": {
"archiving/hdbppts/confmanager01": {
"properties": {
"ArchiverList": [
"archiving/hdbppts/eventsubscriber01"
],
"LibConfiguration": [
"connect_string= user=postgres password=password host=archiver-timescale port=5432 dbname=hdb",
"host=archiver-timescale",
"libname=libhdb++timescale.so",
"dbname=hdb",
"port=5432",
"user=postgres",
"password=password"
],
"MaxSearchSize": [
"1000"
]
}
}
}
}
},
"hdbppes-srv": {
"01": {
"HdbEventSubscriber": {
"archiving/hdbppts/eventsubscriber01": {
"properties": {
"CheckPeriodicTimeoutDelay": [
"5"
],
"LibConfiguration": [
"connect_string= user=postgres password=password host=archiver-timescale port=5432 dbname=hdb",
"host=archiver-timescale",
"libname=libhdb++timescale.so",
"dbname=hdb",
"port=5432",
"user=postgres",
"password=password"
],
"PollingThreadPeriod": [
"3"
]
}
}
}
}
}
}
}
This diff is collapsed.
{
"servers": {
"RECV": {
"1": {
"RECV": {
"STAT/RECV/1": {
"properties": {
"OPC_Server_Name": [
"host.docker.internal"
]
}
}
}
}
},
"SDP": {
"1": {
"SDP": {
"STAT/SDP/1": {
"properties": {
"OPC_Server_Name": [
"host.docker.internal"
]
}
}
}
}
},
"ini_device": {
"1": {
"ini_device": {
"STAT/ini_device/1": {
"attribute_properties": {
"Ant_mask_RW": {
"archive_period": [
"600000"
]
}
},
"properties": {
"SNMP_community": [
"public"
],
"SNMP_host": [
"172.22.176.1"
],
"SNMP_timeout": [
"5.0"
]
}
}
}
}
},
"SNMP": {
"1": {
"SNMP": {
"STAT/SNMP/1": {
"attribute_properties": {
"Ant_mask_RW": {
"archive_period": [
"600000"
]
}
},
"properties": {
"SNMP_community": [
"public"
],
"SNMP_host": [
"172.22.176.1"
],
"SNMP_timeout": [
"5.0"
]
}
}
}
}
},
"test_device": {
"1": {
"test_device": {
"STAT/test_device/1": {
"attribute_properties": {
"Ant_mask_RW": {
"archive_period": [
"600000"
]
}
},
"properties": {
"OPC_Server_Name": [
"host.docker.internal"
],
"OPC_Server_Port": [
"4842"
],
"OPC_Time_Out": [
"5.0"
]
}
}
}
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment