epicsarchiver_mgmt.commands.change_protocol =========================================== .. py:module:: epicsarchiver_mgmt.commands.change_protocol .. autoapi-nested-parse:: Change the archiving protocol in use. Attributes ---------- .. autoapisummary:: epicsarchiver_mgmt.commands.change_protocol.LOG Functions --------- .. autoapisummary:: epicsarchiver_mgmt.commands.change_protocol.create_new_protocol_archive_requests epicsarchiver_mgmt.commands.change_protocol.change_protocol Module Contents --------------- .. py:data:: LOG :type: logging.Logger .. py:function:: create_new_protocol_archive_requests(pv_statuses: epicsarchiver_mgmt.archiver.info.InfoResultList, protocol: epicsarchiver_mgmt.archiver.mgmt.EpicsProto) -> list[epicsarchiver_mgmt.archiver.mgmt.ArchivePVRequest] Create the archive requests from the appliance names in the pv statuses and new protocol. :param pv_statuses: The statuses of the PVs. :type pv_statuses: InfoResultList :param protocol: The new protocol to change to. :type protocol: EpicsProto :returns: The archive requests of the PVs. :rtype: list[ArchivePVRequest] .. py:function:: change_protocol(archiver_fqdn: str, pvs: collections.abc.Sequence[str], protocol: epicsarchiver_mgmt.archiver.mgmt.EpicsProto) -> None Change the protocol of PVs in the archiver. :param archiver_fqdn: The url of the archiver. :type archiver_fqdn: str :param pvs: The PVs to change type. :type pvs: list[str] :param protocol: The new protocol to change to. :type protocol: EpicsProto