(Boeing r1766)
fix bug where TunnelNodes not included in boot count, session doesn't enter the RUNTIME state
This commit is contained in:
parent
8d11b40009
commit
dba5f31b8d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue