Add openstack image list and cleanup cmds 47/4047/7
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 10 Mar 2017 02:51:46 +0000 (21:51 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 13 Mar 2017 20:55:23 +0000 (16:55 -0400)
commit8016842244541a15a98446779febefa788548c12
tree716252efcf84f8105acf12dc963cf4b8eaa9aa91
parent5204e9417147ebc43ddc1e58e6e864110e082141
Add openstack image list and cleanup cmds

This adds 2 new commands to lftools to manipulate openstack images:

    list:     Prints available images in the cloud.
    cleanup:  Removes old unused images.

Also fix ctx not getting passed properly to the cli function.

Change-Id: I5c73964f33f4fccb56684910fb08828c747fa562
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs/commands/index.rst
docs/commands/openstack.rst [new file with mode: 0644]
lftools/cli/__init__.py
lftools/openstack/__init__.py [new file with mode: 0644]
lftools/openstack/cmd.py [new file with mode: 0644]
lftools/openstack/image.py [new file with mode: 0644]
requirements.txt
setup.py