Feature #303
Environment for system validators
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-nethgui | |||
Target version: | Sigma | |||
Resolution: | NEEDINFO: |
Description
A new system validation API is required to separate the domain-specific validation logic and the GUI logic.
- Add an
/etc/e-smith/validators
directory to place the validator scripts - Add
/sbin/e-smith/validate
command to invoke the scripts - Add a
script()
method toNethGui_Core_Validator
class
Related issues
Associated revisions
Refs #303. Nethgui_Core_HostConfigurationInterface: new signalEvent() signature.
- signalEvent now returns a Nethgui_Core_SystemCommandInterface object to obtain the command output and exit status.
- added exec() operation