~ubuntu-branches/ubuntu/utopic/horizon/utopic

« back to all changes in this revision

Viewing changes to openstack_dashboard/test/settings.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2014-07-25 11:39:09 UTC
  • mfrom: (1.1.42)
  • Revision ID: package-import@ubuntu.com-20140725113909-b8920pdy87itn1ro
Tags: 1:2014.2~b2-0ubuntu1
* New upstream release.
* debian/patches/ubuntu_settings.patch: Refresed
* debian/patches/fix-dashboard-manage.patch: Refreshed
* debian/patches/fix-dashboard-django-wsgi.patch: Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    'openstack_dashboard.dashboards.project',
48
48
    'openstack_dashboard.dashboards.admin',
49
49
    'openstack_dashboard.dashboards.settings',
50
 
    # If the profile_support config is turned on in local_settings
51
 
    # the "router" dashboard will be enabled which can be used to
52
 
    # create and use profiles with networks and instances. In which case
53
 
    # using run_tests will require the registration of the "router" dashboard.
54
 
    # TODO (absubram): Need to make this permanent when a better solution
55
 
    # for run_tests is implemented to use with and without the n1k sub-plugin.
56
 
    #'openstack_dashboard.dashboards.router',
 
50
    'openstack_dashboard.dashboards.router',
57
51
)
58
52
 
59
53
AUTHENTICATION_BACKENDS = ('openstack_auth.backend.KeystoneBackend',)
61
55
SITE_BRANDING = 'OpenStack'
62
56
 
63
57
HORIZON_CONFIG = {
64
 
    'dashboards': ('project', 'admin', 'settings',),
65
 
    # If the profile_support config is turned on in local_settings
66
 
    # the "router" dashboard will be enabled which can be used to
67
 
    # create and use profiles with networks and instances. In which case
68
 
    # using run_tests will require the registration of the "router" dashboard.
69
 
    # TODO (absubram): Need to make this permanent when a better solution
70
 
    # for run_tests is implemented to use with and without the n1k sub-plugin.
71
 
    #'dashboards': ('project', 'admin', 'settings', 'router',),
 
58
    'dashboards': ('project', 'admin', 'settings', 'router',),
72
59
    'default_dashboard': 'project',
73
60
    "password_validator": {
74
61
        "regex": '^.{8,18}$',
112
99
    'can_edit_role': True
113
100
}
114
101
 
 
102
OPENSTACK_CINDER_FEATURES = {
 
103
    'enable_backup': True,
 
104
}
 
105
 
115
106
OPENSTACK_NEUTRON_NETWORK = {
116
107
    'enable_lb': True,
117
108
    'enable_firewall': True,
118
109
    'enable_quotas': False,  # Enabled in specific tests only
119
110
    'enable_vpn': True,
120
 
    # If the profile_support config is turned on in local_settings
121
 
    # the "router" dashboard will be enabled which can be used to
122
 
    # create and use profiles with networks and instances. In which case
123
 
    # using run_tests will require the registration of the "router" dashboard.
124
 
    # TODO (absubram): Need to make this permanent when a better solution
125
 
    # for run_tests is implemented to use with and without the n1k sub-plugin.
126
111
    'profile_support': None,
127
112
    #'profile_support': 'cisco'
128
113
}
209
194
 
210
195
FLAVOR_EXTRA_KEYS = {
211
196
    'flavor_keys': [
212
 
        ('quota:read_bytes_sec', 'Quota: Read bytes'),
213
 
        ('quota:write_bytes_sec', 'Quota: Write bytes'),
 
197
        ('quota:disk_read_bytes_sec', 'Quota: Read bytes'),
 
198
        ('quota:disk_write_bytes_sec', 'Quota: Write bytes'),
214
199
        ('quota:cpu_quota', 'Quota: CPU'),
215
200
        ('quota:cpu_period', 'Quota: CPU period'),
216
 
        ('quota:inbound_average', 'Quota: Inbound average'),
217
 
        ('quota:outbound_average', 'Quota: Outbound average'),
 
201
        ('quota:vif_inbound_average', 'Quota: Inbound average'),
 
202
        ('quota:vif_outbound_average', 'Quota: Outbound average'),
218
203
    ]
219
204
}
220
205