2 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
3 .. http://creativecommons.org/licenses/by/4.0
5 ********************************
6 Feature: Control Loop Management
7 ********************************
15 The Control Loop Management feature augments the telemetry tooling to allow
16 introspection of runtime operational policies.
21 The feature is enabled by default. The lifecycle "enabled" property can be toggled with
22 the "features" command line tool.
25 :caption: PDPD Features Command
29 features disable controlloop-management # enable/disable toggles the activation of the feature.
33 The "telemetry" tool can be used to list the control loops and associated Operational Polices at runtime.
36 :caption: PDPD Features Command
40 https://localhost:9696/policy/pdp/engine> cd controllers/usecases/drools/facts/usecases/controlloops
41 https://localhost:9696/policy/pdp/engine/controllers/usecases/drools/facts/usecases/controlloops> get
44 Content-Type: application/json
45 Date: Mon, 03 Jun 2019 20:23:38 GMT
46 Server: Jetty(9.4.14.v20181114)
49 "LOOP_vLoadBalancerMS_v3_0_vLoadBalancerMS0_k8s-tca-clamp-policy-05162019",
50 "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e"
53 https://localhost:9696/policy/pdp/engine/controllers/usecases/drools/facts/usecases/controlloops> get ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e/policy
56 Content-Type: text/plain
57 Date: Mon, 03 Jun 2019 20:23:58 GMT
58 Server: Jetty(9.4.14.v20181114)
62 controlLoopName: ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e
63 trigger_policy: unique-policy-id-1-restart
68 - id: unique-policy-id-1-restart
77 success: final_success
78 failure: final_failure
79 failure_timeout: final_failure_timeout
80 failure_retries: final_failure_retries
81 failure_exception: final_failure_exception
82 failure_guard: final_failure_guard
84 https://localhost:9696/policy/pdp/engine/controllers/usecases/drools/facts/usecases/controlloops>