Put common import/export daemon options into object
The X509 key name and CA are passed from cmdlib all the way to the backend import/export daemon. With the addition of an option to choose the compression method, another parameter would have to be passed all the way. By moving these options to a separate object, adding new ones will become much easier. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Showing
- daemons/ganeti-noded 11 additions, 7 deletionsdaemons/ganeti-noded
- lib/backend.py 12 additions, 12 deletionslib/backend.py
- lib/cmdlib.py 9 additions, 3 deletionslib/cmdlib.py
- lib/masterd/instance.py 30 additions, 41 deletionslib/masterd/instance.py
- lib/objects.py 13 additions, 0 deletionslib/objects.py
- lib/rpc.py 4 additions, 5 deletionslib/rpc.py
Loading
Please register or sign in to comment