Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list ClassDef bases body Expr Str Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr TryExcept body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return ListComp Dict Str Str Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Str comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str If NameLoad body If BoolOpOr CompareNotEq AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str CompareNotEq AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str CompareNotEq AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str CompareNotEq AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Return Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return Dict Str Str Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict If UnaryOpNot NameLoad body Return Dict For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body If CompareEq NameLoad AttributeLoad NameLoad attr body Continue If NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad ListLoad Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index Num Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If UnaryOpNot SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore ListLoad For NameStore NameLoad body If CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If BoolOpAnd CompareIn Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareNotEq AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore ListComp Call NameLoad keyword NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpOr CompareNotEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return ListLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Return AttributeLoad NameLoad attr orelse Return ListLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr If NameLoad body Return AttributeLoad NameLoad attr orelse Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr If NameLoad body Return AttributeLoad NameLoad attr orelse Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A logging N/A sys google.appengine.ext ndb google.appengine.api users app_dashboard_helper AppDashboardHelper app_dashboard_helper AppHelperException DashboardDataRoot N/A N/A ndb Model N/A N/A  A Datastore Model that contains information about the AppScale cloud
  itself, and is shown to users regardless of whether or not they are logged in.

  Fields:
    head_node_ip: A str that corresponds the hostname (IP or FQDN) of the
      machine that runs the nginx service, providing a full proxy to Google App
      Engine apps hosted in this cloud.
    table: A str containing the name of the database that we are using to
      implement support for the Datastore API (e.g., hypertable, cassandra).
    replication: An int that corresponds to the number of replicas present for
      each piece of data in the underlying datastore.
    timestamp: A timestamp of when this entity was created.
   N/A head_node_ip N/A N/A ndb StringProperty N/A table N/A N/A ndb StringProperty N/A replication N/A N/A ndb IntegerProperty N/A timestamp N/A N/A ndb DateTimeProperty auto_now True auto_now_add True N/A ServerStatus N/A N/A ndb Model N/A N/A  A Datastore Model that contains information about a single virtual machine
  running in this AppScale deployment.

  Fields:
    id: The hostname (IP or FQDN) corresponding to this machine. This field
      isn't explicitly defined because all ndb.Models have a str id that
      uniquely identifies them in the Datastore.
    cpu: The percent of CPU currently in use on this machine.
    memory: The percent of RAM currently in use on this machine.
    disk: The percent of hard disk space in use on this machine.
    roles: A list of strs, where each str corresponds to a service that this
      machine runs.
    timestamp: A timestamp of when this entity was created.
   N/A cpu N/A N/A ndb StringProperty N/A memory N/A N/A ndb StringProperty N/A disk N/A N/A ndb StringProperty N/A roles N/A N/A ndb StringProperty repeated True N/A timestamp N/A N/A ndb DateTimeProperty auto_now True auto_now_add True N/A RequestInfo N/A N/A ndb Model N/A N/A  A Datastore Model that stores a single measurement of the average number
  of requests per second that reach a Google App Engine application.

  Fields:
    app_id: A string, the application identifier.
    num_of_requests: The average number of requests per second that reached
      haproxy for a Google App Engine application.
    timestamp: The date and time when the AppController took the measurement
      of how many requests access haproxy for an App Engine app.
   N/A app_id N/A N/A ndb StringProperty required True N/A num_of_requests N/A N/A ndb FloatProperty N/A timestamp N/A N/A ndb DateTimeProperty N/A AppStatus N/A N/A ndb Model N/A N/A  A Datastore Model that contains information about where an application
  hosted in AppScale can be located, to display to users.

  Fields:
    name: The application ID associated with this Google App Engine app.
    url: A URL that points to an nginx server, which serves a full proxy to
      this Google App Engine app.
    timestamp: A timestamp of when this entity was created.
   N/A name N/A N/A ndb StringProperty N/A url N/A N/A ndb StringProperty repeated True N/A timestamp N/A N/A ndb DateTimeProperty auto_now True auto_now_add True N/A UserInfo N/A N/A ndb Model N/A N/A  A Datastore Model that contains information about users who have signed up
  for accounts in this AppScale deployment.

  Fields:
    id: A str that contains the e-mail address the user signed up with. This
      field isn't explicitly defined because all ndb.Models have a str id that
      uniquely identifies them in the Datastore.
    is_user_cloud_admin: A bool that indicates if the user is authorized to
      perform any action on this AppScale cloud (e.g., remove any app, view all
      logs).
    can_upload_apps: A bool that indicates if the user is authorized to upload
      Google App Engine applications to this AppScale cloud via the web
      interface.
    owned_apps: A list of strs, where each str represents an application ID
      that the user has administrative rights on.
    timestamp: A timestamp of when this entity was created.
   N/A is_user_cloud_admin N/A N/A ndb BooleanProperty N/A can_upload_apps N/A N/A ndb BooleanProperty N/A owned_apps N/A N/A ndb StringProperty repeated True N/A timestamp N/A N/A ndb DateTimeProperty auto_now True auto_now_add True N/A InstanceInfo N/A N/A ndb Model N/A N/A  A Datastore Model that contains information about AppServer processes that
  are running Google App Engine applications in this AppScale deployment.

  Fields:
    appid: A str that names that application ID this instance is running an app
      for. We avoid setting the appid as the Model's id here because multiple
      AppServers can run for the same appid.
    host: A str that names the IP address or FQDN of the machine that runs this
      instance.
    port: An int that indicates what port this AppServer process is bound to
      on the given hostname. Note that this port is firewalled off to outside
      traffic, so users cannot access the AppServer by visiting host:port in a
      browser.
    language: A str that indicates if this instance is running a Python, Java,
      Go, or PHP App Engine application.
    timestamp: A timestamp of when this entity was created.
   N/A appid N/A N/A ndb StringProperty N/A host N/A N/A ndb StringProperty N/A port N/A N/A ndb IntegerProperty N/A language N/A N/A ndb StringProperty N/A timestamp N/A N/A ndb DateTimeProperty auto_now True auto_now_add True N/A AppDashboardData N/A N/A N/A  AppDashboardData leverages ndb (which itself utilizes Memcache and the
  Datastore) to implement a cache in front of SOAP-exposed services provided
  by the AppController.  N/A ROOT_KEYNAME AppDashboard N/A MONITOR_PORT 8050 N/A FLOWER_PORT 5555 N/A MONIT_PORT 2812 N/A NO_APPS_RUNNING none __init__ N/A N/A self helper N/A None N/A N/A  Creates a new AppDashboard, which will cache SOAP-exposed information
    provided to us by the AppDashboardHelper.

    Args:
      helper: An AppDashboardHelper, which will perform SOAP calls to the
        AppController whenever the AppDashboardData needs to update its caches.
        If None is provided here, then the AppDashboardData will create a new
        AppDashboardHelper to talk to the AppController.
     N/A N/A self helper N/A helper N/A AppDashboardHelper N/A get_by_id N/A N/A self model key_name N/A N/A N/A  Retrieves an object from the datastore, referenced by its keyname.

    ndb does provide a method of the same name that does this, but we ran into
    issues mocking out both ModelName() and ModelName.get_by_id() in the same
    unit test, so using this level of indirection lets us mock out both without
    issues.

    Args:
      model: The ndb.Model that the requested object belongs to.
      key_name: A str that corresponds to the the Model's key name.
    Returns:
      The object with the given keyname, or None if that object does not exist.
     N/A N/A N/A model get_by_id key_name N/A get_all N/A N/A self obj keys_only N/A False N/A N/A  Retrieves all objects from the datastore for a given model, or all of
    the keys for those objects.

    Args:
      model: The ndb.Model that the requested object belongs to.
      keys_only: A bool that indicates that only keys should be returned,
        instead of the actual objects.
    Returns:
      A list of keys (if keys_only is True), or a list of objects in the given
      model (if keys_only is False).
     N/A N/A N/A N/A N/A obj query fetch keys_only keys_only N/A update_all N/A N/A self N/A N/A N/A  Queries the AppController to learn about the currently running
    AppScale deployment.

    This method stores all information it learns about this deployment in
    the Datastore, to speed up future accesses to this data.
     N/A N/A N/A self update_head_node_ip N/A N/A N/A self update_database_info N/A N/A N/A self update_status_info N/A N/A N/A self update_application_info N/A N/A N/A self update_users N/A get_monitoring_url N/A N/A self N/A N/A N/A  Retrieves the URL where the AppMonitoring web service can be found in
    this AppScale deployment (typically on the login node).

    Returns:
      A str that contains a URL where low-level monitoring information is
      displayed to users.
     N/A N/A N/A http://{0}:{1} format N/A N/A self get_head_node_ip N/A self MONITOR_PORT N/A get_flower_url N/A N/A self N/A N/A N/A  Retrieves the URL where the Celery Flower web service can be found in
    this AppScale deployment (typically on the login node).

    Returns:
      A str that contains a URL where low-level monitoring information is
      displayed to users.
     N/A N/A N/A http://{0}:{1} format N/A N/A self get_head_node_ip N/A self FLOWER_PORT N/A get_monit_url N/A N/A self N/A N/A N/A  Retrieves the URL where the Monit Dashboard web service can be found in
    this AppScale deployment.

    Note that although a Monit Dashboard runs on each node, we will send users
    to the one on the login node.

    Returns:
      A str that names the URL where the services on the login node can be
      viewed, started, and stopped.
     N/A N/A N/A http://{0}:{1} format N/A N/A self get_head_node_ip N/A self MONIT_PORT N/A get_head_node_ip N/A N/A self N/A N/A N/A  Retrieves the IP address or FQDN where the machine running the
    shadow service can be found, via the Datastore.

    Returns:
      A str containing the IP address or FQDN of the shadow node.
     N/A dashboard_root N/A N/A self get_by_id DashboardDataRoot N/A self ROOT_KEYNAME N/A N/A dashboard_root N/A N/A dashboard_root head_node_ip None N/A N/A N/A dashboard_root head_node_ip N/A N/A N/A N/A self update_head_node_ip N/A update_head_node_ip N/A N/A self N/A N/A N/A  Updates the Datastore with the IP address or FQDN of the node running
    the shadow service.

    This update is only performed if there is no data in the Datastore about the
    current location of the head node, as this is unlikely to dynamically change
    at this time.

    Returns:
      A str containing the IP address or FQDN of the shadow node, or None if
      there was an error updating the head node's IP address.
     N/A dashboard_root N/A N/A self get_by_id DashboardDataRoot N/A self ROOT_KEYNAME N/A N/A dashboard_root N/A N/A dashboard_root head_node_ip None N/A N/A N/A dashboard_root head_node_ip N/A N/A N/A N/A dashboard_root None N/A N/A dashboard_root N/A DashboardDataRoot id N/A self ROOT_KEYNAME N/A N/A dashboard_root head_node_ip N/A N/A N/A self helper get_host_with_role shadow N/A N/A N/A dashboard_root put N/A N/A dashboard_root head_node_ip N/A N/A N/A Exception N/A err N/A N/A N/A N/A logging exception err N/A None N/A get_status_info N/A N/A self N/A N/A N/A  Retrieves the current status of each machine in this AppScale deployment
    from the Datastore.

    Returns:
      A list of dicts, where each dict contains information about one machine
        in this AppScale deployment.
     N/A servers N/A N/A self get_all ServerStatus N/A N/A N/A ip cpu memory disk roles key N/A N/A N/A server key id N/A server cpu N/A server memory N/A server disk N/A server roles N/A N/A N/A N/A N/A server key id translate None . N/A server servers N/A update_status_info N/A N/A self N/A N/A N/A  Queries the AppController to get status information for all servers in
    this deployment, storing it in the Datastore for later viewing.
     N/A N/A N/A nodes N/A N/A N/A N/A N/A self helper get_appcontroller_client get_stats N/A updated_statuses N/A N/A node nodes N/A N/A status N/A N/A self get_by_id ServerStatus N/A node N/A ip N/A status N/A N/A N/A N/A N/A status cpu N/A str N/A node N/A cpu N/A N/A status memory N/A str N/A node N/A memory N/A N/A status disk N/A str N/A node N/A disk N/A N/A status roles N/A node N/A roles N/A N/A N/A status cpu N/A str N/A node N/A cpu N/A N/A status memory N/A str N/A node N/A memory N/A N/A status disk N/A str N/A node N/A disk N/A N/A status roles N/A node N/A roles N/A N/A N/A updated_statuses append status N/A N/A status N/A ServerStatus id N/A node N/A ip N/A N/A status cpu N/A str N/A node N/A cpu N/A N/A status memory N/A str N/A node N/A memory N/A N/A status disk N/A str N/A node N/A disk N/A N/A status roles N/A node N/A roles N/A N/A N/A updated_statuses append status N/A N/A N/A ndb put_multi updated_statuses N/A N/A N/A Exception N/A err N/A N/A N/A N/A logging exception err N/A get_database_info N/A N/A self N/A N/A N/A  Retrieves the name of the database used to implement the Datastore API
    in this AppScale deployment, as well as the number of replicas stored for
    each piece of data.

    Returns:
      A dict containing the name of the database used (a str), as well as the
      number of replicas for each piece of data (an int).
     N/A dashboard_root N/A N/A self get_by_id DashboardDataRoot N/A self ROOT_KEYNAME N/A N/A dashboard_root N/A N/A dashboard_root table None N/A N/A dashboard_root replication None N/A N/A N/A table replication N/A dashboard_root table N/A dashboard_root replication N/A N/A N/A N/A self update_database_info N/A update_database_info N/A N/A self N/A N/A N/A  Queries the AppController for information about what datastore is used
    to implement support for the Google App Engine Datastore API, placing this
    info in the Datastore for later viewing.

    This update is only performed if there is no data in the Datastore about the
    current location of the head node, as this is unlikely to dynamically change
    at this time.

    Returns:
      A dict containing the name of the database used (a str), as well as the
      number of replicas for each piece of data (an int).
     N/A dashboard_root N/A N/A self get_by_id DashboardDataRoot N/A self ROOT_KEYNAME N/A N/A dashboard_root N/A N/A dashboard_root table None N/A N/A dashboard_root replication None N/A N/A N/A table replication N/A dashboard_root table N/A dashboard_root replication N/A N/A N/A acc N/A N/A N/A self helper get_appcontroller_client N/A db_info N/A N/A acc get_database_information N/A N/A dashboard_root None N/A N/A dashboard_root N/A DashboardDataRoot id N/A self ROOT_KEYNAME N/A N/A dashboard_root table N/A db_info N/A table N/A N/A dashboard_root replication N/A int N/A db_info N/A replication N/A N/A N/A dashboard_root put N/A N/A table replication N/A dashboard_root table N/A dashboard_root replication N/A N/A N/A Exception N/A err N/A N/A N/A N/A logging exception err N/A N/A table replication unknown 0 N/A get_application_info N/A N/A self N/A N/A N/A  Retrieves a list of Google App Engine applications running in this
      AppScale deployment, along with the URL that users can access them at.
    
    Returns:
      A dict, where each key is a str indicating the name of a Google App Engine
      application, and each value is either a str, indicating the URL where the
      application is running, or None, if the application has been uploaded but
      is not yet running (e.g., it is loading).
     N/A N/A dict N/A N/A N/A app name N/A app url N/A app N/A N/A self get_all AppStatus N/A delete_app_from_datastore N/A N/A self app email N/A None N/A N/A  Removes information about the named app from the datastore and, if
      necessary, the list of applications that this user owns.

    Args:
      app: A str that corresponds to the appid of the app to delete.
      email: A str that indicates the e-mail address of the administrator of
        this application, or None if the currently logged-in user is the admin.
    Returns:
      A UserInfo object for the user with the specified e-mail address, or if
        None was provided, the currently logged in user.
     N/A N/A email None N/A N/A user N/A N/A users get_current_user N/A N/A user N/A N/A None N/A email N/A N/A user email N/A N/A N/A app_status N/A N/A self get_by_id AppStatus app N/A app_status N/A N/A N/A N/A N/A app_status key delete N/A user_info N/A N/A self get_by_id UserInfo email N/A user_info N/A N/A N/A app N/A user_info owned_apps N/A N/A N/A N/A N/A user_info owned_apps remove app N/A N/A N/A user_info put N/A user_info N/A N/A N/A Exception N/A err N/A N/A N/A N/A logging exception err N/A None N/A update_application_info N/A N/A self N/A N/A N/A  Queries the AppController for information about which Google App Engine
    applications are currently running, and if they are done loading, the URL
    that they can be accessed at, storing this info in the Datastore for later
    viewing.

    Returns:
      A dict, where each key is a str indicating the name of a Google App Engine
      application running in this deployment, and each value is either a str
      indicating the URL that the app can be found at, or None, if the
      application is still loading.
     N/A N/A N/A status_on_all_nodes N/A N/A N/A self helper get_status_info N/A app_names_and_urls N/A N/A N/A status_on_all_nodes N/A N/A N/A N/A status status_on_all_nodes N/A N/A N/A app done_loading N/A N/A N/A status N/A apps iteritems N/A N/A N/A app N/A self NO_APPS_RUNNING N/A N/A N/A done_loading N/A N/A N/A N/A host_url N/A N/A N/A self helper get_login_host N/A ports N/A N/A N/A self helper get_app_ports app N/A N/A app_names_and_urls N/A app N/A N/A N/A http://{0}:{1} format host_url N/A ports N/A 0 N/A N/A https://{0}:{1} format host_url N/A ports N/A 1 N/A N/A N/A AppHelperException N/A N/A N/A app_names_and_urls N/A app None N/A N/A N/A app_names_and_urls N/A app None N/A all_apps N/A N/A self get_all AppStatus N/A all_app_names_were_running N/A N/A N/A N/A app key id N/A app all_apps N/A all_app_names_are_running N/A app N/A app N/A N/A app_names_and_urls keys N/A app_names_to_delete N/A N/A app_name all_app_names_were_running N/A N/A N/A app_name all_app_names_are_running N/A N/A N/A N/A app_names_to_delete append app_name N/A N/A N/A N/A app_names_and_urls N/A app_name N/A N/A N/A N/A app_names_to_delete append app_name N/A app_names_to_delete N/A N/A apps_to_delete N/A N/A app all_apps N/A N/A N/A N/A app name app_names_to_delete N/A N/A N/A N/A apps_to_delete append N/A app key N/A N/A N/A ndb delete_multi apps_to_delete N/A app_names_to_add N/A N/A app_name all_app_names_are_running N/A N/A N/A app_name all_app_names_were_running N/A N/A N/A N/A app_names_to_add append app_name N/A N/A N/A app_names_and_urls N/A app_name N/A N/A N/A N/A app_names_to_add append app_name N/A app all_apps N/A N/A N/A N/A N/A N/A N/A app key id all_app_names_are_running N/A N/A app url N/A app_names_and_urls N/A N/A N/A N/A app key id N/A N/A N/A N/A app_names_to_add append app_name N/A app_names_to_add N/A N/A apps_to_add N/A N/A AppStatus id app name app url N/A app_names_and_urls N/A app N/A app app_names_to_add N/A N/A N/A ndb put_multi apps_to_add N/A app_names_and_urls N/A N/A N/A Exception N/A err N/A N/A N/A N/A logging exception err N/A N/A N/A update_users N/A N/A self N/A N/A N/A  Queries the UserAppServer for information every user account registered
    in this AppScale deployment, storing this info in the Datastore for later
    viewing.

    Returns:
      A list of UserInfo objects, where each UserInfo corresponds to a user
      account registered in this AppScale deployment. This list will be empty if
      there was a problem accessing user information from the UserAppServer.
     N/A user_list N/A N/A N/A N/A all_users_list N/A N/A N/A self helper list_all_users N/A users_to_update N/A N/A email all_users_list N/A N/A user_info N/A N/A self get_by_id UserInfo email N/A user_info N/A N/A is_user_cloud_admin N/A N/A N/A self helper is_user_cloud_admin email N/A can_upload_apps N/A N/A N/A self helper can_upload_apps email N/A owned_apps N/A N/A N/A self helper get_owned_apps email N/A N/A N/A N/A user_info is_user_cloud_admin is_user_cloud_admin N/A N/A user_info can_upload_apps can_upload_apps N/A N/A user_info owned_apps owned_apps N/A N/A N/A user_info is_user_cloud_admin is_user_cloud_admin N/A N/A user_info can_upload_apps can_upload_apps N/A N/A user_info owned_apps owned_apps N/A N/A N/A users_to_update append user_info N/A N/A N/A user_list append user_info N/A N/A user_info N/A UserInfo id email N/A N/A user_info is_user_cloud_admin N/A N/A N/A self helper is_user_cloud_admin email N/A N/A user_info can_upload_apps N/A N/A N/A self helper can_upload_apps email N/A N/A user_info owned_apps N/A N/A N/A self helper get_owned_apps email N/A N/A N/A users_to_update append user_info N/A N/A N/A user_list append user_info N/A N/A N/A ndb put_multi users_to_update N/A user_list N/A N/A N/A Exception N/A err N/A N/A N/A N/A logging exception err N/A N/A N/A get_owned_apps N/A N/A self N/A N/A N/A  Queries the UserAppServer to see which Google App Engine applications
    the currently logged in user has administrative permissions on.

    Returns:
      A list of strs, where each str corresponds to an appid that this user
      can administer. Returns an empty list if this user isn't logged in.
     N/A user N/A N/A users get_current_user N/A N/A user N/A N/A N/A N/A email N/A N/A user email N/A N/A N/A user_info N/A N/A self get_by_id UserInfo email N/A user_info N/A N/A N/A user_info owned_apps N/A N/A N/A N/A N/A N/A Exception N/A err N/A N/A N/A N/A logging exception err N/A N/A N/A is_user_cloud_admin N/A N/A self N/A N/A N/A  Queries the UserAppServer to see if the currently logged in user has the
    authority to administer this AppScale deployment.

    Returns:
      True if the currently logged in user is a cloud administrator, and False
      otherwise (or if the user isn't logged in).
     N/A user N/A N/A users get_current_user N/A N/A user N/A N/A False N/A N/A N/A user_info N/A N/A self get_by_id UserInfo N/A N/A user email N/A user_info N/A N/A N/A user_info is_user_cloud_admin N/A N/A False N/A N/A N/A Exception N/A err N/A N/A N/A N/A logging exception err N/A False N/A can_upload_apps N/A N/A self N/A N/A N/A  Queries the UserAppServer to see if the currently logged in user has the
    authority to upload Google App Engine applications on this AppScale
    deployment.

    Returns:
      True if the currently logged in user can upload Google App Engine
      applications, and False otherwise (or if the user isn't logged in).
     N/A user N/A N/A users get_current_user N/A N/A user N/A N/A False N/A N/A N/A user_info N/A N/A self get_by_id UserInfo N/A N/A user email N/A user_info N/A N/A N/A user_info can_upload_apps N/A N/A False N/A N/A N/A Exception N/A err N/A N/A N/A N/A logging exception err N/A False N/A N/A