Class OpticalPathProvisioner

    • Field Detail

      • intentService

        protected org.onosproject.net.intent.IntentService intentService
      • topologyService

        protected org.onosproject.net.topology.TopologyService topologyService
      • coreService

        protected org.onosproject.core.CoreService coreService
      • linkService

        protected org.onosproject.net.link.LinkService linkService
      • mastershipService

        protected org.onosproject.mastership.MastershipService mastershipService
      • clusterService

        protected org.onosproject.cluster.ClusterService clusterService
      • deviceService

        protected org.onosproject.net.device.DeviceService deviceService
      • storageService

        protected org.onosproject.store.service.StorageService storageService
      • networkConfigService

        protected org.onosproject.net.config.NetworkConfigService networkConfigService
      • resourceService

        protected org.onosproject.net.resource.ResourceService resourceService
    • Constructor Detail

      • OpticalPathProvisioner

        public OpticalPathProvisioner()
    • Method Detail

      • activate

        protected void activate​(org.osgi.service.component.ComponentContext context)
      • deactivate

        protected void deactivate()
      • modified

        public void modified​(org.osgi.service.component.ComponentContext context)
      • setupConnectivity

        public OpticalConnectivityId setupConnectivity​(org.onosproject.net.ConnectPoint ingress,
                                                       org.onosproject.net.ConnectPoint egress,
                                                       org.onlab.util.Bandwidth bandwidth,
                                                       Duration latency)
        Description copied from interface: OpticalPathService
        Calculates multi-layer path between connect points and sets up connectivity.
        Specified by:
        setupConnectivity in interface OpticalPathService
        Parameters:
        ingress - ingress port
        egress - egress port
        bandwidth - required bandwidth. No bandwidth is assured if null.
        latency - required latency. No latency is assured if null.
        Returns:
        id of created connectivity if successful, null otherwise.
      • setupPath

        public OpticalConnectivityId setupPath​(org.onosproject.net.Path path,
                                               org.onlab.util.Bandwidth bandwidth,
                                               Duration latency)
        Description copied from interface: OpticalPathService
        Sets up connectivity along given multi-layer path including cross-connect links.
        Specified by:
        setupPath in interface OpticalPathService
        Parameters:
        path - multi-layer path along which connectivity will be set up
        bandwidth - required bandwidth. No bandwidth is assured if null.
        latency - required latency. No latency is assured if null.
        Returns:
        id of created connectivity if successful, null otherwise.