import/export daemon: Add support for a magic prefix
This “magic” value will be used to ensure that we don't accidentially connect to the wrong daemon (e.g. due to a bug), comparable to DRBD's per-disk secret. Just depending on the SSL certificate isn't enough as it's always per instance and not per disk. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
Showing
- daemons/import-export 6 additions, 0 deletionsdaemons/import-export
- lib/constants.py 2 additions, 0 deletionslib/constants.py
- lib/impexpd/__init__.py 46 additions, 1 deletionlib/impexpd/__init__.py
- test/ganeti.impexpd_unittest.py 15 additions, 0 deletionstest/ganeti.impexpd_unittest.py
- test/import-export_unittest.bash 42 additions, 2 deletionstest/import-export_unittest.bash
Loading
Please register or sign in to comment