Add Mellanox SDN ML2 template for a containerized service
Change-Id: I2868ed8cbe5414c1f09679f37853e3ebb5fd284d
This commit is contained in:
parent
453ee72c89
commit
0a9ff03c76
@ -299,6 +299,11 @@ topics:
|
|||||||
description: Enables Cisco VTS ML2 Plugin
|
description: Enables Cisco VTS ML2 Plugin
|
||||||
requires:
|
requires:
|
||||||
- overcloud-resource-registry-puppet.yaml
|
- 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
|
- title: Storage
|
||||||
description:
|
description:
|
||||||
|
65
docker/services/neutron-plugin-ml2-mlnx-sdn-assist.yaml
Normal file
65
docker/services/neutron-plugin-ml2-mlnx-sdn-assist.yaml
Normal 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: {}
|
@ -161,7 +161,7 @@ resource_registry:
|
|||||||
OS::TripleO::Services::OVNDBs: docker/services/pacemaker/ovn-dbs.yaml
|
OS::TripleO::Services::OVNDBs: docker/services/pacemaker/ovn-dbs.yaml
|
||||||
OS::TripleO::Services::OVNController: docker/services/ovn-controller.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::NeutronCorePluginMidonet: puppet/services/neutron-midonet.yaml
|
||||||
OS::TripleO::Services::NeutronCorePluginVTS: docker/services/neutron-plugin-ml2-cisco-vts.yaml
|
OS::TripleO::Services::NeutronCorePluginVTS: docker/services/neutron-plugin-ml2-cisco-vts.yaml
|
||||||
OS::TripleO::Services::NeutronCorePluginML2Ansible: docker/services/neutron-plugin-ml2-ansible.yaml
|
OS::TripleO::Services::NeutronCorePluginML2Ansible: docker/services/neutron-plugin-ml2-ansible.yaml
|
||||||
|
@ -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.
|
Loading…
x
Reference in New Issue
Block a user