CSIT for NST selection enhancements
[integration/csit.git] / tests / optf-has / has / data / nst_selection_template.json
1 {
2    "name":"urllc_sample",
3    "files":{
4  
5    },
6    "limit":10,
7    "num_solution":"1",
8    "timeout":1200,
9    "template":{
10       "homing_template_version":"2020-08-13",
11       "demands":{
12          "nst_demand":[
13             {
14                "inventory_provider":"aai",
15                "inventory_type":"nst",
16                "unique":"true",
17                "region":"RegionOne",
18                "filtering_attributes":{
19                   "model-role":"nst"
20                }
21             }
22          ]
23       },
24       "constraints":{
25          "nst_Threshold":{
26             "type":"threshold",
27             "demands":[
28                "nst_demand"
29             ],
30             "properties":{
31                "evaluate":[
32                   {
33                      "attribute":"latency",
34                      "operator":"lte",
35                      "threshold":30,
36                      "unit":"ms"
37                   }
38                ]
39             }
40          }      },
41       "optimization":{
42          "goal": "minimize",
43          "operation_function": {
44             "operator": "sum",
45             "operands": [{
46                "function": "attribute",
47                "params": {
48                   "demand": "nst_demand",
49                   "attribute": "latency"
50                }
51             }]
52          }
53       }
54    }
55 }