def generate_tasks_fun(instance):
     tasks = _host_post_start(instance)
     for subnode in instance.get_contained_subgraph():
         tasks.append(
             subnode.execute_operation(
                 'cloudify.interfaces.monitoring.start'))
     return tasks
 def generate_tasks_fun(instance):
     tasks = _host_post_start(instance)
     for subnode in instance.get_contained_subgraph():
         tasks.append(
             subnode.execute_operation(
                 'cloudify.interfaces.monitoring.start')
         )
     return tasks
 def generate_tasks_fun(instance):
     return _host_post_start(instance) + [
         instance.execute_operation(
             'cloudify.interfaces.monitoring.start')
     ]