aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/OperationalPolicy/template.json
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-07-10 12:32:36 +0200
committersebdet <sebastien.determe@intl.att.com>2019-07-12 00:25:30 +0200
commit4946e5b7d80fa1a7baa1c6042100fa1dee24ee31 (patch)
treead8df0658a57188e45130b864f58bb6a206c74d5 /ui-react/src/components/dialogs/OperationalPolicy/template.json
parent7c7323d8ec54e65ac7a9a5e8c7cd8bdc755ea70a (diff)
Introduce modal
Test Modal for Operational policy and use react-router to show it Issue-ID: CLAMP-415 Change-Id: Ie0df5f1085925224076062c7d331dc2f4c72d032 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'ui-react/src/components/dialogs/OperationalPolicy/template.json')
-rw-r--r--ui-react/src/components/dialogs/OperationalPolicy/template.json52
1 files changed, 52 insertions, 0 deletions
diff --git a/ui-react/src/components/dialogs/OperationalPolicy/template.json b/ui-react/src/components/dialogs/OperationalPolicy/template.json
new file mode 100644
index 000000000..6b4477f88
--- /dev/null
+++ b/ui-react/src/components/dialogs/OperationalPolicy/template.json
@@ -0,0 +1,52 @@
+{
+ "operationalPolicies": [
+ {
+ "name": "OPERATIONAL_LOOP_NAME",
+ "configurationsJson": {
+ "guard_policies": {
+ "guard.minmax.new": {
+ "recipe": "",
+ "clname": "LOOP_NAME",
+ "actor": "",
+ "targets": "",
+ "min": "",
+ "max": "",
+ "limit": "",
+ "timeUnits": "",
+ "timeWindow": "",
+ "guardActiveStart": "00:00:00Z",
+ "guardActiveEnd": "00:00:01Z"
+ }
+ },
+ "operational_policy": {
+ "controlLoop": {
+ "trigger_policy": "new",
+ "timeout": "0",
+ "abatement": "false",
+ "controlLoopName": "LOOP_h2NMX_v1_0_ResourceInstanceName1_tca"
+ },
+ "policies": [
+ {
+ "id": "new",
+ "recipe": "",
+ "retry": "0",
+ "timeout": "0",
+ "actor": "",
+ "payload": "",
+ "success": "",
+ "failure": "",
+ "failure_timeout": "",
+ "failure_retries": "",
+ "failure_exception": "",
+ "failure_guard": "",
+ "target": {
+ "type": "VM",
+ "resourceID": ""
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+} \ No newline at end of file