ezsnmp.helpers module — Ez SNMP V1.1.0 documentation

# ezsnmp.helpers module

ezsnmp.helpers.normalize_oid(oid: str, oid_index: str) → Tuple[str, str]
ezsnmp.helpers.normalize_oid(oid: str, oid_index: str | None) → Tuple[str, str]
ezsnmp.helpers.normalize_oid(oid=None, oid_index=None) → Tuple[None, None]

  Ensures that the index is set correctly given an OID definition.

  Parameters:

    - oid – the OID to normalize

    - oid_index – the OID index to normalize