public interface TopologyForDeviceAndLink
| Modifier and Type | Method and Description |
|---|---|
void |
addLocalDevice(OspfLsa ospfLsa,
OspfInterface ospfInterface,
OspfArea ospfArea)
Adds device information.
|
java.util.Map<java.lang.String,DeviceInformation> |
deviceInformationMap()
Gets the device information.
|
java.util.Map<java.lang.String,DeviceInformation> |
deviceInformationMapForPointToPoint()
Gets device information as map for Point-To-Point.
|
java.util.Map<java.lang.String,DeviceInformation> |
deviceInformationMapToDelete()
Gets device information as map.
|
java.util.List<java.lang.String> |
getDeleteRouterInformation(OspfLsa ospfLsa,
OspfArea ospfArea)
Gets all the router information to be deleted.
|
OspfLinkTed |
getOspfLinkTedHashMap(java.lang.String key)
Gets OSPF link TED details.
|
java.util.Map<java.lang.String,LinkInformation> |
linkInformationMap()
Gets the link information.
|
java.util.Map<java.lang.String,LinkInformation> |
linkInformationMapForPointToPoint()
Gets link information as map for Point-To-Point.
|
void |
removeDeviceInformationMap(java.lang.String key)
Removes device information.
|
void |
removeDeviceInformationMapFromDeleteMap(java.lang.String key)
Removes device information from deviceInformationMapToDelete.
|
void |
removeLinkInformationMap(java.lang.String key)
Removes link information.
|
void |
removeLinks(org.onlab.packet.Ip4Address routerId)
Removes links from link information map.
|
void |
setDeviceInformationMap(java.lang.String key,
DeviceInformation deviceInformationMap)
Sets the device information.
|
void |
setDeviceInformationMapForPointToPoint(java.lang.String key,
DeviceInformation deviceInformationMap)
Sets device information as map for Point-To-Point.
|
void |
setDeviceInformationMapToDelete(java.lang.String key,
DeviceInformation deviceInformationMapToDelete)
Sets device information as map.
|
void |
setLinkInformationMap(java.lang.String key,
LinkInformation linkInformationMap)
Sets link information.
|
void |
setLinkInformationMapForPointToPoint(java.lang.String key,
LinkInformation linkInformationMap)
Sets link information as map for Point-To-Point.
|
void |
updateLinkInformation(OspfLsa ospfLsa,
OspfArea ospfArea)
Updates the device and link information.
|
java.util.Map<java.lang.String,DeviceInformation> deviceInformationMap()
void setDeviceInformationMap(java.lang.String key,
DeviceInformation deviceInformationMap)
key - key used to store in mapdeviceInformationMap - device information instancejava.util.Map<java.lang.String,LinkInformation> linkInformationMap()
void setLinkInformationMap(java.lang.String key,
LinkInformation linkInformationMap)
key - key used to store in maplinkInformationMap - link information instancevoid removeLinkInformationMap(java.lang.String key)
key - key used to remove from mapvoid addLocalDevice(OspfLsa ospfLsa, OspfInterface ospfInterface, OspfArea ospfArea)
ospfLsa - LSA instanceospfInterface - interface instanceospfArea - area instancevoid removeDeviceInformationMap(java.lang.String key)
key - key used to remove from mapvoid removeLinks(org.onlab.packet.Ip4Address routerId)
routerId - router's IP addressOspfLinkTed getOspfLinkTedHashMap(java.lang.String key)
key - key used to retrieve from mapjava.util.List<java.lang.String> getDeleteRouterInformation(OspfLsa ospfLsa, OspfArea ospfArea)
ospfLsa - LSA instanceospfArea - area instancevoid updateLinkInformation(OspfLsa ospfLsa, OspfArea ospfArea)
ospfLsa - LSA instanceospfArea - area instancejava.util.Map<java.lang.String,DeviceInformation> deviceInformationMapToDelete()
void setDeviceInformationMapToDelete(java.lang.String key,
DeviceInformation deviceInformationMapToDelete)
key - key to store in device info mapdeviceInformationMapToDelete - device information instancevoid removeDeviceInformationMapFromDeleteMap(java.lang.String key)
key - key to remove device informationjava.util.Map<java.lang.String,DeviceInformation> deviceInformationMapForPointToPoint()
void setDeviceInformationMapForPointToPoint(java.lang.String key,
DeviceInformation deviceInformationMap)
key - key to store in device infodeviceInformationMap - device information instancejava.util.Map<java.lang.String,LinkInformation> linkInformationMapForPointToPoint()
void setLinkInformationMapForPointToPoint(java.lang.String key,
LinkInformation linkInformationMap)
key - key to store link infolinkInformationMap - link information instance