{%- 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 %} |