nsg-ethz / autopower

A software suite to conveniently collect, gather, and display power measurement from networking hardware.
MIT License
2 stars 1 forks source link

Automate deployment of autopower devices further #9

Open UsualSpec opened 1 month ago

UsualSpec commented 1 month ago

We have a deployment process (https://github.com/nsg-ethz/autopower/blob/main/client/README.md) which requires some manual interaction:

This approach is non optimal and should be more automated. Agent forwarding could be an approach for signing the certs, but this is still manual.

UsualSpec commented 1 month ago

See https://github.com/nsg-ethz/autopower/blob/main/client/signCerts.sh

UsualSpec commented 1 month ago

@romain-jacob you'd maybe also want to consider the case of recreating/resigning the certificate after a year in signCerts.sh

See https://github.com/nsg-ethz/autopower/blob/cdb4c9212433088ddd614a17a9a198c33e689427/client/deploy/create_client_cert.sh#L10 on how the initial cert creation works.