Skip to content

Commit

Permalink
Update config.rst
Browse files Browse the repository at this point in the history
dd
  • Loading branch information
advornic committed Feb 9, 2015
1 parent 31c17f5 commit 5c140b0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,9 @@ Static provisioning - startup_config
``startup-config`` provides a static startup-configuration for the node. If this file is present in a node’s folder, when the node sends a GET request to ``/nodes/<unique_id>``, the server will respond with a static definition that includes:

- a **replace\_config** action which will install the configuration file on the switch (see `actions <#actions>`__ section below for more on this). This action will be placed **first** in the definition.
- all the **actions** from the local **definition** file (see definition section below for more on this) which have the ``always_execute`` attribute set to ``True``
- a **replace\_config** action which will install the configuration file on the switch (see `actions <#actions>`__ section below for more on this). This action will be placed **last** in the definition.


.. _definition:

Expand Down Expand Up @@ -813,8 +814,11 @@ allocating a new one.
In order to free a resource from a pool, simply turn the value
associated to it back to ``null``, by editing the resource file.

Resource pools
~~~~~~~~~~~~~~
Alternatively, ``$ztps --clear-resources`` can be used in order to free
all resources in all resource files.

Config-handlers
~~~~~~~~~~~~~~~

``[data_root]/config-handlers/`` contains config-handlers which can be
associated with nodes via *neighbordb*. A config-handler script is executed
Expand Down

0 comments on commit 5c140b0

Please sign in to comment.