Adding output section to templates
Adding output section to templates to make most use of the template. Change-Id: I77f175b682fd0a5d074735eab3e60ad91fbdb67c
This commit is contained in:
parent
f939f38514
commit
791daca910
|
@ -39,3 +39,11 @@ resources:
|
|||
pool_id: {get_param: pool_id}
|
||||
address: {get_attr: [server, first_address]}
|
||||
protocol_port: 80
|
||||
|
||||
outputs:
|
||||
server_ip:
|
||||
description: IP Address of the load-balanced server.
|
||||
value: { get_attr: [server, first_address] }
|
||||
lb_member:
|
||||
description: LB member details.
|
||||
value: { get_attr: [member, show] }
|
||||
|
|
|
@ -73,3 +73,10 @@ resources:
|
|||
admin_pass: { get_param: admin_pass }
|
||||
db_port: { get_param: db_port }
|
||||
|
||||
outputs:
|
||||
stack_one_outputs:
|
||||
description: Output of stack_one.
|
||||
value: { get_attr: [stack_one, outputs] }
|
||||
stack_two_outputs:
|
||||
description: Output of stack_two.
|
||||
value: { get_attr: [stack_two, outputs] }
|
||||
|
|
|
@ -50,3 +50,8 @@ resources:
|
|||
properties:
|
||||
instance_id: {get_resource: instance}
|
||||
volume_size: {get_param: volume_size}
|
||||
|
||||
outputs:
|
||||
server_ip:
|
||||
description: IP Address of server having volumes attached.
|
||||
value: { get_attr: [instance, first_address] }
|
||||
|
|
|
@ -62,3 +62,19 @@ resources:
|
|||
user_data_format: SOFTWARE_CONFIG
|
||||
user_data:
|
||||
get_resource: cloud_init_userdata
|
||||
|
||||
|
||||
outputs:
|
||||
server_ip:
|
||||
description: IP Address of server.
|
||||
value: { get_attr: [server, first_address] }
|
||||
deployment_status:
|
||||
description: Status code of configuration execution.
|
||||
value: { get_attr: [deployment, deploy_status_code] }
|
||||
deployment_stdout:
|
||||
description: Standard output captured from the configuration execution.
|
||||
value: { get_attr: [deployment, deploy_stdout] }
|
||||
deployment_stderr:
|
||||
description: Standard error captured from the configuration execution.
|
||||
value: { get_attr: [deployment, deploy_stderr] }
|
||||
|
||||
|
|
|
@ -43,3 +43,17 @@ resources:
|
|||
flavor: {get_param: flavor}
|
||||
key_name: {get_param: key_name}
|
||||
user_data_format: SOFTWARE_CONFIG
|
||||
|
||||
outputs:
|
||||
server_ip:
|
||||
description: IP Address of server.
|
||||
value: { get_attr: [server, first_address] }
|
||||
deployment_status:
|
||||
description: Status code of configuration execution.
|
||||
value: { get_attr: [deployment, deploy_status_code] }
|
||||
deployment_stdout:
|
||||
description: Standard output captured from the configuration execution.
|
||||
value: { get_attr: [deployment, deploy_stdout] }
|
||||
deployment_stderr:
|
||||
description: Standard error captured from the configuration execution.
|
||||
value: { get_attr: [deployment, deploy_stderr] }
|
||||
|
|
|
@ -67,3 +67,9 @@ resources:
|
|||
security_groups:
|
||||
- {get_resource: the_sg}
|
||||
user_data_format: SOFTWARE_CONFIG
|
||||
|
||||
|
||||
outputs:
|
||||
server_ip:
|
||||
description: IP Address of server.
|
||||
value: { get_attr: [server, first_address] }
|
||||
|
|
Loading…
Reference in New Issue