summaryrefslogtreecommitdiffstats
path: root/src/test/resources/rule-driven-validator/test_events/vserver-create-event.json
blob: 85bcdf34465b34137cf9d9f02e20b9317cce2347 (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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
{
	"cambria.partition": "AAI",
	"event-header": {
		"id": "20160525162737-61c49d41-5338-4755-af54-06cee9fe4acf",
		"timestamp": "20160525-16:27:37:353",
		"source-name": "RO",
		"domain": "devINT1",
		"sequence-number": "0",
		"severity": "NORMAL",
		"event-type": "AAI-EVENT",
		"version": "v7",
		"action": "CREATE",
		"entity-type": "vserver",
		"top-entity-type": "cloud-region",
		"entity-link": "https://dummy-host.test.onap.org:8443/aai/v7/cloud-infrastructure/cloud-regions/cloud-region/region1/AAIregion1/tenants/tenant/example-tenant-id-val-88551/vservers/vserver/example-vserver-id-val-34666"
	},
	"entity": {
		"cloud-owner": "region1",
		"cloud-region-id": "AAIregion1",
		"tenants": {
			"tenant": [
				{
					"tenant-id": "example-tenant-id-val-88551",
					"tenant-name": "example-tenant-name-val-88551",
					"vservers": {
						"vserver": [
							{
								"vserver-id": "example-vserver-id-val-34666",
								"vserver-name": "example-vserver-name-val-34666",
								"vserver-name2": "example-vserver-name2-val-34666",
								"prov-status": "INVALID",
								"vserver-selflink": "example-vserver-selflink-val-34666",
								"in-maint": true,
								"is-closed-loop-disabled": true,
								"resource-version": "1464193654",
								"volumes": {
									"volume": [
										{
											"volume-id": "example-volume-id-val-79195",
											"volume-selflink": "example-volume-selflink-val-79195",
											"resource-version": "1464193654",
											"relationship-list": {
												
											}
										}
									]
								},
								"relationship-list": {
									"relationship": [
										{
											"related-to": "generic-vnf",
											"related-link": "https://dummy-host.onap.org:8443/aai/v8/network/generic-vnfs/generic-vnf/bmsx0001v-1661/",
											"relationship-data": [
												{
													"relationship-key": "generic-vnf.vnf-id",
													"relationship-value": "bmsx0001v-1661"
												}
											],
											"related-to-property": [
												{
													"property-key": "generic-vnf.vnf-name",
													"property-value": "bmsx000x"
												}
											]
										},
										{
											"related-to": "image",
											"related-link": "https://dummy-host.onap.org:8443/aai/v8/cloud-infrastructure/cloud-regions/cloud-region/region1/AAIregion1/images/image/ee49d429-283d-4f79-9c58-e11cc38d8856/",
											"relationship-data": [
												{
													"relationship-key": "cloud-region.cloud-owner",
													"relationship-value": "region1"
												},
												{
													"relationship-key": "cloud-region.cloud-region-id",
													"relationship-value": "AAIregion1"
												},
												{
													"relationship-key": "image.image-id",
													"relationship-value": "ee49d429-283d-4f79-9c58-e11cc38d8856"
												}
											],
											"related-to-property": [
												{
													"property-key": "image.image-name",
													"property-value": "TRINITY"
												}
											]
										},
										{
											"related-to": "pserver",
											"related-link": "https://dummy-host.onap.org:8443/aai/v8/cloud-infrastructure/pservers/pserver/dpa2r03c007/",
											"relationship-data": [
												{
													"relationship-key": "pserver.hostname",
													"relationship-value": "dpa2r03c007"
												}
											],
											"related-to-property": [
												{
													"property-key": "pserver.pserver-name2"
												}
											]
										},
										{
											"related-to": "flavor",
											"related-link": "https://dummy-host.onap.org:8443/aai/v8/cloud-infrastructure/cloud-regions/cloud-region/region1/AAIregion1/flavors/flavor/5288f576-d9c6-46fc-9dcb-f6946a2b3597/",
											"relationship-data": [
												{
													"relationship-key": "cloud-region.cloud-owner",
													"relationship-value": "region1"
												},
												{
													"relationship-key": "cloud-region.cloud-region-id",
													"relationship-value": "AAIregion1"
												},
												{
													"relationship-key": "flavor.flavor-id",
													"relationship-value": "5288f576-d9c6-46fc-9dcb-f6946a2b3597"
												}
											],
											"related-to-property": [
												{
													"property-key": "flavor.flavor-name",
													"property-value": "l5.xLarge"
												}
											]
										}
									]
								},
								"l-interfaces": {
									"l-interface": [
										{
											"interface-name": "example-interface-name-val-25679",
											"interface-role": "example-interface-role-val-25679",
											"v6-wan-link-ip": "example-v6-wan-link-ip-val-25679",
											"selflink": "example-selflink-val-25679",
											"interface-id": "example-interface-id-val-25679",
											"macaddr": "example-macaddr-val-25679",
											"network-name": "example-network-name-val-25679",
											"resource-version": "1464193654",
											"vlans": {
												"vlan": [
													{
														"vlan-interface": "example-vlan-interface-val-28675",
														"vlan-id-inner": 22278797,
														"vlan-id-outer": 22278797,
														"resource-version": "1464193654",
														"speed-value": "example-speed-value-val-28675",
														"speed-units": "example-speed-units-val-28675",
														"vlan-description": "example-vlan-description-val-28675",
														"relationship-list": {
															
														},
														"l3-interface-ipv4-address-list": [
															{
																"l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-39271",
																"l3-interface-ipv4-prefix-length": 78868308,
																"vlan-id-inner": 78868308,
																"vlan-id-outer": 78868308,
																"is-floating": true,
																"resource-version": "1464193654",
																"relationship-list": {
																	
																}
															}
														],
														"l3-interface-ipv6-address-list": [
															{
																"l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-4005",
																"l3-interface-ipv6-prefix-length": 78340763,
																"vlan-id-inner": 78340763,
																"vlan-id-outer": 78340763,
																"is-floating": true,
																"resource-version": "1464193654",
																"relationship-list": {
																	
																}
															}
														]
													}
												]
											},
											"sriov-vfs": {
												"sriov-vf": [
													{
														"pci-id": "example-pci-id-val-85354",
														"vf-vlan-filter": "example-vf-vlan-filter-val-85354",
														"vf-mac-filter": "example-vf-mac-filter-val-85354",
														"vf-vlan-strip": true,
														"vf-vlan-anti-spoof-check": true,
														"vf-mac-anti-spoof-check": true,
														"vf-mirrors": "example-vf-mirrors-val-85354",
														"vf-broadcast-allow": true,
														"vf-unknown-multicast-allow": true,
														"vf-unknown-unicast-allow": true,
														"resource-version": "1464193654",
														"relationship-list": {
															
														}
													}
												]
											},
											"relationship-list": {
												
											},
											"l3-interface-ipv4-address-list": [
												{
													"l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-21446",
													"l3-interface-ipv4-prefix-length": 71127022,
													"vlan-id-inner": 71127022,
													"vlan-id-outer": 71127022,
													"is-floating": true,
													"resource-version": "1464193654",
													"relationship-list": {
														
													}
												}
											],
											"l3-interface-ipv6-address-list": [
												{
													"l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-88071",
													"l3-interface-ipv6-prefix-length": 55080281,
													"vlan-id-inner": 55080281,
													"vlan-id-outer": 55080281,
													"is-floating": true,
													"resource-version": "1464193654",
													"relationship-list": {
														
													}
												}
											]
										}
									]
								}
							}
						]
					}
				}
			]
		}
	}
}