epicsarchiver_mgmt.commands.change_protocol

Change the archiving protocol in use.

Attributes

LOG

Functions

create_new_protocol_archive_requests(...)

Create the archive requests from the appliance names in the pv statuses and new protocol.

change_protocol(→ None)

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:
Returns:

The archive requests of the PVs.

Return type:

list[ArchivePVRequest]

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.

  • pvs (list[str]) – The PVs to change type.

  • protocol (EpicsProto) – The new protocol to change to.