epicsarchiver_mgmt.commands.change_protocol
Change the archiving protocol in use.
Attributes
Functions
Create the archive requests from the appliance names in the pv statuses and new protocol. |
|
|
Change the protocol of PVs in the archiver. |
Module Contents
- epicsarchiver_mgmt.commands.change_protocol.LOG: logging.Logger[source]
- epicsarchiver_mgmt.commands.change_protocol.create_new_protocol_archive_requests(pv_statuses: epicsarchiver_mgmt.archiver.info.InfoResultList, protocol: epicsarchiver_mgmt.archiver.mgmt.EpicsProto) list[epicsarchiver_mgmt.archiver.mgmt.ArchivePVRequest][source]
Create the archive requests from the appliance names in the pv statuses and new protocol.
- Parameters:
pv_statuses (InfoResultList) – The statuses of the PVs.
protocol (EpicsProto) – The new protocol to change to.
- Returns:
The archive requests of the PVs.
- Return type:
- epicsarchiver_mgmt.commands.change_protocol.change_protocol(archiver_fqdn: str, pvs: collections.abc.Sequence[str], protocol: epicsarchiver_mgmt.archiver.mgmt.EpicsProto) None[source]
Change the protocol of PVs in the archiver.
- Parameters:
archiver_fqdn (str) – The url of the archiver.
protocol (EpicsProto) – The new protocol to change to.