|
@@ -617,8 +617,13 @@ class BoB:
|
|
|
"""
|
|
|
Put another process into boss to watch over it. When the process
|
|
|
dies, the info.failed() is called with the exit code.
|
|
|
+
|
|
|
+ It is expected the info is a isc.bind10.component.BaseComponent
|
|
|
+ subclass (or anything having the same interface).
|
|
|
"""
|
|
|
if '_procinfo' in dir(info):
|
|
|
+ # FIXME: This is temporary and the interface of the component
|
|
|
+ # doesn't guarantee the existence.
|
|
|
self.processes[pid] = info._procinfo
|
|
|
else:
|
|
|
# XXX: a short term hack. This is the sockcreator.
|