Revision 0e08e08e snf-astakos-app/astakos/im/management/commands/resource-list.py
b/snf-astakos-app/astakos/im/management/commands/resource-list.py | ||
---|---|---|
51 | 51 |
FIELDS = { |
52 | 52 |
"id": ("id", "ID"), |
53 | 53 |
"name": ("name", "Resource Name"), |
54 |
"service type": ("service_type", "Service"), |
|
54 |
"service type": ("service_type", "Service type"), |
|
55 |
"service origin": ("service_origin", "Service"), |
|
55 | 56 |
"limit": ("limit_with_unit", "Base Quota"), |
56 | 57 |
"description": ("desc", "Description"), |
57 | 58 |
"allow_in_projects": ("allow_in_projects", |
58 | 59 |
"Make resource available in projects"), |
59 | 60 |
} |
60 | 61 |
|
61 |
fields = ["id", "name", "service type", "limit", "allow_in_projects",
|
|
62 |
fields = ["id", "name", "service origin", "limit",
|
|
62 | 63 |
"description"] |
63 | 64 |
|
64 | 65 |
def show_limit(self, resource): |
Also available in: Unified diff