Make Network Slicing usecase more user friendly
[demo.git] / tutorials / 5GE2ENetworkSlicing / common / policies / trtnsst / query_nsi.json
diff --git a/tutorials/5GE2ENetworkSlicing/common/policies/trtnsst/query_nsi.json b/tutorials/5GE2ENetworkSlicing/common/policies/trtnsst/query_nsi.json
new file mode 100644 (file)
index 0000000..0db2c80
--- /dev/null
@@ -0,0 +1,117 @@
+{
+    "queryPolicy_{{ service_name }}": {
+        "type": "onap.policies.optimization.service.QueryPolicy",
+        "version": "1.0.0",
+        "type_version": "1.0.0",
+        "metadata": {
+            "policy-id": "queryPolicy_{{ service_name }}",
+            "policy-version": 1
+        },
+        "properties": {
+            "scope": [
+                "shared,reuse",
+                "shared,create_new",
+                "non-shared"
+            ],
+            "services": [
+                "{{ service_name }}"
+            ],
+            "geography": [],
+            "identity": "queryPolicy_{{ service_name }}",
+            "queryProperties": [
+                {
+                    "attribute": "latency",
+                    "attribute_location": "latency"
+                },
+                {
+                    "attribute": "max_number_of_ues",
+                    "attribute_location": "max_number_of_ues"
+                },
+                {
+                    "attribute": "AN_NF_max_throughput",
+                    "attribute_location": "AN_NF_max_throughput"
+                },
+                {
+                    "attribute": "AN_NF_max_number_of_ues",
+                    "attribute_location": "AN_NF_max_number_of_ues"
+                },
+                {
+                    "attribute": "AN_NF_terminal_density",
+                    "attribute_location": "AN_NF_terminal_density"
+                },
+                {
+                    "attribute": "AN_NF_latency",
+                    "attribute_location": "AN_NF_latency"
+                },
+                {
+                    "attribute": "TN_FH_latency",
+                    "attribute_location": "TN_FH_latency"
+                },
+                {
+                    "attribute": "TN_MH_latency",
+                    "attribute_location": "TN_MH_latency"
+                },
+                {
+                    "attribute": "TN_FH_max_throughput",
+                    "attribute_location": "TN_FH_max_throughput"
+                },
+                {
+                    "attribute": "TN_MH_max_throughput",
+                    "attribute_location": "TN_MH_max_throughput"
+                },
+                {
+                    "attribute": "s_nssai_list",
+                    "attribute_location": "s_nssai_list"
+                },
+                {
+                    "attribute": "plmn_id_list",
+                    "attribute_location": "plmn_id_list"
+                },
+                {
+                    "attribute": "coverage_area_ta_list",
+                    "attribute_location": "coverage_area_ta_list"
+                },
+                {
+                    "attribute": "resource_sharing_level",
+                    "attribute_location": "resource_sharing_level"
+                },
+                {
+                    "attribute": "ue_mobility_level",
+                    "attribute_location": "ue_mobility_level"
+                },
+                {
+                    "attribute": "sst",
+                    "attribute_location": "sst"
+                },
+                {
+                    "attribute": "max_number_of_pdu_session",
+                    "attribute_location": "max_number_of_pdu_session"
+                },
+                {
+                    "attribute": "perf_req",
+                    "attribute_location": "perf_req"
+                },
+                {
+                    "attribute": "exp_data_rate_dl",
+                    "attribute_location": "perf_req.perfReqEmbbList.expDataRateDL"
+                },
+                {
+                    "attribute": "exp_data_rate_ul",
+                    "attribute_location": "perf_req.perfReqEmbbList.expDataRateUL"
+                },
+                {
+                    "attribute": "model_invariant_id",
+                    "attribute_location": "invariantUUID"
+                },
+                {
+                    "attribute": "model_version_id",
+                    "attribute_location": "UUID"
+                },
+                {
+                    "attribute": "activity_factor",
+                    "attribute_location": "perf_req.perfReqEmbbList.activityFactor"
+                }
+            ]
+        }
+    }
+}