public abstract class AbstractQueryManager extends Object implements QueryManager
Modifier and Type | Field and Description |
---|---|
protected Linkd |
m_linkd |
SNMP_DOT1D_FDB_STATUS_INVALID, SNMP_DOT1D_FDB_STATUS_LEARNED, SNMP_DOT1D_FDB_STATUS_MGMT, SNMP_DOT1D_FDB_STATUS_OTHER, SNMP_DOT1D_FDB_STATUS_SELF, SNMP_IF_TYPE_ETHERNET, SNMP_IF_TYPE_L2_VLAN, SNMP_IF_TYPE_L3_VLAN, SNMP_IF_TYPE_PROP_VIRTUAL
Constructor and Description |
---|
AbstractQueryManager() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
deleteOlderData(Date now,
int nodeid) |
abstract AtInterfaceDao |
getAtInterfaceDao() |
protected abstract OnmsSnmpInterface |
getFromSysnameAgentCircuitId(String lldpRemSysname,
String lldpRemPortid) |
protected abstract OnmsSnmpInterface |
getFromSysnameIfAlias(String lldpRemSysname,
String lldpRemPortid) |
protected abstract OnmsSnmpInterface |
getFromSysnameIfIndex(String lldpRemSysname,
Integer lldpRemPortid) |
protected abstract OnmsSnmpInterface |
getFromSysnameIfName(String lldpRemSysname,
String lldpRemPortid) |
protected abstract OnmsSnmpInterface |
getFromSysnameIpAddress(String lldpRemSysname,
InetAddress lldpRemIpAddr) |
protected abstract OnmsSnmpInterface |
getFromSysnameMacAddress(String lldpRemSysname,
String lldpRemPortid) |
protected abstract OnmsSnmpInterface |
getFromSysnamePortComponent(String lldpRemSysname,
String lldpRemPortid) |
protected Integer |
getIfIndex(Integer nodeid,
String ipaddress) |
protected abstract int |
getIfIndexByName(int targetCdpNodeId,
String cdpTargetDevicePort) |
abstract IpInterfaceDao |
getIpInterfaceDao() |
Linkd |
getLinkd() |
protected OnmsNode |
getNode(Integer nodeId) |
abstract NodeDao |
getNodeDao() |
protected abstract List<OnmsNode> |
getNodeidFromIp(InetAddress cdpTargetIpAddr) |
protected OnmsStpNode |
getOnmsStpNode(OnmsNode onmsNode,
LinkableNode node,
Date scanTime,
OnmsVlan vlan,
SnmpVlanCollection snmpVlanColl) |
protected abstract Map<Integer,String> |
getPhysAddrs(int nodeId) |
protected abstract List<RouterInterface> |
getRouteInterface(InetAddress nexthop,
int ifindex) |
protected abstract int |
getSnmpIfType(int nodeId,
Integer ifindex) |
abstract SnmpInterfaceDao |
getSnmpInterfaceDao() |
protected abstract void |
markOldDataInactive(Date now,
int nodeid) |
protected void |
processCdp(LinkableNode node,
SnmpCollection snmpcoll,
Date scanTime) |
protected Map<Integer,OnmsStpInterface> |
processDot1DBasePortTable(OnmsNode onmsNode,
LinkableNode node,
Date scanTime,
OnmsVlan vlan,
SnmpVlanCollection snmpVlanColl,
Map<Integer,OnmsStpInterface> stpinterfaces) |
protected void |
processDot1DTpFdbTable(LinkableNode node,
OnmsVlan vlan,
SnmpVlanCollection snmpVlanColl,
Date scanTime) |
protected Map<Integer,OnmsStpInterface> |
processDot1StpPortTable(LinkableNode node,
Date scanTime,
OnmsVlan vlan,
SnmpVlanCollection snmpVlanColl,
Map<Integer,OnmsStpInterface> stpinterfaces) |
protected void |
processIpNetToMediaTable(LinkableNode node,
SnmpCollection snmpcoll,
Date scanTime) |
protected void |
processIsis(LinkableNode node,
SnmpCollection snmpcoll,
Date scanTime) |
protected void |
processLldp(LinkableNode node,
SnmpCollection snmpcoll,
Date scanTime) |
protected void |
processOspf(LinkableNode node,
SnmpCollection snmpcoll,
Date scanTime) |
protected void |
processQBridgeDot1dTpFdbTable(LinkableNode node,
OnmsVlan vlan,
SnmpVlanCollection snmpVlanColl) |
protected void |
processRouteTable(OnmsNode onmsNode,
LinkableNode node,
SnmpCollection snmpcoll,
Date scanTime) |
protected void |
processVlanTable(OnmsNode onmsNode,
LinkableNode node,
SnmpCollection snmpcoll,
Date scanTime) |
protected void |
processWifi(LinkableNode node,
SnmpCollection snmpcoll,
Date scanTime) |
protected abstract void |
saveAtInterface(OnmsAtInterface saveMe) |
protected abstract void |
saveIpRouteInterface(OnmsIpRouteInterface ipRouteInterface) |
protected abstract void |
saveStpInterface(OnmsStpInterface stpInterface) |
protected abstract void |
saveStpNode(OnmsStpNode stpNode) |
protected abstract void |
saveVlan(OnmsVlan vlan) |
protected void |
sendNewSuspectEvent(InetAddress ipaddress,
InetAddress ipowner,
String name) |
void |
setLinkd(Linkd linkd) |
protected void |
storeSnmpVlanCollection(OnmsNode onmsNode,
LinkableNode node,
OnmsVlan vlan,
SnmpVlanCollection snmpVlanColl,
Date scanTime) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSnmpNode, getSnmpNodeList, storeDiscoveryLink, storeSnmpCollection, update, updateDeletedNodes, updateForInterface
protected Linkd m_linkd
public void setLinkd(Linkd linkd)
setLinkd
in interface QueryManager
public Linkd getLinkd()
getLinkd
in interface QueryManager
protected void sendNewSuspectEvent(InetAddress ipaddress, InetAddress ipowner, String name)
public abstract NodeDao getNodeDao()
public abstract IpInterfaceDao getIpInterfaceDao()
public abstract AtInterfaceDao getAtInterfaceDao()
public abstract SnmpInterfaceDao getSnmpInterfaceDao()
protected abstract int getIfIndexByName(int targetCdpNodeId, String cdpTargetDevicePort)
protected abstract List<OnmsNode> getNodeidFromIp(InetAddress cdpTargetIpAddr)
protected abstract List<RouterInterface> getRouteInterface(InetAddress nexthop, int ifindex)
protected abstract int getSnmpIfType(int nodeId, Integer ifindex)
protected abstract void saveIpRouteInterface(OnmsIpRouteInterface ipRouteInterface)
protected abstract void saveVlan(OnmsVlan vlan)
protected abstract void saveStpNode(OnmsStpNode stpNode)
protected abstract void saveStpInterface(OnmsStpInterface stpInterface)
protected abstract void saveAtInterface(OnmsAtInterface saveMe)
protected abstract void markOldDataInactive(Date now, int nodeid)
protected abstract void deleteOlderData(Date now, int nodeid)
protected void processIpNetToMediaTable(LinkableNode node, SnmpCollection snmpcoll, Date scanTime)
protected void processIsis(LinkableNode node, SnmpCollection snmpcoll, Date scanTime)
protected void processWifi(LinkableNode node, SnmpCollection snmpcoll, Date scanTime)
protected void processOspf(LinkableNode node, SnmpCollection snmpcoll, Date scanTime)
protected void processLldp(LinkableNode node, SnmpCollection snmpcoll, Date scanTime)
protected abstract OnmsSnmpInterface getFromSysnamePortComponent(String lldpRemSysname, String lldpRemPortid)
protected abstract OnmsSnmpInterface getFromSysnameAgentCircuitId(String lldpRemSysname, String lldpRemPortid)
protected abstract OnmsSnmpInterface getFromSysnameIfName(String lldpRemSysname, String lldpRemPortid)
protected abstract OnmsSnmpInterface getFromSysnameIfAlias(String lldpRemSysname, String lldpRemPortid)
protected abstract OnmsSnmpInterface getFromSysnameIpAddress(String lldpRemSysname, InetAddress lldpRemIpAddr)
protected abstract OnmsSnmpInterface getFromSysnameMacAddress(String lldpRemSysname, String lldpRemPortid)
protected abstract OnmsSnmpInterface getFromSysnameIfIndex(String lldpRemSysname, Integer lldpRemPortid)
protected void processCdp(LinkableNode node, SnmpCollection snmpcoll, Date scanTime)
protected void processRouteTable(OnmsNode onmsNode, LinkableNode node, SnmpCollection snmpcoll, Date scanTime)
protected void processVlanTable(OnmsNode onmsNode, LinkableNode node, SnmpCollection snmpcoll, Date scanTime)
protected void storeSnmpVlanCollection(OnmsNode onmsNode, LinkableNode node, OnmsVlan vlan, SnmpVlanCollection snmpVlanColl, Date scanTime)
protected void processQBridgeDot1dTpFdbTable(LinkableNode node, OnmsVlan vlan, SnmpVlanCollection snmpVlanColl)
protected void processDot1DTpFdbTable(LinkableNode node, OnmsVlan vlan, SnmpVlanCollection snmpVlanColl, Date scanTime)
protected Map<Integer,OnmsStpInterface> processDot1StpPortTable(LinkableNode node, Date scanTime, OnmsVlan vlan, SnmpVlanCollection snmpVlanColl, Map<Integer,OnmsStpInterface> stpinterfaces)
protected Map<Integer,OnmsStpInterface> processDot1DBasePortTable(OnmsNode onmsNode, LinkableNode node, Date scanTime, OnmsVlan vlan, SnmpVlanCollection snmpVlanColl, Map<Integer,OnmsStpInterface> stpinterfaces)
protected OnmsStpNode getOnmsStpNode(OnmsNode onmsNode, LinkableNode node, Date scanTime, OnmsVlan vlan, SnmpVlanCollection snmpVlanColl)
Copyright © 2015. All rights reserved.