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