diff options
author | hariharan97 <rh20085046@wipro.com> | 2021-02-25 14:19:44 +0530 |
---|---|---|
committer | hariharan97 <rh20085046@wipro.com> | 2021-03-02 08:01:19 +0530 |
commit | ac6c8501503d272c691b71a98078cc3fab1cc8c9 (patch) | |
tree | 0438e27f0da01d7f89b6654ab97548781a1c812f /tests/optf-has/has/data/nst_selection_template.json | |
parent | 4fbb28749f57727dc23790b6e9ec480ca61490fb (diff) |
CSIT for NST selection enhancements
Issue-ID: OPTFRA-764
Signed-off-by: hariharan97 <rh20085046@wipro.com>
Change-Id: Ic431c58c96a517fd939f337f3352f28ae4e5e8c3
Diffstat (limited to 'tests/optf-has/has/data/nst_selection_template.json')
-rw-r--r-- | tests/optf-has/has/data/nst_selection_template.json | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/optf-has/has/data/nst_selection_template.json b/tests/optf-has/has/data/nst_selection_template.json new file mode 100644 index 00000000..41819141 --- /dev/null +++ b/tests/optf-has/has/data/nst_selection_template.json @@ -0,0 +1,55 @@ +{ + "name":"urllc_sample", + "files":{ + + }, + "limit":10, + "num_solution":"1", + "timeout":1200, + "template":{ + "homing_template_version":"2020-08-13", + "demands":{ + "nst_demand":[ + { + "inventory_provider":"aai", + "inventory_type":"nst", + "unique":"true", + "region":"RegionOne", + "filtering_attributes":{ + "model-role":"nst" + } + } + ] + }, + "constraints":{ + "nst_Threshold":{ + "type":"threshold", + "demands":[ + "nst_demand" + ], + "properties":{ + "evaluate":[ + { + "attribute":"latency", + "operator":"lte", + "threshold":30, + "unit":"ms" + } + ] + } + } }, + "optimization":{ + "goal": "minimize", + "operation_function": { + "operator": "sum", + "operands": [{ + "function": "attribute", + "params": { + "demand": "nst_demand", + "attribute": "latency" + } + }] + } + } + } +}
\ No newline at end of file |