
This fixes the following failures when running "tox -e pep8": ./designatedashboard/dashboards/project/dns_domains/tables.py:55:15: H201 no 'except:' at least use 'except Exception:' except: ^ ./designatedashboard/dashboards/project/dns_domains/tables.py:177:5: H238 old style class declaration, use new style (inherit from `object`) class Meta: ^ ./designatedashboard/dashboards/project/dns_domains/tables.py:217:5: H238 old style class declaration, use new style (inherit from `object`) class Meta: ^ ./designatedashboard/tests/base.py:53:66: W292 no newline at end of file self.log_fixture = self.useFixture(fixtures.FakeLogger()) Change-Id: I33c4293edc16257ae8cebe7c76788075eae23a08
designatedashboard
Designate Horizon UI bits
- Free software: Apache license
Features
- TODO
Howto
Package the designatedashboard by running:
python setup.py sdist
This will create a python egg in the dist folder, which can be used to install on the horizon machine or within horizon's python virtual environment.
Modify horizon's settings file to enabled designatedashboard, note the two lines to add below:
import designatedashboard.enabled # ADD THIS LINE ... INSTALLED_APPS = list(INSTALLED_APPS) # Make sure it's mutable settings.update_dashboards([ openstack_dashboard.enabled, openstack_dashboard.local.enabled, designatedashboard.enabled, # ADD THIS LINE TOO ], HORIZON_CONFIG, INSTALLED_APPS)
(Optional) Copy the designate policy file into horizon's policy files folder, and add this config:
'dns': 'designate_policy.json',
Description
Languages
JavaScript
75.1%
Python
21.5%
HTML
3.4%