Serialized Form


Package org.iitb.untwine

Class org.iitb.untwine.Device implements Serializable

Serialized Fields

portCount

int portCount
Number of interfaces (ports) of the device

portList

java.util.Vector portList
Vector containing vector of MAC address learnt on each port -- Vector of class Port

ipAddress

java.lang.String ipAddress
IP address of Device

macAddress

java.lang.String macAddress
Hardware MAC address of Device

publicCommunity

boolean publicCommunity
This field indicates whether the community name of the managed device is public or the one suppplied to the program as input.

costToRoot

int costToRoot
The cost of the path to the root in the spanning tree as seen by this Device.

rootPort

int rootPort
It indicate the port which provides the lowest cost path to root

rootPortPathCost

int rootPortPathCost
contribution of the root port to the path cost of path to root.

Class org.iitb.untwine.Host implements Serializable

Serialized Fields

managed

boolean managed
This field indicates type of Device: managed or unmanaged

publicCommunity

boolean publicCommunity
This field indicates whether the community name of the managed device is public or the one suppplied to the program as input.

ipAddress

java.lang.String ipAddress
IP address of Host

macAddress

java.lang.String macAddress
Hardware MAC address of Host

deviceListPtr

int deviceListPtr
If a host is managed than this field will contain the index of the Device in the deviceList.

Class org.iitb.untwine.Layer2 implements Serializable

Class org.iitb.untwine.Layer3 implements Serializable

Class org.iitb.untwine.Port implements Serializable

Serialized Fields

portNumber

int portNumber
This field indicate the interface number of this port.

state

int state
This field indicate the current state of this port.

enable

int enable
This field shows whether this port is enable or disable.

routerConnection

boolean routerConnection
This field is true if this port is connected to router in the subnet.

directConnection

boolean directConnection
This field is true if this port is directly connected to another switch in the subnet

hostConnection

boolean hostConnection
This field is true if this port is connected to a host (not a Layer-2) if this field is false and also directConnection is false then this port is connected to another Layer-2 device through a non-SNMP device.

macList

java.util.Vector macList
Vector containing MAC address learnt on this port

throughList

java.util.Vector throughList
Vector containing MAC address forwarded through this port, i.e compliment of the macList

connectionList

java.util.Vector connectionList
Vector containing IPs of the hosts/router/switch connected to it.

Class org.iitb.untwine.Router implements Serializable

Serialized Fields

IPaddress

java.lang.String IPaddress
IP address of router

prevHop

java.util.Vector prevHop
List of pointer to previous hop routers

subnet

java.util.Vector subnet
List of pointer to subnets that are directly connected to this router

interfaces

java.util.Vector interfaces
List of interface number corresponding to subnets

Class org.iitb.untwine.SnmpWalk implements Serializable

Serialized Fields

m_version

int m_version

m_community

java.lang.String m_community

m_timeout

int m_timeout

m_retries

int m_retries

m_port

int m_port

m_host

java.lang.String m_host

m_startOid

java.lang.String m_startOid

m_stopAt

org.opennms.protocols.snmp.SnmpObjectId m_stopAt

oidlist

java.util.Vector oidlist

Class org.iitb.untwine.Subnet implements Serializable

Serialized Fields

mask

java.lang.String mask
Subnet mask of this subnet

router

int router
Index of router of this subnet in routerList

subnetNo

java.lang.String subnetNo
Subnet number of this subnet

hostList

java.util.Vector hostList
List of hosts in this subnet

Class org.iitb.untwine.Untwine implements Serializable