Merge "Add Mellanox SDN ML2 template for a containerized service"

This commit is contained in:
Zuul 2019-03-04 12:06:35 +00:00 committed by Gerrit Code Review
commit f800fc303b
4 changed files with 76 additions and 1 deletions

View File

@ -299,6 +299,11 @@ topics:
description: Enables Cisco VTS ML2 Plugin
requires:
- overcloud-resource-registry-puppet.yaml
- file: environments/neutron-ml2-mlnx-sdn.yaml
title: Mellanox SDN ML2 Plugin
description: Enables Mellanox SDN ML2 Plugin
requires:
- overcloud-resource-registry-puppet.yaml
- title: Storage
description:

View File

@ -0,0 +1,65 @@
heat_template_version: rocky
description: >
MLNX SDN configuration assist for Neutron ML2 Plugin.
parameters:
ServiceData:
default: {}
description: Dictionary packing service data
type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults.
type: json
DefaultPasswords:
default: {}
type: json
RoleName:
default: ''
description: Role name on which the service is applied
type: string
RoleParameters:
default: {}
description: Parameters specific to the role
type: json
EndpointMap:
default: {}
description: >
Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
DockerNeutronConfigImage:
description: The container image to use for the neutron config_volume
type: string
resources:
NeutronMl2MLNXBase:
type: ../../puppet/services/neutron-plugin-ml2-mlnx-sdn-assist.yaml
properties:
ServiceData: {get_param: ServiceData}
ServiceNetMap: {get_param: ServiceNetMap}
DefaultPasswords: {get_param: DefaultPasswords}
EndpointMap: {get_param: EndpointMap}
RoleName: {get_param: RoleName}
RoleParameters: {get_param: RoleParameters}
outputs:
role_data:
description: Role data for the MLNX SDN ML2 Plugin.
value:
service_name: {get_attr: [NeutronMl2MLNXBase, role_data, service_name]}
config_settings: {get_attr: [NeutronMl2MLNXBase, role_data, config_settings]}
service_config_settings: {get_attr: [NeutronMl2MLNXBase, role_data, service_config_settings]}
# BEGIN DOCKER SETTINGS
puppet_config:
config_volume: 'neutron'
puppet_tags: neutron_plugin_ml2
step_config:
get_attr: [NeutronMl2MLNXBase, role_data, step_config]
config_image: {get_param: DockerNeutronConfigImage}
kolla_config: {}
docker_config: {}

View File

@ -161,7 +161,7 @@ resource_registry:
OS::TripleO::Services::OVNDBs: docker/services/pacemaker/ovn-dbs.yaml
OS::TripleO::Services::OVNController: docker/services/ovn-controller.yaml
OS::TripleO::Services::NeutronCorePluginMLNXSDN: puppet/services/neutron-plugin-ml2-mlnx-sdn-assist.yaml
OS::TripleO::Services::NeutronCorePluginMLNXSDN: docker/services/neutron-plugin-ml2-mlnx-sdn-assist.yaml
OS::TripleO::Services::NeutronCorePluginMidonet: puppet/services/neutron-midonet.yaml
OS::TripleO::Services::NeutronCorePluginVTS: deployment/neutron/neutron-plugin-ml2-cisco-vts-container-puppet.yaml
OS::TripleO::Services::NeutronCorePluginML2Ansible: deployment/neutron/neutron-plugin-ml2-ansible-container-puppet.yaml

View File

@ -0,0 +1,5 @@
---
features:
- |
Add neutron-plugin-ml2-mlnx-sdn-assist as a containerized Neutron Core
service template to support Mellanox SDN ml2 plugin.