Class OpenconfigRoutingConfigFileProcessor

java.lang.Object
org.opendaylight.bgpcep.config.loader.spi.AbstractConfigFileProcessor
org.opendaylight.bgpcep.config.loader.routing.policy.OpenconfigRoutingConfigFileProcessor
All Implemented Interfaces:
AutoCloseable, ConfigFileProcessor, org.opendaylight.yangtools.concepts.Registration

@Singleton public final class OpenconfigRoutingConfigFileProcessor extends AbstractConfigFileProcessor
  • Constructor Summary

    Constructors
    Constructor
    Description
    OpenconfigRoutingConfigFileProcessor(ConfigLoader configLoader, org.opendaylight.mdsal.dom.api.DOMDataBroker dataBroker)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute
    Return the SchemaNodeIdentifier.Absolute path to the expected root node of the document contained in the file.
    void
     
    protected com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo>
    loadConfiguration(org.opendaylight.mdsal.dom.api.DOMDataBroker dataBroker, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)
    Load specified DTO using provided DOMDataBroker.

    Methods inherited from class org.opendaylight.bgpcep.config.loader.spi.AbstractConfigFileProcessor

    loadConfiguration, start, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OpenconfigRoutingConfigFileProcessor

      @Inject public OpenconfigRoutingConfigFileProcessor(ConfigLoader configLoader, org.opendaylight.mdsal.dom.api.DOMDataBroker dataBroker)
  • Method Details

    • init

      @PostConstruct public void init()
    • close

      @PreDestroy public void close()
    • fileRootSchema

      public org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute fileRootSchema()
      Description copied from interface: ConfigFileProcessor
      Return the SchemaNodeIdentifier.Absolute path to the expected root node of the document contained in the file.
      Returns:
      An absolute schema node identifier.
    • loadConfiguration

      protected com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo> loadConfiguration(org.opendaylight.mdsal.dom.api.DOMDataBroker dataBroker, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)
      Description copied from class: AbstractConfigFileProcessor
      Load specified DTO using provided DOMDataBroker.
      Specified by:
      loadConfiguration in class AbstractConfigFileProcessor
      Parameters:
      dataBroker - data broker to use
      dto - normalizedNode
      Returns:
      Transaction commit future