eDirectory AutoYaST Web Service

?env= &addresses=

{% if status['response'] >= 200 and status['response'] < 300 %}
{% elif status['response'] >= 300 and status['response'] < 400 %}
{% elif status['response'] >= 400 %}
{% endif %} HTTP Response {{status['response']}}: {% if status['response'] >= 500 %}
{{status['message']}}
{% else %} {{status['message']}} {% endif %}
{% if status['origins']|length %}
{%- for var in status['shell_script'] %} {% if status['origins'][var[0]] -%} {%- endif -%}
{{ var[0] }}=
		  	{%- else -%}>{{ var[0] }}={{ var[1] }}
		  	{%- endif -%}
		  {%- if status['origins'][var[0]] -%}
		  
		  {%- endif -%}
		  
{%- if status['origins'][var[0]] -%}
{%- endif -%}
{%- if status['origins'][var[0]] -%}

Origin of the values

{% for origin in status['origins'][var[0]] %} {% if origin[2] == 'constant' %} {% elif origin[2] == 'unknown' %} {% elif origin[2] == 'ldap search' %} {% else %} {% endif %} {% endfor %}
derived valuesource
{{ origin[0] }}
constant
{{ origin[0] }}
unknown
{{ origin[0] }}
ldap search
{{ origin[0] }}
dn: {{ origin[2] }}
{{ origin[1] }}: {{origin[3]}}
{%- endif -%}
{%- endfor %}
{% endif %} {% if status['addresses']|length %}

Macs and IPs

{% for address in addresses %} {% endfor %}
AddressStatus
{{address}} {% if not status['addresses'][address]['format_ok'] %} Invalid address format {% elif (status['found_devices'] | length) == 0 %} {% if (status['addresses'][address]['dns'] | length) == 0 %} Not found {% else %}

Found {{dn}}

{% endif %} {% elif (status['found_devices'] | length) > 1 %} {% if (status['addresses'][address]['dns'] | length) == 0 %} Not found {% else %} {% for dn in status['addresses'][address]['dns'] %}

Found {{dn}}

{% endfor %} {% endif %} {% elif (status['found_devices'] | length) == 1 %} {% if (status['addresses'][address]['dns'] | length) == 0 %} Not found {% else %} {% for dn in status['addresses'][address]['dns'] %}

Found {{dn}}

{% endfor %} {% endif %} {% endif %}
{% endif %}

ncif Values

{% for ncif_dn in status['ncifs'] %}

dn: {{ncif_dn}}

{% for key, value in status['ncifs'][ncif_dn]| dictsort -%}
{{key}}: {{status['ncifs'][ncif_dn][key]}}
{% endfor %}
{% endfor %} {% if status['log']|length %}

LDAP Log

        {%- for line in status['log'] %}
{{line[0]}}
        {%- endfor -%}
        
{% endif %}