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