public class DeviceInformationImpl extends Object implements org.onosproject.ospf.controller.DeviceInformation
| Constructor and Description |
|---|
DeviceInformationImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterfaceId(org.onlab.packet.Ip4Address interfaceId)
Adds interface id to list.
|
org.onlab.packet.Ip4Address |
areaId()
Gets area id.
|
org.onlab.packet.Ip4Address |
deviceId()
Gets device id.
|
List<org.onlab.packet.Ip4Address> |
interfaceId()
Gets interface id list.
|
boolean |
isAlreadyCreated()
Gets is already created or not.
|
boolean |
isDr()
Gets is DR or not.
|
org.onlab.packet.Ip4Address |
neighborId()
Gets neighbor id.
|
org.onlab.packet.Ip4Address |
routerId()
Gets router id.
|
void |
setAlreadyCreated(boolean alreadyCreated)
Sets is already created or not.
|
void |
setAreaId(org.onlab.packet.Ip4Address areaId)
Sets area id.
|
void |
setDeviceId(org.onlab.packet.Ip4Address deviceId)
Sets device id.
|
void |
setDr(boolean dr)
Stes DR or not.
|
void |
setNeighborId(org.onlab.packet.Ip4Address neighborId)
Sets neighbor id.
|
void |
setRouterId(org.onlab.packet.Ip4Address routerId)
Sets router id.
|
public org.onlab.packet.Ip4Address routerId()
routerId in interface org.onosproject.ospf.controller.DeviceInformationpublic void setRouterId(org.onlab.packet.Ip4Address routerId)
setRouterId in interface org.onosproject.ospf.controller.DeviceInformationrouterId - router idpublic org.onlab.packet.Ip4Address deviceId()
deviceId in interface org.onosproject.ospf.controller.DeviceInformationpublic void setDeviceId(org.onlab.packet.Ip4Address deviceId)
setDeviceId in interface org.onosproject.ospf.controller.DeviceInformationdeviceId - device idpublic List<org.onlab.packet.Ip4Address> interfaceId()
interfaceId in interface org.onosproject.ospf.controller.DeviceInformationpublic void addInterfaceId(org.onlab.packet.Ip4Address interfaceId)
addInterfaceId in interface org.onosproject.ospf.controller.DeviceInformationinterfaceId - interface idpublic org.onlab.packet.Ip4Address areaId()
areaId in interface org.onosproject.ospf.controller.DeviceInformationpublic void setAreaId(org.onlab.packet.Ip4Address areaId)
setAreaId in interface org.onosproject.ospf.controller.DeviceInformationareaId - area idpublic boolean isAlreadyCreated()
isAlreadyCreated in interface org.onosproject.ospf.controller.DeviceInformationpublic void setAlreadyCreated(boolean alreadyCreated)
setAlreadyCreated in interface org.onosproject.ospf.controller.DeviceInformationalreadyCreated - true or falsepublic boolean isDr()
isDr in interface org.onosproject.ospf.controller.DeviceInformationpublic void setDr(boolean dr)
setDr in interface org.onosproject.ospf.controller.DeviceInformationdr - true or falsepublic org.onlab.packet.Ip4Address neighborId()
neighborId in interface org.onosproject.ospf.controller.DeviceInformationpublic void setNeighborId(org.onlab.packet.Ip4Address neighborId)
setNeighborId in interface org.onosproject.ospf.controller.DeviceInformationneighborId - neighbor idCopyright © 2016. All rights reserved.