Class 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 Detail

      • 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
    • Constructor Detail

      • BngManager

        public BngManager()
    • Method Detail

      • activate

        protected void activate()
      • deactivate

        protected void deactivate()
      • setupAttachment

        public void setupAttachment​(String attachmentKey,
                                    org.opencord.bng.BngAttachment attachment)
        Specified by:
        setupAttachment in interface org.opencord.bng.BngService
      • removeAttachment

        public void removeAttachment​(String attachmentKey)
        Specified by:
        removeAttachment in interface org.opencord.bng.BngService
      • getAttachments

        public Map<String,​org.opencord.bng.BngAttachment> getAttachments()
        Specified by:
        getAttachments in interface org.opencord.bng.BngService
      • getAttachment

        public org.opencord.bng.BngAttachment getAttachment​(String attachmentKey)
        Specified by:
        getAttachment in interface org.opencord.bng.BngService
      • getBngDeviceId

        public org.onosproject.net.DeviceId getBngDeviceId()
        Specified by:
        getBngDeviceId in interface org.opencord.bng.BngService
      • triggerProbe

        public void triggerProbe​(org.onosproject.net.Host host)
        Specified by:
        triggerProbe in interface org.onosproject.net.host.HostProvider
      • id

        public org.onosproject.net.provider.ProviderId id()
        Specified by:
        id in interface org.onosproject.net.provider.Provider