module documentation

OS scripts related commands

Function DiagnoseOS Analyse all OSes on this cluster.
Function ListOS List the valid OSes in the cluster.
Function Main Undocumented
Function ModifyOS Modify OS parameters for one OS.
Function ShowOSInfo List detailed information about OSes in the cluster.
Variable aliases Undocumented
Variable commands Undocumented
Function _OsStatus Beautifier function for OS status.
def DiagnoseOS(opts, args):

Analyse all OSes on this cluster.

Parameters
optsthe command line options selected by the user
args:listshould be an empty list
Returns
intthe desired exit code
def ListOS(opts, args):

List the valid OSes in the cluster.

Parameters
optsthe command line options selected by the user
args:listshould be an empty list
Returns
intthe desired exit code
def Main():

Undocumented

def ModifyOS(opts, args):

Modify OS parameters for one OS.

Parameters
optsthe command line options selected by the user
args:listshould be a list with one entry
Returns
intthe desired exit code
def ShowOSInfo(opts, args):

List detailed information about OSes in the cluster.

Parameters
optsthe command line options selected by the user
args:listshould be an empty list
Returns
intthe desired exit code
aliases: dict[str, str] =

Undocumented

commands =

Undocumented

def _OsStatus(status, diagnose):

Beautifier function for OS status.

Parameters
status:booleanis the OS valid
diagnose:stringthe error message for invalid OSes
Returns
stringa formatted status