blob: ca8921310d523a46b089eeca71b5c49586095e31 [file] [log] [blame]
jhh20e78d72019-06-03 15:31:00 -05001
2.. This work is licensed under a Creative Commons Attribution 4.0 International License.
3.. http://creativecommons.org/licenses/by/4.0
4
5******************
6Feature: Lifecycle
7******************
8
9.. contents::
10 :depth: 3
11
12Summary
13^^^^^^^
14
15The "lifecycle" feature enables a PDP-D to work with the Dublin Release Policy architectural framework.
16
17The lifecycle feature maintains three states: TERMINATED, PASSIVE, and ACTIVE.
18The PAP (Dublin style) interacts with the lifecycle feature to put a PDP-D in PASSIVE or ACTIVE states.
19The PASSIVE state allows for Tosca Operational policies to be deployed.
20Policy execution is enabled when the PDP-D transitions to the ACTIVE state.
21
22This feature can coexist side by side with the legacy mode of operation that predates the Dublin release.
23
24Usage
25^^^^^
26
27The feature is enabled by default.
28The 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
39End of Document