Package org.onosproject.net.config
Interface DeviceConfigOperator
-
- All Superinterfaces:
ConfigOperator
@Beta public interface DeviceConfigOperator extends ConfigOperator
ConfigOperator
for Device.Note: We currently assume
DeviceConfigOperator
s are commutative.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bindService(NetworkConfigService networkConfigService)
BindsNetworkConfigService
to use for retrieving configuration.DeviceDescription
combine(DeviceId deviceId, DeviceDescription descr, java.util.Optional<Config> prevConfig)
Generates a DeviceDescription containing fields from a DeviceDescription and configuration.
-
-
-
Method Detail
-
bindService
void bindService(NetworkConfigService networkConfigService)
BindsNetworkConfigService
to use for retrieving configuration.- Parameters:
networkConfigService
- the service to use
-
combine
DeviceDescription combine(DeviceId deviceId, DeviceDescription descr, java.util.Optional<Config> prevConfig)
Generates a DeviceDescription containing fields from a DeviceDescription and configuration.- Parameters:
deviceId
-DeviceId
representing the port.descr
- inputDeviceDescription
prevConfig
- previous configConfig
- Returns:
- Combined
DeviceDescription
-
-