CSIT for NST selection enhancements
[integration/csit.git] / tests / optf-has / has / data / nssi_selection_template.json
1 {
2    "files": {},
3    "limit": 10,
4    "name": "urllc_sample",
5    "num_solution": "1",
6    "timeout": 1200,
7    "template": {
8       "homing_template_version": "2020-08-13",
9       "parameters": {
10          "latency": 30,
11          "reliability": 99.9
12       },
13       "demands": {
14          "URLLC_core": [
15             {
16                "default_attributes": {
17                   "creation_cost": 0.1
18                },
19                "filtering_attributes": {
20                   "service-function": "shared",
21                   "model-invariant-id": "c343a533-c045-4ec0-bbb6-f30eb8eb5a41",
22                   "model-version-id": "8d770214-d3e7-43ea-b7a6-9b235dcbcd34",
23                   "service-role": "nssi"
24                },
25                "inventory_provider": "aai",
26                "inventory_type": "nssi",
27                "unique": "true"
28             }
29          ]
30       },
31       "constraints": {
32          "URLLC_Threshold": {
33             "demands": [
34                "URLLC_core"
35             ],
36             "properties": {
37                "evaluate": [
38                   {
39                      "attribute": "latency",
40                      "operator": "lte",
41                      "threshold": {
42                         "get_param": "latency"
43                      },
44                      "unit": "ms"
45                   },
46                   {
47                      "attribute": "reliability",
48                      "operator": "gte",
49                      "threshold": {
50                         "get_param": "reliability"
51                      },
52                      "unit": ""
53                   }
54                ]
55             },
56             "type": "threshold"
57          }
58       },
59       "optimization": {
60          "goal": "minimize",
61          "operation_function": {
62             "operands": [
63                {
64                   "function": "attribute",
65                   "params": {
66                      "attribute": "latency",
67                      "demand": "URLLC_core"
68                   }
69                }
70             ],
71             "operator": "sum"
72          }
73       }
74    }
75 }