Add neutron-midonet sample environment

Change-Id: I34d3a9356b119d549acd6fe4f0c8713b0bfa5957
This commit is contained in:
Ben Nemec 2017-05-18 15:37:41 -05:00
parent f503d1b0e7
commit 7613306b8c
3 changed files with 102 additions and 0 deletions

View File

@ -0,0 +1,66 @@
# *******************************************************************
# This file was created automatically by the sample environment
# generator. Developers should use `tox -e genconfig` to update it.
# Users are recommended to make changes to a copy of the file instead
# of the original, if any customizations are needed.
# *******************************************************************
# title: Enable the Neutron MidoNet Services
# description: |
# A Heat environment that can be used to deploy MidoNet Services
parameter_defaults:
# Native Transport Port
# Type: string
CassandraClientPort: 9042
# The port for the Thrift RPC service, which is used for client connections
# Type: string
CassandraClientPortThrift: 9160
# The SSL port for encrypted communication. Unused unless enabled in encryption_options
# Type: string
CassandraSslStoragePort: 7001
# The Cassandra port for inter-node communication
# Type: string
CassandraStoragePort: 7000
# Name of the tunnel zone used to tunnel packages
# Type: string
TunnelZoneName: tunnelzone_tripleo
# Type of the tunnels on the overlay. Choose between `gre` and `vxlan`
# Type: string
TunnelZoneType: vxlan
# ******************************************************
# Static parameters - these are values that must be
# included in the environment but should not be changed.
# ******************************************************
# Whether enable Cassandra cluster on Controller
# Type: boolean
EnableCassandraOnController: True
# Whether enable Zookeeper cluster on Controller
# Type: boolean
EnableZookeeperOnController: True
# The core plugin for Neutron. The value should be the entrypoint to be loaded
# from neutron.core_plugins namespace.
# Type: string
NeutronCorePlugin: midonet.neutron.plugin_v1.MidonetPluginV2
# If True, DHCP provide metadata route to VM.
# Type: boolean
NeutronEnableIsolatedMetadata: True
# *********************
# End static parameters
# *********************
resource_registry:
OS::TripleO::AllNodesExtraConfig: ../../puppet/extraconfig/all_nodes/neutron-midonet-all-nodes.yaml
OS::TripleO::Controller::Net::SoftwareConfig: ../../net-config-linux-bridge.yaml
OS::TripleO::Services::ComputeNeutronCorePlugin: ../../puppet/services/neutron-compute-plugin-midonet.yaml
OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
OS::TripleO::Services::NeutronCorePlugin: OS::TripleO::Services::NeutronCorePluginMidonet
OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None

View File

@ -1,3 +1,7 @@
# ******************************************************************************
# DEPRECATED: Use tripleo-heat-templates/environments/networking/neutron-midonet
# instead.
# ******************************************************************************
# 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

View File

@ -0,0 +1,32 @@
environments:
-
name: networking/neutron-midonet
title: Enable the Neutron MidoNet Services
description: A Heat environment that can be used to deploy MidoNet Services
files:
puppet/extraconfig/all_nodes/neutron-midonet-all-nodes.yaml:
parameters: all
puppet/services/neutron-base.yaml:
parameters:
- NeutronCorePlugin
puppet/services/neutron-dhcp.yaml:
parameters:
- NeutronEnableIsolatedMetadata
sample_values:
NeutronCorePlugin: 'midonet.neutron.plugin_v1.MidonetPluginV2'
NeutronEnableIsolatedMetadata: true
EnableZookeeperOnController: true
EnableCassandraOnController: true
static:
- NeutronCorePlugin
- NeutronEnableIsolatedMetadata
- EnableZookeeperOnController
- EnableCassandraOnController
resource_registry:
OS::TripleO::AllNodesExtraConfig: ../../puppet/extraconfig/all_nodes/neutron-midonet-all-nodes.yaml
OS::TripleO::Controller::Net::SoftwareConfig: ../../net-config-linux-bridge.yaml
OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
OS::TripleO::Services::NeutronCorePlugin: OS::TripleO::Services::NeutronCorePluginMidonet
OS::TripleO::Services::ComputeNeutronCorePlugin: ../../puppet/services/neutron-compute-plugin-midonet.yaml