aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/5GE2ENetworkSlicing/common/policies/gen_nssi_policies/query_nssi.json
diff options
context:
space:
mode:
authorMaciej Lisowski <m.lisowski2@partner.samsung.com>2022-02-16 15:37:35 +0100
committerMaciej Lisowski <m.lisowski2@partner.samsung.com>2022-02-21 12:45:16 +0100
commit142b5372b98ac9fbe0e8c847d90a52952e09f948 (patch)
treed0555aa547302d1fab1795747a1ba7524fad799c /tutorials/5GE2ENetworkSlicing/common/policies/gen_nssi_policies/query_nssi.json
parent554afbb5729fe19b6d978d4add1b4b7c6e34ef7a (diff)
Make Network Slicing usecase more user friendly
It was required to create a directory containing all files related to Network Slicing in order to make the usecase more user friendly. This change contains policies with already made automated scripts. Issue-ID: INT-2069 Signed-off-by: Maciej Lisowski <m.lisowski2@partner.samsung.com> Change-Id: Ia6f003a2dbff53f32a2fc0614bb646302b6d080b
Diffstat (limited to 'tutorials/5GE2ENetworkSlicing/common/policies/gen_nssi_policies/query_nssi.json')
-rw-r--r--tutorials/5GE2ENetworkSlicing/common/policies/gen_nssi_policies/query_nssi.json46
1 files changed, 46 insertions, 0 deletions
diff --git a/tutorials/5GE2ENetworkSlicing/common/policies/gen_nssi_policies/query_nssi.json b/tutorials/5GE2ENetworkSlicing/common/policies/gen_nssi_policies/query_nssi.json
new file mode 100644
index 00000000..ea457243
--- /dev/null
+++ b/tutorials/5GE2ENetworkSlicing/common/policies/gen_nssi_policies/query_nssi.json
@@ -0,0 +1,46 @@
+{
+ "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
+ "topology_template": {
+ "policies": [
+ {
+ "queryPolicy_EmbbCn_External": {
+ "type": "onap.policies.optimization.service.QueryPolicy",
+ "version": "1.0.0",
+ "type_version": "1.0.0",
+ "metadata": {
+ "policy-id": "queryPolicy_EmbbCn_External",
+ "policy-version": 1
+ },
+ "properties": {
+ "scope": [
+ "OSDF_GUILIN"
+ ],
+ "services": [
+ "EmbbCn_External"
+ ],
+ "geography": [],
+ "identity": "queryPolicy_EmbbCn_External",
+ "queryProperties": [
+ {
+ "attribute": "latency",
+ "attribute_location": "latency"
+ },
+ {
+ "attribute": "reliability",
+ "attribute_location": "reliability"
+ },
+ {
+ "attribute": "model_invariant_id",
+ "attribute_location": "invariantUUID"
+ },
+ {
+ "attribute": "model_version_id",
+ "attribute_location": "UUID"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+}