tripleo-heat-templates/deployment/neutron/neutron-l2gw-agent-baremetal-puppet.yaml
ramishra b253d564f7 Use server side env merging for ServiceNetMap/VipSubnetMap
This simplifies the ServiceNetMap/VipSubnetMap interfaces
to use parameter merge strategy and removes the *Defaults
interfaces.

Change-Id: Ic73628a596e9051b5c02435b712643f9ef7425e3
2021-05-19 10:16:58 +05:30

102 lines
3.5 KiB
YAML

heat_template_version: wallaby
description: >
L2 Gateway agent configured with Puppet
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. Use
parameter_merge_strategies to merge it with the defaults.
type: json
Debug:
type: boolean
default: false
description: Set to True to enable debugging on all services.
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
L2gwAgentOvsdbHosts:
default: ''
description: L2 gateway agent OVSDB server list.
type: comma_delimited_list
L2gwAgentEnableManager:
default: false
description: Connection can be initiated by the ovsdb server.
type: boolean
L2gwAgentManagerTableListeningPort:
default: 6632
description: port number for L2 gateway agent, so that it can listen
type: number
L2gwAgentPeriodicInterval:
default: 20
description: The L2 gateway agent checks connection state with the OVSDB
servers. The interval is number of seconds between attempts.
type: number
L2gwAgentMaxConnectionRetries:
default: 10
description: The L2 gateway agent retries to connect to the OVSDB server
type: number
L2gwAgentSocketTimeout:
default: 30
description: socket timeout
type: number
MonitoringSubscriptionNeutronL2gwAgent:
default: 'overcloud-neutron-l2gw-agent'
type: string
NeutronL2gwAgentDebug:
default: false
description: Set to True to enable debugging for Neutron L2gw agent.
type: boolean
NeutronL2gwAgentLoggingSource:
type: json
default:
tag: openstack.neutron.agent.l2gw
file: /var/log/neutron/l2gw-agent.log
outputs:
role_data:
description: Role data for the L2 Gateway role.
value:
service_name: neutron_l2gw_agent
if:
- {get_param: L2gwAgentEnableManager}
- firewall_rules:
'142 neutron l2gw agent input':
proto: 'tcp'
dport: {get_param: L2gwAgentManagerTableListeningPort}
monitoring_subscription: {get_param: MonitoringSubscriptionNeutronL2gwAgent}
config_settings:
neutron::agents::l2gw::ovsdb_hosts: {get_param: L2gwAgentOvsdbHosts}
neutron::agents::l2gw::enable_manager: {get_param: L2gwAgentEnableManager}
neutron::agents::l2gw::manager_table_listening_port: {get_param: L2gwAgentManagerTableListeningPort}
neutron::agents::l2gw::periodic_interval: {get_param: L2gwAgentPeriodicInterval}
neutron::agents::l2gw::max_connection_retries: {get_param: L2gwAgentMaxConnectionRetries}
neutron::agents::l2gw::socket_timeout: {get_param: L2gwAgentSocketTimeout}
neutron::agents::l2gw::debug:
if:
- {get_param: NeutronL2gwAgentDebug}
- true
- {get_param: Debug}
service_config_settings:
rsyslog:
tripleo_logging_sources_neutron_l2gw_agent:
- {get_param: NeutronL2gwAgentLoggingSource}
step_config: |
include tripleo::profile::base::neutron::agents::l2gw
upgrade_tasks: []