Browse Source

[213] Documentation about being dead

Michal 'vorner' Vaner 13 years ago
parent
commit
5634285ef8
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/lib/python/isc/bind10/component.py

+ 6 - 0
src/lib/python/isc/bind10/component.py

@@ -183,6 +183,12 @@ class Component:
 
         If you try to call failed on a component that is not running,
         a ValueError is raised.
+
+        If it is a core component or needed component and it was started only
+        recently, the component will become dead and will ask the boss to shut
+        down with error exit status. A dead component can't be started again.
+
+        Otherwise the component will try to restart.
         """
         if not self.running():
             raise ValueError("Can't fail component that isn't running")