vcloud-network-configurator 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/.gitignore +2 -0
  2. data/Gemfile +4 -0
  3. data/README.md +116 -0
  4. data/Rakefile +25 -0
  5. data/bin/vcloud_configure_edge_gateway +5 -0
  6. data/docs/find_network_url.md +56 -0
  7. data/docs/find_organisation_edgegateway_uuid.md +58 -0
  8. data/jenkins.sh +6 -0
  9. data/lib/component/firewall.rb +82 -0
  10. data/lib/component/load_balancer.rb +181 -0
  11. data/lib/component/nat.rb +73 -0
  12. data/lib/vcloud_network_configurator.rb +64 -0
  13. data/lib/vcloud_network_configurator/configure_task.rb +22 -0
  14. data/lib/vcloud_network_configurator/edge_gateway.rb +51 -0
  15. data/lib/vcloud_network_configurator/vcloud_auth_request.rb +39 -0
  16. data/lib/vcloud_network_configurator/vcloud_check_for_configure_task_request.rb +26 -0
  17. data/lib/vcloud_network_configurator/vcloud_configure_request.rb +51 -0
  18. data/lib/vcloud_network_configurator/vcloud_settings.rb +22 -0
  19. data/lib/vcloud_network_configurator/version.rb +1 -0
  20. data/spec/component/firewall.xml +45 -0
  21. data/spec/component/firewall_spec.rb +115 -0
  22. data/spec/component/lb.xml +567 -0
  23. data/spec/component/load_balancer_spec.rb +67 -0
  24. data/spec/component/nat.xml +146 -0
  25. data/spec/component/nat_spec.rb +28 -0
  26. data/spec/integration/authorization_failed_spec.rb +26 -0
  27. data/spec/integration/happy_path_firewall_spec.rb +74 -0
  28. data/spec/integration/happy_path_loadbalancer_spec.rb +173 -0
  29. data/spec/integration/happy_path_nat_spec.rb +78 -0
  30. data/spec/integration/test_data/happy_path_auth_response.xml +30 -0
  31. data/spec/integration/test_data/rules_dir/common_firewall.rb +6 -0
  32. data/spec/integration/test_data/rules_dir/common_lb.rb +10 -0
  33. data/spec/integration/test_data/rules_dir/common_nat.rb +0 -0
  34. data/spec/integration/test_data/rules_dir/preview/firewall.rb +0 -0
  35. data/spec/integration/test_data/rules_dir/preview/interfaces.yaml +2 -0
  36. data/spec/integration/test_data/rules_dir/preview/lb.rb +0 -0
  37. data/spec/integration/test_data/rules_dir/preview/nat.rb +4 -0
  38. data/spec/spec_helper.rb +9 -0
  39. data/spec/vcloud_network_configurator/configure_task_spec.rb +59 -0
  40. data/spec/vcloud_network_configurator/edge_gateway_spec.rb +41 -0
  41. data/spec/vcloud_network_configurator/vcloud_auth_request_spec.rb +20 -0
  42. data/spec/vcloud_network_configurator/vcloud_settings_spec.rb +19 -0
  43. data/vcloud-network-configurator.gemspec +33 -0
  44. metadata +212 -0
@@ -0,0 +1,567 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <EdgeGatewayServiceConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.vmware.com/vcloud/v1.5" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://vendor-api-url.net/v1.5/schema/master.xsd">
3
+ <LoadBalancerService>
4
+ <IsEnabled>false</IsEnabled>
5
+ <Pool>
6
+ <Name>Signonotron pool</Name>
7
+ <ServicePort>
8
+ <IsEnabled>false</IsEnabled>
9
+ <Protocol>HTTP</Protocol>
10
+ <Algorithm>ROUND_ROBIN</Algorithm>
11
+ <Port>80</Port>
12
+ <HealthCheckPort/>
13
+ <HealthCheck>
14
+ <Mode>HTTP</Mode>
15
+ <Uri>/</Uri>
16
+ <HealthThreshold>2</HealthThreshold>
17
+ <UnhealthThreshold>3</UnhealthThreshold>
18
+ <Interval>5</Interval>
19
+ <Timeout>15</Timeout>
20
+ </HealthCheck>
21
+ </ServicePort>
22
+ <ServicePort>
23
+ <IsEnabled>true</IsEnabled>
24
+ <Protocol>HTTPS</Protocol>
25
+ <Algorithm>ROUND_ROBIN</Algorithm>
26
+ <Port>443</Port>
27
+ <HealthCheckPort>9401</HealthCheckPort>
28
+ <HealthCheck>
29
+ <Mode>SSL</Mode>
30
+ <Uri>/</Uri>
31
+ <HealthThreshold>2</HealthThreshold>
32
+ <UnhealthThreshold>3</UnhealthThreshold>
33
+ <Interval>5</Interval>
34
+ <Timeout>15</Timeout>
35
+ </HealthCheck>
36
+ </ServicePort>
37
+ <ServicePort>
38
+ <IsEnabled>false</IsEnabled>
39
+ <Protocol>TCP</Protocol>
40
+ <Algorithm>ROUND_ROBIN</Algorithm>
41
+ <Port/>
42
+ <HealthCheckPort/>
43
+ <HealthCheck>
44
+ <Mode>TCP</Mode>
45
+ <HealthThreshold>2</HealthThreshold>
46
+ <UnhealthThreshold>3</UnhealthThreshold>
47
+ <Interval>5</Interval>
48
+ <Timeout>15</Timeout>
49
+ </HealthCheck>
50
+ </ServicePort>
51
+ <Member>
52
+ <IpAddress>172.16.0.2</IpAddress>
53
+ <Weight>1</Weight>
54
+ <ServicePort>
55
+ <Protocol>HTTP</Protocol>
56
+ <Port>80</Port>
57
+ <HealthCheckPort/>
58
+ </ServicePort>
59
+ <ServicePort>
60
+ <Protocol>HTTPS</Protocol>
61
+ <Port>443</Port>
62
+ <HealthCheckPort/>
63
+ </ServicePort>
64
+ <ServicePort>
65
+ <Protocol>TCP</Protocol>
66
+ <Port/>
67
+ <HealthCheckPort/>
68
+ </ServicePort>
69
+ </Member>
70
+ <Member>
71
+ <IpAddress>172.16.0.3</IpAddress>
72
+ <Weight>1</Weight>
73
+ <ServicePort>
74
+ <Protocol>HTTP</Protocol>
75
+ <Port>80</Port>
76
+ <HealthCheckPort/>
77
+ </ServicePort>
78
+ <ServicePort>
79
+ <Protocol>HTTPS</Protocol>
80
+ <Port>443</Port>
81
+ <HealthCheckPort/>
82
+ </ServicePort>
83
+ <ServicePort>
84
+ <Protocol>TCP</Protocol>
85
+ <Port/>
86
+ <HealthCheckPort/>
87
+ </ServicePort>
88
+ </Member>
89
+ <Operational>false</Operational>
90
+ </Pool>
91
+ <Pool>
92
+ <Name>Search pool</Name>
93
+ <ServicePort>
94
+ <IsEnabled>true</IsEnabled>
95
+ <Protocol>HTTP</Protocol>
96
+ <Algorithm>ROUND_ROBIN</Algorithm>
97
+ <Port>80</Port>
98
+ <HealthCheckPort>9509</HealthCheckPort>
99
+ <HealthCheck>
100
+ <Mode>HTTP</Mode>
101
+ <Uri>/</Uri>
102
+ <HealthThreshold>2</HealthThreshold>
103
+ <UnhealthThreshold>3</UnhealthThreshold>
104
+ <Interval>5</Interval>
105
+ <Timeout>15</Timeout>
106
+ </HealthCheck>
107
+ </ServicePort>
108
+ <ServicePort>
109
+ <IsEnabled>true</IsEnabled>
110
+ <Protocol>HTTPS</Protocol>
111
+ <Algorithm>ROUND_ROBIN</Algorithm>
112
+ <Port>443</Port>
113
+ <HealthCheckPort>9409</HealthCheckPort>
114
+ <HealthCheck>
115
+ <Mode>SSL</Mode>
116
+ <Uri>/</Uri>
117
+ <HealthThreshold>2</HealthThreshold>
118
+ <UnhealthThreshold>3</UnhealthThreshold>
119
+ <Interval>5</Interval>
120
+ <Timeout>15</Timeout>
121
+ </HealthCheck>
122
+ </ServicePort>
123
+ <ServicePort>
124
+ <IsEnabled>false</IsEnabled>
125
+ <Protocol>TCP</Protocol>
126
+ <Algorithm>ROUND_ROBIN</Algorithm>
127
+ <Port/>
128
+ <HealthCheckPort/>
129
+ <HealthCheck>
130
+ <Mode>TCP</Mode>
131
+ <HealthThreshold>2</HealthThreshold>
132
+ <UnhealthThreshold>3</UnhealthThreshold>
133
+ <Interval>5</Interval>
134
+ <Timeout>15</Timeout>
135
+ </HealthCheck>
136
+ </ServicePort>
137
+ <Member>
138
+ <IpAddress>172.12.0.2</IpAddress>
139
+ <Weight>1</Weight>
140
+ <ServicePort>
141
+ <Protocol>HTTP</Protocol>
142
+ <Port>80</Port>
143
+ <HealthCheckPort/>
144
+ </ServicePort>
145
+ <ServicePort>
146
+ <Protocol>HTTPS</Protocol>
147
+ <Port>443</Port>
148
+ <HealthCheckPort/>
149
+ </ServicePort>
150
+ <ServicePort>
151
+ <Protocol>TCP</Protocol>
152
+ <Port/>
153
+ <HealthCheckPort/>
154
+ </ServicePort>
155
+ </Member>
156
+ <Member>
157
+ <IpAddress>172.12.0.3</IpAddress>
158
+ <Weight>1</Weight>
159
+ <ServicePort>
160
+ <Protocol>HTTP</Protocol>
161
+ <Port>80</Port>
162
+ <HealthCheckPort/>
163
+ </ServicePort>
164
+ <ServicePort>
165
+ <Protocol>HTTPS</Protocol>
166
+ <Port>443</Port>
167
+ <HealthCheckPort/>
168
+ </ServicePort>
169
+ <ServicePort>
170
+ <Protocol>TCP</Protocol>
171
+ <Port/>
172
+ <HealthCheckPort/>
173
+ </ServicePort>
174
+ </Member>
175
+ <Member>
176
+ <IpAddress>172.12.0.4</IpAddress>
177
+ <Weight>1</Weight>
178
+ <ServicePort>
179
+ <Protocol>HTTP</Protocol>
180
+ <Port>80</Port>
181
+ <HealthCheckPort/>
182
+ </ServicePort>
183
+ <ServicePort>
184
+ <Protocol>HTTPS</Protocol>
185
+ <Port>443</Port>
186
+ <HealthCheckPort/>
187
+ </ServicePort>
188
+ <ServicePort>
189
+ <Protocol>TCP</Protocol>
190
+ <Port/>
191
+ <HealthCheckPort/>
192
+ </ServicePort>
193
+ </Member>
194
+ <Operational>false</Operational>
195
+ </Pool>
196
+ <Pool>
197
+ <Name>Router pool</Name>
198
+ <ServicePort>
199
+ <IsEnabled>true</IsEnabled>
200
+ <Protocol>HTTP</Protocol>
201
+ <Algorithm>ROUND_ROBIN</Algorithm>
202
+ <Port>80</Port>
203
+ <HealthCheckPort/>
204
+ <HealthCheck>
205
+ <Mode>HTTP</Mode>
206
+ <Uri>/</Uri>
207
+ <HealthThreshold>2</HealthThreshold>
208
+ <UnhealthThreshold>3</UnhealthThreshold>
209
+ <Interval>5</Interval>
210
+ <Timeout>15</Timeout>
211
+ </HealthCheck>
212
+ </ServicePort>
213
+ <ServicePort>
214
+ <IsEnabled>true</IsEnabled>
215
+ <Protocol>HTTPS</Protocol>
216
+ <Algorithm>ROUND_ROBIN</Algorithm>
217
+ <Port>443</Port>
218
+ <HealthCheckPort/>
219
+ <HealthCheck>
220
+ <Mode>SSL</Mode>
221
+ <Uri>/</Uri>
222
+ <HealthThreshold>2</HealthThreshold>
223
+ <UnhealthThreshold>3</UnhealthThreshold>
224
+ <Interval>5</Interval>
225
+ <Timeout>15</Timeout>
226
+ </HealthCheck>
227
+ </ServicePort>
228
+ <ServicePort>
229
+ <IsEnabled>false</IsEnabled>
230
+ <Protocol>TCP</Protocol>
231
+ <Algorithm>ROUND_ROBIN</Algorithm>
232
+ <Port/>
233
+ <HealthCheckPort/>
234
+ <HealthCheck>
235
+ <Mode>TCP</Mode>
236
+ <HealthThreshold>2</HealthThreshold>
237
+ <UnhealthThreshold>3</UnhealthThreshold>
238
+ <Interval>5</Interval>
239
+ <Timeout>15</Timeout>
240
+ </HealthCheck>
241
+ </ServicePort>
242
+ <Member>
243
+ <IpAddress>172.11.0.2</IpAddress>
244
+ <Weight>1</Weight>
245
+ <ServicePort>
246
+ <Protocol>HTTP</Protocol>
247
+ <Port>80</Port>
248
+ <HealthCheckPort/>
249
+ </ServicePort>
250
+ <ServicePort>
251
+ <Protocol>HTTPS</Protocol>
252
+ <Port>443</Port>
253
+ <HealthCheckPort/>
254
+ </ServicePort>
255
+ <ServicePort>
256
+ <Protocol>TCP</Protocol>
257
+ <Port/>
258
+ <HealthCheckPort/>
259
+ </ServicePort>
260
+ </Member>
261
+ <Member>
262
+ <IpAddress>172.11.0.3</IpAddress>
263
+ <Weight>1</Weight>
264
+ <ServicePort>
265
+ <Protocol>HTTP</Protocol>
266
+ <Port>80</Port>
267
+ <HealthCheckPort/>
268
+ </ServicePort>
269
+ <ServicePort>
270
+ <Protocol>HTTPS</Protocol>
271
+ <Port>443</Port>
272
+ <HealthCheckPort/>
273
+ </ServicePort>
274
+ <ServicePort>
275
+ <Protocol>TCP</Protocol>
276
+ <Port/>
277
+ <HealthCheckPort/>
278
+ </ServicePort>
279
+ </Member>
280
+ <Member>
281
+ <IpAddress>172.11.0.4</IpAddress>
282
+ <Weight>1</Weight>
283
+ <ServicePort>
284
+ <Protocol>HTTP</Protocol>
285
+ <Port>80</Port>
286
+ <HealthCheckPort/>
287
+ </ServicePort>
288
+ <ServicePort>
289
+ <Protocol>HTTPS</Protocol>
290
+ <Port>443</Port>
291
+ <HealthCheckPort/>
292
+ </ServicePort>
293
+ <ServicePort>
294
+ <Protocol>TCP</Protocol>
295
+ <Port/>
296
+ <HealthCheckPort/>
297
+ </ServicePort>
298
+ </Member>
299
+ <Operational>false</Operational>
300
+ </Pool>
301
+ <Pool>
302
+ <Name>router-internal pool</Name>
303
+ <ServicePort>
304
+ <IsEnabled>true</IsEnabled>
305
+ <Protocol>HTTP</Protocol>
306
+ <Algorithm>ROUND_ROBIN</Algorithm>
307
+ <Port>8080</Port>
308
+ <HealthCheckPort/>
309
+ <HealthCheck>
310
+ <Mode>HTTP</Mode>
311
+ <Uri>/router/management/status</Uri>
312
+ <HealthThreshold>2</HealthThreshold>
313
+ <UnhealthThreshold>3</UnhealthThreshold>
314
+ <Interval>5</Interval>
315
+ <Timeout>15</Timeout>
316
+ </HealthCheck>
317
+ </ServicePort>
318
+ <ServicePort>
319
+ <IsEnabled>false</IsEnabled>
320
+ <Protocol>HTTPS</Protocol>
321
+ <Algorithm>ROUND_ROBIN</Algorithm>
322
+ <Port>443</Port>
323
+ <HealthCheckPort/>
324
+ <HealthCheck>
325
+ <Mode>SSL</Mode>
326
+ <Uri>/</Uri>
327
+ <HealthThreshold>2</HealthThreshold>
328
+ <UnhealthThreshold>3</UnhealthThreshold>
329
+ <Interval>5</Interval>
330
+ <Timeout>15</Timeout>
331
+ </HealthCheck>
332
+ </ServicePort>
333
+ <ServicePort>
334
+ <IsEnabled>false</IsEnabled>
335
+ <Protocol>TCP</Protocol>
336
+ <Algorithm>ROUND_ROBIN</Algorithm>
337
+ <Port/>
338
+ <HealthCheckPort/>
339
+ <HealthCheck>
340
+ <Mode>TCP</Mode>
341
+ <HealthThreshold>2</HealthThreshold>
342
+ <UnhealthThreshold>3</UnhealthThreshold>
343
+ <Interval>5</Interval>
344
+ <Timeout>15</Timeout>
345
+ </HealthCheck>
346
+ </ServicePort>
347
+ <Member>
348
+ <IpAddress>172.11.0.2</IpAddress>
349
+ <Weight>1</Weight>
350
+ <ServicePort>
351
+ <Protocol>HTTP</Protocol>
352
+ <Port>8080</Port>
353
+ <HealthCheckPort/>
354
+ </ServicePort>
355
+ <ServicePort>
356
+ <Protocol>HTTPS</Protocol>
357
+ <Port>443</Port>
358
+ <HealthCheckPort/>
359
+ </ServicePort>
360
+ <ServicePort>
361
+ <Protocol>TCP</Protocol>
362
+ <Port/>
363
+ <HealthCheckPort/>
364
+ </ServicePort>
365
+ </Member>
366
+ <Member>
367
+ <IpAddress>172.11.0.3</IpAddress>
368
+ <Weight>1</Weight>
369
+ <ServicePort>
370
+ <Protocol>HTTP</Protocol>
371
+ <Port>8080</Port>
372
+ <HealthCheckPort/>
373
+ </ServicePort>
374
+ <ServicePort>
375
+ <Protocol>HTTPS</Protocol>
376
+ <Port>443</Port>
377
+ <HealthCheckPort/>
378
+ </ServicePort>
379
+ <ServicePort>
380
+ <Protocol>TCP</Protocol>
381
+ <Port/>
382
+ <HealthCheckPort/>
383
+ </ServicePort>
384
+ </Member>
385
+ <Member>
386
+ <IpAddress>172.11.0.4</IpAddress>
387
+ <Weight>1</Weight>
388
+ <ServicePort>
389
+ <Protocol>HTTP</Protocol>
390
+ <Port>8080</Port>
391
+ <HealthCheckPort/>
392
+ </ServicePort>
393
+ <ServicePort>
394
+ <Protocol>HTTPS</Protocol>
395
+ <Port>443</Port>
396
+ <HealthCheckPort/>
397
+ </ServicePort>
398
+ <ServicePort>
399
+ <Protocol>TCP</Protocol>
400
+ <Port/>
401
+ <HealthCheckPort/>
402
+ </ServicePort>
403
+ </Member>
404
+ <Operational>false</Operational>
405
+ </Pool>
406
+ <VirtualServer>
407
+ <IsEnabled>true</IsEnabled>
408
+ <Name>Signonotron public</Name>
409
+ <Interface type="application/vnd.vmware.vcloud.orgVdcNetwork+xml" href="https://vendor-api-url.net/admin/network/1000" name="TestData"/>
410
+ <IpAddress>200.11.99.71</IpAddress>
411
+ <ServiceProfile>
412
+ <IsEnabled>false</IsEnabled>
413
+ <Protocol>HTTP</Protocol>
414
+ <Port>80</Port>
415
+ <Persistence>
416
+ <Method/>
417
+ </Persistence>
418
+ </ServiceProfile>
419
+ <ServiceProfile>
420
+ <IsEnabled>true</IsEnabled>
421
+ <Protocol>HTTPS</Protocol>
422
+ <Port>443</Port>
423
+ <Persistence>
424
+ <Method/>
425
+ </Persistence>
426
+ </ServiceProfile>
427
+ <ServiceProfile>
428
+ <IsEnabled>false</IsEnabled>
429
+ <Protocol>TCP</Protocol>
430
+ <Port/>
431
+ <Persistence>
432
+ <Method/>
433
+ </Persistence>
434
+ </ServiceProfile>
435
+ <Logging>false</Logging>
436
+ <Pool>Signonotron pool</Pool>
437
+ </VirtualServer>
438
+ <VirtualServer>
439
+ <IsEnabled>true</IsEnabled>
440
+ <Name>Signonotron internal</Name>
441
+ <Interface type="application/vnd.vmware.vcloud.orgVdcNetwork+xml" href="https://vendor-api-url.net/admin/network/1000" name="TestData"/>
442
+ <IpAddress>172.16.1.1</IpAddress>
443
+ <ServiceProfile>
444
+ <IsEnabled>false</IsEnabled>
445
+ <Protocol>HTTP</Protocol>
446
+ <Port>80</Port>
447
+ <Persistence>
448
+ <Method/>
449
+ </Persistence>
450
+ </ServiceProfile>
451
+ <ServiceProfile>
452
+ <IsEnabled>true</IsEnabled>
453
+ <Protocol>HTTPS</Protocol>
454
+ <Port>443</Port>
455
+ <Persistence>
456
+ <Method/>
457
+ </Persistence>
458
+ </ServiceProfile>
459
+ <ServiceProfile>
460
+ <IsEnabled>false</IsEnabled>
461
+ <Protocol>TCP</Protocol>
462
+ <Port/>
463
+ <Persistence>
464
+ <Method/>
465
+ </Persistence>
466
+ </ServiceProfile>
467
+ <Logging>false</Logging>
468
+ <Pool>Signonotron pool</Pool>
469
+ </VirtualServer>
470
+ <VirtualServer>
471
+ <IsEnabled>true</IsEnabled>
472
+ <Name>Search internal</Name>
473
+ <Interface type="application/vnd.vmware.vcloud.orgVdcNetwork+xml" href="https://vendor-api-url.net/admin/network/1000" name="TestData"/>
474
+ <IpAddress>172.12.1.3</IpAddress>
475
+ <ServiceProfile>
476
+ <IsEnabled>true</IsEnabled>
477
+ <Protocol>HTTP</Protocol>
478
+ <Port>80</Port>
479
+ <Persistence>
480
+ <Method/>
481
+ </Persistence>
482
+ </ServiceProfile>
483
+ <ServiceProfile>
484
+ <IsEnabled>true</IsEnabled>
485
+ <Protocol>HTTPS</Protocol>
486
+ <Port>443</Port>
487
+ <Persistence>
488
+ <Method/>
489
+ </Persistence>
490
+ </ServiceProfile>
491
+ <ServiceProfile>
492
+ <IsEnabled>false</IsEnabled>
493
+ <Protocol>TCP</Protocol>
494
+ <Port/>
495
+ <Persistence>
496
+ <Method/>
497
+ </Persistence>
498
+ </ServiceProfile>
499
+ <Logging>false</Logging>
500
+ <Pool>Search pool</Pool>
501
+ </VirtualServer>
502
+ <VirtualServer>
503
+ <IsEnabled>true</IsEnabled>
504
+ <Name>Router public</Name>
505
+ <Interface type="application/vnd.vmware.vcloud.orgVdcNetwork+xml" href="https://vendor-api-url.net/admin/network/1000" name="TestData"/>
506
+ <IpAddress>200.11.99.73</IpAddress>
507
+ <ServiceProfile>
508
+ <IsEnabled>true</IsEnabled>
509
+ <Protocol>HTTP</Protocol>
510
+ <Port>80</Port>
511
+ <Persistence>
512
+ <Method/>
513
+ </Persistence>
514
+ </ServiceProfile>
515
+ <ServiceProfile>
516
+ <IsEnabled>true</IsEnabled>
517
+ <Protocol>HTTPS</Protocol>
518
+ <Port>443</Port>
519
+ <Persistence>
520
+ <Method/>
521
+ </Persistence>
522
+ </ServiceProfile>
523
+ <ServiceProfile>
524
+ <IsEnabled>false</IsEnabled>
525
+ <Protocol>TCP</Protocol>
526
+ <Port/>
527
+ <Persistence>
528
+ <Method/>
529
+ </Persistence>
530
+ </ServiceProfile>
531
+ <Logging>false</Logging>
532
+ <Pool>Router pool</Pool>
533
+ </VirtualServer>
534
+ <VirtualServer>
535
+ <IsEnabled>true</IsEnabled>
536
+ <Name>Router internal</Name>
537
+ <Interface type="application/vnd.vmware.vcloud.orgVdcNetwork+xml" href="https://vendor-api-url.net/admin/network/1000" name="TestData"/>
538
+ <IpAddress>172.11.1.1</IpAddress>
539
+ <ServiceProfile>
540
+ <IsEnabled>true</IsEnabled>
541
+ <Protocol>HTTP</Protocol>
542
+ <Port>8080</Port>
543
+ <Persistence>
544
+ <Method/>
545
+ </Persistence>
546
+ </ServiceProfile>
547
+ <ServiceProfile>
548
+ <IsEnabled>false</IsEnabled>
549
+ <Protocol>HTTPS</Protocol>
550
+ <Port>443</Port>
551
+ <Persistence>
552
+ <Method/>
553
+ </Persistence>
554
+ </ServiceProfile>
555
+ <ServiceProfile>
556
+ <IsEnabled>false</IsEnabled>
557
+ <Protocol>TCP</Protocol>
558
+ <Port/>
559
+ <Persistence>
560
+ <Method/>
561
+ </Persistence>
562
+ </ServiceProfile>
563
+ <Logging>false</Logging>
564
+ <Pool>router-internal pool</Pool>
565
+ </VirtualServer>
566
+ </LoadBalancerService>
567
+ </EdgeGatewayServiceConfiguration>