public class NetconfBaseServiceImpl extends Object implements NetconfBaseService
| Constructor and Description |
|---|
NetconfBaseServiceImpl(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId,
org.opendaylight.controller.md.sal.dom.api.DOMRpcService domRpcService,
org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> |
copyConfig(org.opendaylight.yangtools.yang.common.QName sourceDatastore,
org.opendaylight.yangtools.yang.common.QName targetDatastore)
Netconf protocol operation copy-config.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> |
deleteConfig(org.opendaylight.yangtools.yang.common.QName targetDatastore)
Netconf protocol operation delete-config.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> |
editConfig(org.opendaylight.yangtools.yang.common.QName targetDatastore,
com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> data,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier dataPath,
com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.ModifyAction> dataModifyActionAttribute,
com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.ModifyAction> defaultModifyAction,
boolean rollback)
Netconf protocol operation edit-config.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> |
get(com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier> filterYII)
Netconf protocol operation get.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> |
getConfig(org.opendaylight.yangtools.yang.common.QName sourceDatastore,
com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier> filterYII)
Netconf protocol operation get-config.
|
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId |
getDeviceId()
Get Id of the Netconf device of this service instance.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> |
lock(org.opendaylight.yangtools.yang.common.QName targetDatastore)
Netconf protocol operation lock.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> |
unlock(org.opendaylight.yangtools.yang.common.QName targetDatastore)
Netconf protocol operation unlock.
|
public NetconfBaseServiceImpl(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId,
org.opendaylight.controller.md.sal.dom.api.DOMRpcService domRpcService,
org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> get(com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier> filterYII)
NetconfBaseServiceget in interface NetconfBaseServicefilterYII - may contain filter YangInstanceIdentifier if neededpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> getConfig(org.opendaylight.yangtools.yang.common.QName sourceDatastore,
com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier> filterYII)
NetconfBaseServicegetConfig in interface NetconfBaseServicesourceDatastore - type of the configuration datastore being queriedfilterYII - may contain filter YangInstanceIdentifier if neededpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> editConfig(org.opendaylight.yangtools.yang.common.QName targetDatastore,
com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> data,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier dataPath,
com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.ModifyAction> dataModifyActionAttribute,
com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.ModifyAction> defaultModifyAction,
boolean rollback)
NetconfBaseServiceeditConfig in interface NetconfBaseServicetargetDatastore - type of the configuration datastore being editeddata - configuration datadataPath - YangInstanceIdentifier for the configuration datadataModifyActionAttribute - may contain operation attribute for the configuration datadefaultModifyAction - may contain default operationrollback - if true, rollback on error option is added to the edit-config messagepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> copyConfig(org.opendaylight.yangtools.yang.common.QName sourceDatastore,
org.opendaylight.yangtools.yang.common.QName targetDatastore)
NetconfBaseServicecopyConfig in interface NetconfBaseServicesourceDatastore - type of the configuration datastore to use as the source of the copy-config operationtargetDatastore - type of the configuration datastore to use as the destination of the copy-config operationpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> deleteConfig(org.opendaylight.yangtools.yang.common.QName targetDatastore)
NetconfBaseServicedeleteConfig in interface NetconfBaseServicetargetDatastore - type of the configuration datastore to deletepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> lock(org.opendaylight.yangtools.yang.common.QName targetDatastore)
NetconfBaseServicelock in interface NetconfBaseServicetargetDatastore - of the configuration datastore to lockpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.controller.md.sal.dom.api.DOMRpcResult> unlock(org.opendaylight.yangtools.yang.common.QName targetDatastore)
NetconfBaseServiceunlock in interface NetconfBaseServicetargetDatastore - of the configuration datastore to unlockpublic org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId getDeviceId()
NetconfBaseServicegetDeviceId in interface NetconfBaseServiceCopyright © 2019. All rights reserved.