Class NetconfNmdaBaseServiceImpl

java.lang.Object
io.lighty.modules.southbound.netconf.impl.NetconfBaseServiceImpl
io.lighty.modules.southbound.netconf.impl.NetconfNmdaBaseServiceImpl
All Implemented Interfaces:
NetconfBaseService, NetconfNmdaBaseService, org.opendaylight.mdsal.dom.api.DOMService

public class NetconfNmdaBaseServiceImpl extends NetconfBaseServiceImpl implements NetconfNmdaBaseService
  • Field Details

    • NETCONF_NMDA_EXTENSION_QNAME

      public static final org.opendaylight.yangtools.yang.common.QName NETCONF_NMDA_EXTENSION_QNAME
    • NETCONF_GET_DATA_QNAME

      public static final org.opendaylight.yangtools.yang.common.QName NETCONF_GET_DATA_QNAME
    • NETCONF_EDIT_DATA_QNAME

      public static final org.opendaylight.yangtools.yang.common.QName NETCONF_EDIT_DATA_QNAME
  • Constructor Details

    • NetconfNmdaBaseServiceImpl

      public NetconfNmdaBaseServiceImpl(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId, org.opendaylight.mdsal.dom.api.DOMRpcService domRpcService, org.opendaylight.yangtools.yang.model.api.EffectiveModelContext effectiveModelContext)
  • Method Details

    • getData

      public 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)
      Description copied from interface: NetconfNmdaBaseService
      Netconf protocol operation get-data.
      Specified by:
      getData in interface NetconfNmdaBaseService
      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

      public 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.EffectiveOperation> dataEffectiveOperation, Optional<org.opendaylight.netconf.api.EffectiveOperation> defaultEffectiveOperation)
      Description copied from interface: NetconfNmdaBaseService
      Netconf protocol operation edit-data.
      Specified by:
      editData in interface NetconfNmdaBaseService
      Parameters:
      targetDatastore - type of the configuration datastore being edited
      data - configuration data
      dataPath - YangInstanceIdentifier for the configuration data
      dataEffectiveOperation - may contain operation attribute for the configuration data
      defaultEffectiveOperation - may contain default operation
      Returns:
      future with RPC result
    • deleteConfig

      public com.google.common.util.concurrent.ListenableFuture<? extends org.opendaylight.mdsal.dom.api.DOMRpcResult> deleteConfig(org.opendaylight.yangtools.yang.common.QName targetDatastore)
      Description copied from interface: NetconfBaseService
      Netconf protocol operation delete-config.
      Specified by:
      deleteConfig in interface NetconfBaseService
      Overrides:
      deleteConfig in class NetconfBaseServiceImpl
      Parameters:
      targetDatastore - type of the configuration datastore to delete
      Returns:
      future with RPC result