Move HooksMaster out of the mcpu module
We need to do this, so that backend.py doesn't need to import mcpu, and thus indirectly cmdlib. This reduces the size of the node daemon by about half, which is very important as it is pinned in memory. This solves Issue 419. Signed-off-by:Guido Trotter <ultrotter@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
Showing
- Makefile.am 1 addition, 0 deletionsMakefile.am
- lib/backend.py 5 additions, 5 deletionslib/backend.py
- lib/hooksmaster.py 270 additions, 0 deletionslib/hooksmaster.py
- lib/mcpu.py 2 additions, 242 deletionslib/mcpu.py
- test/py/ganeti.hooks_unittest.py 13 additions, 13 deletionstest/py/ganeti.hooks_unittest.py
Loading
Please register or sign in to comment