sonic-buildimage/files/image_config/corefile_uploader
Renuka Manavalan 3ab4b71656
Corefile uploader service (#3887)
* Corefile uploader service

1) A service is added to watch /var/core and upload to Azure storage
2) The service is disabled on boot. One may enable explicitly.
3) The .rc file to be updated with acct credentials and http proxy to use.
4) If service is enabled with no credentials, it would sleep, with periodic log messages
5) For any update in .rc, the service has to be restarted to take effect.

* Remove rw permission for .rc file for group & others.

* Changes per review comments.
Re-ordered .rc file per JSON.dump order.
Added a script to enable partial update of .rc, which HWProxy would use to add acct key.

* Azure storage upload requires python module futures, hence added it to install list.

* Removed trailing spaces.

* A mistake in name corrected.
Copy the .rc updater script to /usr/bin.
2019-12-15 16:48:48 -08:00
..
core_analyzer.rc.json Corefile uploader service (#3887) 2019-12-15 16:48:48 -08:00
core_uploader.py Corefile uploader service (#3887) 2019-12-15 16:48:48 -08:00
core_uploader.service Corefile uploader service (#3887) 2019-12-15 16:48:48 -08:00
update_json.py Corefile uploader service (#3887) 2019-12-15 16:48:48 -08:00