public class HibernateEventWriter extends AbstractQueryManager implements org.springframework.beans.factory.InitializingBean
m_linkdSNMP_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 |
|---|
HibernateEventWriter() |
getIfIndex, getLinkd, getNode, getOnmsStpNode, processCdp, processDot1DBasePortTable, processDot1DTpFdbTable, processDot1StpPortTable, processIpNetToMediaTable, processIsis, processLldp, processOspf, processQBridgeDot1dTpFdbTable, processRouteTable, processVlanTable, processWifi, sendNewSuspectEvent, setLinkd, storeSnmpVlanCollectionpublic List<LinkableSnmpNode> getSnmpNodeList()
QueryManagergetSnmpNodeList
getSnmpNodeList in interface QueryManagerList object.public LinkableSnmpNode getSnmpNode(int nodeid)
QueryManagergetSnmpNode
getSnmpNode in interface QueryManagernodeid - a int.LinkableNode object.public void updateDeletedNodes()
QueryManagerupdateDeletedNodes
updateDeletedNodes in interface QueryManagerprotected void markOldDataInactive(Date scanTime, int nodeid)
markOldDataInactive in class AbstractQueryManagerprotected void deleteOlderData(Date scanTime, int nodeid)
deleteOlderData in class AbstractQueryManager@Transactional public LinkableNode storeSnmpCollection(LinkableNode node, SnmpCollection snmpColl)
QueryManagerstoreSnmpCollection
storeSnmpCollection in interface QueryManagernode - a LinkableNode object.snmpColl - a SnmpCollection object.LinkableNode object.@Transactional public void storeDiscoveryLink(DiscoveryLink discoveryLink)
QueryManagerstoreDiscoveryLink
storeDiscoveryLink in interface QueryManagerdiscoveryLink - a DiscoveryLink object.public void update(int nodeid,
OnmsArpInterface.StatusType action)
QueryManagerupdate
update in interface QueryManagernodeid - a int.action - a char.public void updateForInterface(int nodeid,
String ipAddr,
int ifIndex,
OnmsArpInterface.StatusType action)
QueryManagerupdateForInterface
updateForInterface in interface QueryManagernodeid - a int.ipAddr - a String object.ifIndex - a int.action - a char.protected int getIfIndexByName(int targetCdpNodeId,
String cdpTargetDevicePort)
getIfIndexByName in class AbstractQueryManagerprotected List<OnmsNode> getNodeidFromIp(InetAddress cdpTargetIpAddr)
getNodeidFromIp in class AbstractQueryManagerprotected List<RouterInterface> getRouteInterface(InetAddress nexthop, int ifindex)
getRouteInterface in class AbstractQueryManagerprotected int getSnmpIfType(int nodeId,
Integer ifIndex)
getSnmpIfType in class AbstractQueryManagerprotected Map<Integer,String> getPhysAddrs(int nodeId)
getPhysAddrs in class AbstractQueryManagerprotected void saveIpRouteInterface(OnmsIpRouteInterface saveMe)
saveIpRouteInterface in class AbstractQueryManagerprotected void saveVlan(OnmsVlan saveMe)
saveVlan in class AbstractQueryManagerprotected void saveStpNode(OnmsStpNode saveMe)
saveStpNode in class AbstractQueryManagerprotected void saveStpInterface(OnmsStpInterface saveMe)
saveStpInterface in class AbstractQueryManagerprotected void saveAtInterface(OnmsAtInterface saveMe)
saveAtInterface in class AbstractQueryManagerpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic NodeDao getNodeDao()
getNodeDao in class AbstractQueryManagerpublic IpInterfaceDao getIpInterfaceDao()
getIpInterfaceDao in class AbstractQueryManagerpublic SnmpInterfaceDao getSnmpInterfaceDao()
getSnmpInterfaceDao in class AbstractQueryManagerpublic AtInterfaceDao getAtInterfaceDao()
getAtInterfaceDao in class AbstractQueryManagerpublic VlanDao getVlanDao()
public StpNodeDao getStpNodeDao()
public StpInterfaceDao getStpInterfaceDao()
public IpRouteInterfaceDao getIpRouteInterfaceDao()
public DataLinkInterfaceDao getDataLinkInterfaceDao()
public void setDataLinkInterfaceDao(DataLinkInterfaceDao dataLinkInterfaceDao)
@Transactional public OnmsSnmpInterface getFromSysnameIpAddress(String lldpRemSysname, InetAddress lldpRemPortid)
getFromSysnameIpAddress in class AbstractQueryManager@Transactional protected OnmsSnmpInterface getFromSysnameIfName(String lldpRemSysname, String lldpRemPortid)
getFromSysnameIfName in class AbstractQueryManager@Transactional protected OnmsSnmpInterface getFromSysnameIfIndex(String lldpRemSysname, Integer lldpRemPortid)
getFromSysnameIfIndex in class AbstractQueryManager@Transactional protected OnmsSnmpInterface getFromSysnameMacAddress(String lldpRemSysname, String lldpRemPortid)
getFromSysnameMacAddress in class AbstractQueryManager@Transactional protected OnmsSnmpInterface getFromSysnameIfAlias(String lldpRemSysname, String lldpRemPortid)
getFromSysnameIfAlias in class AbstractQueryManager@Transactional protected OnmsSnmpInterface getFromSysnameAgentCircuitId(String lldpRemSysname, String lldpRemPortid)
getFromSysnameAgentCircuitId in class AbstractQueryManagerprotected OnmsSnmpInterface getFromSysnamePortComponent(String lldpRemSysname, String lldpRemPortid)
getFromSysnamePortComponent in class AbstractQueryManagerCopyright © 2015. All rights reserved.