From 72fb595b69f8e4cf1f75ba0bde92a2336f81e38c Mon Sep 17 00:00:00 2001 From: "ahrenholz@gmail.com" Date: Thu, 5 Sep 2013 17:32:50 +0000 Subject: [PATCH] (Boeing r1766) fix bug where TunnelNodes not included in boot count, session doesn't enter the RUNTIME state --- trunk/daemon/core/session.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/daemon/core/session.py b/trunk/daemon/core/session.py index f0608e45..edc3a0e9 100644 --- a/trunk/daemon/core/session.py +++ b/trunk/daemon/core/session.py @@ -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