Interface ProvisioningAdapter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.concurrent.ScheduledFuture<?> addNode​(int nodeId)
      This method is called by the Provisioner when a new node is provisioned.
      java.util.concurrent.ScheduledFuture<?> deleteNode​(int nodeId)
      This method is called by the Provisioner when a node is deleted through provisioning.
      java.lang.String getName()
      getName
      void init()
      This method is called in case the adapter needs to perform some initialization prior to receiving calls from the AdapterManager.
      java.util.concurrent.ScheduledFuture<?> nodeConfigChanged​(int nodeid)
      This method is called when a configuration change event has occurred from any source.
      java.util.concurrent.ScheduledFuture<?> updateNode​(int nodeId)
      This method is called by the Provisioner when a node is updated through provisioning.
    • Method Detail

      • getName

        java.lang.String getName()

        getName

        Returns:
        a String object.
      • nodeConfigChanged

        java.util.concurrent.ScheduledFuture<?> nodeConfigChanged​(int nodeid)
                                                           throws ProvisioningAdapterException
        This method is called when a configuration change event has occurred from any source. Typically, Traps sent from a device are converted to an event and that event is then identified for translation and translated into a generic configuration changed event.
        Parameters:
        nodeid - a int.
        Throws:
        ProvisioningAdapterException - if any.