def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) # set the full name of the task 'group.command' self.name = 'reference.test' self.args = all_args self.runner_cfg = runner_cfg
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'user.list' self.args = all_args self.runner_cfg = runner_cfg self.username = self.args.get('username')
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = "user.list" self.args = all_args self.runner_cfg = runner_cfg self.username = self.args.get("username")
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'planet.describe' self.args = all_args self.runner_cfg = runner_cfg self.planet = None
def __init__(self, all_args, runner_cfg): SkyTask.__init__(self, all_args, runner_cfg) #self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'render.single_template' self.args = all_args self.runner_cfg = runner_cfg
def __init__(self, all_args, runner_cfg): SkyTask.__init__(self, all_args, runner_cfg) #self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'render.full_standard' self.args = all_args self.runner_cfg = runner_cfg
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'service.delete_stacks_state' self.args = all_args self.runner_cfg = runner_cfg self.planet = None self.runtime = SkyRuntime(apply=all_args.get('apply', False))
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'service.record_state' self.args = all_args self.runner_cfg = runner_cfg self.planet = None self.stacks = self.args['stacks']
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'user.delete' self.args = all_args self.runner_cfg = runner_cfg self.apply = self.args.get('apply') self.username = self.args.get('username')
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'state.read' self.args = all_args self.runner_cfg = runner_cfg self.mode = self.args.get('exec_mode') self.format = self.args.get('format') self.id = self.args.get('skybase_id')
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'user.update' self.args = all_args self.runner_cfg = runner_cfg self.apply = self.args.get('apply') self.username = self.args.get('username') self.role = self.args.get('role') self.email = self.args.get('email')
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'user.reset_secret' self.args = all_args self.runner_cfg = runner_cfg self.apply = self.args.get('apply') # initialize command options as attributes self.username = self.args.get('username') # if --secret not provide, generate a new one self.secret = self.args.get('secret')
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'user.add' self.args = all_args self.runner_cfg = runner_cfg self.apply = self.args.get('apply') self.username = self.args.get('username') self.role = self.args.get('role') self.email = self.args.get('email') self.secret = self.args.get('secret')
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'service.delete_stacks' self.args = all_args self.runner_cfg = runner_cfg self.planet = None # create runtime object with command options self.runtime = SkyRuntime(tag=all_args.get('tag'), apply=all_args.get('apply', False)) # initialize stack deletion process drivers self.stack_deletion_list = [] self.stack_deletion_info = dict()
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'service.deploy' self.args = all_args self.runner_cfg = runner_cfg # required attributes derived from command arguments self.planet = None self.service = None # create runtime object with command options self.runtime = SkyRuntime(tag=all_args.get('tag'), apply=all_args.get('apply', False)) self.system = SkySystem()
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'service.delete_stacks' self.args = all_args self.runner_cfg = runner_cfg self.planet = None # create runtime object with command options self.runtime = SkyRuntime( tag=all_args.get('tag'), apply=all_args.get('apply', False)) # initialize stack deletion process drivers self.stack_deletion_list = [] self.stack_deletion_info = dict()
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'service.deploy' self.args = all_args self.runner_cfg = runner_cfg # required attributes derived from command arguments self.planet = None self.service = None # create runtime object with command options self.runtime = SkyRuntime( tag=all_args.get('tag'), apply=all_args.get('apply', False)) self.system = SkySystem()
def __init__(self, all_args, runner_cfg): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'pack.submit' self.args = all_args self.runner_cfg = runner_cfg self.aws_access_key_id = None self.aws_secret_access_key = None if self.args['base_dir']: self.base_dir = self.args['base_dir'] if self.base_dir.split('/')[-1] is not 'skybase': self.base_dir = os.path.join(self.base_dir, 'skybase') else: self.tdir = tempfile.mkdtemp() self.base_dir = os.path.join(self.tdir, 'skybase') self.tmp_dir = os.path.join(self.base_dir, 'tmp') if not os.path.exists(self.tmp_dir): os.makedirs(self.tmp_dir)
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = "service.update" self.args = all_args self.runner_cfg = runner_cfg # required attributes derived from command arguments self.mode = self.args.get("exec_mode", False) self.runtime = SkyRuntime(apply=self.args.get("apply", False)) self.system = SkySystem() self.chef_type = None self.id = self.args.get("skybase_id") self.target_service = None self.target_planet = None self.source_artiball = self.args.get("source_artiball") self.source_service = None self.planet_name = self.args.get("planet_name") self.planet = None self.update_plan = self.args.get("update_plan")
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'service.update' self.args = all_args self.runner_cfg = runner_cfg # required attributes derived from command arguments self.mode = self.args.get('exec_mode', False) self.runtime = SkyRuntime(apply=self.args.get('apply', False)) self.system = SkySystem() self.chef_type = None self.id = self.args.get('skybase_id') self.target_service = None self.target_planet = None self.source_artiball = self.args.get('source_artiball') self.source_service = None self.planet_name = self.args.get('planet_name') self.planet = None self.update_plan = self.args.get('update_plan')
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'service.get_ips' self.args = all_args self.runner_cfg = runner_cfg
def __init__(self, all_args, runner_cfg): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = "pack.upload" self.args = all_args self.runner_cfg = runner_cfg
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.WARNING) self.name = 'pack.create' self.args = all_args self.runner_cfg = runner_cfg
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__)) self.name = 'chef.delete_node' self.args = all_args self.runner_cfg = runner_cfg
def __init__(self, all_args, runner_cfg): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'pack.upload' self.args = all_args self.runner_cfg = runner_cfg
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'route.ping' self.args = all_args self.runner_cfg = runner_cfg
def __init__(self, all_args=None, runner_cfg=None): SkyTask.__init__(self, all_args, runner_cfg) self.logger = Logger(logging.getLogger(__name__), logging.INFO) self.name = 'chef.update_cookbooks' self.args = all_args self.runner_cfg = runner_cfg