public interface IpInterfaceDao extends LegacyOnmsDao<OnmsIpInterface,Integer>
IpInterfaceDao interface.
Modifier and Type | Method and Description |
---|---|
OnmsIpInterface |
findByForeignKeyAndIpAddress(String foreignSource,
String foreignId,
String ipAddress)
findByForeignKeyAndIpAddress
|
List<OnmsIpInterface> |
findByIpAddress(String ipAddress)
findByIpAddress
|
List<OnmsIpInterface> |
findByNodeId(Integer nodeId)
findByNodeId
|
OnmsIpInterface |
findByNodeIdAndIpAddress(Integer nodeId,
String ipAddress)
findByNodeIdAndIpAddress
|
List<OnmsIpInterface> |
findByServiceType(String svcName)
findByServiceType
|
List<OnmsIpInterface> |
findHierarchyByServiceType(String svcName)
findHierarchyByServiceType
|
List<OnmsIpInterface> |
findInterfacesWithMetadata(String context,
String key,
String value) |
OnmsIpInterface |
findPrimaryInterfaceByNodeId(Integer nodeId) |
OnmsIpInterface |
get(OnmsNode node,
String ipAddress)
get
|
Map<InetAddress,Integer> |
getInterfacesForNodes()
Returns a map of all IP to node ID mappings in the database.
|
countMatching, findMatching
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
OnmsIpInterface get(OnmsNode node, String ipAddress)
get
node
- a OnmsNode
object.ipAddress
- a String
object.OnmsIpInterface
object.OnmsIpInterface findByNodeIdAndIpAddress(Integer nodeId, String ipAddress)
findByNodeIdAndIpAddress
nodeId
- a Integer
object.ipAddress
- a String
object.OnmsIpInterface
object.OnmsIpInterface findByForeignKeyAndIpAddress(String foreignSource, String foreignId, String ipAddress)
findByForeignKeyAndIpAddress
foreignSource
- a String
object.foreignId
- a String
object.ipAddress
- a String
object.OnmsIpInterface
object.List<OnmsIpInterface> findByIpAddress(String ipAddress)
findByIpAddress
ipAddress
- a String
object.Collection
object.List<OnmsIpInterface> findByNodeId(Integer nodeId)
findByNodeId
nodeId
- a Integer
object.Collection
object.List<OnmsIpInterface> findByServiceType(String svcName)
findByServiceType
svcName
- a String
object.Collection
object.List<OnmsIpInterface> findHierarchyByServiceType(String svcName)
findHierarchyByServiceType
svcName
- a String
object.Collection
object.Map<InetAddress,Integer> getInterfacesForNodes()
Map
object.OnmsIpInterface findPrimaryInterfaceByNodeId(Integer nodeId)
List<OnmsIpInterface> findInterfacesWithMetadata(String context, String key, String value)
Copyright © 2021. All rights reserved.