Merge "Add flavor extra spec key templates"

This commit is contained in:
Jenkins 2014-03-04 06:47:54 +00:00 committed by Gerrit Code Review
commit 3dee424d45
1 changed files with 13 additions and 0 deletions

View File

@ -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')),
]
}