summaryrefslogtreecommitdiffstats
path: root/fuel/deploy/libvirt/dea.yaml
blob: 802293f624901ecdcc228535ad836b68ff83c20b (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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
title: Deployment Environment Adapter (DEA)
# DEA API version supported
version: 1.1
created: Sat Apr 25 16:26:22 UTC 2015
comment: Small libvirt setup
environment_name: opnfv59-b
environment_mode: multinode
wanted_release: Juno on Ubuntu 12.04.4
nodes:
- id: 1
  interfaces: interface1
  transformations: controller1
  role: controller
- id: 2
  interfaces: interface1
  transformations: controller1
  role: controller
- id: 3
  interfaces: interface1
  transformations: controller1
  role: controller
- id: 4
  interfaces: interface1
  transformations: compute1
  role: compute
- id: 5
  interfaces: interface1
  transformations: compute1
  role: compute
- id: 6
  interfaces: interface1
  transformations: compute1
  role: compute
fuel:
  ADMIN_NETWORK:
    ipaddress: 10.20.0.2
    netmask: 255.255.255.0
    dhcp_pool_start: 10.20.0.3
    dhcp_pool_end: 10.20.0.254
  DNS_UPSTREAM: 8.8.8.8
  DNS_DOMAIN: domain.tld
  DNS_SEARCH: domain.tld
  FUEL_ACCESS:
    user: admin
    password: admin
  HOSTNAME: opnfv59
  NTP1: 0.pool.ntp.org
  NTP2: 1.pool.ntp.org
  NTP3: 2.pool.ntp.org
interfaces:
  interface1:
    eth0:
    - fuelweb_admin
    - management
    eth1:
    - storage
    eth2:
    - private
    eth3:
    - public
transformations:
  controller1:
    - action: add-br
      name: br-eth0
    - action: add-port
      bridge: br-eth0
      name: eth0
    - action: add-br
      name: br-eth1
    - action: add-port
      bridge: br-eth1
      name: eth1
    - action: add-br
      name: br-eth2
    - action: add-port
      bridge: br-eth2
      name: eth2
    - action: add-br
      name: br-eth3
    - action: add-port
      bridge: br-eth3
      name: eth3
    - action: add-br
      name: br-ex
    - action: add-br
      name: br-mgmt
    - action: add-br
      name: br-storage
    - action: add-br
      name: br-fw-admin
    - action: add-patch
      bridges:
      - br-eth1
      - br-storage
      tags:
      - 102
      - 0
      vlan_ids:
      - 102
      - 0
    - action: add-patch
      bridges:
      - br-eth0
      - br-mgmt
      tags:
      - 101
      - 0
      vlan_ids:
      - 101
      - 0
    - action: add-patch
      bridges:
      - br-eth0
      - br-fw-admin
      trunks:
      - 0
    - action: add-patch
      bridges:
      - br-eth3
      - br-ex
      trunks:
      - 0
    - action: add-br
      name: br-prv
    - action: add-patch
      bridges:
      - br-eth2
      - br-prv
  compute1:
    - action: add-br
      name: br-eth0
    - action: add-port
      bridge: br-eth0
      name: eth0
    - action: add-br
      name: br-eth1
    - action: add-port
      bridge: br-eth1
      name: eth1
    - action: add-br
      name: br-eth2
    - action: add-port
      bridge: br-eth2
      name: eth2
    - action: add-br
      name: br-eth3
    - action: add-port
      bridge: br-eth3
      name: eth3
    - action: add-br
      name: br-mgmt
    - action: add-br
      name: br-storage
    - action: add-br
      name: br-fw-admin
    - action: add-patch
      bridges:
      - br-eth1
      - br-storage
      tags:
      - 102
      - 0
      vlan_ids:
      - 102
      - 0
    - action: add-patch
      bridges:
      - br-eth0
      - br-mgmt
      tags:
      - 101
      - 0
      vlan_ids:
      - 101
      - 0
    - action: add-patch
      bridges:
      - br-eth0
      - br-fw-admin
      trunks:
      - 0
    - action: add-br
      name: br-prv
    - action: add-patch
      bridges:
      - br-eth2
      - br-prv
opnfv:
  compute: {}
  controller: {}
network:
  networking_parameters:
    base_mac: fa:16:3e:00:00:00
    dns_nameservers:
    - 8.8.4.4
    - 8.8.8.8
    floating_ranges:
    - - 172.16.0.130
      - 172.16.0.254
    gre_id_range:
    - 2
    - 65535
    internal_cidr: 192.168.111.0/24
    internal_gateway: 192.168.111.1
    net_l23_provider: ovs
    segmentation_type: vlan
    vlan_range:
    - 1000
    - 1030
  networks:
  - cidr: 172.16.0.0/24
    gateway: 172.16.0.1
    ip_ranges:
    - - 172.16.0.2
      - 172.16.0.126
    meta:
      assign_vip: true
      cidr: 172.16.0.0/24
      configurable: true
      floating_range_var: floating_ranges
      ip_range:
      - 172.16.0.2
      - 172.16.0.126
      map_priority: 1
      name: public
      notation: ip_ranges
      render_addr_mask: public
      render_type: null
      use_gateway: true
      vlan_start: null
    name: public
    vlan_start: null
  - cidr: 192.168.0.0/24
    gateway: null
    ip_ranges:
    - - 192.168.0.1
      - 192.168.0.254
    meta:
      assign_vip: true
      cidr: 192.168.0.0/24
      configurable: true
      map_priority: 2
      name: management
      notation: cidr
      render_addr_mask: internal
      render_type: cidr
      use_gateway: false
      vlan_start: 101
    name: management
    vlan_start: 101
  - cidr: 192.168.1.0/24
    gateway: null
    ip_ranges:
    - - 192.168.1.1
      - 192.168.1.254
    meta:
      assign_vip: false
      cidr: 192.168.1.0/24
      configurable: true
      map_priority: 2
      name: storage
      notation: cidr
      render_addr_mask: storage
      render_type: cidr
      use_gateway: false
      vlan_start: 102
    name: storage
    vlan_start: 102
  - cidr: null
    gateway: null
    ip_ranges: []
    meta:
      assign_vip: false
      configurable: false
      map_priority: 2
      name: private
      neutron_vlan_range: true
      notation: null
      render_addr_mask: null
      render_type: null
      seg_type: vlan
      use_gateway: false
      vlan_start: null
    name: private
    vlan_start: null
  - cidr: 10.20.0.0/24
    gateway: null
    ip_ranges:
    - - 10.20.0.3
      - 10.20.0.254
    meta:
      assign_vip: false
      configurable: false
      map_priority: 0
      notation: ip_ranges
      render_addr_mask: null
      render_type: null
      unmovable: true
      use_gateway: true
    name: fuelweb_admin
    vlan_start: null
settings:
  editable:
    access:
      email:
        description: Email address for Administrator
        label: email
        type: text
        value: admin@localhost
        weight: 40
      metadata:
        label: Access
        weight: 10
      password:
        description: Password for Administrator
        label: password
        type: password
        value: admin
        weight: 20
      tenant:
        description: Tenant (project) name for Administrator
        label: tenant
        regex:
          error: Invalid tenant name
          source: ^(?!services$)(?!nova$)(?!glance$)(?!keystone$)(?!neutron$)(?!cinder$)(?!swift$)(?!ceph$)(?![Gg]uest$).*
        type: text
        value: admin
        weight: 30
      user:
        description: Username for Administrator
        label: username
        regex:
          error: Invalid username
          source: ^(?!services$)(?!nova$)(?!glance$)(?!keystone$)(?!neutron$)(?!cinder$)(?!swift$)(?!ceph$)(?![Gg]uest$).*
        type: text
        value: admin
        weight: 10
    additional_components:
      ceilometer:
        description: If selected, Ceilometer component will be installed
        label: Install Ceilometer
        type: checkbox
        value: false
        weight: 40
      heat:
        description: ''
        label: ''
        type: hidden
        value: true
        weight: 30
      metadata:
        label: Additional Components
        weight: 20
      murano:
        description: If selected, Murano component will be installed
        label: Install Murano
        restrictions:
        - cluster:net_provider != 'neutron'
        type: checkbox
        value: false
        weight: 20
      sahara:
        description: If selected, Sahara component will be installed
        label: Install Sahara
        type: checkbox
        value: false
        weight: 10
    common:
      auth_key:
        description: Public key(s) to include in authorized_keys on deployed nodes
        label: Public Key
        type: text
        value: ''
        weight: 70
      auto_assign_floating_ip:
        description: If selected, OpenStack will automatically assign a floating IP
          to a new instance
        label: Auto assign floating IP
        restrictions:
        - cluster:net_provider == 'neutron'
        type: checkbox
        value: false
        weight: 40
      compute_scheduler_driver:
        label: Scheduler driver
        type: radio
        value: nova.scheduler.filter_scheduler.FilterScheduler
        values:
        - data: nova.scheduler.filter_scheduler.FilterScheduler
          description: Currently the most advanced OpenStack scheduler. See the OpenStack
            documentation for details.
          label: Filter scheduler
        - data: nova.scheduler.simple.SimpleScheduler
          description: This is 'naive' scheduler which tries to find the least loaded
            host
          label: Simple scheduler
        weight: 40
      debug:
        description: Debug logging mode provides more information, but requires more
          disk space.
        label: OpenStack debug logging
        type: checkbox
        value: false
        weight: 20
      disable_offload:
        description: If set, generic segmentation offload (gso) and generic receive
          offload (gro) on physical nics will be disabled. See ethtool man.
        label: Disable generic offload on physical nics
        restrictions:
        - action: hide
          condition: cluster:net_provider == 'neutron' and networking_parameters:segmentation_type
            == 'gre'
        type: checkbox
        value: true
        weight: 80
      libvirt_type:
        label: Hypervisor type
        type: radio
        value: kvm
        values:
        - data: kvm
          description: Choose this type of hypervisor if you run OpenStack on hardware
          label: KVM
          restrictions:
          - settings:common.libvirt_type.value == 'vcenter'
        - data: qemu
          description: Choose this type of hypervisor if you run OpenStack on virtual
            hosts.
          label: QEMU
          restrictions:
          - settings:common.libvirt_type.value == 'vcenter'
        - data: vcenter
          description: Choose this type of hypervisor if you run OpenStack in a vCenter
            environment.
          label: vCenter
          restrictions:
          - settings:common.libvirt_type.value != 'vcenter' or cluster:net_provider
            == 'neutron'
        weight: 30
      metadata:
        label: Common
        weight: 30
      nova_quota:
        description: Quotas are used to limit CPU and memory usage for tenants. Enabling
          quotas will increase load on the Nova database.
        label: Nova quotas
        type: checkbox
        value: false
        weight: 25
      resume_guests_state_on_host_boot:
        description: Whether to resume previous guests state when the host reboots.
          If enabled, this option causes guests assigned to the host to resume their
          previous state. If the guest was running a restart will be attempted when
          nova-compute starts. If the guest was not running previously, a restart
          will not be attempted.
        label: Resume guests state on host boot
        type: checkbox
        value: true
        weight: 60
      use_cow_images:
        description: For most cases you will want qcow format. If it's disabled, raw
          image format will be used to run VMs. OpenStack with raw format currently
          does not support snapshotting.
        label: Use qcow format for images
        type: checkbox
        value: true
        weight: 50
    corosync:
      group:
        description: ''
        label: Group
        type: text
        value: 226.94.1.1
        weight: 10
      metadata:
        label: Corosync
        restrictions:
        - action: hide
          condition: 'true'
        weight: 50
      port:
        description: ''
        label: Port
        type: text
        value: '12000'
        weight: 20
      verified:
        description: Set True only if multicast is configured correctly on router.
        label: Need to pass network verification.
        type: checkbox
        value: false
        weight: 10
    external_dns:
      dns_list:
        description: List of upstream DNS servers, separated by comma
        label: DNS list
        type: text
        value: 8.8.8.8, 8.8.4.4
        weight: 10
      metadata:
        label: Upstream DNS
        weight: 90
    external_ntp:
      metadata:
        label: Upstream NTP
        weight: 100
      ntp_list:
        description: List of upstream NTP servers, separated by comma
        label: NTP servers list
        type: text
        value: 0.pool.ntp.org, 1.pool.ntp.org
        weight: 10
    kernel_params:
      kernel:
        description: Default kernel parameters
        label: Initial parameters
        type: text
        value: console=ttyS0,9600 console=tty0 rootdelay=90 nomodeset
        weight: 45
      metadata:
        label: Kernel parameters
        weight: 40
    neutron_mellanox:
      metadata:
        enabled: true
        label: Mellanox Neutron components
        toggleable: false
        weight: 50
      plugin:
        label: Mellanox drivers and SR-IOV plugin
        type: radio
        value: disabled
        values:
        - data: disabled
          description: If selected, Mellanox drivers, Neutron and Cinder plugin will
            not be installed.
          label: Mellanox drivers and plugins disabled
          restrictions:
          - settings:storage.iser.value == true
        - data: drivers_only
          description: If selected, Mellanox Ethernet drivers will be installed to
            support networking over Mellanox NIC. Mellanox Neutron plugin will not
            be installed.
          label: Install only Mellanox drivers
          restrictions:
          - settings:common.libvirt_type.value != 'kvm'
        - data: ethernet
          description: If selected, both Mellanox Ethernet drivers and Mellanox network
            acceleration (Neutron) plugin will be installed.
          label: Install Mellanox drivers and SR-IOV plugin
          restrictions:
          - settings:common.libvirt_type.value != 'kvm' or not (cluster:net_provider
            == 'neutron' and networking_parameters:segmentation_type == 'vlan')
        weight: 60
      vf_num:
        description: Note that one virtual function will be reserved to the storage
          network, in case of choosing iSER.
        label: Number of virtual NICs
        restrictions:
        - settings:neutron_mellanox.plugin.value != 'ethernet'
        type: text
        value: '16'
        weight: 70
    nsx_plugin:
      connector_type:
        description: Default network transport type to use
        label: NSX connector type
        type: select
        value: stt
        values:
        - data: gre
          label: GRE
        - data: ipsec_gre
          label: GRE over IPSec
        - data: stt
          label: STT
        - data: ipsec_stt
          label: STT over IPSec
        - data: bridge
          label: Bridge
        weight: 80
      l3_gw_service_uuid:
        description: UUID for the default L3 gateway service to use with this cluster
        label: L3 service UUID
        regex:
          error: Invalid L3 gateway service UUID
          source: '[a-f\d]{8}-[a-f\d]{4}-[a-f\d]{4}-[a-f\d]{4}-[a-f\d]{12}'
        type: text
        value: ''
        weight: 50
      metadata:
        enabled: false
        label: VMware NSX
        restrictions:
        - action: hide
          condition: cluster:net_provider != 'neutron' or networking_parameters:net_l23_provider
            != 'nsx'
        weight: 20
      nsx_controllers:
        description: One or more IPv4[:port] addresses of NSX controller node, separated
          by comma (e.g. 10.30.30.2,192.168.110.254:443)
        label: NSX controller endpoint
        regex:
          error: Invalid controller endpoints, specify valid IPv4[:port] pair
          source: ^(([\d]|[1-9][\d]|1[\d]{2}|2[0-4][\d]|25[0-5])\.){3}([\d]|[1-9][\d]|1[\d]{2}|2[0-4][\d]|25[0-5])(:(6553[0-5]|655[0-2][\d]|65[0-4][\d]{2}|6[0-4][\d]{3}|5[\d]{4}|[\d][\d]{0,3}))?(,(([\d]|[1-9][\d]|1[\d]{2}|2[0-4][\d]|25[0-5])\.){3}([\d]|[1-9][\d]|1[\d]{2}|2[0-4][\d]|25[0-5])(:(6553[0-5]|655[0-2][\d]|65[0-4][\d]{2}|6[0-4][\d]{3}|5[\d]{4}|[\d][\d]{0,3}))?)*$
        type: text
        value: ''
        weight: 60
      nsx_password:
        description: Password for Administrator
        label: NSX password
        regex:
          error: Empty password
          source: \S
        type: password
        value: ''
        weight: 30
      nsx_username:
        description: NSX administrator's username
        label: NSX username
        regex:
          error: Empty username
          source: \S
        type: text
        value: admin
        weight: 20
      packages_url:
        description: URL to NSX specific packages
        label: URL to NSX bits
        regex:
          error: Invalid URL, specify valid HTTP/HTTPS URL with IPv4 address (e.g.
            http://10.20.0.2/nsx)
          source: ^https?://(([\d]|[1-9][\d]|1[\d]{2}|2[0-4][\d]|25[0-5])\.){3}([\d]|[1-9][\d]|1[\d]{2}|2[0-4][\d]|25[0-5])(:(6553[0-5]|655[0-2][\d]|65[0-4][\d]{2}|6[0-4][\d]{3}|5[\d]{4}|[\d][\d]{0,3}))?(/.*)?$
        type: text
        value: ''
        weight: 70
      replication_mode:
        description: ''
        label: NSX cluster has Service nodes
        type: checkbox
        value: true
        weight: 90
      transport_zone_uuid:
        description: UUID of the pre-existing default NSX Transport zone
        label: Transport zone UUID
        regex:
          error: Invalid transport zone UUID
          source: '[a-f\d]{8}-[a-f\d]{4}-[a-f\d]{4}-[a-f\d]{4}-[a-f\d]{12}'
        type: text
        value: ''
        weight: 40
    provision:
      metadata:
        label: Provision
        restrictions:
        - action: hide
          condition: not ('experimental' in version:feature_groups)
        weight: 80
      method:
        description: Which provision method to use for this cluster.
        label: Provision method
        type: radio
        value: cobbler
        values:
        - data: image
          description: Copying pre-built images on a disk.
          label: Image
        - data: cobbler
          description: Install from scratch using anaconda or debian-installer.
          label: Classic (use anaconda or debian-installer)
    public_network_assignment:
      assign_to_all_nodes:
        description: When disabled, public network will be assigned to controllers
          and zabbix-server only
        label: Assign public network to all nodes
        type: checkbox
        value: false
        weight: 10
      metadata:
        label: Public network assignment
        restrictions:
        - action: hide
          condition: cluster:net_provider != 'neutron'
        weight: 50
    storage:
      ephemeral_ceph:
        description: Configures Nova to store ephemeral volumes in RBD. This works
          best if Ceph is enabled for volumes and images, too. Enables live migration
          of all types of Ceph backed VMs (without this option, live migration will
          only work with VMs launched from Cinder volumes).
        label: Ceph RBD for ephemeral volumes (Nova)
        restrictions:
        - settings:common.libvirt_type.value == 'vcenter'
        type: checkbox
        value: false
        weight: 75
      images_ceph:
        description: Configures Glance to use the Ceph RBD backend to store images.
          If enabled, this option will prevent Swift from installing.
        label: Ceph RBD for images (Glance)
        type: checkbox
        value: false
        weight: 30
      images_vcenter:
        description: Configures Glance to use the vCenter/ESXi backend to store images.
          If enabled, this option will prevent Swift from installing.
        label: VMWare vCenter/ESXi datastore for images (Glance)
        restrictions:
        - settings:common.libvirt_type.value != 'vcenter'
        type: checkbox
        value: false
        weight: 35
      iser:
        description: 'High performance block storage: Cinder volumes over iSER protocol
          (iSCSI over RDMA). This feature requires SR-IOV capabilities in the NIC,
          and will use a dedicated virtual function for the storage network.'
        label: iSER protocol for volumes (Cinder)
        restrictions:
        - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value
          != 'kvm'
        type: checkbox
        value: false
        weight: 11
      metadata:
        label: Storage
        weight: 60
      objects_ceph:
        description: Configures RadosGW front end for Ceph RBD. This exposes S3 and
          Swift API Interfaces. If enabled, this option will prevent Swift from installing.
        label: Ceph RadosGW for objects (Swift API)
        restrictions:
        - settings:storage.images_ceph.value == false
        type: checkbox
        value: false
        weight: 80
      osd_pool_size:
        description: Configures the default number of object replicas in Ceph. This
          number must be equal to or lower than the number of deployed 'Storage -
          Ceph OSD' nodes.
        label: Ceph object replication factor
        regex:
          error: Invalid number
          source: ^[1-9]\d*$
        restrictions:
        - settings:common.libvirt_type.value == 'vcenter'
        type: text
        value: '2'
        weight: 85
      vc_datacenter:
        description: Inventory path to a datacenter. If you want to use ESXi host
          as datastore, it should be "ha-datacenter".
        label: Datacenter name
        regex:
          error: Empty datacenter
          source: \S
        restrictions:
        - action: hide
          condition: settings:storage.images_vcenter.value == false or settings:common.libvirt_type.value
            != 'vcenter'
        type: text
        value: ''
        weight: 65
      vc_datastore:
        description: Datastore associated with the datacenter.
        label: Datastore name
        regex:
          error: Empty datastore
          source: \S
        restrictions:
        - action: hide
          condition: settings:storage.images_vcenter.value == false or settings:common.libvirt_type.value
            != 'vcenter'
        type: text
        value: ''
        weight: 60
      vc_host:
        description: IP Address of vCenter/ESXi
        label: vCenter/ESXi IP
        regex:
          error: Specify valid IPv4 address
          source: ^(([\d]|[1-9][\d]|1[\d]{2}|2[0-4][\d]|25[0-5])\.){3}([\d]|[1-9][\d]|1[\d]{2}|2[0-4][\d]|25[0-5])$
        restrictions:
        - action: hide
          condition: settings:storage.images_vcenter.value == false or settings:common.libvirt_type.value
            != 'vcenter'
        type: text
        value: ''
        weight: 45
      vc_image_dir:
        description: The name of the directory where the glance images will be stored
          in the VMware datastore.
        label: Datastore Images directory
        regex:
          error: Empty images directory
          source: \S
        restrictions:
        - action: hide
          condition: settings:storage.images_vcenter.value == false or settings:common.libvirt_type.value
            != 'vcenter'
        type: text
        value: /openstack_glance
        weight: 70
      vc_password:
        description: vCenter/ESXi admin password
        label: Password
        regex:
          error: Empty password
          source: \S
        restrictions:
        - action: hide
          condition: settings:storage.images_vcenter.value == false or settings:common.libvirt_type.value
            != 'vcenter'
        type: password
        value: ''
        weight: 55
      vc_user:
        description: vCenter/ESXi admin username
        label: Username
        regex:
          error: Empty username
          source: \S
        restrictions:
        - action: hide
          condition: settings:storage.images_vcenter.value == false or settings:common.libvirt_type.value
            != 'vcenter'
        type: text
        value: ''
        weight: 50
      volumes_ceph:
        description: Configures Cinder to store volumes in Ceph RBD images.
        label: Ceph RBD for volumes (Cinder)
        restrictions:
        - settings:storage.volumes_lvm.value == true or settings:common.libvirt_type.value
          == 'vcenter'
        type: checkbox
        value: false
        weight: 20
      volumes_lvm:
        description: Requires at least one Storage - Cinder LVM node.
        label: Cinder LVM over iSCSI for volumes
        restrictions:
        - settings:storage.volumes_ceph.value == true
        type: checkbox
        value: true
        weight: 10
      volumes_vmdk:
        description: Configures Cinder to store volumes via VMware vCenter.
        label: VMware vCenter for volumes (Cinder)
        restrictions:
        - settings:common.libvirt_type.value != 'vcenter' or settings:storage.volumes_lvm.value
          == true
        type: checkbox
        value: false
        weight: 15
    syslog:
      metadata:
        label: Syslog
        weight: 50
      syslog_port:
        description: Remote syslog port
        label: Port
        regex:
          error: Invalid Syslog port
          source: ^([1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$
        type: text
        value: '514'
        weight: 20
      syslog_server:
        description: Remote syslog hostname
        label: Hostname
        type: text
        value: ''
        weight: 10
      syslog_transport:
        label: Syslog transport protocol
        type: radio
        value: tcp
        values:
        - data: udp
          description: ''
          label: UDP
        - data: tcp
          description: ''
          label: TCP
        weight: 30
    vcenter:
      cluster:
        description: vCenter cluster name. If you have multiple clusters, use comma
          to separate names
        label: Cluster
        regex:
          error: Invalid cluster list
          source: ^([^,\ ]+([\ ]*[^,\ ])*)(,[^,\ ]+([\ ]*[^,\ ])*)*$
        type: text
        value: ''
        weight: 40
      datastore_regex:
        description: The Datastore regexp setting specifies the data stores to use
          with Compute. For example, "nas.*". If you want to use all available datastores,
          leave this field blank
        label: Datastore regexp
        regex:
          error: Invalid datastore regexp
          source: ^(\S.*\S|\S|)$
        type: text
        value: ''
        weight: 50
      host_ip:
        description: IP Address of vCenter
        label: vCenter IP
        regex:
          error: Specify valid IPv4 address
          source: ^(([\d]|[1-9][\d]|1[\d]{2}|2[0-4][\d]|25[0-5])\.){3}([\d]|[1-9][\d]|1[\d]{2}|2[0-4][\d]|25[0-5])$
        type: text
        value: ''
        weight: 10
      metadata:
        label: vCenter
        restrictions:
        - action: hide
          condition: settings:common.libvirt_type.value != 'vcenter'
        weight: 20
      use_vcenter:
        description: ''
        label: ''
        type: hidden
        value: true
        weight: 5
      vc_password:
        description: vCenter admin password
        label: Password
        regex:
          error: Empty password
          source: \S
        type: password
        value: admin
        weight: 30
      vc_user:
        description: vCenter admin username
        label: Username
        regex:
          error: Empty username
          source: \S
        type: text
        value: admin
        weight: 20
      vlan_interface:
        description: Physical ESXi host ethernet adapter for VLAN networking (e.g.
          vmnic1). If empty "vmnic0" is used by default
        label: ESXi VLAN interface
        restrictions:
        - action: hide
          condition: cluster:net_provider != 'nova_network' or networking_parameters:net_manager
            != 'VlanManager'
        type: text
        value: ''
        weight: 60
    zabbix:
      metadata:
        label: Zabbix Access
        restrictions:
        - action: hide
          condition: not ('experimental' in version:feature_groups)
        weight: 70
      password:
        description: Password for Zabbix Administrator
        label: password
        type: password
        value: zabbix
        weight: 20
      username:
        description: Username for Zabbix Administrator
        label: username
        type: text
        value: admin
        weight: 10