def _get_convergence_plans(project, service_names):
 ret = {}
 plans = project._get_convergence_plans(project.get_services(service_names), ConvergenceStrategy.changed)
 for cont in plans:
  (action, container) = plans[cont]
  if (action == 'create'):
   ret[cont] = 'Creating container'
  elif (action == 'recreate'):
   ret[cont] = 'Re-creating container'
  elif (action == 'start'):
   ret[cont] = 'Starting container'
  elif (action == 'noop'):
   ret[cont] = 'Container is up to date'
 return ret

def _get_convergence_plans ( project , service_names ) : ret = { } plans = project . _get_convergence_plans ( project . get_services ( service_names ) , ConvergenceStrategy . changed ) for cont in plans : ( action , container ) = plans [ cont ] if ( action == 'create' ) : ret [ cont ] = 'Creating container' elif ( action == 'recreate' ) : ret [ cont ] = 'Re-creating container' elif ( action == 'start' ) : ret [ cont ] = 'Starting container' elif ( action == 'noop' ) : ret [ cont ] = 'Container is up to date' return ret
get action executed for each container .