ef4c362e7c3ee2fbbed1363d79dac315abaadeb4
[optf/osdf.git] / examples / policies / nsi_policies / threshold_nsi.json
1 {
2    "Threshold_{{ service_name }}":{
3       "metadata":{
4          "policy-id":"Threshold_{{ service_name }}",
5          "policy-version":1
6       },
7       "properties":{
8          "geography":[
9
10          ],
11          "identity":"Threshold_{{ service_name }}",
12          "resources":[
13             "{{ service_name }}"
14          ],
15          "scope":[
16             "shared,reuse",
17             "shared,create_new",
18             "non-shared"
19          ],
20          "services":[
21             "{{ service_name }}"
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 }