backend: Implement remote commands
As per design document (doc/design-remote-commands.rst), a number of rather strict tests is applied to any incoming request, a delay is inserted upon errors and returned error messages are very generic (unless it's the actual command that failed). There are unit tests for all of the newly added code. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Showing
- Makefile.am 1 addition, 0 deletionsMakefile.am
- lib/backend.py 197 additions, 0 deletionslib/backend.py
- test/ganeti.backend_unittest-runasroot.py 77 additions, 0 deletionstest/ganeti.backend_unittest-runasroot.py
- test/ganeti.backend_unittest.py 388 additions, 0 deletionstest/ganeti.backend_unittest.py
Loading
Please register or sign in to comment