public class LinkableNode extends Object
LinkableNode class.
Constructor and Description |
---|
LinkableNode(LinkableSnmpNode snmpnode,
String packageName)
Constructor for LinkableNode.
|
public LinkableNode(LinkableSnmpNode snmpnode, String packageName)
Constructor for LinkableNode.
nodeId
- a int.snmprimaryaddr
- a InetAddress
object.sysoid
- a String
object.public String getIsisSysId()
public void setIsisSysId(String isisSysId)
public String getCdpDeviceId()
public void setCdpDeviceId(String cdpDeviceId)
public InetAddress getOspfRouterId()
public void setOspfRouterId(InetAddress ospfRouterId)
public void setLldpSysname(String lldpSysname)
public void setLldpChassisId(String lldpChassisId)
public void setLldpChassisIdSubtype(Integer lldpChassisIdSubtype)
public String getLldpSysname()
public String getLldpChassisId()
public Integer getLldpChassisIdSubtype()
public String getPackageName()
public LinkableSnmpNode getLinkableSnmpNode()
public List<LldpRemInterface> getLldpRemInterfaces()
public void setLldpRemInterfaces(List<LldpRemInterface> lldpreminterfaces)
public List<OspfNbrInterface> getOspfinterfaces()
public void setOspfinterfaces(List<OspfNbrInterface> ospfinterfaces)
public List<IsisISAdjInterface> getIsisInterfaces()
public void setIsisInterfaces(List<IsisISAdjInterface> isisinterfaces)
public List<CdpInterface> getCdpInterfaces()
getCdpInterfaces
public void setCdpInterfaces(List<CdpInterface> cdpinterfaces)
setCdpInterfaces
cdpinterfaces
- The m_cdpinterfaces to set.public boolean hasCdpInterfaces()
hasCdpInterfaces
public List<RouterInterface> getRouteInterfaces()
getRouteInterfaces
public void setRouteInterfaces(List<RouterInterface> routeinterfaces)
setRouteInterfaces
routeinterfaces
- a List
object.public boolean hasRouteInterfaces()
hasRouteInterfaces
public boolean isBridgeNode()
isBridgeNode
public Collection<String> getBridgeIdentifiers()
public boolean isBridgeIdentifier(String bridge)
public boolean isMacIdentifier(String mac)
public void addBridgeForwardingTableEntry(int bridgeport, String macAddress)
public boolean hasBridgeForwardingTableEntryFor(String macAddress)
public boolean hasBridgeForwardingTable()
public Set<String> getBridgeForwadingTableOnBridgePort(int bridgeport)
public boolean hasBridgeForwardingTableOnBridgePort(int bridgeport)
public List<Integer> getBridgeForwardingTablePortsFromMac(String macAddress)
public int getIfindexFromBridgePort(int bridgeport)
public int getBridgePortFromIfindex(int ifindex)
public Map<Integer,Set<String>> getBridgeForwardingTable()
public void setBridgeForwardingTable(Map<Integer,Set<String>> portMacs)
portMacs
- The portMacs to set.public boolean hasStpRoot(Integer vlan)
public Map<Integer,List<OnmsStpInterface>> getStpInterfaces()
getStpInterfaces
public void addStpInterface(OnmsStpInterface stpIface)
addStpInterface
stpIface
- a OnmsStpInterface
object.public int getNodeId()
getNodeId
public InetAddress getSnmpPrimaryIpAddr()
getSnmpPrimaryIpAddr
String
object.Copyright © 2015. All rights reserved.