Package omero :: Package plugins :: Module admin :: Class AdminControl
[hide private]
[frames] | no frames]

Class AdminControl

source code


Instance Methods [hide private]
 
_complete(self, text, line, begidx, endidx)
Returns a file after "deploy", "start", or "startasync" and otherwise delegates to the BaseControl
source code
 
_configure(self, parser) source code
 
events(self, svc_name) source code
 
_query_service(self, svc_name)
Query the service Required to check the stdout since rcode is not non-0
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
 
_descript(self, args) 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
 
start(self, args, config) source code
 
deploy(self, args, config) source code
 
status(self, args, node_only=False) source code
 
restart(self, args, config) source code
 
restartasync(self, args, config) source code
 
waitup(self, args) source code
 
waitdown(self, args)
Returns true if the server went down
source code
 
stopasync(self, args, config)
Returns true if the server was already stopped
source code
 
stop(self, args, config) source code
 
check(self, args) source code
 
ice(self, args) source code
 
diagnostics(self, args) source code
 
session_manager(self, communicator) source code
 
check_node(self, args)
If the args argparse.Namespace argument has no "node" attribute, then assign one.
source code
 
check_ice(self)
Checks for Ice version 3.3
source code
 
open_config(self, unused)
Callers are responsible for closing the returned ConfigXml object.
source code
 
reindex(self, args, config) source code
 
ports(self, args) source code
 
cleanse(self, args) source code

Inherited from cli.BaseControl: __init__

Method Details [hide private]

_complete(self, text, line, begidx, endidx)

source code 

Returns a file after "deploy", "start", or "startasync" and otherwise delegates to the BaseControl

Overrides: cli.BaseControl._complete

_node(self, omero_node=None)

source code 

Overrides the regular node() logic to return the value of OMERO_MASTER or "master"

Overrides: cli.BaseControl._node

startasync(self, args, config)

source code 

First checks for a valid installation, then checks the grid, then registers the action: "node HOST start"

Decorators:
  • @with_config

start(self, args, config)

source code 
Decorators:
  • @with_config

deploy(self, args, config)

source code 
Decorators:
  • @with_config

restart(self, args, config)

source code 
Decorators:
  • @with_config

restartasync(self, args, config)

source code 
Decorators:
  • @with_config

stopasync(self, args, config)

source code 

Returns true if the server was already stopped

Decorators:
  • @with_config

stop(self, args, config)

source code 
Decorators:
  • @with_config

check_ice(self)

source code 

Checks for Ice version 3.3

See ticket:2514

reindex(self, args, config)

source code 
Decorators:
  • @with_config