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