Developing an agent means developing the entry points that the agent can call to perform operations on a resource, such as to bring a resource online, to take a resource offline, or to monitor the resource.
The agent framework supports the following commonly used entry points:
monitor
- determines the status of a resource
info
- provides information about an online resource
online
- brings a resource online
offline
- takes a resource offline
clean
- terminates ongoing tasks for a resource being taken offline
action
- starts a defined action for a resource
The agent framework also supports the following rarely needed entry points:
attr_changed
- responds to a resource's attribute's value change
open
- initializes a resource before the agent starts to manage it
close
- deinitializes a resource before the agent stops managing it
shutdown
- called when the agent shuts down
This chapter contains descriptions of each of the supported entry points.
See Agent entry points.