Revert "Removes POL code from MON repo"
[osm/MON.git] / policy_module / osm_policy_module / tests / examples / configure_scaling_full_example.json
diff --git a/policy_module/osm_policy_module/tests/examples/configure_scaling_full_example.json b/policy_module/osm_policy_module/tests/examples/configure_scaling_full_example.json
new file mode 100644 (file)
index 0000000..eab1cc7
--- /dev/null
@@ -0,0 +1,30 @@
+{
+  "ns_id": "360b400b-86dc-4b8e-a139-b7fc3987cf69",
+  "scaling_group_descriptor": {
+    "name": "test",
+    "scaling_policy": {
+      "scale_in_operation_type": "or",
+      "scale_out_operation_type": "or",
+      "threshold_time": 10,
+      "cooldown_time": 10,
+      "scaling_criteria": [
+        {
+          "scale_in_threshold": 50,
+          "scale_out_threshold": 50,
+          "scale_in_relational_operation": "lt",
+          "scale_out_relational_operation": "gt",
+          "monitoring_param": {
+            "id": "test_param_id",
+            "name": "test_param",
+            "aggregation_type": "average",
+            "vdu_monitoring_param": {
+              "vnf_member_index": "1",
+              "vdu_name": "2d8d5355-acf7-42be-9f34-a10d02f9df39",
+              "name": "cpu_utilization"
+            }
+          }
+        }
+      ]
+    }
+  }
+}
\ No newline at end of file