public class DefaultIsisRouter extends Object implements org.onosproject.isis.controller.topology.IsisRouter
| Constructor and Description |
|---|
DefaultIsisRouter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
org.onlab.packet.Ip4Address |
interfaceId()
Gets IP address of the interface.
|
boolean |
isDis()
Gets if DR or not.
|
org.onlab.packet.Ip4Address |
neighborRouterId()
Gets neighbor's Router id.
|
void |
setDis(boolean dis)
Sets dis or not.
|
void |
setInterfaceId(org.onlab.packet.Ip4Address interfaceId)
Gets IP address of the interface.
|
void |
setNeighborRouterId(org.onlab.packet.Ip4Address advertisingRouterId)
Sets neighbor's Router id.
|
void |
setSystemId(String systemId)
Sets IP address of the Router.
|
String |
systemId()
Gets the system ID.
|
String |
toString() |
public String systemId()
systemId in interface org.onosproject.isis.controller.topology.IsisRouterpublic void setSystemId(String systemId)
setSystemId in interface org.onosproject.isis.controller.topology.IsisRouterpublic org.onlab.packet.Ip4Address interfaceId()
interfaceId in interface org.onosproject.isis.controller.topology.IsisRouterpublic void setInterfaceId(org.onlab.packet.Ip4Address interfaceId)
setInterfaceId in interface org.onosproject.isis.controller.topology.IsisRouterinterfaceId - IP address of the interfacepublic org.onlab.packet.Ip4Address neighborRouterId()
neighborRouterId in interface org.onosproject.isis.controller.topology.IsisRouterpublic void setNeighborRouterId(org.onlab.packet.Ip4Address advertisingRouterId)
setNeighborRouterId in interface org.onosproject.isis.controller.topology.IsisRouteradvertisingRouterId - neighbor's Router idpublic boolean isDis()
isDis in interface org.onosproject.isis.controller.topology.IsisRouterpublic void setDis(boolean dis)
setDis in interface org.onosproject.isis.controller.topology.IsisRouterdis - true if DIS else falseCopyright © 2016. All rights reserved.