cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.common Namespace Reference

Packages

namespace  hardware
 Cluster configuration.
namespace  signature
 Signatures handling for EC2 API for CC1.
namespace  states
 Dictionaries of the states' numbers and messages:
namespace  tools
namespace  utils

Functions

def response
 Returns dictionary which is the response for the request.

Variables

tuple log = logging.getLogger(__name__)

Detailed Description

Author
Gaetano
Date
Mar 18, 2013

Function Documentation

def src.common.response (   status,
  data = '' 
)

Returns dictionary which is the response for the request.

The dictionary contains 2 keys: status and data.

Definition at line 35 of file __init__.py.

Variable Documentation

tuple src.common.log = logging.getLogger(__name__)

Definition at line 27 of file __init__.py.