Revision ef40fbfb daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
838 | 838 |
# Crypto |
839 | 839 |
|
840 | 840 |
@staticmethod |
841 |
def perspective_create_x509_certificate(params):
|
|
841 |
def perspective_x509_cert_create(params):
|
|
842 | 842 |
"""Creates a new X509 certificate for SSL/TLS. |
843 | 843 |
|
844 | 844 |
""" |
... | ... | |
846 | 846 |
return backend.CreateX509Certificate(validity) |
847 | 847 |
|
848 | 848 |
@staticmethod |
849 |
def perspective_remove_x509_certificate(params):
|
|
849 |
def perspective_x509_cert_remove(params):
|
|
850 | 850 |
"""Removes a X509 certificate. |
851 | 851 |
|
852 | 852 |
""" |
... | ... | |
856 | 856 |
# Import and export |
857 | 857 |
|
858 | 858 |
@staticmethod |
859 |
def perspective_start_import_listener(params):
|
|
859 |
def perspective_import_start(params):
|
|
860 | 860 |
"""Starts an import daemon. |
861 | 861 |
|
862 | 862 |
""" |
... | ... | |
869 | 869 |
_DecodeImportExportIO(dest, |
870 | 870 |
dest_args)) |
871 | 871 |
@staticmethod |
872 |
def perspective_start_export(params):
|
|
872 |
def perspective_export_start(params):
|
|
873 | 873 |
"""Starts an export daemon. |
874 | 874 |
|
875 | 875 |
""" |
... | ... | |
884 | 884 |
source_args)) |
885 | 885 |
|
886 | 886 |
@staticmethod |
887 |
def perspective_get_import_export_status(params):
|
|
887 |
def perspective_impexp_status(params):
|
|
888 | 888 |
"""Retrieves the status of an import or export daemon. |
889 | 889 |
|
890 | 890 |
""" |
891 | 891 |
return backend.GetImportExportStatus(params[0]) |
892 | 892 |
|
893 | 893 |
@staticmethod |
894 |
def perspective_cleanup_import_export(params):
|
|
894 |
def perspective_impexp_cleanup(params):
|
|
895 | 895 |
"""Cleans up after an import or export. |
896 | 896 |
|
897 | 897 |
""" |
Also available in: Unified diff