g5k: Implement the g5k metadata bundler
see: https://www.grid5000.fr/w/Grid5000_Metadata_Bundler
We'd want to have this in EnOSlib as a method of the G5k provider:
Examples:
g5k = en.G5k(conf)
roles, networks = g5k.init()
...
# do your stuffs
# at the end bundle the metadata information of your jobs:
g5k.bundle()
Hints: g5k.bundle()
should bundle the metadata. Note that there might be several jobs (and sites) encapsulated in the provider instance.
Implementation:
- Either we call the
g5k-metadata-bundle
program on the frontend(s) - Either we reimplement all the necessary API calls
I'd maybe go for 1. first