Class OcsInterfaceUtils

java.lang.Object
org.opennms.pris.util.InterfaceUtils
org.opennms.opennms.pris.plugins.ocs.util.OcsInterfaceUtils

public class OcsInterfaceUtils extends InterfaceUtils
  • Constructor Details

  • Method Details

    • selectManagementNetworkWhiteAndBlackOnly

      public org.opennms.ocs.inventory.client.response.Network selectManagementNetworkWhiteAndBlackOnly(org.opennms.ocs.inventory.client.response.Computer computer)
      Returns null if no Network was found that is whitelisted and not blacklisted.
    • selectIpAddressWhiteAndBlackOnly

      public String selectIpAddressWhiteAndBlackOnly(org.opennms.ocs.inventory.client.response.snmp.SnmpDevice snmpDevice)
    • selectIpAddress

      public String selectIpAddress(org.opennms.ocs.inventory.client.response.snmp.SnmpDevice snmpDevice)
      return null if the ipAddress of the snmpdevice is blacklisted. And if the snmpDevice is null.
    • selectManagementNetwork

      public org.opennms.ocs.inventory.client.response.Network selectManagementNetwork(org.opennms.ocs.inventory.client.response.Computer computer)
    • populateCategories

      public List<RequisitionCategory> populateCategories(org.opennms.ocs.inventory.client.response.Computer myComputer, InstanceConfiguration config, String instance)
    • populateAssets

      public List<RequisitionAsset> populateAssets(org.opennms.ocs.inventory.client.response.Computer myComputer, InstanceConfiguration config, String instance)