- Timestamp:
- Nov 30, 2010, 10:26:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/yaml2nag.py
r8644 r8686 84 84 return 1 85 85 86 def is_up(node): 87 """ Is node Up?""" 88 if node['status'] == 'up': 89 return 1 90 else: 91 return 0 92 86 93 def get_hostname(node): 87 94 return node['nodename'] … … 105 112 106 113 for k,v in allconfigs.iteritems(): 107 if is_iris(v) :114 if is_iris(v) and is_up(v): 108 115 ileiden = is_ileiden(v) 109 116 interfaces = get_up_interfaces(v, 'iface-')
Note:
See TracChangeset
for help on using the changeset viewer.