# A Heat environment that can be used to deploy MidoNet Services
resource_registry:
  OS::TripleO::AllNodesExtraConfig: ../puppet/extraconfig/all_nodes/neutron-midonet-all-nodes.yaml
  OS::TripleO::Controller::Net::SoftwareConfig: ../net-config-linux-bridge.yaml # We have to avoid any ovs bridge. MidoNet is incompatible with its datapath
  OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
  OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
  OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
  # Override the NeutronCorePlugin to use Nuage
  OS::TripleO::Services::NeutronCorePlugin: OS::TripleO::Services::NeutronCorePluginMidonet
  OS::TripleO::Services::ComputeNeutronCorePlugin: ../puppet/services/neutron-compute-plugin-midonet.yaml

parameter_defaults:
  EnableZookeeperOnController: true
  EnableCassandraOnController: true
  NeutronCorePlugin: 'midonet.neutron.plugin_v1.MidonetPluginV2' # Overriding default core_plugin in Neutron. Don't touch it
  NeutronEnableIsolatedMetadata: true  # MidoNet 1.9 needs this one to work. Don't change it

  # Other available options for MidoNet Services
  # TunnelZoneName: 'tunnelname'
  # TunnelZoneType: 'gre'
  # CassandraStoragePort: 7000
  # CassandraSslStoragePort: 7009
  # CassandraClientPort: 9042
  # CassandraClientPortThrift: 9160
