Skip to content

Commit

Permalink
Update config.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
advornic committed Jul 28, 2015
1 parent c7acfcb commit e9ab167
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,10 @@ Actions
``[data_root]/actions/`` contains the set of all actions available for use in
definitions.

New custom actions to-be referenced from definitions can be added to
``[data_root]/actions/``. These will be loaded on-demand and do not require
a restart of the ZTPServer. See ``[data_root]/actions`` for examples.

+---------------------------+-----------------------------------------------------------+----------------------------------------+
| Action | Description | Required Attributes |
+===========================+===========================================================+========================================+
Expand Down Expand Up @@ -774,6 +778,11 @@ where:
- ``node_id`` is the unique_id of the node being provisioned
- ``pool`` is the name of the resource pool from which an attribute is being allocated

New custom plugins to-be referenced from definitions can be added to
``[data_root]/plugins/``. These will be loaded on-demand and do not require
a restart of the ZTPServer. See ``[data_root]/plugins/test`` for a very basic
example.

**allocate(resource_pool)**

``[data_root]/resources/`` contains global resource pools from which
Expand Down

0 comments on commit e9ab167

Please sign in to comment.