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 OfHeaderbuildRequest(Xid xid, SetConfigInput input)com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetConfigOutput>>setConfig(SetConfigInput input)Sending initial configuration to device.-
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:NodeConfigServiceSending initial configuration to device.- Specified by:
setConfigin interfaceNodeConfigService
-
buildRequest
protected OfHeader buildRequest(Xid xid, SetConfigInput input)
- Specified by:
buildRequestin classAbstractService<SetConfigInput,SetConfigOutput>
-
-