32 lines
743 B
YAML
32 lines
743 B
YAML
heat_template_version: 2015-10-15
|
|
|
|
description: A Listener for a Load Balancer
|
|
|
|
parameters:
|
|
lb_port:
|
|
type: number
|
|
default: 80
|
|
description: Port used by the listener
|
|
|
|
lb_protocol:
|
|
type: string
|
|
default: HTTP
|
|
description: Public protocol exposed by the listener
|
|
|
|
loadbalancer_id:
|
|
type: string
|
|
description: ID of the load balancer
|
|
|
|
resources:
|
|
listener:
|
|
type: OS::Octavia::Listener
|
|
properties:
|
|
loadbalancer: { get_param: loadbalancer_id }
|
|
protocol: { get_param: lb_protocol }
|
|
protocol_port: { get_param: lb_port }
|
|
|
|
outputs:
|
|
listener_id:
|
|
description: Listener ID
|
|
value: { get_resource: listener }
|