CSIT for NST selection enhancements
[integration/csit.git] / tests / optf-has / has / data / nssi_selection_template_unmatched.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": 5,
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             },
57             "type": "threshold"
58          }
59       },
60       "optimization": {
61          "goal": "minimize",
62          "operation_function": {
63             "operands": [
64                {
65                   "function": "attribute",
66                   "params": {
67                      "attribute": "latency",
68                      "demand": "URLLC_core"
69                   }
70                }
71             ],
72             "operator": "sum"
73          }
74       }
75    }
76 }