move instantiate NS test json from code to indepandent file
[vfc/nfvo/lcm.git] / lcm / ns / tests / data / nsd_model_with_pnf.json
1 {
2     "vnffgs": [],
3     "inputs": {},
4     "pnfs": [
5         {
6             "pnf_id": "du",
7             "networks": [
8             ],
9             "description":"",
10             "properties":{
11                 "descriptor_id": "zte_ran_du_0001",
12                 "descriptor_invariant_id": "1111",
13                 "provider": "ZTE",
14                 "version": "1.0",
15                 "function_description": "RAN DU Function",
16                 "name": "ZTE RAN DU"
17             }
18         }
19     ],
20     "ns_exposed": {
21         "external_cps": [],
22         "forward_cps": []
23     },
24     "graph": {
25         "cucp": [],
26         "du": [],
27         "vl_flat_net": [
28             "cucp",
29             "cuup"
30         ],
31         "vl_ext_net": [
32             "cucp",
33             "cuup"
34         ],
35         "cuup": []
36     },
37     "vnfs": [
38         {
39             "networks": [
40                 {
41                     "key_name": "ran_ext_net",
42                     "vl_id": "vl_ext_net"
43                 },
44                 {
45                     "key_name": "ran_flat_net",
46                     "vl_id": "vl_flat_net"
47                 }
48             ],
49             "dependencies": [
50                 {
51                     "key_name": "ran_ext_net",
52                     "vl_id": "vl_ext_net"
53                 },
54                 {
55                     "key_name": "ran_flat_net",
56                     "vl_id": "vl_flat_net"
57                 }
58             ],
59             "vnf_id": "cucp",
60             "description": "",
61             "properties": {
62                 "descriptor_id": "zte_ran_cucp_0001",
63                 "flavour_description": "default",
64                 "software_version": "1.0.1",
65                 "flavour_id": "1",
66                 "descriptor_version": "1.0",
67                 "provider": "ZTE",
68                 "id": "zte_ran_cucp_0001",
69                 "vnfm_info": [
70                     "GVNFM-Driver"
71                 ],
72                 "product_name":"ran"
73             }
74         },
75         {
76             "networks": [
77                 {
78                     "key_name": "ran_ext_net",
79                     "vl_id": "vl_ext_net"
80                 },
81                 {
82                     "key_name": "ran_flat_net",
83                     "vl_id": "vl_flat_net"
84                 }
85             ],
86             "dependencies": [
87                 {
88                     "key_name": "ran_ext_net",
89                     "vl_id": "vl_ext_net"
90                 },
91                 {
92                     "key_name": "ran_flat_net",
93                     "vl_id": "vl_flat_net"
94                 }
95             ],
96             "vnf_id": "cuup",
97             "description": "",
98             "properties": {
99                 "descriptor_id": "zte_ran_cuup_0001",
100                 "flavour_description": "default",
101                 "software_version": "1.0.1",
102                 "flavour_id": "1",
103                 "descriptor_version": "1.0",
104                 "provider": "ZTE",
105                 "id": "zte_ran_cuup_0001",
106                 "vnfm_info": [
107                     "GVNFM-Driver"
108                 ],
109                 "product_name":"ran"
110             }
111         }
112     ],
113     "fps": [],
114     "vls": [
115         {
116             "vl_id": "vl_ext_net",
117             "description": "",
118             "properties": {
119                 "connectivity_type": {
120                     "layer_protocol": "ipv4"
121                 },
122                 "vl_profile": {
123                     "cidr": "10.0.0.0/24",
124                     "max_bit_rate_requirements": {
125                         "root": 10000000,
126                         "leaf": 10000000
127                     },
128                     "networkName": "ran_ext_net",
129                     "min_bit_rate_requirements": {
130                         "root": 10000000,
131                         "leaf": 10000000
132                     },
133                     "dhcpEnabled": false
134                 },
135                 "version": "1.0.1"
136             }
137         },
138         {
139             "vl_id": "vl_flat_net",
140             "description": "",
141             "properties": {
142                 "connectivity_type": {
143                     "layer_protocol": "ipv4"
144                 },
145                 "vl_profile": {
146                     "cidr": "10.1.0.0/24",
147                     "max_bit_rate_requirements": {
148                         "root": 10000000,
149                         "leaf": 10000000
150                     },
151                     "networkName": "ran_flat_net",
152                     "min_bit_rate_requirements": {
153                         "root": 10000000,
154                         "leaf": 10000000
155                     },
156                     "dhcpEnabled": false
157                 },
158                 "version": "1.0.1"
159             }
160         }
161     ],
162     "nested_ns": [],
163     "metadata": {
164         "template_name": "RAN-NS",
165         "template_version": "1.0",
166         "template_author": "ZTE"
167     }
168 }