org.opennms.netmgt.provision
Interface ProvisioningAdapter

All Known Implementing Classes:
SimpleQueuedProvisioningAdapter, SimpleQueuedProvisioningAdapter2

public interface ProvisioningAdapter

This class provides an API for implementing provider "extensions" to the OpenNMS Provisioning daemon.

Author:
David Hustace

Method Summary
 void addNode(int nodeId)
          This method is called by the Provisioner when a new node is provisioned.
 void deleteNode(int nodeId)
          This method is called by the Provisioner when a node is deleted through provisioning.
 String getName()
           
 void nodeConfigChanged(int nodeid)
          This method is called when a configuration change event has occurred from any source.
 void updateNode(int nodeId)
          This method is called by the Provisioner when a node is updated through provisioning.
 

Method Detail

addNode

void addNode(int nodeId)
             throws ProvisioningAdapterException
This method is called by the Provisioner when a new node is provisioned.

Throws:
ProvisioningAdapterException

updateNode

void updateNode(int nodeId)
                throws ProvisioningAdapterException
This method is called by the Provisioner when a node is updated through provisioning.

Throws:
ProvisioningAdapterException

deleteNode

void deleteNode(int nodeId)
                throws ProvisioningAdapterException
This method is called by the Provisioner when a node is deleted through provisioning.

Throws:
ProvisioningAdapterException

getName

String getName()

nodeConfigChanged

void 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 -
Throws:
ProvisioningAdapterException


Copyright © 2009. All Rights Reserved.