Make Network Slicing usecase more user friendly
[demo.git] / tutorials / 5GE2ENetworkSlicing / common / policies / gen_nssi_policies / threshold_nssi.json
1 {
2     "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
3     "topology_template": {
4         "policies": [
5             {
6                 "Threshold_EmbbCn_External": {
7                     "metadata": {
8                         "policy-id": "Threshold_EmbbCn_External",
9                         "policy-version": 1
10                     },
11                     "properties": {
12                         "geography": [],
13                         "identity": "Threshold_EmbbCn_External",
14                         "resources": [
15                             "EmbbCn_External"
16                         ],
17                         "scope": [
18                             "OSDF_GUILIN"
19                         ],
20                         "services": [
21                             "EmbbCn_External"
22                         ],
23                         "thresholdProperties": [
24                             {
25                                 "attribute": "latency",
26                                 "operator": "lte",
27                                 "threshold": {
28                                     "get_param": "latency"
29                                 },
30                                 "unit": "ms"
31                             }
32                         ]
33                     },
34                     "type": "onap.policies.optimization.resource.ThresholdPolicy",
35                     "type_version": "1.0.0",
36                     "version": "1.0.0"
37                 }
38             }
39         ]
40     }
41 }