Package org.onosproject.net.config
Interface HostConfigOperator
-
- All Superinterfaces:
ConfigOperator
@Beta public interface HostConfigOperator extends ConfigOperator
ConfigOperator
for Host.Note: We currently assume
HostConfigOperator
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.HostDescription
combine(HostId hostId, HostDescription descr, java.util.Optional<Config> prevConfig)
Generates a HostDescription containing fields from a HostDescription and configuration.
-
-
-
Method Detail
-
bindService
void bindService(NetworkConfigService networkConfigService)
BindsNetworkConfigService
to use for retrieving configuration.- Parameters:
networkConfigService
- the service to use
-
combine
HostDescription combine(HostId hostId, HostDescription descr, java.util.Optional<Config> prevConfig)
Generates a HostDescription containing fields from a HostDescription and configuration.- Parameters:
hostId
-HostId
representing the port.descr
- inputHostDescription
prevConfig
- previous configConfig
- Returns:
- Combined
HostDescription
-
-