public class TopologyForDeviceAndLinkImpl extends Object implements org.onosproject.isis.controller.topology.TopologyForDeviceAndLink
| Constructor and Description |
|---|
TopologyForDeviceAndLinkImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.isis.controller.topology.IsisRouter |
createDeviceInfo(org.onosproject.isis.io.isispacket.pdu.LsPdu lsPdu)
Creates Device instance.
|
org.onosproject.isis.controller.topology.IsisLinkTed |
createIsisLinkTedInfo(org.onosproject.isis.io.isispacket.pdu.LsPdu lsPdu)
Creates the ISIS link TED information.
|
Map<String,org.onosproject.isis.controller.topology.LinkInformation> |
createLinkInfo(org.onosproject.isis.io.isispacket.pdu.LsPdu lsPdu,
String ownSystemId)
Creates link information.
|
org.onosproject.isis.controller.topology.DeviceInformation |
deviceInformation(String key)
Gets Device Information.
|
Map<String,org.onosproject.isis.controller.topology.DeviceInformation> |
deviceInformationMap()
Gets device information.
|
Map<String,org.onosproject.isis.controller.topology.DeviceInformation> |
deviceInformationMapForPointToPoint()
Gets deviceInformation as map for Point-To-Point.
|
Map<String,org.onosproject.isis.controller.topology.DeviceInformation> |
deviceInformationMapToDelete()
Gets deviceInformation as map.
|
Map<String,org.onosproject.isis.controller.topology.IsisRouter> |
isisDeviceList()
Gets ISIS router list information.
|
org.onosproject.isis.controller.topology.IsisRouter |
isisRouter(String systemId)
Returns the ISIS router instance.
|
Map<String,org.onosproject.isis.controller.topology.LinkInformation> |
linkInformationMap()
Gets link information as map.
|
Map<String,org.onosproject.isis.controller.topology.LinkInformation> |
linkInformationMapForPointToPoint()
Gets linkInformation as map for PointToPoint.
|
void |
removeDeviceInformationMap(String key)
Removes Device Information from map.
|
void |
removeDeviceInformationMapFromDeleteMap(String key)
Removes Device Information.
|
Map<String,org.onosproject.isis.controller.topology.LinkInformation> |
removeLinkInfo(String systemId)
Removes link information.
|
void |
removeLinkInformationMap(String key)
Removes Link Information from linkInformationMap.
|
void |
removeLinks(String linkId) |
void |
removeRouter(String systemId)
Removes the ISIS router instance from map.
|
void |
setDeviceInformationMap(String key,
org.onosproject.isis.controller.topology.DeviceInformation deviceInformationMap)
Sets device information.
|
void |
setDeviceInformationMapForPointToPoint(String key,
org.onosproject.isis.controller.topology.DeviceInformation deviceInformationMap)
Sets deviceInformation as map for Point-To-Point..
|
void |
setDeviceInformationMapToDelete(String key,
org.onosproject.isis.controller.topology.DeviceInformation deviceInformationMapToDelete)
Sets device information for removal.
|
void |
setLinkInformationMap(String key,
org.onosproject.isis.controller.topology.LinkInformation linkInformationMap)
Sets link information in map.
|
void |
setLinkInformationMapForPointToPoint(String key,
org.onosproject.isis.controller.topology.LinkInformation linkInformationMap)
Sets linkInformation as map for PointToPoint.
|
public Map<String,org.onosproject.isis.controller.topology.DeviceInformation> deviceInformationMap()
deviceInformationMap in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkpublic Map<String,org.onosproject.isis.controller.topology.IsisRouter> isisDeviceList()
public void setDeviceInformationMap(String key, org.onosproject.isis.controller.topology.DeviceInformation deviceInformationMap)
setDeviceInformationMap in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkkey - key used to add in mapdeviceInformationMap - device information instancepublic Map<String,org.onosproject.isis.controller.topology.DeviceInformation> deviceInformationMapForPointToPoint()
deviceInformationMapForPointToPoint in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkpublic void setDeviceInformationMapForPointToPoint(String key, org.onosproject.isis.controller.topology.DeviceInformation deviceInformationMap)
setDeviceInformationMapForPointToPoint in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkkey - key used to add in mapdeviceInformationMap - device information instancepublic Map<String,org.onosproject.isis.controller.topology.DeviceInformation> deviceInformationMapToDelete()
deviceInformationMapToDelete in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkpublic void setDeviceInformationMapToDelete(String key, org.onosproject.isis.controller.topology.DeviceInformation deviceInformationMapToDelete)
setDeviceInformationMapToDelete in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkkey - ket used to add in mapdeviceInformationMapToDelete - map from device information to removepublic void removeDeviceInformationMapFromDeleteMap(String key)
removeDeviceInformationMapFromDeleteMap in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkkey - ket used to remove from mappublic org.onosproject.isis.controller.topology.DeviceInformation deviceInformation(String key)
key - system id as key to store in mappublic void removeDeviceInformationMap(String key)
removeDeviceInformationMap in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkkey - key used to remove from mappublic void removeLinks(String linkId)
removeLinks in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkpublic Map<String,org.onosproject.isis.controller.topology.LinkInformation> linkInformationMap()
linkInformationMap in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkpublic void setLinkInformationMap(String key, org.onosproject.isis.controller.topology.LinkInformation linkInformationMap)
setLinkInformationMap in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkkey - key used to add in maplinkInformationMap - link information instancepublic Map<String,org.onosproject.isis.controller.topology.LinkInformation> linkInformationMapForPointToPoint()
linkInformationMapForPointToPoint in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkpublic void setLinkInformationMapForPointToPoint(String key, org.onosproject.isis.controller.topology.LinkInformation linkInformationMap)
setLinkInformationMapForPointToPoint in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkkey - key used to add in maplinkInformationMap - link information instancepublic void removeLinkInformationMap(String key)
removeLinkInformationMap in interface org.onosproject.isis.controller.topology.TopologyForDeviceAndLinkkey - key used to remove in mappublic org.onosproject.isis.controller.topology.IsisRouter isisRouter(String systemId)
systemId - system ID to get router detailspublic void removeRouter(String systemId)
systemId - system ID to remove router detailspublic org.onosproject.isis.controller.topology.IsisRouter createDeviceInfo(org.onosproject.isis.io.isispacket.pdu.LsPdu lsPdu)
lsPdu - ISIS LSPDU instancepublic Map<String,org.onosproject.isis.controller.topology.LinkInformation> createLinkInfo(org.onosproject.isis.io.isispacket.pdu.LsPdu lsPdu, String ownSystemId)
lsPdu - ls pdu instanceownSystemId - system IDpublic Map<String,org.onosproject.isis.controller.topology.LinkInformation> removeLinkInfo(String systemId)
systemId - system ID to remove link informationpublic org.onosproject.isis.controller.topology.IsisLinkTed createIsisLinkTedInfo(org.onosproject.isis.io.isispacket.pdu.LsPdu lsPdu)
lsPdu - link state PDUCopyright © 2016. All rights reserved.