Add support to process NSI selection request
[optf/osdf.git] / test / policy-local-files / slice-selection-files / opt_policy_nssi.json
diff --git a/test/policy-local-files/slice-selection-files/opt_policy_nssi.json b/test/policy-local-files/slice-selection-files/opt_policy_nssi.json
new file mode 100644 (file)
index 0000000..2b7cbf8
--- /dev/null
@@ -0,0 +1,37 @@
+{
+    "OSDF_FRANKFURT.minimizeCost_URLLC": {
+        "metadata": {
+            "policy-id": "OSDF_FRANKFURT.minimizeCost_URLLC",
+            "policy-version": 1
+        },
+        "properties": {
+            "geography": [],
+            "identity": "optimization",
+            "goal": "minimize",
+            "operation_function": {
+                "operator": "sum",
+                "operands": [
+                    {
+                        "function": "attribute",
+                        "params": {
+                            "attribute": "latency",
+                            "demand": "embb-cn"
+                        }
+                    }
+                ]
+            },
+            "resources": [
+                "embb-cn"
+            ],
+            "scope": [
+                "SHARED"
+            ],
+            "services": [
+                "embb-cn"
+            ]
+        },
+        "type": "onap.policies.optimization.resource.OptimizationPolicy",
+        "type_version": "2.0.0",
+        "version": "1.0.0"
+    }
+}