aboutsummaryrefslogtreecommitdiffstats
path: root/tests/optf-has/has/data/nssi_selection_template.json
diff options
context:
space:
mode:
authorkrishnaa96 <krishna.moorthy6@wipro.com>2020-10-23 14:33:09 +0530
committerkrishna moorthy <krishna.moorthy6@wipro.com>2020-10-27 12:46:05 +0000
commit4e76bd143c04d7f2adcc01255f3666e0d333414c (patch)
treedb2e061a384574783127ef4543bebefeca0d3435 /tests/optf-has/has/data/nssi_selection_template.json
parente50b1f4517d353e31626d06fa3a5bea079a07c44 (diff)
[OOF] Add CSIT for NSI/NSSI selection
HAS Image version updated to 2.1.2 Issue-ID: OPTFRA-865 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I5cb8d62d1f7a280bcf3f5efa6b2d333909d9daed
Diffstat (limited to 'tests/optf-has/has/data/nssi_selection_template.json')
-rw-r--r--tests/optf-has/has/data/nssi_selection_template.json84
1 files changed, 84 insertions, 0 deletions
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"
+ }
+ }
+ }
+}