aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/preload_templates/template.vcpe_infragra_vfmodule.json
blob: 0b076b44878c6985cb089f088a780591220ecf2a (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
	"GENERIC-RESOURCE-API:input": {
		"GENERIC-RESOURCE-API:request-information": {
			"GENERIC-RESOURCE-API:notification-url": "https://so.onap.org",
			"GENERIC-RESOURCE-API:order-number": "robot12",
			"GENERIC-RESOURCE-API:order-version": "1.0",
			"GENERIC-RESOURCE-API:request-action": "PreloadVfModuleRequest",
			"GENERIC-RESOURCE-API:request-id": "robot12",
			"GENERIC-RESOURCE-API:source": "VID"
		},
		"GENERIC-RESOURCE-API:sdnc-request-header": {
			"GENERIC-RESOURCE-API:svc-action": "reserve",
			"GENERIC-RESOURCE-API:svc-notification-url": "https://son.onap.org",
			"GENERIC-RESOURCE-API:svc-request-id": "robot12"
		},
		"preload-vf-module-topology-information": {
			"vf-module-topology": {
				"vf-module-parameters":  {
            				"param": [
					{
					"name": "vcpe_image_name",
					"value": "ubuntu-16-04-cloud-amd64"
					},
					{
					"name": "vcpe_flavor_name",
					"value": "m1.medium"
					},
					{
					"name": "public_net_id",
					"value": "${public_net_id}"
					},
					{
					"name": "cpe_signal_net_id",
					"value": "${cpe_signal_net}"
					},
					{
					"name": "cpe_signal_subnet_id",
					"value": "${cpe_signal_subnet}" 
					},
					{
					"name": "cpe_public_net_id",
					"value": "${cpe_public_net}"
					},
					{
					"name": "cpe_public_subnet_id",
					"value": "${cpe_public_subnet}"
					},
					{
					"name": "onap_private_net_id",
					"value": "${oam_onap_net}"
					},
					{
					"name": "onap_private_subnet_id",
					"value": "${oam_onap_subnet}"
					},
					{
					"name": "onap_private_net_cidr",
					"value": "10.0.0.0/16"
					},
					{
					"name": "cpe_signal_net_cidr",
					"value": "10.4.0.0/24"
					},
					{
					"name": "cpe_public_net_cidr",
					"value": "10.2.0.0/24"
					},
					{
					"name": "vdhcp_private_ip_0",
					"value": "10.4.0.1"
					},
					{
					"name": "vdhcp_private_ip_1",
					"value": "10.0.101.1"
					},
					{
					"name": "vaaa_private_ip_0",
					"value": "10.4.0.2"
					},
					{
					"name": "vaaa_private_ip_1",
					"value": "10.0.101.2"
					},
					{
					"name": "vdns_private_ip_0",
					"value": "10.2.0.1"
					},
					{
					"name": "vdns_private_ip_1",
					"value": "10.0.101.3"
					},
					{
					"name": "vweb_private_ip_0",
					"value": "10.2.0.10"
					},
					{
					"name": "vweb_private_ip_1",
					"value": "10.0.101.40"
					},
					{
					"name": "mr_ip_addr",
					"value": "${mr_ip_addr}"
					},
					{
					"name": "mr_ip_port",
					"value": "${mr_ip_port}"
					},
					{
					"name": "vaaa_name_0",
					"value": "zdcpe1cpe01aaa01_${suffix}"
					},
					{
					"name": "vdns_name_0",
					"value": "zdcpe1cpe01dns01_${suffix}"
					},
					{
					"name": "vdhcp_name_0",
					"value": "zdcpe1cpe01dhcp01_${suffix}"
					},
					{
					"name": "vweb_name_0",
					"value": "zdcpe1cpe01web01_${suffix}"
					},
					{
					"name": "vnf_id",
					"value": "vCPE_Infrastructure_demo_app_${suffix}"
					},
					{
					"name": "vf_module_id",
					"value": "vCPE_Intrastructure_${suffix}"
					},
					{
					"name": "dcae_collector_ip",
					"value": "10.0.4.102"
					},
					{
					"name": "dcae_collector_port",
					"value": "8080"
					},
					{
					"name": "repo_url_blob",
					"value": "https://nexus.onap.org/content/sites/raw"
					},
					{
					"name": "repo_url_artifacts",
					"value": "https://nexus.onap.org/content/repositories/releases"
					},
					{
					"name": "demo_artifacts_version",
					"value": "1.3.0"
					},
					{
					"name": "install_script_version",
					"value": "1.3.0"
					},
					{
					"name": "key_name",
					"value": "vaaa_key"
					},
					{
					"name": "pub_key",
					"value": "${pub_key}"
					},
					{
					"name": "cloud_env",
					"value": "openstack"
					}

				] },
		               "vf-module-assignments":  {},
                               "vf-module-topology-identifier": {
                                        "vf-module-name": "${vnf_name}"
                                      }
			 },
			 "vnf-resource-assignments": {},
			 "vnf-topology-identifier-structure": {
					"nf-type": "${vnf_type}",
					"vnf-id": "${vnf_name}"
				}
                         }
      }
}