422030c05a81b0961cb272a2134b0cd42c1d6518
[optf/osdf.git] / examples / policies / nst_policies / vnf_policy_nst.json
1 {
2    "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
3    "topology_template": {
4       "policies": [
5 {
6     "vnfPolicy_nst": {
7         "type": "onap.policies.optimization.resource.VnfPolicy",
8         "version": "1.0.0",
9         "type_version": "1.0.0",
10         "metadata": {
11             "policy-id": "vnfPolicy_nst",
12             "policy-version": 1
13         },
14         "properties": {
15             "scope": [
16                 "OSDF_GUILIN"
17             ],
18             "resources": [
19                 "nst"
20             ],
21             "services": [
22                 "nst"
23             ],
24             "identity": "vnf_nst",
25             "applicableResources": "any",
26             "vnfProperties": [
27                 {
28                     "inventoryProvider": "aai",
29                     "inventoryType": "nst",
30                     "unique": "true",
31                     "attributes": {
32                         "model-role": "NST"
33                     }
34                 }
35             ]
36         }
37     }
38 }
39     ]
40    }
41 }