Merge "Add flavor extra spec key templates"
This commit is contained in:
commit
3dee424d45
|
@ -12,6 +12,8 @@
|
|||
|
||||
import os
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from horizon.test.settings import * # noqa
|
||||
from horizon.utils import secret_key
|
||||
|
||||
|
@ -201,3 +203,14 @@ POLICY_FILES = {
|
|||
'identity': 'keystone_policy.json',
|
||||
'compute': 'nova_policy.json'
|
||||
}
|
||||
|
||||
FLAVOR_EXTRA_KEYS = {
|
||||
'flavor_keys': [
|
||||
('quota:read_bytes_sec', _('Quota: Read bytes')),
|
||||
('quota:write_bytes_sec', _('Quota: Write bytes')),
|
||||
('quota:cpu_quota', _('Quota: CPU')),
|
||||
('quota:cpu_period', _('Quota: CPU period')),
|
||||
('quota:inbound_average', _('Quota: Inbound average')),
|
||||
('quota:outbound_average', _('Quota: Outbound average')),
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue