public class LinkableNode extends Object
LinkableNode class.
Constructor and Description |
---|
LinkableNode(int nodeId,
InetAddress snmpPrimaryAddr,
String sysoid)
Constructor for LinkableNode.
|
public LinkableNode(int nodeId, InetAddress snmpPrimaryAddr, String sysoid)
Constructor for LinkableNode.
nodeId
- a int.snmprimaryaddr
- a InetAddress
object.sysoid
- a String
object.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 toString()
toString
public int getNodeId()
getNodeId
public InetAddress getSnmpPrimaryIpAddr()
getSnmpPrimaryIpAddr
String
object.public List<LldpRemInterface> getLldpRemInterfaces()
public void setLldpRemInterfaces(List<LldpRemInterface> lldpreminterfaces)
public List<OspfNbrInterface> getOspfinterfaces()
public void setOspfinterfaces(List<OspfNbrInterface> ospfinterfaces)
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 List<Integer> getBackBoneBridgePorts()
public void setBackBoneBridgePorts(List<Integer> backBoneBridgePorts)
backBoneBridgePorts
- The backBoneBridgePorts to set.public boolean isBackBoneBridgePort(int bridgeport)
bridgeport
- public void addBackBoneBridgePorts(int bridgeport)
bridgeport
- public List<String> getBridgeIdentifiers()
public void setBridgeIdentifiers(List<String> bridgeIdentifiers)
bridgeIdentifiers
- The bridgeIdentifiers to set.public boolean isBridgeIdentifier(String bridge)
public void addBridgeIdentifier(String bridge)
public boolean hasMacAddress(String macAddress)
public boolean hasMacAddresses()
public boolean hasMacAddressesOnBridgePort(int bridgeport)
public int getIfindex(int bridgeport)
public int getBridgePort(int ifindex)
public void setPortMacs(Map<Integer,Set<String>> portMacs)
portMacs
- The portMacs to set.public boolean hasStpRoot(String vlan)
public Map<String,List<OnmsStpInterface>> getStpInterfaces()
getStpInterfaces
public void setStpInterfaces(Map<String,List<OnmsStpInterface>> stpInterfaces)
setStpInterfaces
stpInterfaces
- The stpInterfaces to set.public void addStpInterface(OnmsStpInterface stpIface)
addStpInterface
stpIface
- a OnmsStpInterface
object.Copyright © 2015. All Rights Reserved.