Central Management: Initial Tests 0.1
Components
-
Central Management
pxcentral_backend(central) -
Set-Up Assistant
px-setup-assistant(setup) -
Remote Status Service
px-org-remote-status-service(status)
Tests
Round 1
Here we hope to test, what in future will be device deployments. We take the JSON central generates, and setup re-configures the device, to join the network.
-
centralgenerates JSON device config file (1) -
setupread JSON (config.scmshould be generated in the future) -
setupreconfigure device from templateconfig.scm
(1) The JSON file should reflect the config.scm used in 3.
Round 2
Here we hope to test, what in future will be the set-up assistant, for home users (or other uses-cases, away from central management). Also, it's a good opportunity to see, if our scheme R/W library works.
-
setupaccept 1x user as argument -
setupwriteconfig.scmfor PantherX Desktop -
setupreconfigures device
Bonus: Since user password tools on guix are the same as on any other Linux distro, let's try to add this to our set-up procedure, for testing:
- get for 1x user password
- use that, as root password for now
- set password for root before reboot
- set password for user after reboot (so user exists)
Note: Devices managed by Central Management, do not have a root password. The only way to administer them, is trough Central Management.
Round 3
Here we hope to test, what in future will be statistic and error reporting, from device to central.
-
statusreceive monit stats -
statusauthenticate againstcentral -
statussend device stats tocentral