Make Network Slicing usecase more user friendly
[demo.git] / tutorials / 5GE2ENetworkSlicing / common / policies / gen_nsi_policies / vnf_nsi_notshared.json
1 {
2     "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
3     "topology_template": {
4         "policies": [
5             {
6                 "vnfPolicy_EmbbNst_O2_not_shared": {
7                     "metadata": {
8                         "policy-id": "vnfPolicy_EmbbNst_O2_not_shared",
9                         "policy-version": 1
10                     },
11                     "properties": {
12                         "identity": "vnf_EmbbNst_O2",
13                         "resources": [
14                             "EmbbNst_O2"
15                         ],
16                         "scope": [
17                             "non-shared"
18                         ],
19                         "services": [
20                             "EmbbNst_O2"
21                         ],
22                         "geography": [],
23                         "vnfProperties": [
24                             {
25                                 "attributes": {
26                                     "service_profile": {
27                                         "latency": {
28                                             "value": {
29                                                 "get_param": "latency"
30                                             },
31                                             "operator": "lte"
32                                         },
33                                         "max_throughput": {
34                                             "value": {
35                                                 "get_param": "max_throughput"
36                                             },
37                                             "operator": "gte"
38                                         },
39                                         "max_number_of_ues": {
40                                             "value": {
41                                                 "get_param": "max_number_of_ues"
42                                             },
43                                             "operator": "gte"
44                                         },
45                                         "terminal_density": {
46                                             "value": {
47                                                 "get_param": "terminal_density"
48                                             },
49                                             "operator": "gte"
50                                         },
51                                         "plmn_id_list": {
52                                             "value": {
53                                                 "get_param": "plmn_id_list"
54                                             },
55                                             "operator": "eq"
56                                         }
57                                     },
58                                     "subnets": {
59                                         "AN_NF": {
60                                             "latency": {
61                                                 "max": {
62                                                     "get_param": "latency"
63                                                 },
64                                                 "steps": 1
65                                             },
66                                             "max_throughput": {
67                                                 "values": [
68                                                     {
69                                                         "get_param": "AN_NF_max_throughput"
70                                                     }
71                                                 ]
72                                             },
73                                             "max_number_of_ues": {
74                                                 "values": [
75                                                     {
76                                                         "get_param": "AN_NF_max_number_of_ues"
77                                                     }
78                                                 ]
79                                             },
80                                             "terminal_density": {
81                                                 "values": [
82                                                     {
83                                                         "get_param": "AN_NF_terminal_density"
84                                                     }
85                                                 ]
86                                             },
87                                             "s_nssai_list": {
88                                                 "values": [
89                                                     {
90                                                         "get_param": "s_nssai_list"
91                                                     }
92                                                 ]
93                                             },
94                                             "plmn_id_list": {
95                                                 "values": [
96                                                     {
97                                                         "get_param": "plmn_id_list"
98                                                     }
99                                                 ]
100                                             }
101                                         },
102                                         "TN_FH": {
103                                             "latency": {
104                                                 "max": {
105                                                     "get_param": "latency"
106                                                 },
107                                                 "steps": 1
108                                             },
109                                             "max_throughput": {
110                                                 "values": [
111                                                     {
112                                                         "get_param": "TN_FH_max_throughput"
113                                                     }
114                                                 ]
115                                             },
116                                             "s_nssai_list": {
117                                                 "values": [
118                                                     {
119                                                         "get_param": "s_nssai_list"
120                                                     }
121                                                 ]
122                                             },
123                                             "plmn_id_list": {
124                                                 "values": [
125                                                     {
126                                                         "get_param": "plmn_id_list"
127                                                     }
128                                                 ]
129                                             }
130                                         },
131                                         "TN_MH": {
132                                             "latency": {
133                                                 "max": {
134                                                     "get_param": "latency"
135                                                 },
136                                                 "steps": 1
137                                             },
138                                             "max_throughput": {
139                                                 "values": [
140                                                     {
141                                                         "get_param": "TN_MH_max_throughput"
142                                                     }
143                                                 ]
144                                             },
145                                             "s_nssai_list": {
146                                                 "values": [
147                                                     {
148                                                         "get_param": "s_nssai_list"
149                                                     }
150                                                 ]
151                                             },
152                                             "plmn_id_list": {
153                                                 "values": [
154                                                     {
155                                                         "get_param": "plmn_id_list"
156                                                     }
157                                                 ]
158                                             }
159                                         }
160                                     }
161                                 },
162                                 "inventoryProvider": "generator",
163                                 "inventoryType": "slice_profiles",
164                                 "unique": "true",
165                                 "defaultAttributes": {
166                                     "creation_cost": 0.9
167                                 }
168                             }
169                         ]
170                     },
171                     "type": "onap.policies.optimization.resource.VnfPolicy",
172                     "type_version": "1.0.0",
173                     "version": "1.0.0"
174                 }
175             }
176         ]
177     }
178 }