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