|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.iitb.untwine.Layer2
This class is designed to discover data link layer (Layer-2) topology.
It uses spanning tree parameters and available forwarding database from link layer devices to discover the interconnection between them. It also discovers the presence of non-SNMP device at Layer-2.
It discovers the active spanning tree and does not discover the links which are not active.
Constructor Summary | |
Layer2()
Default class constructor |
Method Summary | |
boolean |
intersectionNull(java.util.Vector fdb1,
java.util.Vector fdb2)
Checks the intersection of two FDBs. |
void |
L2Interconnection(java.util.Vector subnetList,
java.util.Vector deviceList)
It discovers the interconnection between the layer-2 devices. |
void |
L2LinkMapper(Device device1,
Device device2,
int index1,
int index2,
java.util.Vector deviceList)
It discovers the connection, if it exists, between two devices specified as parameter. |
void |
L2Mapper(java.lang.String communityName)
Discovers link layer topology. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Layer2()
Method Detail |
public boolean intersectionNull(java.util.Vector fdb1, java.util.Vector fdb2)
fdb1
- Vector of String containing first
forwarding databasefdb2
- Vector of String containing second
forwarding databasepublic void L2Mapper(java.lang.String communityName)
communityName
- Community name String to
access MIBs.public void L2Interconnection(java.util.Vector subnetList, java.util.Vector deviceList)
subnetList
- Vector containing objects of
class Subnet. Each entry contains the information
about the subnets discovered in network layer
discovery.deviceList
- Vector containing objects of
class Device.public void L2LinkMapper(Device device1, Device device2, int index1, int index2, java.util.Vector deviceList)
device1
- Object of class Device containing
information about the first device.device2
- Object of class Device containing
information about the second device.index1
- Index of device1 in deviceList.index2
- Index of device2 in deviceList.deviceList
- Vector containing objects of
class Device.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |