Class OpticalPortOperator

  • All Implemented Interfaces:
    org.onosproject.net.config.ConfigOperator, org.onosproject.net.config.PortConfigOperator

    public final class OpticalPortOperator
    extends java.lang.Object
    implements org.onosproject.net.config.PortConfigOperator
    Implementations of merge policies for various sources of optical port configuration information. This includes applications, provides, and network configurations.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bindService​(org.onosproject.net.config.NetworkConfigService networkConfigService)  
      org.onosproject.net.device.PortDescription combine​(org.onosproject.net.ConnectPoint cp, org.onosproject.net.device.PortDescription descr)
      Generates a PortDescription containing fields from a PortDescription and an OpticalPortConfig.
      org.onosproject.net.device.PortDescription combine​(org.onosproject.net.ConnectPoint cp, org.onosproject.net.device.PortDescription descr, java.util.Optional<org.onosproject.net.config.Config> prevConf)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.onosproject.net.config.PortConfigOperator

        combine
    • Constructor Detail

      • OpticalPortOperator

        public OpticalPortOperator()
    • Method Detail

      • bindService

        public void bindService​(org.onosproject.net.config.NetworkConfigService networkConfigService)
        Specified by:
        bindService in interface org.onosproject.net.config.PortConfigOperator
      • combine

        public org.onosproject.net.device.PortDescription combine​(org.onosproject.net.ConnectPoint cp,
                                                                  org.onosproject.net.device.PortDescription descr)
        Generates a PortDescription containing fields from a PortDescription and an OpticalPortConfig.
        Specified by:
        combine in interface org.onosproject.net.config.PortConfigOperator
        Parameters:
        cp - ConnectPoint representing the port.
        descr - input PortDescription
        Returns:
        Combined PortDescription
      • combine

        public org.onosproject.net.device.PortDescription combine​(org.onosproject.net.ConnectPoint cp,
                                                                  org.onosproject.net.device.PortDescription descr,
                                                                  java.util.Optional<org.onosproject.net.config.Config> prevConf)
        Specified by:
        combine in interface org.onosproject.net.config.PortConfigOperator