Changeset 12460 for trunk


Ignore:
Timestamp:
02/14/11 09:31:18 (13 years ago)
Author:
sil
Message:

Excluded inactive nodes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sara_cmt/templates/lisa/support.nodes.cmt

    r12410 r12460  
    44{% use HardwareUnit with 'cluster__name=Lisa' as lisa_hosts %}
    55    {% for hw in lisa_hosts %}
     6        {% if 'inactive' not in hw.roles %}
    67            {% for i in hw.interfaces.all %}
    78                {% if i.network.name == 'lisa consoles' and "PowerEdge" in hw.specifications.name %}
     
    910                {% endif %}
    1011            {% endfor %}
     12        {% endif %}
    1113    {% endfor %}
    1214{% endnoblanklines %}
Note: See TracChangeset for help on using the changeset viewer.