0b076b44878c6985cb089f088a780591220ecf2a
[integration.git] / test / vcpe / preload_templates / template.vcpe_infragra_vfmodule.json
1 {
2         "GENERIC-RESOURCE-API:input": {
3                 "GENERIC-RESOURCE-API:request-information": {
4                         "GENERIC-RESOURCE-API:notification-url": "https://so.onap.org",
5                         "GENERIC-RESOURCE-API:order-number": "robot12",
6                         "GENERIC-RESOURCE-API:order-version": "1.0",
7                         "GENERIC-RESOURCE-API:request-action": "PreloadVfModuleRequest",
8                         "GENERIC-RESOURCE-API:request-id": "robot12",
9                         "GENERIC-RESOURCE-API:source": "VID"
10                 },
11                 "GENERIC-RESOURCE-API:sdnc-request-header": {
12                         "GENERIC-RESOURCE-API:svc-action": "reserve",
13                         "GENERIC-RESOURCE-API:svc-notification-url": "https://son.onap.org",
14                         "GENERIC-RESOURCE-API:svc-request-id": "robot12"
15                 },
16                 "preload-vf-module-topology-information": {
17                         "vf-module-topology": {
18                                 "vf-module-parameters":  {
19                                         "param": [
20                                         {
21                                         "name": "vcpe_image_name",
22                                         "value": "ubuntu-16-04-cloud-amd64"
23                                         },
24                                         {
25                                         "name": "vcpe_flavor_name",
26                                         "value": "m1.medium"
27                                         },
28                                         {
29                                         "name": "public_net_id",
30                                         "value": "${public_net_id}"
31                                         },
32                                         {
33                                         "name": "cpe_signal_net_id",
34                                         "value": "${cpe_signal_net}"
35                                         },
36                                         {
37                                         "name": "cpe_signal_subnet_id",
38                                         "value": "${cpe_signal_subnet}" 
39                                         },
40                                         {
41                                         "name": "cpe_public_net_id",
42                                         "value": "${cpe_public_net}"
43                                         },
44                                         {
45                                         "name": "cpe_public_subnet_id",
46                                         "value": "${cpe_public_subnet}"
47                                         },
48                                         {
49                                         "name": "onap_private_net_id",
50                                         "value": "${oam_onap_net}"
51                                         },
52                                         {
53                                         "name": "onap_private_subnet_id",
54                                         "value": "${oam_onap_subnet}"
55                                         },
56                                         {
57                                         "name": "onap_private_net_cidr",
58                                         "value": "10.0.0.0/16"
59                                         },
60                                         {
61                                         "name": "cpe_signal_net_cidr",
62                                         "value": "10.4.0.0/24"
63                                         },
64                                         {
65                                         "name": "cpe_public_net_cidr",
66                                         "value": "10.2.0.0/24"
67                                         },
68                                         {
69                                         "name": "vdhcp_private_ip_0",
70                                         "value": "10.4.0.1"
71                                         },
72                                         {
73                                         "name": "vdhcp_private_ip_1",
74                                         "value": "10.0.101.1"
75                                         },
76                                         {
77                                         "name": "vaaa_private_ip_0",
78                                         "value": "10.4.0.2"
79                                         },
80                                         {
81                                         "name": "vaaa_private_ip_1",
82                                         "value": "10.0.101.2"
83                                         },
84                                         {
85                                         "name": "vdns_private_ip_0",
86                                         "value": "10.2.0.1"
87                                         },
88                                         {
89                                         "name": "vdns_private_ip_1",
90                                         "value": "10.0.101.3"
91                                         },
92                                         {
93                                         "name": "vweb_private_ip_0",
94                                         "value": "10.2.0.10"
95                                         },
96                                         {
97                                         "name": "vweb_private_ip_1",
98                                         "value": "10.0.101.40"
99                                         },
100                                         {
101                                         "name": "mr_ip_addr",
102                                         "value": "${mr_ip_addr}"
103                                         },
104                                         {
105                                         "name": "mr_ip_port",
106                                         "value": "${mr_ip_port}"
107                                         },
108                                         {
109                                         "name": "vaaa_name_0",
110                                         "value": "zdcpe1cpe01aaa01_${suffix}"
111                                         },
112                                         {
113                                         "name": "vdns_name_0",
114                                         "value": "zdcpe1cpe01dns01_${suffix}"
115                                         },
116                                         {
117                                         "name": "vdhcp_name_0",
118                                         "value": "zdcpe1cpe01dhcp01_${suffix}"
119                                         },
120                                         {
121                                         "name": "vweb_name_0",
122                                         "value": "zdcpe1cpe01web01_${suffix}"
123                                         },
124                                         {
125                                         "name": "vnf_id",
126                                         "value": "vCPE_Infrastructure_demo_app_${suffix}"
127                                         },
128                                         {
129                                         "name": "vf_module_id",
130                                         "value": "vCPE_Intrastructure_${suffix}"
131                                         },
132                                         {
133                                         "name": "dcae_collector_ip",
134                                         "value": "10.0.4.102"
135                                         },
136                                         {
137                                         "name": "dcae_collector_port",
138                                         "value": "8080"
139                                         },
140                                         {
141                                         "name": "repo_url_blob",
142                                         "value": "https://nexus.onap.org/content/sites/raw"
143                                         },
144                                         {
145                                         "name": "repo_url_artifacts",
146                                         "value": "https://nexus.onap.org/content/repositories/releases"
147                                         },
148                                         {
149                                         "name": "demo_artifacts_version",
150                                         "value": "1.3.0"
151                                         },
152                                         {
153                                         "name": "install_script_version",
154                                         "value": "1.3.0"
155                                         },
156                                         {
157                                         "name": "key_name",
158                                         "value": "vaaa_key"
159                                         },
160                                         {
161                                         "name": "pub_key",
162                                         "value": "${pub_key}"
163                                         },
164                                         {
165                                         "name": "cloud_env",
166                                         "value": "openstack"
167                                         }
168
169                                 ] },
170                                "vf-module-assignments":  {},
171                                "vf-module-topology-identifier": {
172                                         "vf-module-name": "${vnf_name}"
173                                       }
174                          },
175                          "vnf-resource-assignments": {},
176                          "vnf-topology-identifier-structure": {
177                                         "nf-type": "${vnf_type}",
178                                         "vnf-id": "${vnf_name}"
179                                 }
180                          }
181       }
182 }