Zone ID,Host ID,Server ID,Name,State,Flavor,Public IPs,Private IPs,Reboot Window
{%- set servers = get_formatted_server_list(data) %}
{%- for key, value in servers.iteritems() %}
    {%- for host, items in value.iteritems() %}
        {%- for item in items %}
"{%- if item.get('public_zone') %}{{ item.get('public_zone') }}{% endif -%}","{{ host }}","{{ item.get('id') }}","{{ item.get('name') }}","{{ item.get('state') }}","{{ item.get('flavor') }}","{%- if item.get('public') %}{%- for ip in item.get('public') %}{{ ip }}{%- if not loop.last %};{% endif -%}{% endfor -%}{% else %}-{% endif -%}","{%- if item.get('private') %}{%- for ip in item.get('private') %}{{ ip }}{%- if not loop.last %};{% endif -%}{% endfor -%}{% else %}-{% endif -%}","{%- if item.get('reboot_window') %}{{ process_reboot_data(item.get('reboot_window')) }}{% else %}-{% endif -%}"
        {% endfor -%}
    {% endfor -%}
{% endfor -%}

Zone ID,Host ID,Server ID,Name,State,Flavor,Public IPs,Private IPs,Custom IPs,Reboot Window
{%- set servers = get_formatted_server_list(data) %}
{%- for key, value in servers.iteritems() %}
    {%- for host, items in value.iteritems() %}
        {%- for item in items %}
"{%- if item.get('public_zone') %}{{ item.get('public_zone') }}{% endif -%}","{{ host }}","{{ item.get('id') }}","{{ item.get('name') }}","{{ item.get('state') }}","{{ item.get('flavor') }}","{%- if item.get('addresses').get('public') %}{%- for ip in item.get('addresses').get('public') %}{{ ip }}{%- if not loop.last %};{% endif -%}{% endfor -%}{% else %}-{% endif -%}","{%- if item.get('addresses').get('private') %}{%- for ip in item.get('addresses').get('private') %}{{ ip }}{%- if not loop.last %};{% endif -%}{% endfor -%}{% else %}-{% endif -%}","{%- if item.get('addresses').get('custom') %}{%- for ip in item.get('addresses').get('custom') %}{{ ip }}{%- if not loop.last %};{% endif -%}{% endfor -%}{% else %}-{% endif -%}","{%- if item.get('reboot_window') %}{{ process_reboot_data(item.get('reboot_window')) }}{% else %}-{% endif -%}"
        {% endfor -%}
    {% endfor -%}
{% endfor -%}

Update CSV output to include all IPs in CSV
Update CSV output to include all IPs in CSV
