Advertisement
Guest User

Untitled

a guest
Mar 17th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.51 KB | None | 0 0
  1. # =================================================================
  2. # Licensed Materials - Property of IBM
  3. #
  4. # (c) Copyright IBM Corp. 2015 All Rights Reserved
  5. #
  6. # US Government Users Restricted Rights - Use, duplication or
  7. # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  8. # =================================================================
  9. # =================================================================
  10. # Cloud Information
  11. # =================================================================
  12. cloud:
  13.   name: VMWareRegion2
  14.   # Cloud Description
  15.   description: Controller + VMware driver to manage VMware
  16.   # Cloud Database Service Type: db2, mariadb or mysql.
  17.   # The same database service must be used for each region within the
  18.   # whole multi-region. You can choose to directly provide this or
  19.   # provide an existing topology file.
  20.   database_service_type: db2
  21.   # Cloud Messaging Service Type: rabbitmq or qpid.
  22.   # The same messaging service must be used for each region within
  23.   # the whole multi-region. You can choose to directly provide this
  24.   # or provide an existing topology file.
  25.   messaging_service_type: rabbitmq
  26.  
  27.   # Cloud Features: The cloud features to be enabled or disabled.
  28.   features:
  29.     self_service_portal: disabled
  30.     platform_resource_scheduler: disabled
  31.   # Cloud Topology: References the node name(s) for each role
  32.   # within the cloud's topology.
  33.   topology:
  34.     database_node_name: database
  35.     controller_node_name: controller
  36.     vmware_driver_node_name: controller
  37.  
  38. # ================================================================
  39. # Environment Information
  40. # ================================================================
  41. environment:
  42.   base: example-ibm-os-single-controller-n-compute
  43.   default_attributes:
  44.    # (Optional) Add Default Environment Attributes
  45.  
  46.   override_attributes:
  47.    # (Optional) Add Override Environment Attributes
  48.     ntp.servers: [10.0.106.1, 0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org]
  49.     openstack.endpoints.db.host: db2ext.net.siae
  50.     # Set ironic database user name.
  51.     openstack.db.bare-metal.username: ironic2
  52.     # Set cinder database user name
  53.     openstack.db.block-storage.username: cinder2
  54.     # Set nova database user name.
  55.     openstack.db.compute.username: nova2
  56.     # Set horizon database user name.
  57.     openstack.db.dashboard.username: horizon2
  58.     # Set keystone database user name
  59.     openstack.db.identity.username: keyston2
  60.     # Set neutron database user name.
  61.     openstack.db.network.username: neutron2
  62.     # Set heat database user name.
  63.     openstack.db.orchestration.username: heat2
  64.     # Set ceilodb2 database user name.
  65.     openstack.db.telemetry.username: ceil2
  66.     # Set the DB2® nosql port.
  67.     openstack.db.telemetry.nosql.port: 27019
  68.     # Change this value to false as the SCE service is not supported while using an external DB2 database.
  69.     ibm.sce.service.enabled: false
  70.     # Set the DB2 server port, such as 50000 for no SSL, 50001 for SSL.
  71.     openstack.endpoints.db.port: 50000
  72.     # Set this value to false if the external DB2 database is not configured for SSL.
  73.     db2.ssl.enable: true
  74.  
  75.  
  76. # ================================================================
  77. # First_region Information
  78. # ================================================================
  79. first_region: VMwareSiaeRegion
  80.   # The Keystone identity service endpoint host. Enter either the host FQDN or
  81.   # it's IP address. Shared one keystone endpoint within the Multi-region cloud.
  82.   # You can choose to provide this or provide an existing topology file.
  83.   keystone_endpoint_host: srvtst-l148v.net.siae
  84.   # Password file used to store the necessary keystone password and secrets
  85.   # You can leave it empty(~) if "first_region_topology_file" is set.
  86.   shared_password_file: ~
  87.   # First region cloud topology file
  88.   # By providing this file, it implies that you will add this new
  89.   # cloud as a new region into existing cloud region(s).
  90.   first_region_topology_file: /data/VMwareSiaeRegion/VMwareSiaeRegion_topology.json
  91.  
  92. # ================================================================
  93. # Node Information
  94. # ================================================================
  95. nodes:
  96.   - name: controller
  97.     description: Cloud controller node
  98.     fqdn: region2.net.siae
  99.     password: chi01chi
  100.     identity_file: ~
  101.     nics:
  102.       management_network: eth0
  103.       data_network: ~
  104.     # (Optional) Node Attribute JSON File
  105.     attribute_file: ~
  106.  
  107.   - name: database
  108.     description: Cloud controller node
  109.     fqdn: db2ext.net.siae
  110.     password: chi01chi
  111.     identity_file: ~
  112.     nics:
  113.       management_network: eth0
  114.       data_network: ~
  115.     # (Optional) Node Attribute JSON File
  116.     attribute_file: ~
  117.  
  118. # ================================================================
  119. # VMware Information
  120. # ================================================================
  121. vmware:
  122.   host: 9.168.118.126
  123.   admin_user: administrator@romelab118.it
  124.   admin_password: CHI01chi!
  125.   # Determines if config drive should be used. When it is set to
  126.   # be true, it means that deployed VM adopt cloud-init(for linux)
  127.   # or cloudbase-init(for windows) for instance customization
  128.   # with instance boot up. If it is set to be false, it will use
  129.   # vmware tool activations.
  130.   use_config_drive: true
  131.  
  132.   # Adding new compute services with one of the four types below
  133.   computes:
  134.     - type: cluster
  135.       cluster_name: CL10890
  136.       datastore_regex: datastore1
  137.       datastore_cluster_name: ~
  138.       discover: true
  139.  
  140.     # cluster_resourcepool compute service
  141.     #- type: cluster_resourcepool
  142.     #  cluster_name: YOUR_VCENTER_CLUSTER_NAME
  143.     #  pool_name: CLUSTER_NAME:RESOURCEPOOL_NAME
  144.     #  datastore_regex: datastore.*
  145.     #  datastore_cluster_name: ~
  146.     #  discover: true
  147.  
  148.     # host_resourcepool compute service
  149.     #- type: host_resourcepool
  150.     #  pool_name: HOST_NAME:RESOURCEPOOL_NAME
  151.     #  datastore_regex: datastore.*
  152.     #  datastore_cluster_name: ~
  153.     #  discover: true
  154.  
  155.     # esxi compute service
  156.     #- type: esxi
  157.     #  host: YOUR_ESXI_HOST_IP_OR_FQDN
  158.     #  datastore_regex: datastore.*
  159.     #  datastore_cluster_name: ~
  160.     #  discover: true
  161.  
  162.   networks:
  163.    # List of networks on vCenter
  164.     # Example of distributed switch, vlan_range is
  165.     # taken into consideration only if use_dvs is true.
  166.     - name: dvSwitch0
  167.       vlan_range: ~
  168.     # use_dvs: true
  169.  
  170.     # Example of standard switch
  171.     # Only a name is needed for a standard switch
  172.     - name: vSwitch0
  173.  
  174.     # - name: vSwitch1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement