pyfarm.models.core.cfg module

Configuration Variables

Stores basic configuration data related to tables and models. Most of these variables have defaults defined in the configuration under PYFARM_DB_<value>

const string TABLE_PREFIX:
 

Prefix for all tables

const string TABLE_SOFTWARE:
 

Stores the name of the table for software items

const string TABLE_TAG:
 

Stores the name of the table for tags

const string TABLE_AGENT:
 

Stores the name of the table for agents

const string TABLE_AGENT_TAGS:
 

Stores the name of the table for agent tags

const string TABLE_JOB:
 

Stores the name of the table for jobs

const string TABLE_JOB_TAG:
 

Stores the name of the table for job tags

const string TABLE_TASK:
 

Stores the name of the table for job tasks

const string TABLE_USER:
 

Stores the registered users (both human and api)

const string TABLE_ROLE:
 

Stores roles in which a user can operate in

const string TABLE_USERS_USER_ROLE:
 

Stores relationships between TABLE_USERS_USER and TABLE_ROLE

const string TABLE_JOB_QUEUES:
 

Stores the name of the table for job queues

const string TABLE_PATH_MAP:
 

Stores the name of the table for path maps

const integer MAX_HOSTNAME_LENGTH:
 

the max length of a hostname

const integer MAX_JOBTYPE_LENGTH:
 

the max length of a jobtype

const integer MAX_COMMAND_LENGTH:
 

the max length of a command (ex. bash or cmd.exe)

const integer MAX_USERNAME_LENGTH:
 

the max length of a username

const integer MAX_TAG_LENGTH:
 

the max length of a tag

Note

this value is shared amongst all tag columns and may be split into multiple values at a later time