Class OcsInterfaceUtils
java.lang.Object
org.opennms.pris.util.InterfaceUtils
org.opennms.opennms.pris.plugins.ocs.util.OcsInterfaceUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpopulateAssets
(org.opennms.ocs.inventory.client.response.Computer myComputer, InstanceConfiguration config, String instance) populateCategories
(org.opennms.ocs.inventory.client.response.Computer myComputer, InstanceConfiguration config, String instance) selectIpAddress
(org.opennms.ocs.inventory.client.response.snmp.SnmpDevice snmpDevice) return null if the ipAddress of the snmpdevice is blacklisted.selectIpAddressWhiteAndBlackOnly
(org.opennms.ocs.inventory.client.response.snmp.SnmpDevice snmpDevice) org.opennms.ocs.inventory.client.response.Network
selectManagementNetwork
(org.opennms.ocs.inventory.client.response.Computer computer) 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.Methods inherited from class org.opennms.pris.util.InterfaceUtils
addIpBlack, addIpWhite, initListsFromConfigs, isIpBlackListed, isIpWhiteListed
-
Constructor Details
-
OcsInterfaceUtils
-
-
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
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)
-