-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design of replacing flash.sh script with Python script reusing OSFV lib #82
Comments
Maybe there is no need for another script, and we could somehow use I think resolving this Dasharo/osfv-scripts#57 and possible also adding one or two more features, could help to achieve this. We need to first take a look at possible solutions and decide on something. |
It could be done by installing And, most importantly, the issue Dasharo/osfv-scripts#57, must be solved, otherwise this issue could not be solved. Plan:
|
Could be done, but what would be the main benefit? I would also avoid switching to HTTP just for localhost. It would need to be done in general. BTW, we already have some of it implemented: https://github.com/3mdeb/RteCtrl/tree/master/pkg/flashromControl
Correct, at minimum some additional flag to
This can in fact be added, but no currently active platforms needs it AFAIK. We do not use this option of this script. Low priority. |
I do not see any disadvantages of the SSH solution, therefore marked it as |
We do already have some Python module: https://github.com/Dasharo/osfv-scripts/blob/main/osfv_cli/src/osfv/libs/rte.py
which already implements what we need in this script: https://github.com/3mdeb/RteCtrl/pull/22/files
We should review both of them, and propose if/how we can achieve code reuse, by implementing local
flash.py
script on RTE, using the same module, simply using localhost address asrte_ip
.This script may reside in
osfv-scripts
repo.The text was updated successfully, but these errors were encountered: