AppController/djinn.rb
# An Array of DjinnJobData objects, each of which containing information about
# a node in the currently running AppScale deployment.
An Array of DjinnJobData objects, each of which containing information about
a node in the currently running AppScale deployment.
An Array of DjinnJobData objects each of which containing information about a node in the currently running AppScale deployment .
def remove_role(old_role, secret)
    return BAD_SECRET_MSG unless valid_secret?(secret)
    my_node.remove_roles(old_role)
    stop_roles = old_role.split(":")
    stop_roles.each { |role|
      Djinn.log_info("Removing and stopping role #{role}")
      send("stop_#{role}".to_sym)
    }
    return "OK"
  end
def remove_role ( old_role , secret ) return BAD_SECRET_MSG unless valid_secret? ( secret ) my_node . remove_roles ( old_role ) stop_roles = old_role . split ( ":" ) stop_roles . each { | role | Djinn . log_info ( "Removing and stopping role #{role}" ) send ( "stop_#{role}" . to_sym ) } return "OK" end
An Array of DjinnJobData objects, each of which containing information about
a node in the currently running AppScale deployment.
An Array of DjinnJobData objects each of which containing information about a node in the currently running AppScale deployment .
old_role
<not_specific>
secret
<not_specific>