aboutsummaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/slice-selection-files/vnf_policy_nsi_shared_case.json
blob: 04467481190ec43efdf9f6f8d1a412d1819cc37f (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
         {
            "OSDF_GUILIN.vnfPolicy_URLLC":{
               "metadata":{
                  "policy-id":"OSDF_GUILIN.vnfPolicy_URLLC",
                  "policy-version":1
               },
               "properties":{
                  "identity":"vnf_URLLC",
                  "resources":["embb-nst"],
                  "scope":[
                     "shared,reuse",
                     "shared,create_new"
                  ],
                  "services":[
                     "embb-nst"
                  ],
                  "geography":[],
                  "vnfProperties":[
                     {
                        "attributes":{
                           "modelInvariantId":{"get_param":"model_invariant_id"},
                           "modelVersionId":{"get_param":"model_version_id"},
                           "environment-context":"shared",
                           "service-role":"nsi"
                        },
                        "inventoryProvider":"aai",
                        "inventoryType":"nsi",
                        "unique":"true",
                        "defaultAttributes":{
                           "creation-cost" : 0.1
                        }
                     },
                     {
                        "attributes":{
                           "service_profile": {
                              "latency": {"value": {"get_param": "latency"}, "operator": "lte"},
                              "reliability": {"value": {"get_param": "reliability"}, "operator": "gte"}                           
                           },
                           "subnets": {
                           "core":{
                              "latency":{
                                 "max":{"get_param":"latency"},
                                 "min":{"get_param":"cn_latency"},
                                 "steps":1
                              },
                              "reliability":{
                                 "values":[
                                    99.9,
                                    99.999
                                 ]
                              }
                           },
                           "ran":{
                              "latency":{
                                 "max":{"get_param":"latency"},
                                 "min":{"get_param":"an_latency"},
                                 "steps":1
                              },
                              "reliability":{
                                 "values":[
                                    99.9,
                                    99.9
                                 ]
                              }
                           },
                           "transport":{
                              "latency":{
                                 "max":{"get_param":"latency"},
                                 "min":{"get_param":"tn_bh_latency"},
                                 "steps":1
                              },
                              "reliability":{
                                 "values":[
                                    99.9,
                                    99.99
                                 ]
                              }
                           }
                           }
                        },
                        "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"
            }
         }