CTS Updater
CTS Updater (update-cts.py) is a small script to upload and update CTS configuration or database remotely and without restart. Better to run it on the same Linux system where dummy runs.
Utility creates index data, starts specific embedded ftp server, connects to CTS and initiates update. After updating isit stops.
Installation
sudo apt install python3-pip python3-pyftpdlib
sudo pip install telnetlib3
Please make sure, you don't use firewall between your CTS and Linux. Also please make sure you have no ftp servers run on Linux system.
Usage
$ sudo ./update-cts.py <IP-address of CTS> [db|cfg] <path to folder>
Update database
$ ls db1/
sum-gm.csv sum-gp.csv sum-sc.csv sum-sub.csv
$ sudo ./update-cts.py 10.2.0.10 db db1
Update configuration
$ ls -l cfg1/
bssparams.txt
$ sudo ./update-cts.py 10.2.0.10 cfg cfg1