Common functions for tool scripts.
|
VerifyOptions(parser,
opts,
args)
Verifies options and arguments for correctness. |
source code
|
|
string
|
|
|
|
string
|
|
string
|
|
|
|
|
|
dict
|
LoadData(raw,
data_check)
Parses and verifies input data. |
source code
|
|
|
GenerateRootSshKeys(key_type,
key_bits,
error_fn,
_suffix="",
_homedir_fn=None)
Generates root's SSH keys for this node. |
source code
|
|
|
GenerateClientCertificate(data,
error_fn,
client_cert=pathutils.NODED_CLIENT_CERT_FILE,
signing_cert=pathutils.NODED_CERT_FILE)
Regenerates the client certificate of the node. |
source code
|
|