heat_template_version: rocky

description: >
  OpenStack Core Service

parameters:
  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
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json
  Debug:
    type: boolean
    default: false
    description: Set to True to enable debugging on all services.

resources:

outputs:
  role_data:
    description: Role data for the multinode firewall configuration
    value:
      service_name: multinode_core
      firewall_rules:
        '999 core':
          proto: 'udp'
          dport:
            - 4789
