epicsarchiver_mgmt.commands.repolicy

Rearchive a pv to update the policy.

Attributes

LOG

Functions

create_new_archive_requests(...)

Create the archive requests from the appliance names in the pv statuses.

repolicy(→ None)

Update the policy of pvs in arhiver.

Module Contents

epicsarchiver_mgmt.commands.repolicy.LOG: logging.Logger[source]
epicsarchiver_mgmt.commands.repolicy.create_new_archive_requests(pv_statuses: epicsarchiver_mgmt.archiver.info.InfoResultList) list[epicsarchiver_mgmt.archiver.mgmt.ArchivePVRequest][source]

Create the archive requests from the appliance names in the pv statuses.

Parameters:

pv_statuses (InfoResultList) – The statuses of the PVs.

Returns:

The archive requests of the PVs.

Return type:

list[ArchivePVRequest]

epicsarchiver_mgmt.commands.repolicy.repolicy(archiver_fqdn: str, pvs: collections.abc.Sequence[str]) None[source]

Update the policy of pvs in arhiver.

Parameters:
  • archiver_fqdn (str) – The url of the archiver.

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