ait.core.bin.ait_limits_find_dn module

ait-limits-find-dn

Extract the DN-equivalent value for EU limit trip thresholds

usage:
> ait-limits-find-dn

This utility requires well-formed telemetry and limits dictionaries. DN thresholds are brute forced for each limit. Partial limit definitions (i.e., without an upper and lower error / warn value) are supported. Any missing limit values or points where a threshold cannot be found for the field’s DN-to-EU equation will be displayed as None in the final table.

Note, “value” limits are not supported by this script and will be skipped. An example value limit:

  • !Limit source: Ethernet_HS_Packet.product_type desc: Ethernet Product Type field value:

    error: MEM_DUMP warn:

    • TABLE_FOO
    • TABLE_BAR
ait.core.bin.ait_limits_find_dn.main()