Skip to content

Commit

Permalink
Sample template for Keystone Service and Endpoint
Browse files Browse the repository at this point in the history
Adds sample hot templates for keystone service and endpoint
resources.

implements blueprint keystone-resource-service-endpoint

Change-Id: I9ac83bdfaaac4003fcd52f2078ebf22af49a2b51
  • Loading branch information
manickan committed May 27, 2015
1 parent f939f38 commit 89f78e7
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions hot/heat_keystone/keystone_service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
heat_template_version: 2013-05-23

description: Sample Keystone Service template

parameters:
name:
type: string
description: Keystone service name
description:
type: string
description: Keystone service description
type:
type: string
description: Keystone service type

resources:
sample_service:
type: OS::Keystone::Service
properties:
name: {get_param: name}
type: {get_param: type}
description: {get_param: description}
59 changes: 59 additions & 0 deletions hot/heat_keystone/keystone_service_endpoint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
heat_template_version: 2013-05-23

description: Sample Keystone Service Endpoint template

parameters:
name:
type: string
description: Keystone service name
description:
type: string
description: Keystone service description
type:
type: string
description: Keystone service type
region:
type: string
description: Keystone region name
public_url:
type: string
description: Public endpoint url
internal_url:
type: string
description: Internal endpoint url
admin_url:
type: string
description: Admin endpoint url

resources:
sample_service:
type: OS::Keystone::Service
properties:
name: {get_param: name}
type: {get_param: type}
description: {get_param: description}

public_endpoint:
type: OS::Keystone::Endpoint
properties:
service: {get_resource: sample_service}
url: {get_param: public_url}
region: {get_param: region}
interface: public

internal_endpoint:
type: OS::Keystone::Endpoint
properties:
service: {get_resource: sample_service}
url: {get_param: internal_url}
region: {get_param: region}
interface: internal

admin_endpoint:
type: OS::Keystone::Endpoint
properties:
service: {get_resource: sample_service}
url: {get_param: admin_url}
region: {get_param: region}
interface: admin

File renamed without changes.
File renamed without changes.

0 comments on commit 89f78e7

Please sign in to comment.