pyfarm.models.disk module

Disk Model

Model describing a given disk, with size and free space.

class pyfarm.models.disk.AgentDisk(**kwargs)[source]

Bases: flask_sqlalchemy.Model, pyfarm.models.core.mixins.UtilityMixins, pyfarm.models.core.mixins.ReprMixin

Stores information about a single disk belonging to an agent, including usage information.

agent
agent_id
free

Available space on the disk in bytes.

id

Provides an id for the current row. This value should never be directly relied upon and it’s intended for use by relationships.

mountpoint

The mountpoint of this disk on the agent (Drive letter for Windows agents)

size

The total capacity of this disk in bytes