@Service public class CordConfigManager extends org.onosproject.event.ListenerRegistry<CordConfigEvent,CordConfigListener> implements CordConfigService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.net.config.NetworkConfigRegistry |
networkConfig |
| Constructor and Description |
|---|
CordConfigManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
protected void |
deactivate() |
Optional<AccessAgentData> |
getAccessAgent(org.onosproject.net.DeviceId deviceId)
Retrieves the access agent for the given device ID.
|
Set<AccessAgentData> |
getAccessAgents()
Retrieves the set of all access agents in the system.
|
Optional<AccessDeviceData> |
getAccessDevice(org.onosproject.net.DeviceId deviceId)
Retrieves the access device with the given device ID.
|
Set<AccessDeviceData> |
getAccessDevices()
Retrieves the set of all access devices in the system.
|
addListener, onProcessLimit, process, removeListener, reportProblem@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.config.NetworkConfigRegistry networkConfig
@Activate protected void activate()
@Deactivate protected void deactivate()
public Set<AccessDeviceData> getAccessDevices()
CordConfigServicegetAccessDevices in interface CordConfigServicepublic Optional<AccessDeviceData> getAccessDevice(org.onosproject.net.DeviceId deviceId)
CordConfigServicegetAccessDevice in interface CordConfigServicedeviceId - device IDpublic Set<AccessAgentData> getAccessAgents()
CordConfigServicegetAccessAgents in interface CordConfigServicepublic Optional<AccessAgentData> getAccessAgent(org.onosproject.net.DeviceId deviceId)
CordConfigServicegetAccessAgent in interface CordConfigServicedeviceId - device IDCopyright © 2016. All rights reserved.