Interface NetconfNmdaBaseService

    • Method Detail

      • getData

        com.google.common.util.concurrent.ListenableFuture<? extends org.opendaylight.mdsal.dom.api.DOMRpcResult> getData​(org.opendaylight.yangtools.yang.common.QName sourceDatastore,
                                                                                                                          Optional<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier> filterYII,
                                                                                                                          Optional<Boolean> configFilter,
                                                                                                                          Optional<Integer> maxDepth,
                                                                                                                          Optional<Set<org.opendaylight.yangtools.yang.common.QName>> originFilter,
                                                                                                                          Optional<Boolean> negateOriginFilter,
                                                                                                                          Optional<Boolean> withOrigin)
        Netconf protocol operation get-data.
        Parameters:
        sourceDatastore - type of the configuration datastore being queried
        filterYII - may contain filter YangInstanceIdentifier if needed
        configFilter - flag for getting the configuration nodes only
        maxDepth - flag for limiting the number of subtree levels returned in the reply
        originFilter - flag for specifying the origin filter which selects nodes equal to or derived from any of the given values
        negateOriginFilter - flag if we want to negate the origin filter
        withOrigin - requests that the server includes "origin" metadata annotations in its response, as detailed in the NMDA.
        Returns:
        future with RPC result
      • editData

        com.google.common.util.concurrent.ListenableFuture<? extends org.opendaylight.mdsal.dom.api.DOMRpcResult> editData​(org.opendaylight.yangtools.yang.common.QName targetDatastore,
                                                                                                                           Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?>> data,
                                                                                                                           org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier dataPath,
                                                                                                                           Optional<org.opendaylight.netconf.api.ModifyAction> dataModifyActionAttribute,
                                                                                                                           Optional<org.opendaylight.netconf.api.ModifyAction> defaultModifyAction)
        Netconf protocol operation edit-data.
        Parameters:
        targetDatastore - type of the configuration datastore being edited
        data - configuration data
        dataPath - YangInstanceIdentifier for the configuration data
        dataModifyActionAttribute - may contain operation attribute for the configuration data
        defaultModifyAction - may contain default operation
        Returns:
        future with RPC result