Page MenuHomeVyOS Platform

Use a special directory inside the appliance program_dir for validators
Open, NormalPublicENHANCEMENT

Description

Right now the prorotype assumes that mapping of external validators to their executables is loaded into a hashtable, though no actual loading code exists and tests use a hashtable constructed by hand.
It seems like we don't really need it anyway, since a) being useless to end users, the validator executables have nothing to do in */bin dirs and something like /usr/libexec/vyos/validators seems to be the best place for them and b) validator definition files would contain just their names and paths to their executable, which makes them quite superflous.

Details

Difficulty level
Easy (less than an hour)

Event Timeline

dmbaturin changed the edit policy from "Task Author" to "Subscribers".
syncer changed the subtype of this task from "Task" to "Enhancement".Oct 20 2018, 7:10 AM