Make Network Slicing usecase more user friendly
[demo.git] / tutorials / 5GE2ENetworkSlicing / common / policies / gen_nsi_policies / query_nsi.json
1 {
2     "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
3     "topology_template": {
4         "policies": [
5             {
6                 "queryPolicy_EmbbNst_O2": {
7                     "type": "onap.policies.optimization.service.QueryPolicy",
8                     "version": "1.0.0",
9                     "type_version": "1.0.0",
10                     "metadata": {
11                         "policy-id": "queryPolicy_EmbbNst_O2",
12                         "policy-version": 1
13                     },
14                     "properties": {
15                         "scope": [
16                             "shared,reuse",
17                             "shared,create_new",
18                             "non-shared"
19                         ],
20                         "services": [
21                             "EmbbNst_O2"
22                         ],
23                         "geography": [],
24                         "identity": "queryPolicy_EmbbNst_O2",
25                         "queryProperties": [
26                             {
27                                 "attribute": "latency",
28                                 "attribute_location": "latency"
29                             },
30                             {
31                                 "attribute": "max_number_of_ues",
32                                 "attribute_location": "max_number_of_ues"
33                             },
34                             {
35                                 "attribute": "s_nssai",
36                                 "attribute_location": "s_nssai"
37                             },
38                             {
39                                 "attribute": "activity_factor",
40                                 "attribute_location": "activity_factor"
41                             },
42                             {
43                                 "attribute": "resource_sharing_level",
44                                 "attribute_location": "resource_sharing_level"
45                             },
46                             {
47                                 "attribute": "ue_mobility_level",
48                                 "attribute_location": "ue_mobility_level"
49                             },
50                             {
51                                 "attribute": "sst",
52                                 "attribute_location": "sst"
53                             },
54                             {
55                                 "attribute": "AN_latency",
56                                 "attribute_location": "AN_latency"
57                             },
58                             {
59                                 "attribute": "CN_latency",
60                                 "attribute_location": "CN_latency"
61                             },
62                             {
63                                 "attribute": "TN_BH_latency",
64                                 "attribute_location": "TN_BH_latency"
65                             },
66                             {
67                                 "attribute": "model_invariant_id",
68                                 "attribute_location": "invariantUUID"
69                             },
70                             {
71                                 "attribute": "model_version_id",
72                                 "attribute_location": "UUID"
73                             }
74                         ]
75                     }
76                 }
77             }
78         ]
79     }
80 }