pyfarm.agent.http.system module

pyfarm.agent.http.system.mb(value)[source]
pyfarm.agent.http.system.seconds(value)[source]
class pyfarm.agent.http.system.Index[source]

Bases: pyfarm.agent.http.core.resource.Resource

serves request for the root, ‘/’, target

TEMPLATE = 'index.html'
get(**kwargs)[source]
class pyfarm.agent.http.system.Configuration[source]

Bases: pyfarm.agent.http.core.resource.Resource

TEMPLATE = 'configuration.html'
HIDDEN_FIELDS = ('agent', 'agent_pretty_json')
EDITABLE_FIELDS = ('agent_cpus', 'agent_hostname', 'agent_http_retry_delay', 'master_api', 'master', 'agent_ram_check_interval', 'agent_ram', 'agent_ram_report_delta', 'agent_time_offset', 'state', 'agent_http_retry_delay')
get(**kwargs)[source]