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
Constructors Constructor Description NodeConfigServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
NodeConfigServiceImpl
public NodeConfigServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext)
-
-
Method Detail
-
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
protected OfHeader buildRequest(Xid xid, SetConfigInput input)
- Specified by:
buildRequest
in classAbstractService<SetConfigInput,SetConfigOutput>
-
-