Class OpticalPortOperator
- java.lang.Object
-
- org.onosproject.net.optical.config.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.PortConfigOperatorImplementations of merge policies for various sources of optical port configuration information. This includes applications, provides, and network configurations.
-
-
Constructor Summary
Constructors Constructor Description OpticalPortOperator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbindService(org.onosproject.net.config.NetworkConfigService networkConfigService)org.onosproject.net.device.PortDescriptioncombine(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.PortDescriptioncombine(org.onosproject.net.ConnectPoint cp, org.onosproject.net.device.PortDescription descr, java.util.Optional<org.onosproject.net.config.Config> prevConf)
-
-
-
Method Detail
-
bindService
public void bindService(org.onosproject.net.config.NetworkConfigService networkConfigService)
- Specified by:
bindServicein interfaceorg.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:
combinein interfaceorg.onosproject.net.config.PortConfigOperator- Parameters:
cp-ConnectPointrepresenting the port.descr- inputPortDescription- 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:
combinein interfaceorg.onosproject.net.config.PortConfigOperator
-
-