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
ConstructorsConstructorDescriptionNodeConfigServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeaderbuildRequest(Xid xid, SetConfigInput input) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetConfigOutput>>setConfig(SetConfigInput input) Invokeset-configRPC.Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractSimpleService
createCallbackMethods 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:NodeConfigServiceInvokeset-configRPC.Sending initial configuration to device.- Specified by:
setConfigin interfaceNodeConfigService- Parameters:
input- ofset-config- Returns:
- output of
set-config
-
buildRequest
- Specified by:
buildRequestin classAbstractService<SetConfigInput,SetConfigOutput>
-