Class NodeConfigServiceImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractService<I,O>
org.opendaylight.openflowplugin.impl.services.AbstractSimpleService<SetConfigInput,SetConfigOutput>
org.opendaylight.openflowplugin.impl.services.sal.NodeConfigServiceImpl
- All Implemented Interfaces:
NodeConfigService
,org.opendaylight.yangtools.yang.binding.RpcService
public final class NodeConfigServiceImpl
extends AbstractSimpleService<SetConfigInput,SetConfigOutput>
implements NodeConfigService
-
Constructor Summary
ConstructorDescriptionNodeConfigServiceImpl
(RequestContextStack requestContextStack, DeviceContext deviceContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeader
buildRequest
(Xid xid, SetConfigInput input) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetConfigOutput>>
setConfig
(SetConfigInput input) Invokeset-config
RPC.Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractSimpleService
createCallback
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractService
canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, handleServiceCall, setEventIdentifier
-
Constructor Details
-
NodeConfigServiceImpl
-
-
Method Details
-
setConfig
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetConfigOutput>> setConfig(SetConfigInput input) Description copied from interface:NodeConfigService
Invokeset-config
RPC.Sending initial configuration to device.
- Specified by:
setConfig
in interfaceNodeConfigService
- Parameters:
input
- ofset-config
- Returns:
- output of
set-config
-
buildRequest
- Specified by:
buildRequest
in classAbstractService<SetConfigInput,
SetConfigOutput>
-