|
_complete(self,
text,
line,
begidx,
endidx)
Returns a file after "deploy", "start", or
"startasync" and otherwise delegates to the BaseControl |
source code
|
|
|
|
|
|
|
|
|
_node(self,
omero_node=None)
Overrides the regular node() logic to return the value of
OMERO_MASTER or "master" |
source code
|
|
|
_cmd(self,
*command_arguments)
Used to generate an icegridadmin command line argument list |
source code
|
|
|
|
|
checkwindows(self,
args)
Checks that the templates file as defined in etc\Windows.cfg can be
found. |
source code
|
|
|
startasync(self,
args,
config)
First checks for a valid installation, then checks the grid, then
registers the action: "node HOST start" |
source code
|
|
|
|
|
|
|
|
|
wait_for_icedb(self,
args,
config)
Since the stop and start are separately protected by the lock on
config.xml, we need to wait for some time to hopefully let the
icegridnode process release the file locks. |
source code
|
|
|
|
|
|
|
waitup(self,
args)
Loops 30 times with 10 second pauses waiting for status() to return
0. |
source code
|
|
|
waitdown(self,
args)
Returns true if the server went down |
source code
|
|
|
loops_and_wait(self,
args)
If present, get the wait time from the args argument and calculate
the number of loops and the wait time needed. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
can_access(self,
filepath,
mask=os.R_OK | os.W_OK)
Check that the given path belongs to or is accessible by the current
user on Linux systems. |
source code
|
|
|
check_access(self,
mask=os.R_OK | os.W_OK,
config=None)
Check that 'var' is accessible by the current user. |
source code
|
|
|
check_node(self,
args)
If the args argparse.Namespace argument has no "node"
attribute, then assign one. |
source code
|
|
|
|
|
open_config(self,
unused)
Callers are responsible for closing the returned ConfigXml object. |
source code
|
|
|
|
|
|
|
|
|
|
Inherited from cli.BaseControl :
__init__
Inherited from cli.BaseControl (private):
_ask_for_password ,
_cfglist ,
_complete2 ,
_complete_file ,
_host ,
_icecfg ,
_icedata ,
_initDir ,
_intcfg ,
_isWindows ,
_nodedata ,
_pid ,
_properties ,
_regdata
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|