|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NetworkElementFactoryInterface
| Method Summary | |
|---|---|
Interface[] |
getActiveInterfacesOnNode(int nodeId)
getActiveInterfacesOnNode |
Interface[] |
getAllInterfaces()
getAllInterfaces |
Interface[] |
getAllInterfaces(boolean includeSnmp)
|
Interface[] |
getAllInterfacesOnNode(int nodeId)
getAllInterfacesOnNode |
Interface[] |
getAllManagedIpInterfaces(boolean includeSNMP)
getAllManagedIpInterfaces |
List<OnmsNode> |
getAllNodes()
Returns all non-deleted nodes. |
List<OnmsNode> |
getAllNodes(int serviceId)
getAllNodes |
Service[] |
getAllServices()
getAllServices |
Interface[] |
getAllSnmpInterfacesOnNode(int nodeId)
Returns all SNMP interfaces on a node |
AtInterface |
getAtInterface(int nodeId,
String ipAddr)
|
List<LinkInterface> |
getDataLinksOnInterface(int id)
getDataLinksOnInterface |
List<LinkInterface> |
getDataLinksOnInterface(int nodeID,
int ifindex)
getDataLinksOnInterface |
List<LinkInterface> |
getDataLinksOnInterface(int nodeID,
String ipaddr)
getDataLinksOnInterface |
List<LinkInterface> |
getDataLinksOnNode(int nodeID)
getDataLinksOnNode |
String |
getHostname(String ipAddress)
Resolve an IP address to a DNS hostname via the database. |
Integer |
getIfIndex(int ipinterfaceid)
|
Integer |
getIfIndex(int nodeID,
String ipaddr)
|
Interface |
getInterface(int ipInterfaceId)
getInterface |
Interface |
getInterface(int nodeId,
String ipAddress)
getInterface |
Interface |
getInterface(int nodeId,
String ipAddress,
int ifIndex)
getInterface |
Interface[] |
getInterfacesWithIfAlias(int nodeId,
String ifAlias)
|
Interface[] |
getInterfacesWithIpAddress(String ipAddress)
getInterfacesWithIpAddress |
String |
getIpPrimaryAddress(int nodeId)
Find the IP address of the primary SNMP interface. |
IpRouteInterface[] |
getIpRoute(int nodeId)
|
Set<Integer> |
getLinkedNodeIdOnNode(int safeParseInt)
|
OnmsNode |
getNode(int nodeId)
|
List<Integer> |
getNodeIdsWithIpLike(String iplike)
Returns all non-deleted nodes with an IP address like the rule given. |
String |
getNodeLabel(int nodeId)
|
List<OnmsNode> |
getNodesFromPhysaddr(String atPhysAddr)
getNodesFromPhysaddr |
List<OnmsNode> |
getNodesLike(String nodeLabel)
Returns all non-deleted nodes that have the given nodeLabel substring somewhere in their nodeLabel. |
List<OnmsNode> |
getNodesLike(String nodeLabel,
int serviceId)
getNodesLike |
List<OnmsNode> |
getNodesLikeAndIpLike(String nodeLabel,
String iplike,
int serviceId)
getNodesLikeAndIpLike |
List<OnmsNode> |
getNodesWithCategories(String[] categories,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories |
List<OnmsNode> |
getNodesWithCategories(String[] categories1,
String[] categories2,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories |
List<OnmsNode> |
getNodesWithCategories(org.springframework.transaction.support.TransactionTemplate transTemplate,
String[] categories1,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories |
List<OnmsNode> |
getNodesWithCategories(org.springframework.transaction.support.TransactionTemplate transTemplate,
String[] categories1,
String[] categories2,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories |
List<OnmsNode> |
getNodesWithIfAlias(String ifAlias)
Returns all non-deleted nodes that contain the given string in an ifAlias |
List<OnmsNode> |
getNodesWithIpLike(String iplike)
|
List<OnmsNode> |
getNodesWithIpLike(String iplike,
int serviceId)
getNodesWithIpLike |
List<OnmsNode> |
getNodesWithPhysAddr(String macAddr)
Returns all non-deleted nodes that have the given mac. |
List<OnmsNode> |
getNodesWithPhysAddrAtInterface(String macAddr)
Returns all non-deleted nodes with a MAC address like the rule given from AtInterface. |
List<OnmsNode> |
getNodesWithPhysAddrFromSnmpInterface(String macAddr)
Returns all non-deleted nodes with a MAC address like the rule given from SnmpInterface. |
List<OnmsNode> |
getNodesWithService(int serviceId)
Returns all non-deleted nodes that have the given service. |
Service |
getService(int ifServiceId)
Return the service specified by the node identifier, IP address, and service identifier. |
Service |
getService(int nodeId,
String ipAddress,
int serviceId)
Return the service specified by the node identifier, IP address, and service identifier. |
int |
getServiceIdFromName(String serviceName)
getServiceIdFromName |
Map<Integer,String> |
getServiceIdToNameMap()
getServiceIdToNameMap |
String |
getServiceNameFromId(int serviceId)
getServiceNameFromId |
Map<String,Integer> |
getServiceNameToIdMap()
getServiceNameToIdMap |
Service[] |
getServicesOnInterface(int nodeId,
String ipAddress)
getServicesOnInterface |
Service[] |
getServicesOnInterface(int nodeId,
String ipAddress,
boolean includeDeletions)
getServicesOnInterface |
Service[] |
getServicesOnNode(int nodeId)
Get the list of all services on a given node. |
Service[] |
getServicesOnNode(int nodeId,
int serviceId)
Get the list of all instances of a specific service on a given node. |
Interface |
getSnmpInterface(int nodeId,
int ifIndex)
Get interface from snmpinterface table. |
StpInterface[] |
getStpInterface(int nodeId)
|
StpInterface[] |
getStpInterface(int nodeId,
int ifIndex)
|
StpNode[] |
getStpNode(int nodeId)
|
Vlan[] |
getVlansOnNode(int nodeID)
|
boolean |
isBridgeNode(int nodeId)
|
boolean |
isParentNode(int nodeId)
isParentNode |
boolean |
isRouteInfoNode(int nodeId)
|
| Method Detail |
|---|
String getNodeLabel(int nodeId)
String getIpPrimaryAddress(int nodeId)
nodeId - an int.
OnmsNode getNode(int nodeId)
List<OnmsNode> getAllNodes()
OnmsNode objects.List<OnmsNode> getNodesLike(String nodeLabel)
nodeLabel - a String object.
OnmsNode objects.List<OnmsNode> getNodesWithIpLike(String iplike)
List<OnmsNode> getNodesWithService(int serviceId)
serviceId - a int.
OnmsNode objects.List<OnmsNode> getNodesWithPhysAddr(String macAddr)
macAddr - a String object.
OnmsNode objects.List<OnmsNode> getNodesWithPhysAddrAtInterface(String macAddr)
macAddr - a String object.
OnmsNode objects.List<OnmsNode> getNodesWithPhysAddrFromSnmpInterface(String macAddr)
macAddr - a String object.
OnmsNode objects.List<OnmsNode> getNodesWithIfAlias(String ifAlias)
ifAlias - a String object.
String getHostname(String ipAddress)
ipAddress - a String object.
String object.Interface getInterface(int ipInterfaceId)
getInterface
ipInterfaceId - a int.
Interface object.
Interface getInterface(int nodeId,
String ipAddress)
getInterface
nodeId - a int.ipAddress - a String object.
Interface object.
Interface getInterface(int nodeId,
String ipAddress,
int ifIndex)
getInterface
nodeId - a int.ipAddress - a String object.ifindex - a int.
Interface object.
Interface getSnmpInterface(int nodeId,
int ifIndex)
nodeId - a int.ifIndex - a int.
Interface[] getInterfacesWithIpAddress(String ipAddress)
getInterfacesWithIpAddress
ipAddress - a String object.
Interface objects.
Interface[] getInterfacesWithIfAlias(int nodeId,
String ifAlias)
Interface[] getAllInterfacesOnNode(int nodeId)
getAllInterfacesOnNode
nodeId - a int.
Interface objects.Interface[] getAllSnmpInterfacesOnNode(int nodeId)
nodeId - a int.
Interface[] getActiveInterfacesOnNode(int nodeId)
getActiveInterfacesOnNode
nodeId - a int.
Interface objects.Interface[] getAllInterfaces()
getAllInterfaces
Interface objects.Interface[] getAllInterfaces(boolean includeSnmp)
Interface[] getAllManagedIpInterfaces(boolean includeSNMP)
getAllManagedIpInterfaces
includeSNMP - a boolean.
Interface objects.
Service getService(int nodeId,
String ipAddress,
int serviceId)
Note that if there are both an active service and historically deleted services with this (nodeid, ipAddress, serviceId) key, then the active service will be returned. If there are only deleted services, then the first deleted service will be returned.
nodeId - a int.ipAddress - a String object.serviceId - a int.
Service object.Service getService(int ifServiceId)
Note that if there are both an active service and historically deleted services with this (nodeid, ipAddress, serviceId) key, then the active service will be returned. If there are only deleted services, then the first deleted service will be returned.
ifServiceId - a int.
Service object.Service[] getAllServices()
getAllServices
Service objects.
Service[] getServicesOnInterface(int nodeId,
String ipAddress)
getServicesOnInterface
nodeId - a int.ipAddress - a String object.
Service objects.
Service[] getServicesOnInterface(int nodeId,
String ipAddress,
boolean includeDeletions)
getServicesOnInterface
nodeId - a int.ipAddress - a String object.includeDeletions - a boolean.
Service objects.Service[] getServicesOnNode(int nodeId)
nodeId - a int.
Service objects.
Service[] getServicesOnNode(int nodeId,
int serviceId)
nodeId - a int.serviceId - a int.
Service objects.String getServiceNameFromId(int serviceId)
getServiceNameFromId
serviceId - a int.
String object.int getServiceIdFromName(String serviceName)
getServiceIdFromName
serviceName - a String object.
Map<Integer,String> getServiceIdToNameMap()
getServiceIdToNameMap
Map<String,Integer> getServiceNameToIdMap()
getServiceNameToIdMap
List<OnmsNode> getNodesLikeAndIpLike(String nodeLabel,
String iplike,
int serviceId)
getNodesLikeAndIpLike
nodeLabel - a String object.iplike - a String object.serviceId - a int.
OnmsNode objects.
List<OnmsNode> getNodesLike(String nodeLabel,
int serviceId)
getNodesLike
nodeLabel - a String object.serviceId - a int.
OnmsNode objects.
List<OnmsNode> getNodesWithIpLike(String iplike,
int serviceId)
getNodesWithIpLike
iplike - a String object.serviceId - a int.
OnmsNode objects.List<OnmsNode> getAllNodes(int serviceId)
getAllNodes
serviceId - a int.
OnmsNode objects.List<OnmsNode> getNodesFromPhysaddr(String atPhysAddr)
getNodesFromPhysaddr
atPhysAddr - a String object.
OnmsNode objects.
AtInterface getAtInterface(int nodeId,
String ipAddr)
IpRouteInterface[] getIpRoute(int nodeId)
boolean isParentNode(int nodeId)
isParentNode
nodeID - a int.
List<LinkInterface> getDataLinksOnNode(int nodeID)
getDataLinksOnNode
nodeID - a int.
LinkInterface objects.
SQLException - if any.
List<LinkInterface> getDataLinksOnInterface(int nodeID,
int ifindex)
getDataLinksOnInterface
nodeID - a int.ifindex - a int.
LinkInterface objects.List<LinkInterface> getDataLinksOnInterface(int id)
getDataLinksOnInterface
ID - a int identifier for interface.
LinkInterface objects.
List<LinkInterface> getDataLinksOnInterface(int nodeID,
String ipaddr)
getDataLinksOnInterface
nodeID - a int.ipaddr - a String.
LinkInterface objects.List<Integer> getNodeIdsWithIpLike(String iplike)
iplike - a String object.
List object.
List<OnmsNode> getNodesWithCategories(org.springframework.transaction.support.TransactionTemplate transTemplate,
String[] categories1,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories
transTemplate - a TransactionTemplate object.nodeDao - a NodeDao object.categoryDao - a CategoryDao object.categories1 - an array of String objects.onlyNodesWithDownAggregateStatus - a boolean.
OnmsNode objects.
List<OnmsNode> getNodesWithCategories(String[] categories,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories
nodeDao - a NodeDao object.categoryDao - a CategoryDao object.categories1 - an array of String objects.onlyNodesWithDownAggregateStatus - a boolean.
OnmsNode objects.
List<OnmsNode> getNodesWithCategories(org.springframework.transaction.support.TransactionTemplate transTemplate,
String[] categories1,
String[] categories2,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories
transTemplate - a TransactionTemplate object.nodeDao - a NodeDao object.categoryDao - a CategoryDao object.categories1 - an array of String objects.categories2 - an array of String objects.onlyNodesWithDownAggregateStatus - a boolean.
OnmsNode objects.
List<OnmsNode> getNodesWithCategories(String[] categories1,
String[] categories2,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories
nodeDao - a NodeDao object.categoryDao - a CategoryDao object.categories1 - an array of String objects.categories2 - an array of String objects.onlyNodesWithDownAggregateStatus - a boolean.
OnmsNode objects.
Set<Integer> getLinkedNodeIdOnNode(int safeParseInt)
throws SQLException
SQLException
boolean isRouteInfoNode(int nodeId)
throws SQLException
SQLException
boolean isBridgeNode(int nodeId)
throws SQLException
SQLException
StpNode[] getStpNode(int nodeId)
throws SQLException
SQLException
StpInterface[] getStpInterface(int nodeId)
throws SQLException
SQLException
StpInterface[] getStpInterface(int nodeId,
int ifIndex)
throws SQLException
SQLException
Vlan[] getVlansOnNode(int nodeID)
throws SQLException
SQLExceptionInteger getIfIndex(int ipinterfaceid)
Integer getIfIndex(int nodeID,
String ipaddr)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||