Changeset 13218 in genesis


Ignore:
Timestamp:
Mar 25, 2015, 7:45:22 PM (8 years ago)
Author:
huub
Message:

met dank aan Niels: gformat lijstje proxies in rc.conf.local alleen voor status=up van gateways

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r13169 r13218  
    697697    for host in get_hybridlist():
    698698      hostdump = get_yaml(host)
    699       if hostdump['service_proxy_ileiden']:
    700         ileiden_proxies.append(hostdump)
    701       if hostdump['service_proxy_normal']:
    702         normal_proxies.append(hostdump)
     699      if hostdump['status'] == 'up':
     700        if hostdump['service_proxy_ileiden']:
     701          ileiden_proxies.append(hostdump)
     702        if hostdump['service_proxy_normal']:
     703          normal_proxies.append(hostdump)
    703704
    704705  datadump['autogen_ileiden_proxies'] = ileiden_proxies
Note: See TracChangeset for help on using the changeset viewer.