Andreas Jaeger 560a88b095 Fix pep8 failures
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
2015-06-18 20:50:17 +02:00
2015-06-18 20:50:17 +02:00
2015-05-26 14:56:29 +01:00
2015-05-26 14:56:29 +01:00

designatedashboard

Designate Horizon UI bits

  • Free software: Apache license

Features

  • TODO

Howto

  1. 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.

  2. 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)
  3. (Optional) Copy the designate policy file into horizon's policy files folder, and add this config:

    'dns': 'designate_policy.json',
Description
OpenStack DNS As A Service (Designate) Horizon Plugin
Readme 4.3 MiB
Languages
JavaScript 75.1%
Python 21.5%
HTML 3.4%