afdbd50d1f04566de68460582e50b7b4c9477917
[optf/osdf.git] / examples / policies / nsi_policies / 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":["{{ service_name }}"],
10          "scope":[
11             "non-shared"
12          ],
13          "services":[
14             "{{ service_name }}"
15          ],
16          "geography":[],
17          "vnfProperties":[
18                {
19                "attributes":{
20                   "service_profile": {
21                      "latency": {"value": {"get_param": "latency"}, "operator": "lte"},
22                      "max_throughput": {"value": {"get_param": "max_throughput"}, "operator": "gte"},
23                     "max_number_of_ues": {"value": {"get_param": "max_number_of_ues"}, "operator": "gte"},
24                     "terminal_density": {"value": {"get_param": "terminal_density"}, "operator": "gte"},
25                     "s_nssai_list": {"value": {"get_param": "s_nssai_list"}, "operator": "eq"},
26                     "plmn_id_list": {"value": {"get_param": "plmn_id_list"}, "operator": "eq"}
27                   },
28                   "subnets": {
29                   "AN_NF":{
30                      "latency":{
31                         "max":{"get_param":"latency"},
32                         "min":{"get_param":"AN_NF_latency"},
33                         "steps":1
34                      },
35                      "max_throughput":{
36                         "values":[
37                            {"get_param": "AN_NF_max_throughput"}
38                         ]
39                      },
40                      "max_number_of_ues":{
41                         "values":[
42                            {"get_param": "AN_NF_max_number_of_ues"}
43                         ]
44                      },
45                      "terminal_density":{
46                         "values":[
47                            {"get_param": "AN_NF_terminal_density"}
48                         ]
49                      },
50                      "s_nssai_list":{
51                         "values":[
52                            {"get_param": "s_nssai_list"}
53                         ]
54                      },
55                   "plmn_id_list":{
56                         "values":[
57                            {"get_param": "plmn_id_list"}
58                         ]
59                      }
60                   },
61                   "TN_FH":{
62                      "latency":{
63                         "max":{"get_param":"latency"},
64                         "min":{"get_param":"TN_FH_latency"},
65                         "steps":1
66                      },
67                      "max_throughput":{
68                         "values":[
69                            {"get_param": "TN_FH_max_throughput"}
70                         ]
71                      },
72                      "s_nssai_list":{
73                         "values":[
74                            {"get_param": "s_nssai_list"}
75                         ]
76                      },
77                   "plmn_id_list":{
78                         "values":[
79                            {"get_param": "plmn_id_list"}
80                         ]
81                      }
82                   },
83                   "TN_MH":{
84                      "latency":{
85                         "max":{"get_param":"latency"},
86                         "min":{"get_param":"TN_MH_latency"},
87                         "steps":1
88                      },
89                      "max_throughput":{
90                         "values":[
91                            {"get_param": "TN_MH_max_throughput"}
92                         ]
93                      },
94                      "s_nssai_list":{
95                         "values":[
96                            {"get_param": "s_nssai_list"}
97                         ]
98                      },
99                   "plmn_id_list":{
100                         "values":[
101                            {"get_param": "plmn_id_list"}
102                         ]
103                      }
104                   }
105                }
106                },
107                "inventoryProvider":"generator",
108                "inventoryType":"slice_profiles",
109                "unique":"true",
110                "defaultAttributes":{
111                   "creation_cost" : 0.9
112                }
113             }
114          ]
115       },
116       "type":"onap.policies.optimization.resource.VnfPolicy",
117       "type_version":"1.0.0",
118       "version":"1.0.0"
119    }
120 }
121