(Boeing r1766)

fix bug where TunnelNodes not included in boot count, session doesn't enter
 the RUNTIME state
This commit is contained in:
ahrenholz 2013-09-05 17:32:50 +00:00
parent 8d11b40009
commit dba5f31b8d

View file

@ -610,7 +610,8 @@ class Session(object):
# on Linux, GreTapBridges are auto-created, not part of GUI's
# node count
if 'GreTapBridge' in globals():
if isinstance(obj, GreTapBridge):
if isinstance(obj, GreTapBridge) and \
not isinstance(obj, nodes.TunnelNode):
continue
nc += 1
# count booted nodes not emulated on this server