summaryrefslogtreecommitdiffstats
path: root/cli/objects/images.py
Commit message (Collapse)AuthorAgeFilesLines
* Add 'restore image' commandJose M. Guisado2021-03-301-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds cli capability to send image restore commands to the ogServer. It has the following options: --id To specify image id --disk Target disk --part Target partition --type To specify type of restore to send. UNICAST-DIRECT or UNICAST-CACHE are supported as of this patch. --repo Optional argument to specify image repo to fetch the image. This applies for UNICAST-DIRECT cases. (not restoring from a cache partition). If not specified it will default to rest.URL ip (ie. ogServer ip) --client-ip, --room-id and --center-id Target client args
* Add list imagesJose M. Guisado2021-03-301-0/+14
ogServer exposes a list of known partition images at /images, use it to implement 'list images' command.