1 heat_template_version: 2015-10-15
3 description: Configure hieradata for all MidoNet nodes
6 # Parameters passed from the parent template
13 objectstorage_servers:
18 EnableZookeeperOnController:
19 label: Enable Zookeeper On Controller
20 description: 'Whether enable Zookeeper cluster on Controller'
23 EnableCassandraOnController:
24 label: Enable Cassandra On Controller
25 description: 'Whether enable Cassandra cluster on Controller'
29 label: Cassandra Storage Port
30 description: 'The Cassandra port for inter-node communication'
33 CassandraSslStoragePort:
34 label: Cassandra SSL Storage Port
35 description: 'The SSL port for encrypted communication. Unused unless enabled in encryption_options'
39 label: Cassandra Client Port
40 description: 'Native Transport Port'
43 CassandraClientPortThrift:
44 label: Cassandra Client Thrift Port
45 description: 'The port for the Thrift RPC service, which is used for client connections'
49 label: Name of the Tunnelzone
50 description: 'Name of the tunnel zone used to tunnel packages'
52 default: 'tunnelzone_tripleo'
54 label: Type of the Tunnel
55 description: 'Type of the tunnels on the overlay. Choose between `gre` and `vxlan`'
62 type: OS::Heat::StructuredConfig
64 group: os-apply-config
70 enable_zookeeper_on_controller: {get_param: EnableZookeeperOnController}
71 enable_cassandra_on_controller: {get_param: EnableCassandraOnController}
72 midonet_tunnelzone_name: {get_param: TunnelZoneName}
73 midonet_tunnelzone_type: {get_param: TunnelZoneType}
74 midonet_libvirt_qemu_data: |
78 "/dev/null", "/dev/full", "/dev/zero",
79 "/dev/random", "/dev/urandom",
80 "/dev/ptmx", "/dev/kvm", "/dev/kqemu",
81 "/dev/rtc","/dev/hpet", "/dev/vfio/vfio",
84 tripleo::cluster::cassandra::storage_port: {get_param: CassandraStoragePort}
85 tripleo::cluster::cassandra::ssl_storage_port: {get_param: CassandraSslStoragePort}
86 tripleo::cluster::cassandra::client_port: {get_param: CassandraClientPort}
87 tripleo::cluster::cassandra::client_port_thrift: {get_param: CassandraClientPortThrift}
88 tripleo::haproxy::midonet_api: true
89 # Missed Neutron Puppet data
90 neutron::agents::dhcp::interface_driver: 'neutron.agent.linux.interface.MidonetInterfaceDriver'
91 neutron::agents::dhcp::dhcp_driver: 'midonet.neutron.agent.midonet_driver.DhcpNoOpDriver'
92 neutron::plugins::midonet::midonet_api_port: 8081
93 neutron::params::midonet_server_package: 'python-networking-midonet'
95 # Make sure the l3 agent does not run
96 l3_agent_service: false
97 neutron::agents::l3::manage_service: false
98 neutron::agents::l3::enabled: false
101 NetworkMidonetDeploymentControllers:
102 type: OS::Heat::StructuredDeploymentGroup
104 config: {get_resource: NetworkMidoNetConfig}
105 servers: {get_param: controller_servers}
107 NetworkMidonetDeploymentComputes:
108 type: OS::Heat::StructuredDeploymentGroup
110 config: {get_resource: NetworkMidoNetConfig}
111 servers: {get_param: compute_servers}
118 - - {get_attr: [NetworkMidonetDeploymentControllers, deploy_stdouts]}
119 - {get_attr: [NetworkMidonetDeploymentComputes, deploy_stdouts]}