## This environment serves the purpose of enabling deployment of QPID dispatch routers (aka QDR).
## Each overcloud node will have one local qdrouterd service running and operating in edge mode,
## eg. sending received data straight to defined MetricsQdrConnectors


resource_registry:
  OS::TripleO::Services::MetricsQdr: ../../deployment/metrics/qdr-container-puppet.yaml

parameter_defaults:
  ExtraConfig:
    tripleo::profile::base::metrics::qdr::interior_mesh_nodes: []
    tripleo::profile::base::metrics::qdr::router_mode: edge
  BlockStorageExtraConfig:
    tripleo::profile::base::metrics::qdr::listener_addr: "hiera(hiera('block_storage_hostname_resolve_network'))"
  CephStorageExtraConfig:
    tripleo::profile::base::metrics::qdr::listener_addr: "hiera(hiera('ceph_storage_hostname_resolve_network'))"
  ObjectStorageExtraConfig:
    tripleo::profile::base::metrics::qdr::listener_addr: "hiera(hiera('object_storage_hostname_resolve_network'))"
  #MetricsQdrConnectors:
  #  - host: qdr-normal-sa-telemetry.apps.remote.tld
  #    port: 443
  #    role: inter-router
  #    sslProfile: sslProfile
  #    verifyHostname: false
  #MetricsQdrSSLProfiles:
  #  - name: sslProfile
