1 heat_template_version: ocata
3 description: Configure hieradata for all MidoNet nodes
6 # Parameters passed from the parent template
10 EnableZookeeperOnController:
11 label: Enable Zookeeper On Controller
12 description: 'Whether enable Zookeeper cluster on Controller'
15 EnableCassandraOnController:
16 label: Enable Cassandra On Controller
17 description: 'Whether enable Cassandra cluster on Controller'
21 label: Cassandra Storage Port
22 description: 'The Cassandra port for inter-node communication'
25 CassandraSslStoragePort:
26 label: Cassandra SSL Storage Port
27 description: 'The SSL port for encrypted communication. Unused unless enabled in encryption_options'
31 label: Cassandra Client Port
32 description: 'Native Transport Port'
35 CassandraClientPortThrift:
36 label: Cassandra Client Thrift Port
37 description: 'The port for the Thrift RPC service, which is used for client connections'
41 label: Name of the Tunnelzone
42 description: 'Name of the tunnel zone used to tunnel packages'
44 default: 'tunnelzone_tripleo'
46 label: Type of the Tunnel
47 description: 'Type of the tunnels on the overlay. Choose between `gre` and `vxlan`'
54 type: OS::Heat::StructuredConfig
56 group: os-apply-config
62 enable_zookeeper_on_controller: {get_param: EnableZookeeperOnController}
63 enable_cassandra_on_controller: {get_param: EnableCassandraOnController}
64 midonet_tunnelzone_name: {get_param: TunnelZoneName}
65 midonet_tunnelzone_type: {get_param: TunnelZoneType}
66 midonet_libvirt_qemu_data: |
70 "/dev/null", "/dev/full", "/dev/zero",
71 "/dev/random", "/dev/urandom",
72 "/dev/ptmx", "/dev/kvm", "/dev/kqemu",
73 "/dev/rtc","/dev/hpet", "/dev/vfio/vfio",
76 tripleo::cluster::cassandra::storage_port: {get_param: CassandraStoragePort}
77 tripleo::cluster::cassandra::ssl_storage_port: {get_param: CassandraSslStoragePort}
78 tripleo::cluster::cassandra::client_port: {get_param: CassandraClientPort}
79 tripleo::cluster::cassandra::client_port_thrift: {get_param: CassandraClientPortThrift}
80 tripleo::haproxy::midonet_api: true
81 # Missed Neutron Puppet data
82 neutron::agents::dhcp::interface_driver: 'neutron.agent.linux.interface.MidonetInterfaceDriver'
83 neutron::agents::dhcp::dhcp_driver: 'midonet.neutron.agent.midonet_driver.DhcpNoOpDriver'
84 neutron::plugins::midonet::midonet_api_port: 8081
85 neutron::params::midonet_server_package: 'python-networking-midonet'
87 # Make sure the l3 agent does not run
88 l3_agent_service: false
89 neutron::agents::l3::manage_service: false
90 neutron::agents::l3::enabled: false
93 NetworkMidonetDeploymentControllers:
94 type: OS::Heat::StructuredDeploymentGroup
96 config: {get_resource: NetworkMidoNetConfig}
97 servers: {get_param: [servers, Controller]}
99 NetworkMidonetDeploymentComputes:
100 type: OS::Heat::StructuredDeploymentGroup
102 config: {get_resource: NetworkMidoNetConfig}
103 servers: {get_param: [servers, Compute]}