Changeset 11555 in genesis


Ignore:
Timestamp:
Oct 15, 2012, 7:37:47 PM (12 years ago)
Author:
rick
Message:

status in verplicht voor een interface, controleer hier dus op.

Fixes: beheer#268

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • nodes/HybridGraficall/wleiden.yaml

    r11554 r11555  
    5757  sdesc      : "2hmkerk"
    5858  type       : "eth"
     59  status     : "planned"
    5960
    6061
  • tools/gformat.py

    r11541 r11555  
    18281828                datadump[iface_key] = datadump[iface_key]['desc']
    18291829
     1830              # Mandatory interface keys
     1831              if not datadump[iface_key].has_key('status'):
     1832                datadump[iface_key]['status'] = 'planned'
     1833
    18301834              x = datadump[iface_key]['comment']
    18311835              datadump[iface_key]['comment'] = x[0].upper() + x[1:]
  • tools/yaml2nag.py

    r11262 r11555  
    77
    88import gformat
     9import logging
     10
     11logging.basicConfig(level=logging.DEBUG)
     12logger = logging.getLogger()
    913
    1014def is_ap(ifacedump):
     
    3640  # Process all hosts
    3741  for host in gformat.get_hostlist():
     42    logger.debug("Processing host %s", host)
    3843    datadump = gformat.get_yaml(host)
    3944
Note: See TracChangeset for help on using the changeset viewer.