public class HibernateEventWriter extends Object implements QueryManager
Modifier and Type | Field and Description |
---|---|
static int |
SNMP_DOT1D_FDB_STATUS_INVALID
The status of the info in FDB table entry The status of this entry.
|
static int |
SNMP_DOT1D_FDB_STATUS_LEARNED
The status of the info in FDB table entry The status of this entry.
|
static int |
SNMP_DOT1D_FDB_STATUS_MGMT
mgmt(5) : the value of the corresponding instance of dot1dTpFdbAddress is
also the value of an existing instance of dot1dStaticAddress.
|
static int |
SNMP_DOT1D_FDB_STATUS_OTHER
The status of the info in FDB table entry The meanings of the value is
other(1): none of the following.
|
static int |
SNMP_DOT1D_FDB_STATUS_SELF
The status of the info in FDB table entry The status of this entry.
|
static int |
SNMP_IF_TYPE_ETHERNET |
static int |
SNMP_IF_TYPE_L2_VLAN |
static int |
SNMP_IF_TYPE_L3_VLAN |
static int |
SNMP_IF_TYPE_PROP_VIRTUAL |
Constructor and Description |
---|
HibernateEventWriter() |
public static final int SNMP_IF_TYPE_ETHERNET
public static final int SNMP_IF_TYPE_PROP_VIRTUAL
public static final int SNMP_IF_TYPE_L2_VLAN
public static final int SNMP_IF_TYPE_L3_VLAN
public static final int SNMP_DOT1D_FDB_STATUS_OTHER
public static final int SNMP_DOT1D_FDB_STATUS_INVALID
public static final int SNMP_DOT1D_FDB_STATUS_LEARNED
public static final int SNMP_DOT1D_FDB_STATUS_SELF
public static final int SNMP_DOT1D_FDB_STATUS_MGMT
public NodeDao getNodeDao()
public void setNodeDao(NodeDao nodeDao)
public IpInterfaceDao getIpInterfaceDao()
public void setIpInterfaceDao(IpInterfaceDao ipInterfaceDao)
public SnmpInterfaceDao getSnmpInterfaceDao()
public void setSnmpInterfaceDao(SnmpInterfaceDao snmpInterfaceDao)
public AtInterfaceDao getAtInterfaceDao()
public void setAtInterfaceDao(AtInterfaceDao atInterfaceDao)
public VlanDao getVlanDao()
public void setVlanDao(VlanDao vlanDao)
public StpNodeDao getStpNodeDao()
public void setStpNodeDao(StpNodeDao stpNodeDao)
public StpInterfaceDao getStpInterfaceDao()
public void setStpInterfaceDao(StpInterfaceDao stpInterfaceDao)
public IpRouteInterfaceDao getIpRouteInterfaceDao()
public void setIpRouteInterfaceDao(IpRouteInterfaceDao ipRouteInterfaceDao)
public DataLinkInterfaceDao getDataLinkInterfaceDao()
public void setDataLinkInterfaceDao(DataLinkInterfaceDao dataLinkInterfaceDao)
protected void sendNewSuspectEvent(InetAddress ipaddress, InetAddress ipowner, String name, Linkd linkd)
public List<LinkableSnmpNode> getSnmpNodeList()
QueryManager
getSnmpNodeList
getSnmpNodeList
in interface QueryManager
List
object.public LinkableSnmpNode getSnmpNode(int nodeid)
QueryManager
getSnmpNode
getSnmpNode
in interface QueryManager
nodeid
- a int.LinkableNode
object.public void updateDeletedNodes()
QueryManager
updateDeletedNodes
updateDeletedNodes
in interface QueryManager
protected void markOldDataInactive(Date scanTime, int nodeid)
protected void deleteOlderData(Date scanTime, int nodeid)
@Transactional public LinkableNode storeSnmpCollection(LinkableNode node, SnmpCollection snmpColl, Linkd linkd)
QueryManager
storeSnmpCollection
storeSnmpCollection
in interface QueryManager
node
- a LinkableNode
object.snmpColl
- a SnmpCollection
object.LinkableNode
object.@Transactional public void storeDiscoveryLink(DiscoveryLink discoveryLink)
QueryManager
storeDiscoveryLink
storeDiscoveryLink
in interface QueryManager
discoveryLink
- a DiscoveryLink
object.public void update(int nodeid, OnmsArpInterface.StatusType action, Set<String> activePackages)
QueryManager
update
update
in interface QueryManager
nodeid
- a int.action
- a char.public void updateForInterface(int nodeid, String ipAddr, int ifIndex, OnmsArpInterface.StatusType action, Set<String> activePackages)
QueryManager
updateForInterface
updateForInterface
in interface QueryManager
nodeid
- a int.ipAddr
- a String
object.ifIndex
- a int.action
- a char.protected int getIfIndexByName(int targetCdpNodeId, String cdpTargetDevicePort)
protected List<OnmsNode> getNodeidFromIp(InetAddress cdpTargetIpAddr)
protected List<RouterInterface> getRouteInterface(InetAddress nexthop, int ifindex)
protected int getSnmpIfType(int nodeId, Integer ifIndex)
@Transactional protected void saveIpRouteInterface(OnmsIpRouteInterface saveMe)
@Transactional protected void saveVlan(OnmsVlan saveMe)
@Transactional protected void saveStpNode(OnmsStpNode saveMe)
@Transactional protected void saveStpInterface(OnmsStpInterface saveMe)
@Transactional protected void saveAtInterface(OnmsAtInterface saveMe)
protected OnmsSnmpInterface getFromSysnameIpAddress(String lldpRemSysname, InetAddress lldpRemPortid)
protected OnmsSnmpInterface getFromSysnameIfName(String lldpRemSysname, String lldpRemPortid)
protected OnmsSnmpInterface getFromSysnameIfIndex(String lldpRemSysname, Integer lldpRemPortid)
protected OnmsSnmpInterface getFromSysnameMacAddress(String lldpRemSysname, String lldpRemPortid)
protected OnmsSnmpInterface getFromSysnameIfAlias(String lldpRemSysname, String lldpRemPortid)
protected OnmsSnmpInterface getFromSysnameAgentCircuitId(String lldpRemSysname, String lldpRemPortid)
protected OnmsSnmpInterface getFromSysnamePortComponent(String lldpRemSysname, String lldpRemPortid)
protected void processIpNetToMediaTable(LinkableNode node, SnmpCollection snmpcoll, Date scanTime, Linkd linkd)
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 void processCdp(LinkableNode node, SnmpCollection snmpcoll, Date scanTime, Linkd linkd)
protected void processRouteTable(OnmsNode onmsNode, LinkableNode node, SnmpCollection snmpcoll, Date scanTime, Linkd linkd)
protected void processVlanTable(OnmsNode onmsNode, LinkableNode node, SnmpCollection snmpcoll, Date scanTime)
protected void storeSnmpVlanCollection(OnmsNode onmsNode, LinkableNode node, OnmsVlan vlan, SnmpVlanCollection snmpVlanColl, Date scanTime, Linkd linkd)
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.