package documentation
Logical units dealing with the cluster.
Module | verify |
Logical units for cluster verification. |
From __init__.py
:
Class |
|
No class docstring; 0/2 instance variable, 0/1 constant, 1/3 method documented |
Class |
|
Activate the master IP on the master node. |
Class |
|
Return configuration values. |
Class |
|
Deactivate the master IP on the master node. |
Class |
|
Logical unit for destroying the cluster. |
Class |
|
Logical unit for running hooks after cluster initialization. |
Class |
|
Query cluster configuration. |
Class |
|
Force the redistribution of cluster configuration. |
Class |
|
Rename the cluster. |
Class |
|
Renew the cluster's crypto tokens. |
Class |
|
Verifies the cluster disks sizes. |
Class |
|
Change the parameters of the cluster. |
Function |
|
Check whether the provided compression tools look like executables. |
Function |
|
Checks whether the given file-based storage directory is acceptable. |
Function |
|
Checks whether the given file storage directory is acceptable. |
Function |
|
Checks whether the given gluster storage directory is acceptable. |
Function |
|
Checks whether the given shared file storage directory is acceptable. |
Function | _ |
Checks if a netmask is valid. |
Checks if a netmask is valid.
Parameters | |
cfg:config.ConfigWriter | cluster configuration |
netmask:int | netmask to be verified |
Raises | |
errors.OpPrereqError | if the validation fails |
def CheckFileBasedStoragePathVsEnabledDiskTemplates(logging_warn_fn, file_storage_dir, enabled_disk_templates, file_disk_template):
¶
Checks whether the given file-based storage directory is acceptable.
Note: This function is public, because it is also used in bootstrap.py.
Parameters | |
logging | function which accepts a string and logs it |
file | the directory to be used for file-based instances |
enabled | the list of enabled disk templates |
file | the file-based disk template for which the path should be checked |
def CheckFileStoragePathVsEnabledDiskTemplates(logging_warn_fn, file_storage_dir, enabled_disk_templates):
¶
Checks whether the given file storage directory is acceptable.
See Also | |
CheckFileBasedStoragePathVsEnabledDiskTemplates |
def CheckSharedFileStoragePathVsEnabledDiskTemplates(logging_warn_fn, file_storage_dir, enabled_disk_templates):
¶
Checks whether the given shared file storage directory is acceptable.
See Also | |
CheckFileBasedStoragePathVsEnabledDiskTemplates |
def CheckGlusterStoragePathVsEnabledDiskTemplates(logging_warn_fn, file_storage_dir, enabled_disk_templates):
¶
Checks whether the given gluster storage directory is acceptable.
See Also | |
CheckFileBasedStoragePathVsEnabledDiskTemplates |