Package org.opencord.bng.impl
Class BngManager
- java.lang.Object
-
- org.opencord.bng.impl.BngManager
-
- All Implemented Interfaces:
org.onosproject.net.host.HostProvider,org.onosproject.net.provider.Provider,org.opencord.bng.BngService
public class BngManager extends Object implements org.onosproject.net.host.HostProvider, org.opencord.bng.BngService
Implements the network level BNG service API to manage attachments.
-
-
Field Summary
Fields Modifier and Type Field Description static StringBNG_APPprotected org.onosproject.net.config.NetworkConfigRegistrycfgServiceprotected org.onosproject.core.CoreServicecoreServiceprotected org.onosproject.net.device.DeviceServicedeviceServiceprotected org.onosproject.net.link.LinkServicelinkServiceprotected org.onosproject.net.host.HostProviderRegistryproviderRegistry
-
Constructor Summary
Constructors Constructor Description BngManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate()protected voiddeactivate()org.opencord.bng.BngAttachmentgetAttachment(String attachmentKey)Map<String,org.opencord.bng.BngAttachment>getAttachments()org.onosproject.net.DeviceIdgetBngDeviceId()org.onosproject.net.provider.ProviderIdid()voidremoveAttachment(String attachmentKey)voidsetupAttachment(String attachmentKey, org.opencord.bng.BngAttachment attachment)voidtriggerProbe(org.onosproject.net.Host host)
-
-
-
Field Detail
-
BNG_APP
public static final String BNG_APP
- See Also:
- Constant Field Values
-
linkService
protected org.onosproject.net.link.LinkService linkService
-
deviceService
protected org.onosproject.net.device.DeviceService deviceService
-
coreService
protected org.onosproject.core.CoreService coreService
-
cfgService
protected org.onosproject.net.config.NetworkConfigRegistry cfgService
-
providerRegistry
protected org.onosproject.net.host.HostProviderRegistry providerRegistry
-
-
Method Detail
-
activate
protected void activate()
-
deactivate
protected void deactivate()
-
setupAttachment
public void setupAttachment(String attachmentKey, org.opencord.bng.BngAttachment attachment)
- Specified by:
setupAttachmentin interfaceorg.opencord.bng.BngService
-
removeAttachment
public void removeAttachment(String attachmentKey)
- Specified by:
removeAttachmentin interfaceorg.opencord.bng.BngService
-
getAttachments
public Map<String,org.opencord.bng.BngAttachment> getAttachments()
- Specified by:
getAttachmentsin interfaceorg.opencord.bng.BngService
-
getAttachment
public org.opencord.bng.BngAttachment getAttachment(String attachmentKey)
- Specified by:
getAttachmentin interfaceorg.opencord.bng.BngService
-
getBngDeviceId
public org.onosproject.net.DeviceId getBngDeviceId()
- Specified by:
getBngDeviceIdin interfaceorg.opencord.bng.BngService
-
triggerProbe
public void triggerProbe(org.onosproject.net.Host host)
- Specified by:
triggerProbein interfaceorg.onosproject.net.host.HostProvider
-
id
public org.onosproject.net.provider.ProviderId id()
- Specified by:
idin interfaceorg.onosproject.net.provider.Provider
-
-