mdb: add a machine status field
Issue #41
open
A machine status field will help us report any problem we have with a machine to the Bocal.
Suggested fields to add:
- BooleanField is_faulty
- TextField is_faulty_details
Side issues:
- Integration with the usermap
- Display the issue on the screen if the machine is booted (integration with netboot ie. the high tech version of a post-it)
Comments (9)
-
-
reporter I suggest keeping it simple.
-
reporter @serialk @Dettorer what do you think?
-
I prefer the boolean field. Though I would rather name it "is_faulty" (for example) as the problem may not make the machine completely unusable while still needing to be reported.
-
reporter - changed title to mdb: add a machine status field
- edited description
-
-
assigned issue to
-
assigned issue to
-
Waiting for pull request #5 to be reviewed, as it introduced changes in mdb models (and migrations).
-
Added in 89647ff74f32. Keeping this issue open for the side tasks.
-
- changed status to open
- Log in to comment
I suggest something more generic:
EnumField state {WORKING, MAINTENANCE, OUTOFORDER}
TextField state_details
As such,
is_usable ← state == WORKING
.