Browse Source

Add neutron-midonet sample environment

Change-Id: I34d3a9356b119d549acd6fe4f0c8713b0bfa5957
changes/02/466102/5
Ben Nemec 4 years ago
parent
commit
7613306b8c
  1. 66
      environments/networking/neutron-midonet.yaml
  2. 4
      environments/neutron-midonet.yaml
  3. 32
      sample-env-generator/networking.yaml

66
environments/networking/neutron-midonet.yaml

@ -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

4
environments/neutron-midonet.yaml

@ -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

32
sample-env-generator/networking.yaml

@ -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
Loading…
Cancel
Save