zun/zun/db
weikeyou 72eac7c8f2 Add host to image table
This patch solves two problems:
    1. When use "zun image-show" to see its details, we donot know
    which host the image is on.

    2. The unique constraint of image table in db is "repo" and "tag".
    If we pull ubuntu:test image on host1, an error will occur when
    we pull ubuntu:test on host2. Because the repo:tag that is the
    unique constrainthas has generated in db.

This patch adds host to image table and changes the unique constraint
to 'repo', 'tag', 'host'.

Change-Id: Id698d15fcc76ea9935d1d6ce4594459dd2ad9319
2018-08-17 14:26:47 +08:00
..
etcd Add privileged to etcd database 2018-08-06 15:17:00 +08:00
sqlalchemy Add host to image table 2018-08-17 14:26:47 +08:00
__init__.py Remove the duplicated config sqlite_db 2017-03-28 10:10:07 -05:00
api.py Add get_count method 2018-08-11 14:54:05 +07:00
migration.py Move all conf option to centralize conf directory 2016-11-02 07:42:43 +00:00