public interface OspfRouter
| Modifier and Type | Method and Description |
|---|---|
org.onlab.packet.Ip4Address |
areaIdOfInterface()
Gets the area id for this device.
|
OspfDeviceTed |
deviceTed()
Gets list of device TED.
|
org.onlab.packet.Ip4Address |
interfaceId()
Gets IP address of the interface.
|
boolean |
isDr()
Gets if the router id DR or not.
|
boolean |
isOpaque()
Gets if router is opaque enabled.
|
org.onlab.packet.Ip4Address |
neighborRouterId()
Gets IP address of the advertising router.
|
org.onlab.packet.Ip4Address |
routerIp()
Gets IP address of the router.
|
void |
setAreaIdOfInterface(org.onlab.packet.Ip4Address areaIdOfInterface)
Sets area id in which this device belongs to.
|
void |
setDeviceTed(OspfDeviceTed deviceTed)
Sets the device TED information.
|
void |
setDr(boolean dr)
Sets if the router id DR or not.
|
void |
setInterfaceId(org.onlab.packet.Ip4Address interfaceId)
Sets IP address of the interface.
|
void |
setNeighborRouterId(org.onlab.packet.Ip4Address advertisingRouterId)
Sets IP address of the advertising router.
|
void |
setOpaque(boolean opaque)
Sets true if device is opaque enable if not sets false.
|
void |
setRouterIp(org.onlab.packet.Ip4Address routerIp)
Sets IP address of the Router.
|
org.onlab.packet.Ip4Address routerIp()
org.onlab.packet.Ip4Address areaIdOfInterface()
org.onlab.packet.Ip4Address interfaceId()
OspfDeviceTed deviceTed()
void setRouterIp(org.onlab.packet.Ip4Address routerIp)
routerIp - IP address of the routervoid setAreaIdOfInterface(org.onlab.packet.Ip4Address areaIdOfInterface)
areaIdOfInterface - area id in which this device belongs tovoid setInterfaceId(org.onlab.packet.Ip4Address interfaceId)
interfaceId - IP address of the interfacevoid setDeviceTed(OspfDeviceTed deviceTed)
deviceTed - device TED instanceboolean isOpaque()
void setOpaque(boolean opaque)
opaque - true if device is opaque enable if not sets falseorg.onlab.packet.Ip4Address neighborRouterId()
void setNeighborRouterId(org.onlab.packet.Ip4Address advertisingRouterId)
advertisingRouterId - IP address of the advertising routerboolean isDr()
void setDr(boolean dr)
dr - true if the router is DR else false