jhh | 20e78d7 | 2019-06-03 15:31:00 -0500 | [diff] [blame] | 1 | |
| 2 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 3 | .. http://creativecommons.org/licenses/by/4.0 |
| 4 | |
| 5 | ****************** |
| 6 | Feature: Lifecycle |
| 7 | ****************** |
| 8 | |
| 9 | .. contents:: |
| 10 | :depth: 3 |
| 11 | |
| 12 | Summary |
| 13 | ^^^^^^^ |
| 14 | |
| 15 | The "lifecycle" feature enables a PDP-D to work with the Dublin Release Policy architectural framework. |
| 16 | |
| 17 | The lifecycle feature maintains three states: TERMINATED, PASSIVE, and ACTIVE. |
| 18 | The PAP (Dublin style) interacts with the lifecycle feature to put a PDP-D in PASSIVE or ACTIVE states. |
| 19 | The PASSIVE state allows for Tosca Operational policies to be deployed. |
| 20 | Policy execution is enabled when the PDP-D transitions to the ACTIVE state. |
| 21 | |
| 22 | This feature can coexist side by side with the legacy mode of operation that predates the Dublin release. |
| 23 | |
| 24 | Usage |
| 25 | ^^^^^ |
| 26 | |
| 27 | The feature is enabled by default. |
| 28 | The lifecycle "enabled" property can be toggled with the "features" command line tool available in PDP-D containers. |
| 29 | |
| 30 | .. code-block:: bash |
| 31 | :caption: PDPD Features Command |
| 32 | |
| 33 | policy stop |
| 34 | |
| 35 | features disable lifecycle # enable/disable toggles the activation of the feature. |
| 36 | |
| 37 | policy start |
| 38 | |
| 39 | End of Document |