store/load offline docker images 27/34427/2
authorMatthewLi <matthew.lijun@huawei.com>
Mon, 8 May 2017 09:28:15 +0000 (05:28 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Mon, 8 May 2017 10:34:51 +0000 (06:34 -0400)
commitc9df73bbec1a69abc04d0a4acac75aefd5842b0f
treeabbed115131b17388949b7c60d31f5c2e0275f43
parentb878b9407ecf605eb57a5a1c53c30a0d90da5ca7
store/load offline docker images

JIRA: DOVETAIL-423

usage:
1.cd ${DOVETAIL_HOME}/dovetail/utils/offline
2.edit config.yaml as needed
3.on onsite host, <python download.py>  --> save docker images to defined path
4.on offline host, <python load.py> ---> load docker images to offline env
5.this can be easily extended to other images beside docker images

Change-Id: I97d843e154ecf8d66cafb9ea9594fe73343ee591
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
dovetail/utils/offline/config.yaml [new file with mode: 0644]
dovetail/utils/offline/download.py [new file with mode: 0755]
dovetail/utils/offline/load.py [new file with mode: 0755]