|
||||||||||
| 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 |
DataLinkInterface[] |
getAllDataLinks()
getAllDataLinks |
Interface[] |
getAllInterfaces()
getAllInterfaces |
Interface[] |
getAllInterfaces(boolean includeSnmp)
|
Interface[] |
getAllInterfacesOnNode(int nodeId)
getAllInterfacesOnNode |
Interface[] |
getAllManagedIpInterfaces(boolean includeSNMP)
getAllManagedIpInterfaces |
Node[] |
getAllNodes()
Returns all non-deleted nodes. |
Node[] |
getAllNodes(int serviceId)
getAllNodes |
Service[] |
getAllServices()
getAllServices |
Interface[] |
getAllSnmpInterfacesOnNode(int nodeId)
Returns all snmp interfaces on a node |
AtInterface |
getAtInterface(int nodeId,
String ipAddr)
|
DataLinkInterface[] |
getDataLinks(int nodeId,
int ifIndex)
getDataLinks |
DataLinkInterface[] |
getDataLinksFromNodeParent(int nodeId,
int ifIndex)
getDataLinksFromNodeParent |
DataLinkInterface[] |
getDataLinksOnInterface(int nodeID,
int ifindex)
getDataLinksOnInterface |
DataLinkInterface[] |
getDataLinksOnNode(int nodeID)
getDataLinksOnNode |
String |
getHostname(String ipAddress)
Resolve an IP address to a DNS hostname via the database. |
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)
Translate a node id into a human-readable ipaddress. |
IpRouteInterface[] |
getIpRoute(int nodeId)
|
Node |
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)
|
Node[] |
getNodesFromPhysaddr(String AtPhysAddr)
getNodesFromPhysaddr |
Node[] |
getNodesLike(String nodeLabel)
Returns all non-deleted nodes that have the given nodeLabel substring somewhere in their nodeLabel. |
Node[] |
getNodesLike(String nodeLabel,
int serviceId)
getNodesLike |
Node[] |
getNodesLikeAndIpLike(String nodeLabel,
String iplike,
int serviceId)
getNodesLikeAndIpLike |
Node[] |
getNodesWithCategories(String[] categories,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories |
Node[] |
getNodesWithCategories(String[] categories1,
String[] categories2,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories |
Node[] |
getNodesWithCategories(org.springframework.transaction.support.TransactionTemplate transTemplate,
String[] categories1,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories |
Node[] |
getNodesWithCategories(org.springframework.transaction.support.TransactionTemplate transTemplate,
String[] categories1,
String[] categories2,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories |
Node[] |
getNodesWithIfAlias(String ifAlias)
Returns all non-deleted nodes that contain the given string in an ifAlias |
Node[] |
getNodesWithIpLike(String iplike)
|
Node[] |
getNodesWithIpLike(String iplike,
int serviceId)
getNodesWithIpLike |
Node[] |
getNodesWithPhysAddr(String macAddr)
Returns all non-deleted nodes that have the given mac. |
Node[] |
getNodesWithPhysAddrAtInterface(String macAddr)
Returns all non-deleted nodes with a MAC address like the rule given from AtInterface. |
Node[] |
getNodesWithPhysAddrFromSnmpInterface(String macAddr)
Returns all non-deleted nodes with a MAC address like the rule given from SnmpInterface. |
Node[] |
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. |
boolean |
isParentNode(int nodeId)
isParentNode |
boolean |
nodeHasIfAliases(int nodeId)
Returns true if node has any snmpIfAliases |
| Method Detail |
|---|
String getNodeLabel(int nodeId)
String getIpPrimaryAddress(int nodeId)
nodeId - a int.
Node getNode(int nodeId)
Node[] getAllNodes()
Node objects.Node[] getNodesLike(String nodeLabel)
nodeLabel - a String object.
Node objects.Node[] getNodesWithIpLike(String iplike)
Node[] getNodesWithService(int serviceId)
serviceId - a int.
Node objects.Node[] getNodesWithPhysAddr(String macAddr)
macAddr - a String object.
Node objects.Node[] getNodesWithPhysAddrAtInterface(String macAddr)
macAddr - a String object.
Node objects.Node[] getNodesWithPhysAddrFromSnmpInterface(String macAddr)
macAddr - a String object.
Node objects.Node[] 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)
boolean nodeHasIfAliases(int nodeId)
nodeId - a int.
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
Node[] getNodesLikeAndIpLike(String nodeLabel,
String iplike,
int serviceId)
getNodesLikeAndIpLike
nodeLabel - a String object.iplike - a String object.serviceId - a int.
Node objects.
Node[] getNodesLike(String nodeLabel,
int serviceId)
getNodesLike
nodeLabel - a String object.serviceId - a int.
Node objects.
Node[] getNodesWithIpLike(String iplike,
int serviceId)
getNodesWithIpLike
iplike - a String object.serviceId - a int.
Node objects.Node[] getAllNodes(int serviceId)
getAllNodes
serviceId - a int.
Node objects.Node[] getNodesFromPhysaddr(String AtPhysAddr)
getNodesFromPhysaddr
AtPhysAddr - a String object.
Node objects.
AtInterface getAtInterface(int nodeId,
String ipAddr)
IpRouteInterface[] getIpRoute(int nodeId)
boolean isParentNode(int nodeId)
isParentNode
nodeID - a int.
DataLinkInterface[] getDataLinksOnNode(int nodeID)
getDataLinksOnNode
nodeID - a int.
DataLinkInterface objects.
SQLException - if any.
DataLinkInterface[] getDataLinksOnInterface(int nodeID,
int ifindex)
getDataLinksOnInterface
nodeID - a int.ifindex - a int.
DataLinkInterface objects.
DataLinkInterface[] getDataLinks(int nodeId,
int ifIndex)
getDataLinks
nodeID - a int.ifindex - a int.
DataLinkInterface objects.
DataLinkInterface[] getDataLinksFromNodeParent(int nodeId,
int ifIndex)
getDataLinksFromNodeParent
nodeID - a int.ifindex - a int.
DataLinkInterface objects.DataLinkInterface[] getAllDataLinks()
getAllDataLinks
DataLinkInterface objects.List<Integer> getNodeIdsWithIpLike(String iplike)
iplike - a String object.
List object.
Node[] 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.
Node objects.
Node[] getNodesWithCategories(String[] categories,
boolean onlyNodesWithDownAggregateStatus)
getNodesWithCategories
nodeDao - a NodeDao object.categoryDao - a CategoryDao object.categories1 - an array of String objects.onlyNodesWithDownAggregateStatus - a boolean.
Node objects.
Node[] 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.
Node objects.
Node[] 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.
Node objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||