blob: 50be25a16718ffeb492e6cbacb3e5f2bc4f3a783 [file] [log] [blame]
{%- from "octavia/map.jinja" import api with context %}
{%- if api.get('enabled', False) %}
{%- set protocol = api.get('identity', {}).get('protocol', 'http') %}
agent:
input:
http_response:
octavia-api:
address: "{{ protocol }}://{{ api.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ api.bind.port }}/"
expected_code: 200
{%- endif %}