Package org.onosproject.net.config
Interface PortConfigOperator
-
- All Superinterfaces:
ConfigOperator
@Beta public interface PortConfigOperator extends ConfigOperator
ConfigOperator
for Port.Note: We currently assumes
PortConfigOperator
s are commutative.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
bindService(NetworkConfigService networkConfigService)
BindsNetworkConfigService
to use for retrieving configuration.PortDescription
combine(ConnectPoint cp, PortDescription descr)
Deprecated.onos-2.0PortDescription
combine(ConnectPoint cp, PortDescription descr, Optional<Config> prevConf)
Generates a PortDescription containing fields from a PortDescription and configuration.default PortDescription
combine(DeviceId did, PortDescription descr)
Generates a PortDescription containing fields from a PortDescription and configuration.
-
-
-
Method Detail
-
bindService
void bindService(NetworkConfigService networkConfigService)
BindsNetworkConfigService
to use for retrieving configuration.- Parameters:
networkConfigService
- the service to use
-
combine
@Deprecated PortDescription combine(ConnectPoint cp, PortDescription descr)
Deprecated.onos-2.0Generates a PortDescription containing fields from a PortDescription and configuration.- Parameters:
cp
-ConnectPoint
representing the port.descr
- inputPortDescription
- Returns:
- Combined
PortDescription
-
combine
PortDescription combine(ConnectPoint cp, PortDescription descr, Optional<Config> prevConf)
Generates a PortDescription containing fields from a PortDescription and configuration.- Parameters:
cp
-ConnectPoint
representing the port.descr
- inputPortDescription
prevConf
- previous ConfigConfig
- Returns:
- Combined
PortDescription
-
combine
default PortDescription combine(DeviceId did, PortDescription descr)
Generates a PortDescription containing fields from a PortDescription and configuration.- Parameters:
did
- DeviceId which the port described bydescr
resides.descr
- inputPortDescription
- Returns:
- Combined
PortDescription
-
-