Implemented support for VM operations through VM name, Allow user of realm ungleich-admin to do operation on someone's else VM (for providing support etc), Fix few hidden issues, Refactoring/Formating + Little bit Documenting

This commit is contained in:
ahmadbilalkhalid 2019-09-22 23:51:33 +05:00
commit f18dbbe62b
7 changed files with 250 additions and 122 deletions

View file

@ -11,14 +11,7 @@ data = {
"type": "ceph",
"name": "images",
"description": "first ever public image-store",
"attributes": {
"list": [],
"key": [],
"pool": "images",
}
"attributes": {"list": [], "key": [], "pool": "images"},
}
client.put(
os.path.join(IMAGE_STORE_PREFIX, uuid4().hex),
json.dumps(data),
)
client.put(os.path.join(IMAGE_STORE_PREFIX, uuid4().hex), json.dumps(data))