44ef2a3ec1
The new master branch should point now to rocky. So, HOT templates should specify that they might contain features for rocky release [1] Also, this submission updates the yaml validation to use only latest heat_version alias. There are cases in which we will need to set the version for specific templates i.e. mixed versions, so there is added a variable to assign specific templates to specific heat_version aliases, avoiding the introductions of error by bulk replacing the the old version in new releases. [1]: https://docs.openstack.org/heat/latest/template_guide/hot_spec.html#rocky Change-Id: Ib17526d9cc453516d99d4659ee5fa51a5aa7fb4b
107 lines
4.0 KiB
YAML
107 lines
4.0 KiB
YAML
heat_template_version: rocky
|
|
|
|
description: >
|
|
OpenStack Neutron Compute Nuage 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
|
|
NovaPassword:
|
|
description: The password for the nova service and db account
|
|
type: string
|
|
hidden: true
|
|
NuageMetadataPort:
|
|
description: TCP Port to listen for metadata server requests
|
|
type: string
|
|
default: '9697'
|
|
NuageActiveController:
|
|
description: IP address of the Active Virtualized Services Controller (VSC)
|
|
type: string
|
|
NuageStandbyController:
|
|
description: IP address of the Standby Virtualized Services Controller (VSC)
|
|
type: string
|
|
NuageNovaMetadataPort:
|
|
description: TCP Port used by Nova metadata server
|
|
type: string
|
|
default: '8775'
|
|
NuageMetadataProxySharedSecret:
|
|
description: Shared secret to sign the instance-id request
|
|
type: string
|
|
NuageNovaClientVersion:
|
|
description: Client Version Nova
|
|
type: string
|
|
default: '2'
|
|
NuageNovaOsUsername:
|
|
description: Nova username in keystone_authtoken
|
|
type: string
|
|
default: 'nova'
|
|
NuageMetadataAgentStartWithOvs:
|
|
description: Set to true if nuage-metadata-agent needs to be started with nuage-openvswitch-switch
|
|
type: boolean
|
|
default: true
|
|
NuageNovaApiEndpoint:
|
|
description: One of publicURL, internalURL, adminURL in "keystone endpoint-list"
|
|
type: string
|
|
default: 'publicURL'
|
|
NuageNovaRegionName:
|
|
description: Region name in "keystone endpoint-list"
|
|
type: string
|
|
default: 'regionOne'
|
|
NuageBridgeMTU:
|
|
description: Support for non-default MTU configured on each Compute node
|
|
type: string
|
|
default: ''
|
|
|
|
outputs:
|
|
role_data:
|
|
description: Role data for the Neutron Compute Nuage plugin
|
|
value:
|
|
service_name: neutron_compute_plugin_nuage
|
|
config_settings:
|
|
nuage::vrs::active_controller: {get_param: NuageActiveController}
|
|
nuage::vrs::standby_controller: {get_param: NuageStandbyController}
|
|
nuage::vrs::bridge_mtu: {get_param: NuageBridgeMTU}
|
|
nuage::metadataagent::metadata_port: {get_param: NuageMetadataPort}
|
|
nuage::metadataagent::nova_metadata_port: {get_param: NuageNovaMetadataPort}
|
|
nuage::metadataagent::metadata_secret: {get_param: NuageMetadataProxySharedSecret}
|
|
nuage::metadataagent::nova_client_version: {get_param: NuageNovaClientVersion}
|
|
nuage::metadataagent::nova_os_username: {get_param: NuageNovaOsUsername}
|
|
nuage::metadataagent::metadata_agent_start_with_ovs: {get_param: NuageMetadataAgentStartWithOvs}
|
|
nuage::metadataagent::nova_api_endpoint_type: {get_param: NuageNovaApiEndpoint}
|
|
nuage::metadataagent::nova_region_name: {get_param: NuageNovaRegionName}
|
|
tripleo::profile::base::neutron::agents::nuage::nova_os_tenant_name: 'service'
|
|
tripleo::profile::base::neutron::agents::nuage::nova_os_password: {get_param: NovaPassword}
|
|
tripleo::profile::base::neutron::agents::nuage::nova_auth_ip: {get_param: [EndpointMap, KeystoneInternal, host]}
|
|
tripleo.neutron_compute_plugin_nuage.firewall_rules:
|
|
'118 neutron vxlan networks':
|
|
proto: 'udp'
|
|
dport: 4789
|
|
'100 metadata agent':
|
|
dport: {get_param: NuageMetadataPort}
|
|
step_config: |
|
|
include ::tripleo::profile::base::neutron::agents::nuage
|