Interface Topology
-
- All Known Implementing Classes:
Bridge
,BridgeForwardingTable
,BridgeForwardingTableEntry
,BridgePort
,BridgePortWithMacs
,BridgeSimpleConnection
,BridgeTopologyException
,BroadcastDomain
,MacCloud
,MacPort
,SharedSegment
,TopologyShared
public interface Topology
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static java.lang.String
getAddress(java.net.InetAddress address)
static java.lang.String
getAddress(CdpLinkTopologyEntity cdplink)
static java.lang.String
getAddress(IpInterfaceTopologyEntity ip)
static java.lang.String
getAddress(OspfLinkTopologyEntity ospflink)
static java.lang.String
getAddress(BridgePort bp)
static java.lang.String
getAddress(MacCloud cloud)
static java.lang.String
getAddress(MacCloud cloud, java.util.List<MacPort> ports)
static java.lang.String
getAddress(MacPort port)
static java.lang.String
getCloudIconKey()
static java.lang.String
getDefaultEdgeId(int sourceId, int targetId)
static java.lang.String
getDefaultEdgeId(java.lang.String id1, java.lang.String id2)
static java.lang.String
getDefaultIconKey()
static java.lang.String
getEdgeId(java.lang.String id, BridgePort bp)
static java.lang.String
getEdgeId(java.lang.String id, MacPort macport)
static java.lang.String
getEdgeId(BridgePort sourcebp, BridgePort targetbp)
static java.lang.String
getEdgeId(BridgePort bp, MacCloud macport)
static java.lang.String
getEdgeId(BridgePort bp, MacPort macport)
static java.lang.String
getIconKey(NodeTopologyEntity node)
static java.lang.String
getId(BridgePort bp)
static java.lang.String
getId(MacCloud macCloud)
static java.lang.String
getId(MacPort macPort)
static java.lang.String
getId(TopologyShared segment)
static java.lang.String
getIsManaged(boolean isManaged)
static java.lang.String
getMacsCloudId(TopologyShared designated)
static java.lang.String
getMacsCloudIpTextString(TopologyShared shared, java.util.List<MacPort> ports)
static java.lang.String
getMacsIpLabel()
static java.lang.String
getMacsIpTextString(MacCloud cloud, java.util.List<MacPort> ports)
static java.lang.String
getNodeStatus(OnmsNode.NodeType nodeType)
static java.lang.String
getNodeTextString(NodeTopologyEntity node, IpInterfaceTopologyEntity primary)
static java.lang.String
getPortId(java.lang.String id)
static java.lang.String
getPortTextString(java.lang.String label, java.lang.Integer ifindex, java.lang.String address)
static java.lang.String
getPortTextString(java.lang.String label, java.lang.Integer ifindex, java.lang.String address, SnmpInterfaceTopologyEntity snmpiface)
static java.lang.String
getPortTextString(SnmpInterfaceTopologyEntity snmpiface)
static java.lang.String
getRemoteAddress(IsIsLinkTopologyEntity isislink)
static java.lang.String
getRemoteAddress(LldpLinkTopologyEntity lldplink)
static java.lang.String
getRemoteAddress(OspfLinkTopologyEntity ospflink)
static java.lang.String
getSharedSegmentId(BridgePort bp)
static java.lang.String
getSharedSegmentId(TopologyShared designated)
static java.lang.String
getSharedSegmentLabel()
static java.lang.String
getSharedSegmentTextString(BridgePort bp)
static java.lang.String
getSharedSegmentTextString(TopologyShared segment)
java.lang.String
printTopology()
-
-
-
Method Detail
-
printTopology
java.lang.String printTopology()
-
getPortTextString
static java.lang.String getPortTextString(SnmpInterfaceTopologyEntity snmpiface)
-
getPortTextString
static java.lang.String getPortTextString(java.lang.String label, java.lang.Integer ifindex, java.lang.String address, SnmpInterfaceTopologyEntity snmpiface)
-
getPortTextString
static java.lang.String getPortTextString(java.lang.String label, java.lang.Integer ifindex, java.lang.String address)
-
getSharedSegmentId
static java.lang.String getSharedSegmentId(BridgePort bp)
-
getSharedSegmentId
static java.lang.String getSharedSegmentId(TopologyShared designated)
-
getMacsCloudId
static java.lang.String getMacsCloudId(TopologyShared designated)
-
getMacsIpLabel
static java.lang.String getMacsIpLabel()
-
getSharedSegmentLabel
static java.lang.String getSharedSegmentLabel()
-
getAddress
static java.lang.String getAddress(java.net.InetAddress address)
-
getAddress
static java.lang.String getAddress(IpInterfaceTopologyEntity ip)
-
getAddress
static java.lang.String getAddress(MacPort port)
-
getAddress
static java.lang.String getAddress(MacCloud cloud)
-
getAddress
static java.lang.String getAddress(BridgePort bp)
-
getAddress
static java.lang.String getAddress(CdpLinkTopologyEntity cdplink)
-
getRemoteAddress
static java.lang.String getRemoteAddress(LldpLinkTopologyEntity lldplink)
-
getRemoteAddress
static java.lang.String getRemoteAddress(OspfLinkTopologyEntity ospflink)
-
getAddress
static java.lang.String getAddress(OspfLinkTopologyEntity ospflink)
-
getRemoteAddress
static java.lang.String getRemoteAddress(IsIsLinkTopologyEntity isislink)
-
getMacsIpTextString
static java.lang.String getMacsIpTextString(MacCloud cloud, java.util.List<MacPort> ports)
-
getMacsCloudIpTextString
static java.lang.String getMacsCloudIpTextString(TopologyShared shared, java.util.List<MacPort> ports)
-
getNodeTextString
static java.lang.String getNodeTextString(NodeTopologyEntity node, IpInterfaceTopologyEntity primary)
-
getSharedSegmentTextString
static java.lang.String getSharedSegmentTextString(BridgePort bp)
-
getSharedSegmentTextString
static java.lang.String getSharedSegmentTextString(TopologyShared segment)
-
getIsManaged
static java.lang.String getIsManaged(boolean isManaged)
-
getDefaultIconKey
static java.lang.String getDefaultIconKey()
-
getCloudIconKey
static java.lang.String getCloudIconKey()
-
getIconKey
static java.lang.String getIconKey(NodeTopologyEntity node)
-
getNodeStatus
static java.lang.String getNodeStatus(OnmsNode.NodeType nodeType)
-
getDefaultEdgeId
static java.lang.String getDefaultEdgeId(int sourceId, int targetId)
-
getId
static java.lang.String getId(TopologyShared segment)
-
getId
static java.lang.String getId(MacCloud macCloud)
-
getId
static java.lang.String getId(MacPort macPort)
-
getId
static java.lang.String getId(BridgePort bp)
-
getEdgeId
static java.lang.String getEdgeId(BridgePort bp, MacPort macport)
-
getEdgeId
static java.lang.String getEdgeId(BridgePort bp, MacCloud macport)
-
getEdgeId
static java.lang.String getEdgeId(BridgePort sourcebp, BridgePort targetbp)
-
getEdgeId
static java.lang.String getEdgeId(java.lang.String id, MacPort macport)
-
getEdgeId
static java.lang.String getEdgeId(java.lang.String id, BridgePort bp)
-
getDefaultEdgeId
static java.lang.String getDefaultEdgeId(java.lang.String id1, java.lang.String id2)
-
getPortId
static java.lang.String getPortId(java.lang.String id)
-
-