From 4e76bd143c04d7f2adcc01255f3666e0d333414c Mon Sep 17 00:00:00 2001 From: krishnaa96 Date: Fri, 23 Oct 2020 14:33:09 +0530 Subject: [OOF] Add CSIT for NSI/NSSI selection HAS Image version updated to 2.1.2 Issue-ID: OPTFRA-865 Signed-off-by: krishnaa96 Change-Id: I5cb8d62d1f7a280bcf3f5efa6b2d333909d9daed --- .../optf-has/has/data/nssi_selection_template.json | 84 ++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 tests/optf-has/has/data/nssi_selection_template.json (limited to 'tests/optf-has/has/data/nssi_selection_template.json') diff --git a/tests/optf-has/has/data/nssi_selection_template.json b/tests/optf-has/has/data/nssi_selection_template.json new file mode 100644 index 00000000..a498ca0b --- /dev/null +++ b/tests/optf-has/has/data/nssi_selection_template.json @@ -0,0 +1,84 @@ +{ + "files": {}, + "limit": 10, + "name": "urllc_sample", + "num_solution": "1", + "timeout": 1200, + "template": { + "homing_template_version": "2020-08-13", + "parameters": { + "coverage_area_ta_list": "Chennai", + "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": "" + }, + { + "attribute": "coverage_area_ta_list", + "operator": "eq", + "threshold": { + "get_param": "coverage_area_ta_list" + }, + "unit": "" + } + ] + }, + "type": "threshold" + } + }, + "optimization": { + "goal": "minimize", + "operation_function": { + "operands": [ + { + "function": "attribute", + "params": { + "attribute": "latency", + "demand": "URLLC_core" + } + } + ], + "operator": "sum" + } + } + } +} -- cgit 1.2.3-korg