(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 # on Linux, GreTapBridges are auto-created, not part of GUI's
# node count # node count
if 'GreTapBridge' in globals(): if 'GreTapBridge' in globals():
if isinstance(obj, GreTapBridge): if isinstance(obj, GreTapBridge) and \
not isinstance(obj, nodes.TunnelNode):
continue continue
nc += 1 nc += 1
# count booted nodes not emulated on this server # count booted nodes not emulated on this server