Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list
N/A N/A 
Copyright (c) 2013 Qin Xuye <qin@qinxuye.me>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Created on 2015-2-17

@author: chine
 cola.commands Command cola.context Context cola.core.utils get_ip cola.core.logs get_logger MasterCommand N/A Command N/A __init__ N/A N/A self N/A N/A N/A N/A self logger N/A get_logger cola_master_command N/A add_arguments N/A N/A self parser N/A N/A N/A ip N/A get_ip N/A N/A self master_parser N/A N/A parser add_parser master help master commands N/A N/A N/A N/A self master_parser add_argument -w --working metavar working dir nargs ? help master working dir N/A N/A N/A N/A self master_parser add_argument -s --start metavar master address nargs ? const ip help master address(in the former of `ip:port` or `ip`) N/A N/A N/A N/A self master_parser add_argument -k --kill metavar master address nargs ? const ip help master to kill(in the former of `ip:port` or `ip`) N/A N/A N/A N/A self master_parser add_argument -l --list metavar master address nargs ? const ip help list workers(in the former of `ip:port` or `ip`) N/A N/A N/A N/A self master_parser set_defaults func N/A self run N/A run N/A N/A self args N/A N/A N/A N/A N/A args start None N/A N/A ctx N/A Context is_master True master_addr N/A args start working_dir N/A args working N/A N/A N/A ctx start_master N/A N/A N/A N/A self logger info N/A start master at: %s N/A ctx master_addr N/A N/A N/A N/A args kill None N/A N/A ctx N/A Context is_client True master_addr N/A args kill N/A N/A N/A ctx kill_master N/A N/A N/A N/A self logger info N/A kill master at: %s N/A ctx master_addr N/A N/A N/A N/A args list None N/A N/A ctx N/A Context is_client True master_addr N/A args list N/A N/A N/A N/A self logger info N/A list workers at master: %s N/A ctx master_addr N/A N/A worker status N/A N/A ctx list_workers N/A N/A N/A N/A N/A self logger info N/A ====> worker: %s, status: %s N/A worker status N/A N/A N/A N/A N/A self logger error unknown command options N/A N/A