a498ca0b97eeb4659540f4d7693aa2b3a38247db
[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          "coverage_area_ta_list": "Chennai",
11          "latency": 30,
12          "reliability": 99.9
13       },
14       "demands": {
15          "URLLC_core": [
16             {
17                "default_attributes": {
18                   "creation_cost": 0.1
19                },
20                "filtering_attributes": {
21                   "service-function": "shared",
22                   "model-invariant-id": "c343a533-c045-4ec0-bbb6-f30eb8eb5a41",
23                   "model-version-id": "8d770214-d3e7-43ea-b7a6-9b235dcbcd34",
24                   "service-role": "nssi"
25                },
26                "inventory_provider": "aai",
27                "inventory_type": "nssi",
28                "unique": "true"
29             }
30          ]
31       },
32       "constraints": {
33          "URLLC_Threshold": {
34             "demands": [
35                "URLLC_core"
36             ],
37             "properties": {
38                "evaluate": [
39                   {
40                      "attribute": "latency",
41                      "operator": "lte",
42                      "threshold": {
43                         "get_param": "latency"
44                      },
45                      "unit": "ms"
46                   },
47                   {
48                      "attribute": "reliability",
49                      "operator": "gte",
50                      "threshold": {
51                         "get_param": "reliability"
52                      },
53                      "unit": ""
54                   },
55                   {
56                      "attribute": "coverage_area_ta_list",
57                      "operator": "eq",
58                      "threshold": {
59                         "get_param": "coverage_area_ta_list"
60                      },
61                      "unit": ""
62                   }
63                ]
64             },
65             "type": "threshold"
66          }
67       },
68       "optimization": {
69          "goal": "minimize",
70          "operation_function": {
71             "operands": [
72                {
73                   "function": "attribute",
74                   "params": {
75                      "attribute": "latency",
76                      "demand": "URLLC_core"
77                   }
78                }
79             ],
80             "operator": "sum"
81          }
82       }
83    }
84 }