a37dffe2ef0a6c83ced9d51a8807e3f2c08ddf82
[osm/MON.git] / policy_module / osm_policy_module / tests / examples / configure_scaling_full_example.json
1 {
2   "ns_id": "360b400b-86dc-4b8e-a139-b7fc3987cf69",
3   "scaling_group_descriptor": {
4     "name": "test",
5     "scaling_policy": {
6       "scale_in_operation_type": "or",
7       "scale_out_operation_type": "or",
8       "threshold_time": 10,
9       "cooldown_time": 10,
10       "scaling_criteria": [
11         {
12           "scale_in_threshold": 50,
13           "scale_out_threshold": 50,
14           "scale_in_relational_operation": "lt",
15           "scale_out_relational_operation": "gt",
16           "monitoring_param": {
17             "id": "test_param_id",
18             "name": "test_param",
19             "aggregation_type": "avg",
20             "vdu_monitoring_param": {
21               "vim_uuid": "vdu_monitoring_param_id",
22               "resource_id": "vdu_monitoring_param_resource_id",
23               "name": "vdu_monitoring_param_name"
24             }
25           }
26         }
27       ]
28     }
29   }
30 }