epicsarchiver_mgmt.commands.alias

Add aliases to PVs in the archiver.

Attributes

LOG

Functions

add_aliases(→ None)

Add aliases to PVs in the archiver.

remove_aliases(→ None)

Remove aliases from PVs in the archiver.

Module Contents

epicsarchiver_mgmt.commands.alias.LOG: logging.Logger[source]
epicsarchiver_mgmt.commands.alias.add_aliases(archiver_fqdn: str, alias_maps: collections.abc.Sequence[tuple[str, str]]) None[source]

Add aliases to PVs in the archiver.

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

  • alias_maps (list[tuple[str, str]]) – The PVs to add aliases.

Raises:

RequestHTTPError – If there is an error aliasing the PVs.

epicsarchiver_mgmt.commands.alias.remove_aliases(archiver_fqdn: str, alias_maps: collections.abc.Sequence[tuple[str, str]]) None[source]

Remove aliases from PVs in the archiver.

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

  • alias_maps (list[tuple[str, str]]) – The PVs to remove aliases.

Raises:

RequestHTTPError – If there is an error aliasing the PVs.