mgmt_operations
Project for tracking changes to the archiver via the mgmt operations interface. For example, change types, complicated renames, adding aliases.
Installation
pip install epicsarchiver-mgmt-client
Usage
Usage: arch-mgmt [OPTIONS] COMMAND [ARGS]...
Command line tool for doing mgmt operations with the archiver.
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
alias Alias PVs in the archiver.
archive Archive PVs in the archiver.
change-parameter Change the archiving parameters of PVs...
change-protocol Change the protocol of PVs in the...
change-type Change the type of PVs in the archiver.
clear-queue Clear Queue of already archiving PVs...
delete Delete PVs in the archiver.
pause Pause PVs in the archiver.
rename Rename PVs in the archiver.
repolicy Re choose the policy of PVs in the...
resume Resume Archiving PVs in the archiver.
statuses Get the status of PVs in the archiver.
The tool creates a log file for every operation, please upload this with the ticket or into logbook after finishing a task.
Development
The package is built and packaged with Hatch.
pip install hatch
Run all checks and code coverage:
hatch run all
Run tests:
hatch test
Run formatting and check:
hatch fmt