Add support to process NSI selection request
[optf/osdf.git] / test / policy-local-files / slice-selection-files / vnf_policy_nsi_shared_case.json
1
2          {
3             "OSDF_GUILIN.vnfPolicy_URLLC":{
4                "metadata":{
5                   "policy-id":"OSDF_GUILIN.vnfPolicy_URLLC",
6                   "policy-version":1
7                },
8                "properties":{
9                   "identity":"vnf_URLLC",
10                   "resources":["embb-nst"],
11                   "scope":[
12                      "OSDF_GUILIN",
13                      "shared"
14                   ],
15                   "services":[
16                      "embb-nst"
17                   ],
18                   "geography":[],
19                   "vnfProperties":[
20                      {
21                         "attributes":{
22                            "modelInvariantId":"bfbg3636-e39c-iidd-0987-27c28f4oo3",
23                            "modelVersionId":"bfbg3636-e39c-iidd-0987-27c28f4d33",
24                            "environment-context":"shared",
25                            "service-role":"nsi"
26                         },
27                         "inventoryProvider":"aai",
28                         "inventoryType":"nsi",
29                         "unique":"true",
30                         "defaultAttributes":{
31                            "creation-cost" : 0.1
32                         }
33                      },
34                      {
35                         "attributes":{
36                            "core":{
37                               "latency":{
38                                  "max":{"get_param":"latency"},
39                                  "min":{"get_param":"cn_latency"},
40                                  "steps":1
41                               },
42                               "reliability":{
43                                  "values":[
44                                     99.9,
45                                     99.999
46                                  ]
47                               }
48                            },
49                            "ran":{
50                               "latency":{
51                                  "max":{"get_param":"latency"},
52                                  "min":{"get_param":"an_latency"},
53                                  "steps":1
54                               },
55                               "reliability":{
56                                  "values":[
57                                     99.9,
58                                     99.9
59                                  ]
60                               }
61                            },
62                            "transport":{
63                               "latency":{
64                                  "max":{"get_param":"latency"},
65                                  "min":{"get_param":"tn_bh_latency"},
66                                  "steps":1
67                               },
68                               "reliability":{
69                                  "values":[
70                                     99.9,
71                                     99.99
72                                  ]
73                               }
74                            }
75                         },
76                         "inventoryProvider":"generator",
77                         "inventoryType":"slice_profiles",
78                         "unique":"true",
79                         "defaultAttributes":{
80                            "creation-cost" : 0.9
81                         }
82                      }
83                   ]
84                },
85                "type":"onap.policies.optimization.resource.VnfPolicy",
86                "type_version":"1.0.0",
87                "version":"1.0.0"
88             }
89          }
90