exact_match Property
Controls the way the OID matching is done (complete or partial).
Syntax
def get_exact_match() -> bool: ... def set_exact_match(value: bool) -> None: ...
exact_match = property(get_exact_match, set_exact_match)
Default Value
TRUE
Remarks
If exact_match is set to True, the select_node method will try to find an exact match for the supplied selector. If not found, an exception will be thrown.
If exact_match is set to False, the select_node method will start from the root (iso) and will go as far as it can, finding the closest match for the requested node.
For instance, in SNMPv2-MIB sysUpTime is defined as "1.3.6.1.2.1.1.3". If exact_match is False, calling select_node with selector "1.3.6.1.2.1.1.3.0" will populate node_label with "sysUpTime.0" while the same call with exact_match set to True will fail since that exact OID is not defined in the MIB.