Interface SnmpProfileMapper

    • Method Detail

      • fitProfile

        CompletableFuture<Optional<SnmpAgentConfig>> fitProfile​(String label,
                                                                InetAddress inetAddress,
                                                                String location,
                                                                String oid)
        Fit a profile with specified IP address and label. If no label is specified, it will try to find first matching profile.
        Parameters:
        label - label of profile with which SNMP profile will be retrieved.
        inetAddress - IP address that needs fitting.
        location - location of IP address.
        oid - OID with which SNMP get needs to be performed
        Returns:
        snmpAgentConfig, a @SnmpAgentConfig from the matching profile.