# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

component_skel:
  designate_api:
    belongs_to:
      - designate_all
  designate_central:
    belongs_to:
      - designate_all
  designate_mdns:
    belongs_to:
      - designate_all
  designate_pool_manager:
    belongs_to:
      - designate_all
  designate_sink:
    belongs_to:
      - designate_all

container_skel:
  designate_api_container:
    belongs_to:
      - infra_containers
      - dnsaas_containers
    contains:
      - designate-api
    properties:
      service_name: designate
      container_release: trusty
  designate_central_container:
    belongs_to:
      - infra_containers
      - dnsaas_containers
    contains:
      - designate_central
    properties:
      service_name: designate
      container_release: trusty
  designate_mdns_container:
    belongs_to: 
      - infra_containers
      - dnsaas_containers
    contains:
      - designate_mdns
    properties:
      service_name: designate
      container_release: trusty
  designate_pool_manager_container:
    belongs_to:
      - infra_containers
      - dnsaas_containers
    contains:
      - designate_pool_manager
    properties:
      service_name: designate
      container_release: trusty
  designate_sink_container:
    belongs_to:
      - infra_containers
      - dnsaas_containers
    contains:
      - designate_sink
    properties:
      service_name: designate
      container_release: trusty
  

physical_skel:
  dnsaas_containers:
    belongs_to:
      - all_containers
  dnsaas_hosts:
    belongs_to:
      - hosts

