pyfarm.agent.http.system module¶
-
class
pyfarm.agent.http.system.HTMLResource[source]¶ Bases:
pyfarm.agent.http.core.resource.Resource-
ALLOWED_CONTENT_TYPE= frozenset(['', 'text/html'])¶
-
ALLOWED_ACCEPT= frozenset(['*/*', 'text/html'])¶
-
-
class
pyfarm.agent.http.system.Index[source]¶ Bases:
pyfarm.agent.http.system.HTMLResourceserves request for the root, ‘/’, target
-
TEMPLATE= 'index.html'¶
-
-
class
pyfarm.agent.http.system.Configuration[source]¶ Bases:
pyfarm.agent.http.system.HTMLResource-
TEMPLATE= 'configuration.html'¶
-
HIDDEN_FIELDS= ('agent', 'agent_pretty_json')¶
-
EDITABLE_FIELDS= ('agent_cpus', 'agent_hostname', 'master_api', 'master', 'agent_ram_check_interval', 'agent_ram', 'agent_ram_report_delta', 'agent_time_offset', 'state', 'agent_http_retry_delay_factor', 'agent_http_retry_delay_offset')¶
-