
Adds sample templates for creating domain and various types of record in designate. implements blueprint heat-designate-resoure Change-Id: Ifc6902ceeb4506d79b1dbaa1927c8bb8dd044590
39 lines
768 B
YAML
39 lines
768 B
YAML
heat_template_version: 2015-04-30
|
|
|
|
description: Sample designate domain template
|
|
|
|
parameters:
|
|
name:
|
|
type: string
|
|
description: Domain name
|
|
default: test1-domain.com.
|
|
|
|
email:
|
|
type: string
|
|
description: Domain description
|
|
default: abc@xyz.com
|
|
|
|
ttl:
|
|
type: number
|
|
description: Time to live in seconds
|
|
default: 3600
|
|
|
|
description:
|
|
type: string
|
|
description: Domain description
|
|
default: Sample test domain
|
|
|
|
resources:
|
|
sample_domain:
|
|
type: OS::Designate::Domain
|
|
properties:
|
|
name: {get_param: name}
|
|
email: {get_param: email}
|
|
ttl: {get_param: ttl}
|
|
description: {get_param: description}
|
|
|
|
outputs:
|
|
serial:
|
|
value: {get_attr: [sample_domain, serial]}
|
|
description: Domain serial number
|