Browse Source

Unifies the project packaging into one set of modules.

There are no longer two separate projects living inside the horizon
repository. There is a single project now with a single setup.py,
single README, etc.

The openstack-dashboard/dashboard django project is now named
"openstack_dashboard" and lives as an example project in the
topmost horizon directory.

The "horizon/horizon" directory has been bumped up a level and now
is directly on the path when the root horizon directory is on
your python path.

Javascript media which the horizon module directly relies upon
now ships in the horizon/static dir rather than
openstack-dashboard/dashboard/static.

All the corresponding setup, installation, build, and env scripts
have been updated accordingly.

Implements blueprint unified-packaging.

Change-Id: Ieed8e3c777432cd046c3e0298869a9428756ab62
tags/essex-4
Gabriel Hurley 7 years ago
parent
commit
052aa55d34
100 changed files with 56 additions and 249 deletions
  1. 2
    4
      .gitignore
  2. 0
    0
      Makefile
  3. 47
    28
      README.rst
  4. 7
    11
      docs/source/conf.py
  5. 0
    176
      horizon/LICENSE
  6. 0
    30
      horizon/README
  7. 0
    0
      horizon/__init__.py
  8. 0
    0
      horizon/api/__init__.py
  9. 0
    0
      horizon/api/base.py
  10. 0
    0
      horizon/api/glance.py
  11. 0
    0
      horizon/api/keystone.py
  12. 0
    0
      horizon/api/nova.py
  13. 0
    0
      horizon/api/quantum.py
  14. 0
    0
      horizon/api/swift.py
  15. 0
    0
      horizon/base.py
  16. 0
    0
      horizon/context_processors.py
  17. 0
    0
      horizon/dashboards/__init__.py
  18. 0
    0
      horizon/dashboards/nova/__init__.py
  19. 0
    0
      horizon/dashboards/nova/access_and_security/__init__.py
  20. 0
    0
      horizon/dashboards/nova/access_and_security/floating_ips/__init__.py
  21. 0
    0
      horizon/dashboards/nova/access_and_security/floating_ips/forms.py
  22. 0
    0
      horizon/dashboards/nova/access_and_security/floating_ips/tables.py
  23. 0
    0
      horizon/dashboards/nova/access_and_security/floating_ips/tests.py
  24. 0
    0
      horizon/dashboards/nova/access_and_security/floating_ips/urls.py
  25. 0
    0
      horizon/dashboards/nova/access_and_security/floating_ips/views.py
  26. 0
    0
      horizon/dashboards/nova/access_and_security/keypairs/__init__.py
  27. 0
    0
      horizon/dashboards/nova/access_and_security/keypairs/forms.py
  28. 0
    0
      horizon/dashboards/nova/access_and_security/keypairs/tables.py
  29. 0
    0
      horizon/dashboards/nova/access_and_security/keypairs/tests.py
  30. 0
    0
      horizon/dashboards/nova/access_and_security/keypairs/urls.py
  31. 0
    0
      horizon/dashboards/nova/access_and_security/keypairs/views.py
  32. 0
    0
      horizon/dashboards/nova/access_and_security/panel.py
  33. 0
    0
      horizon/dashboards/nova/access_and_security/security_groups/__init__.py
  34. 0
    0
      horizon/dashboards/nova/access_and_security/security_groups/forms.py
  35. 0
    0
      horizon/dashboards/nova/access_and_security/security_groups/tables.py
  36. 0
    0
      horizon/dashboards/nova/access_and_security/security_groups/tests.py
  37. 0
    0
      horizon/dashboards/nova/access_and_security/security_groups/urls.py
  38. 0
    0
      horizon/dashboards/nova/access_and_security/security_groups/views.py
  39. 0
    0
      horizon/dashboards/nova/access_and_security/tests.py
  40. 0
    0
      horizon/dashboards/nova/access_and_security/urls.py
  41. 0
    0
      horizon/dashboards/nova/access_and_security/views.py
  42. 0
    0
      horizon/dashboards/nova/containers/__init__.py
  43. 0
    0
      horizon/dashboards/nova/containers/forms.py
  44. 0
    0
      horizon/dashboards/nova/containers/panel.py
  45. 0
    0
      horizon/dashboards/nova/containers/tables.py
  46. 0
    0
      horizon/dashboards/nova/containers/tests.py
  47. 0
    0
      horizon/dashboards/nova/containers/urls.py
  48. 0
    0
      horizon/dashboards/nova/containers/views.py
  49. 0
    0
      horizon/dashboards/nova/dashboard.py
  50. 0
    0
      horizon/dashboards/nova/images_and_snapshots/__init__.py
  51. 0
    0
      horizon/dashboards/nova/images_and_snapshots/images/__init__.py
  52. 0
    0
      horizon/dashboards/nova/images_and_snapshots/images/forms.py
  53. 0
    0
      horizon/dashboards/nova/images_and_snapshots/images/panel.py
  54. 0
    0
      horizon/dashboards/nova/images_and_snapshots/images/tables.py
  55. 0
    0
      horizon/dashboards/nova/images_and_snapshots/images/tests.py
  56. 0
    0
      horizon/dashboards/nova/images_and_snapshots/images/urls.py
  57. 0
    0
      horizon/dashboards/nova/images_and_snapshots/images/views.py
  58. 0
    0
      horizon/dashboards/nova/images_and_snapshots/panel.py
  59. 0
    0
      horizon/dashboards/nova/images_and_snapshots/snapshots/__init__.py
  60. 0
    0
      horizon/dashboards/nova/images_and_snapshots/snapshots/forms.py
  61. 0
    0
      horizon/dashboards/nova/images_and_snapshots/snapshots/panel.py
  62. 0
    0
      horizon/dashboards/nova/images_and_snapshots/snapshots/tables.py
  63. 0
    0
      horizon/dashboards/nova/images_and_snapshots/snapshots/tests.py
  64. 0
    0
      horizon/dashboards/nova/images_and_snapshots/snapshots/urls.py
  65. 0
    0
      horizon/dashboards/nova/images_and_snapshots/snapshots/views.py
  66. 0
    0
      horizon/dashboards/nova/images_and_snapshots/tests.py
  67. 0
    0
      horizon/dashboards/nova/images_and_snapshots/urls.py
  68. 0
    0
      horizon/dashboards/nova/images_and_snapshots/views.py
  69. 0
    0
      horizon/dashboards/nova/images_and_snapshots/volume_snapshots/__init__.py
  70. 0
    0
      horizon/dashboards/nova/images_and_snapshots/volume_snapshots/panel.py
  71. 0
    0
      horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.py
  72. 0
    0
      horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tests.py
  73. 0
    0
      horizon/dashboards/nova/instances_and_volumes/__init__.py
  74. 0
    0
      horizon/dashboards/nova/instances_and_volumes/instances/__init__.py
  75. 0
    0
      horizon/dashboards/nova/instances_and_volumes/instances/forms.py
  76. 0
    0
      horizon/dashboards/nova/instances_and_volumes/instances/tables.py
  77. 0
    0
      horizon/dashboards/nova/instances_and_volumes/instances/tabs.py
  78. 0
    0
      horizon/dashboards/nova/instances_and_volumes/instances/tests.py
  79. 0
    0
      horizon/dashboards/nova/instances_and_volumes/instances/urls.py
  80. 0
    0
      horizon/dashboards/nova/instances_and_volumes/instances/views.py
  81. 0
    0
      horizon/dashboards/nova/instances_and_volumes/panel.py
  82. 0
    0
      horizon/dashboards/nova/instances_and_volumes/tests.py
  83. 0
    0
      horizon/dashboards/nova/instances_and_volumes/urls.py
  84. 0
    0
      horizon/dashboards/nova/instances_and_volumes/views.py
  85. 0
    0
      horizon/dashboards/nova/instances_and_volumes/volumes/__init__.py
  86. 0
    0
      horizon/dashboards/nova/instances_and_volumes/volumes/forms.py
  87. 0
    0
      horizon/dashboards/nova/instances_and_volumes/volumes/tables.py
  88. 0
    0
      horizon/dashboards/nova/instances_and_volumes/volumes/tests.py
  89. 0
    0
      horizon/dashboards/nova/instances_and_volumes/volumes/urls.py
  90. 0
    0
      horizon/dashboards/nova/instances_and_volumes/volumes/views.py
  91. 0
    0
      horizon/dashboards/nova/models.py
  92. 0
    0
      horizon/dashboards/nova/networks/__init__.py
  93. 0
    0
      horizon/dashboards/nova/networks/forms.py
  94. 0
    0
      horizon/dashboards/nova/networks/panel.py
  95. 0
    0
      horizon/dashboards/nova/networks/tables.py
  96. 0
    0
      horizon/dashboards/nova/networks/tests.py
  97. 0
    0
      horizon/dashboards/nova/networks/urls.py
  98. 0
    0
      horizon/dashboards/nova/networks/views.py
  99. 0
    0
      horizon/dashboards/nova/overview/__init__.py
  100. 0
    0
      horizon/dashboards/nova/overview/panel.py

+ 2
- 4
.gitignore View File

@@ -8,10 +8,8 @@ coverage.xml
8 8
 pep8.txt
9 9
 pylint.txt
10 10
 reports
11
-horizon/horizon.egg-info
12
-.horizon-venv
13
-openstack-dashboard/local/dashboard_openstack.sqlite3
14
-openstack-dashboard/local/local_settings.py
11
+horizon.egg-info
12
+openstack_dashboard/local/local_settings.py
15 13
 docs/build/
16 14
 docs/source/sourcecode
17 15
 .venv

horizon/Makefile → Makefile View File


+ 47
- 28
README.rst View File

@@ -1,17 +1,12 @@
1
-OpenStack Dashboard (Horizon)
2
------------------------------
1
+=============================
2
+Horizon (OpenStack Dashboard)
3
+=============================
3 4
 
4
-The OpenStack Dashboard is a Django based reference implementation of a web
5
-based management interface for OpenStack.
6
-
7
-It is based on the ``horizon`` module, which is designed to be a generic Django
8
-app that can be re-used in other projects.
9
-
10
-For more information about how to get started with the OpenStack Dashboard,
11
-view the README file in the openstack-dashboard folder.
12
-
13
-For more information about working directly with ``horizon``, see the
14
-README file in the ``horizon`` folder.
5
+Horizon is a Django-based project aimed at providing a complete OpenStack
6
+Dashboard along with an extensible framework for building new dashboards
7
+from reusable components. The ``openstack_dashboard`` module is a reference
8
+implementation of a Django site that uses the ``horizon`` app to provide
9
+web-based interactions with the various OpenStack projects.
15 10
 
16 11
 For release management:
17 12
 
@@ -25,38 +20,62 @@ For issue tracking:
25 20
 
26 21
  * https://bugs.launchpad.net/horizon
27 22
 
23
+Getting Started
24
+===============
25
+
26
+For local development, first create a virtualenv for the project.
27
+In the ``tools`` directory there is a script to create one for you:
28
+
29
+  $ python tools/install_venv.py
30
+
31
+Alternatively, the ``run_tests.sh`` script will also install the environment
32
+for you and then run the full test suite to verify everything is installed
33
+and functioning correctly.
34
+
35
+Now that the virtualenv is created, you need to configure your local
36
+environment.  To do this, create a ``local_settings.py`` file in the ``local/``
37
+directory.  There is a ``local_settings.py.example`` file there that may be
38
+used as a template.
39
+
40
+If all is well you should able to run the development server locally:
41
+
42
+  $ tools/with_venv.sh manage.py runserver
43
+
44
+or, as a shortcut::
45
+
46
+  $ ./run_tests.sh --runserver
47
+
48
+
49
+Settings Up OpenStack
50
+=====================
28 51
 
29
-Project Structure and Testing:
30
-------------------------------
52
+The recommended tool for installing and configuring the core OpenStack
53
+components is `Devstack`_. Refer to their documentation for getting
54
+Nova, Keystone, Glance, etc. up and running.
31 55
 
32
-This project is a bit different from other OpenStack projects in that it has
33
-two very distinct components underneath it: ``horizon``, and
34
-``openstack-dashboard``.
56
+.. _Devstack: http://devstack.org/
35 57
 
36
-The ``horizon`` directory holds the generic libraries and components that can
37
-be used in any Django project.
38 58
 
39
-The ``openstack-dashboard`` directory contains a reference Django project that
40
-uses ``horizon``.
59
+Development
60
+===========
41 61
 
42
-For development, both pieces share an environment which (by default) is
43
-built with the ``tools/install_venv.py`` script. That script creates a
44
-virtualenv and installs all the necessary packages.
62
+For development, start with the getting started instructions above.
63
+Once you have a working virtualenv and all the necessary packages, read on.
45 64
 
46 65
 If dependencies are added to either ``horizon`` or ``openstack-dashboard``,
47 66
 they should be added to ``tools/pip-requires``.
48 67
 
49 68
 The ``run_tests.sh`` script invokes tests and analyses on both of these
50
-components in its process, and is what Jenkins uses to verify the
69
+components in its process, and it is what Jenkins uses to verify the
51 70
 stability of the project. If run before an environment is set up, it will
52 71
 ask if you wish to install one.
53 72
 
54
-To run the tests::
73
+To run the unit tests::
55 74
 
56 75
     $ ./run_tests.sh
57 76
 
58 77
 Building Contributor Documentation
59
-----------------------------------
78
+==================================
60 79
 
61 80
 This documentation is written by contributors, for contributors.
62 81
 

+ 7
- 11
docs/source/conf.py View File

@@ -15,14 +15,12 @@ import sys
15 15
 import os
16 16
 
17 17
 BASE_DIR = os.path.dirname(os.path.abspath(__file__))
18
-HORIZON_DIR = os.path.abspath(os.path.join(BASE_DIR, "..", "..", "horizon"))
19
-DASHBOARD_DIR = os.path.abspath(os.path.join(BASE_DIR, "..", "..", "openstack-dashboard"))
18
+ROOT = os.path.abspath(os.path.join(BASE_DIR, "..", ".."))
20 19
 
21
-sys.path.insert(0, HORIZON_DIR)
22
-sys.path.insert(0, DASHBOARD_DIR)
20
+sys.path.insert(0, ROOT)
23 21
 
24 22
 # This is required for ReadTheDocs.org, but isn't a bad idea anyway.
25
-os.environ['DJANGO_SETTINGS_MODULE'] = 'dashboard.settings'
23
+os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings'
26 24
 
27 25
 import horizon.version
28 26
 
@@ -37,8 +35,6 @@ def write_autodoc_index():
37 35
         for root, dirs, files in os.walk("."):
38 36
             for filename in files:
39 37
                 if filename.endswith(".py"):
40
-                    # root = ./dashboard/test/unit
41
-                    # filename = base.py
42 38
                     # remove the pieces of the root
43 39
                     elements = root.split(os.path.sep)
44 40
                     # replace the leading "." with the module name
@@ -53,10 +49,10 @@ def write_autodoc_index():
53 49
         return modlist
54 50
 
55 51
     RSTDIR = os.path.abspath(os.path.join(BASE_DIR, "sourcecode"))
56
-    SRCS = {'horizon': HORIZON_DIR,
57
-            'dashboard': DASHBOARD_DIR}
52
+    SRCS = {'horizon': ROOT,
53
+            'openstack_dashboard': ROOT}
58 54
 
59
-    EXCLUDED_MODULES = ('horizon.tests', 'dashboard.tests',)
55
+    EXCLUDED_MODULES = ('horizon.tests', 'openstack_dashboard.tests',)
60 56
     CURRENT_SOURCES = {}
61 57
 
62 58
     if not(os.path.exists(RSTDIR)):
@@ -118,7 +114,7 @@ def write_autodoc_index():
118 114
     # Delete auto-generated .rst files for sources which no longer exist
119 115
     for directory, subdirs, files in list(os.walk(RSTDIR)):
120 116
         for old_file in files:
121
-            if old_file not in CURRENT_SOURCES[directory]:
117
+            if old_file not in CURRENT_SOURCES.get(directory, []):
122 118
                 print "Removing outdated file for %s" % old_file
123 119
                 os.remove(os.path.join(directory, old_file))
124 120
 

+ 0
- 176
horizon/LICENSE View File

@@ -1,176 +0,0 @@
1
-
2
-                                 Apache License
3
-                           Version 2.0, January 2004
4
-                        http://www.apache.org/licenses/
5
-
6
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
-   1. Definitions.
9
-
10
-      "License" shall mean the terms and conditions for use, reproduction,
11
-      and distribution as defined by Sections 1 through 9 of this document.
12
-
13
-      "Licensor" shall mean the copyright owner or entity authorized by
14
-      the copyright owner that is granting the License.
15
-
16
-      "Legal Entity" shall mean the union of the acting entity and all
17
-      other entities that control, are controlled by, or are under common
18
-      control with that entity. For the purposes of this definition,
19
-      "control" means (i) the power, direct or indirect, to cause the
20
-      direction or management of such entity, whether by contract or
21
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
-      outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
-      "You" (or "Your") shall mean an individual or Legal Entity
25
-      exercising permissions granted by this License.
26
-
27
-      "Source" form shall mean the preferred form for making modifications,
28
-      including but not limited to software source code, documentation
29
-      source, and configuration files.
30
-
31
-      "Object" form shall mean any form resulting from mechanical
32
-      transformation or translation of a Source form, including but
33
-      not limited to compiled object code, generated documentation,
34
-      and conversions to other media types.
35
-
36
-      "Work" shall mean the work of authorship, whether in Source or
37
-      Object form, made available under the License, as indicated by a
38
-      copyright notice that is included in or attached to the work
39
-      (an example is provided in the Appendix below).
40
-
41
-      "Derivative Works" shall mean any work, whether in Source or Object
42
-      form, that is based on (or derived from) the Work and for which the
43
-      editorial revisions, annotations, elaborations, or other modifications
44
-      represent, as a whole, an original work of authorship. For the purposes
45
-      of this License, Derivative Works shall not include works that remain
46
-      separable from, or merely link (or bind by name) to the interfaces of,
47
-      the Work and Derivative Works thereof.
48
-
49
-      "Contribution" shall mean any work of authorship, including
50
-      the original version of the Work and any modifications or additions
51
-      to that Work or Derivative Works thereof, that is intentionally
52
-      submitted to Licensor for inclusion in the Work by the copyright owner
53
-      or by an individual or Legal Entity authorized to submit on behalf of
54
-      the copyright owner. For the purposes of this definition, "submitted"
55
-      means any form of electronic, verbal, or written communication sent
56
-      to the Licensor or its representatives, including but not limited to
57
-      communication on electronic mailing lists, source code control systems,
58
-      and issue tracking systems that are managed by, or on behalf of, the
59
-      Licensor for the purpose of discussing and improving the Work, but
60
-      excluding communication that is conspicuously marked or otherwise
61
-      designated in writing by the copyright owner as "Not a Contribution."
62
-
63
-      "Contributor" shall mean Licensor and any individual or Legal Entity
64
-      on behalf of whom a Contribution has been received by Licensor and
65
-      subsequently incorporated within the Work.
66
-
67
-   2. Grant of Copyright License. Subject to the terms and conditions of
68
-      this License, each Contributor hereby grants to You a perpetual,
69
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
-      copyright license to reproduce, prepare Derivative Works of,
71
-      publicly display, publicly perform, sublicense, and distribute the
72
-      Work and such Derivative Works in Source or Object form.
73
-
74
-   3. Grant of Patent License. Subject to the terms and conditions of
75
-      this License, each Contributor hereby grants to You a perpetual,
76
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
-      (except as stated in this section) patent license to make, have made,
78
-      use, offer to sell, sell, import, and otherwise transfer the Work,
79
-      where such license applies only to those patent claims licensable
80
-      by such Contributor that are necessarily infringed by their
81
-      Contribution(s) alone or by combination of their Contribution(s)
82
-      with the Work to which such Contribution(s) was submitted. If You
83
-      institute patent litigation against any entity (including a
84
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
85
-      or a Contribution incorporated within the Work constitutes direct
86
-      or contributory patent infringement, then any patent licenses
87
-      granted to You under this License for that Work shall terminate
88
-      as of the date such litigation is filed.
89
-
90
-   4. Redistribution. You may reproduce and distribute copies of the
91
-      Work or Derivative Works thereof in any medium, with or without
92
-      modifications, and in Source or Object form, provided that You
93
-      meet the following conditions:
94
-
95
-      (a) You must give any other recipients of the Work or
96
-          Derivative Works a copy of this License; and
97
-
98
-      (b) You must cause any modified files to carry prominent notices
99
-          stating that You changed the files; and
100
-
101
-      (c) You must retain, in the Source form of any Derivative Works
102
-          that You distribute, all copyright, patent, trademark, and
103
-          attribution notices from the Source form of the Work,
104
-          excluding those notices that do not pertain to any part of
105
-          the Derivative Works; and
106
-
107
-      (d) If the Work includes a "NOTICE" text file as part of its
108
-          distribution, then any Derivative Works that You distribute must
109
-          include a readable copy of the attribution notices contained
110
-          within such NOTICE file, excluding those notices that do not
111
-          pertain to any part of the Derivative Works, in at least one
112
-          of the following places: within a NOTICE text file distributed
113
-          as part of the Derivative Works; within the Source form or
114
-          documentation, if provided along with the Derivative Works; or,
115
-          within a display generated by the Derivative Works, if and
116
-          wherever such third-party notices normally appear. The contents
117
-          of the NOTICE file are for informational purposes only and
118
-          do not modify the License. You may add Your own attribution
119
-          notices within Derivative Works that You distribute, alongside
120
-          or as an addendum to the NOTICE text from the Work, provided
121
-          that such additional attribution notices cannot be construed
122
-          as modifying the License.
123
-
124
-      You may add Your own copyright statement to Your modifications and
125
-      may provide additional or different license terms and conditions
126
-      for use, reproduction, or distribution of Your modifications, or
127
-      for any such Derivative Works as a whole, provided Your use,
128
-      reproduction, and distribution of the Work otherwise complies with
129
-      the conditions stated in this License.
130
-
131
-   5. Submission of Contributions. Unless You explicitly state otherwise,
132
-      any Contribution intentionally submitted for inclusion in the Work
133
-      by You to the Licensor shall be under the terms and conditions of
134
-      this License, without any additional terms or conditions.
135
-      Notwithstanding the above, nothing herein shall supersede or modify
136
-      the terms of any separate license agreement you may have executed
137
-      with Licensor regarding such Contributions.
138
-
139
-   6. Trademarks. This License does not grant permission to use the trade
140
-      names, trademarks, service marks, or product names of the Licensor,
141
-      except as required for reasonable and customary use in describing the
142
-      origin of the Work and reproducing the content of the NOTICE file.
143
-
144
-   7. Disclaimer of Warranty. Unless required by applicable law or
145
-      agreed to in writing, Licensor provides the Work (and each
146
-      Contributor provides its Contributions) on an "AS IS" BASIS,
147
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
-      implied, including, without limitation, any warranties or conditions
149
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
-      PARTICULAR PURPOSE. You are solely responsible for determining the
151
-      appropriateness of using or redistributing the Work and assume any
152
-      risks associated with Your exercise of permissions under this License.
153
-
154
-   8. Limitation of Liability. In no event and under no legal theory,
155
-      whether in tort (including negligence), contract, or otherwise,
156
-      unless required by applicable law (such as deliberate and grossly
157
-      negligent acts) or agreed to in writing, shall any Contributor be
158
-      liable to You for damages, including any direct, indirect, special,
159
-      incidental, or consequential damages of any character arising as a
160
-      result of this License or out of the use or inability to use the
161
-      Work (including but not limited to damages for loss of goodwill,
162
-      work stoppage, computer failure or malfunction, or any and all
163
-      other commercial damages or losses), even if such Contributor
164
-      has been advised of the possibility of such damages.
165
-
166
-   9. Accepting Warranty or Additional Liability. While redistributing
167
-      the Work or Derivative Works thereof, You may choose to offer,
168
-      and charge a fee for, acceptance of support, warranty, indemnity,
169
-      or other liability obligations and/or rights consistent with this
170
-      License. However, in accepting such obligations, You may act only
171
-      on Your own behalf and on Your sole responsibility, not on behalf
172
-      of any other Contributor, and only if You agree to indemnify,
173
-      defend, and hold each Contributor harmless for any liability
174
-      incurred by, or claims asserted against, such Contributor by reason
175
-      of your accepting any such warranty or additional liability.
176
-

+ 0
- 30
horizon/README View File

@@ -1,30 +0,0 @@
1
-========================================
2
-Horizon: The OpenStack Dashboard Project
3
-========================================
4
-
5
-The Horizon project is a Django module that is used to provide web based
6
-interactions with an OpenStack cloud.
7
-
8
-There is a reference implementation that uses this module located at:
9
-
10
-    http://launchpad.net/horizon
11
-
12
-It is highly recommended that you make use of this reference implementation
13
-so that changes you make can be visualized effectively and are consistent.
14
-Using this reference implementation as a development environment will greatly
15
-simplify development of the ``horizon`` module.
16
-
17
-Of course, if you are developing your own Django site using Horizon, then
18
-you can disregard this advice.
19
-
20
-
21
-Getting Started
22
-===============
23
-
24
-Horizon uses the common environment configured by ``tools/install_venv.py``
25
-based on the dependencies listed in ``tools/pip-requires`` for local
26
-development.
27
-
28
-The simplest way to get going is to simply run the ``run_tests.sh`` script
29
-included with the Horizon project. This will set up your local environment
30
-and run the full test suite to verify that everything is working properly.

horizon/horizon/__init__.py → horizon/__init__.py View File


horizon/horizon/api/__init__.py → horizon/api/__init__.py View File


horizon/horizon/api/base.py → horizon/api/base.py View File


horizon/horizon/api/glance.py → horizon/api/glance.py View File


horizon/horizon/api/keystone.py → horizon/api/keystone.py View File


horizon/horizon/api/nova.py → horizon/api/nova.py View File


horizon/horizon/api/quantum.py → horizon/api/quantum.py View File


horizon/horizon/api/swift.py → horizon/api/swift.py View File


horizon/horizon/base.py → horizon/base.py View File


horizon/horizon/context_processors.py → horizon/context_processors.py View File


horizon/horizon/dashboards/__init__.py → horizon/dashboards/__init__.py View File


horizon/horizon/dashboards/nova/__init__.py → horizon/dashboards/nova/__init__.py View File


horizon/horizon/dashboards/nova/access_and_security/__init__.py → horizon/dashboards/nova/access_and_security/__init__.py View File


horizon/horizon/dashboards/nova/access_and_security/floating_ips/__init__.py → horizon/dashboards/nova/access_and_security/floating_ips/__init__.py View File


horizon/horizon/dashboards/nova/access_and_security/floating_ips/forms.py → horizon/dashboards/nova/access_and_security/floating_ips/forms.py View File


horizon/horizon/dashboards/nova/access_and_security/floating_ips/tables.py → horizon/dashboards/nova/access_and_security/floating_ips/tables.py View File


horizon/horizon/dashboards/nova/access_and_security/floating_ips/tests.py → horizon/dashboards/nova/access_and_security/floating_ips/tests.py View File


horizon/horizon/dashboards/nova/access_and_security/floating_ips/urls.py → horizon/dashboards/nova/access_and_security/floating_ips/urls.py View File


horizon/horizon/dashboards/nova/access_and_security/floating_ips/views.py → horizon/dashboards/nova/access_and_security/floating_ips/views.py View File


horizon/horizon/dashboards/nova/access_and_security/keypairs/__init__.py → horizon/dashboards/nova/access_and_security/keypairs/__init__.py View File


horizon/horizon/dashboards/nova/access_and_security/keypairs/forms.py → horizon/dashboards/nova/access_and_security/keypairs/forms.py View File


horizon/horizon/dashboards/nova/access_and_security/keypairs/tables.py → horizon/dashboards/nova/access_and_security/keypairs/tables.py View File


horizon/horizon/dashboards/nova/access_and_security/keypairs/tests.py → horizon/dashboards/nova/access_and_security/keypairs/tests.py View File


horizon/horizon/dashboards/nova/access_and_security/keypairs/urls.py → horizon/dashboards/nova/access_and_security/keypairs/urls.py View File


horizon/horizon/dashboards/nova/access_and_security/keypairs/views.py → horizon/dashboards/nova/access_and_security/keypairs/views.py View File


horizon/horizon/dashboards/nova/access_and_security/panel.py → horizon/dashboards/nova/access_and_security/panel.py View File


horizon/horizon/dashboards/nova/access_and_security/security_groups/__init__.py → horizon/dashboards/nova/access_and_security/security_groups/__init__.py View File


horizon/horizon/dashboards/nova/access_and_security/security_groups/forms.py → horizon/dashboards/nova/access_and_security/security_groups/forms.py View File


horizon/horizon/dashboards/nova/access_and_security/security_groups/tables.py → horizon/dashboards/nova/access_and_security/security_groups/tables.py View File


horizon/horizon/dashboards/nova/access_and_security/security_groups/tests.py → horizon/dashboards/nova/access_and_security/security_groups/tests.py View File


horizon/horizon/dashboards/nova/access_and_security/security_groups/urls.py → horizon/dashboards/nova/access_and_security/security_groups/urls.py View File


horizon/horizon/dashboards/nova/access_and_security/security_groups/views.py → horizon/dashboards/nova/access_and_security/security_groups/views.py View File


horizon/horizon/dashboards/nova/access_and_security/tests.py → horizon/dashboards/nova/access_and_security/tests.py View File


horizon/horizon/dashboards/nova/access_and_security/urls.py → horizon/dashboards/nova/access_and_security/urls.py View File


horizon/horizon/dashboards/nova/access_and_security/views.py → horizon/dashboards/nova/access_and_security/views.py View File


horizon/horizon/dashboards/nova/containers/__init__.py → horizon/dashboards/nova/containers/__init__.py View File


horizon/horizon/dashboards/nova/containers/forms.py → horizon/dashboards/nova/containers/forms.py View File


horizon/horizon/dashboards/nova/containers/panel.py → horizon/dashboards/nova/containers/panel.py View File


horizon/horizon/dashboards/nova/containers/tables.py → horizon/dashboards/nova/containers/tables.py View File


horizon/horizon/dashboards/nova/containers/tests.py → horizon/dashboards/nova/containers/tests.py View File


horizon/horizon/dashboards/nova/containers/urls.py → horizon/dashboards/nova/containers/urls.py View File


horizon/horizon/dashboards/nova/containers/views.py → horizon/dashboards/nova/containers/views.py View File


horizon/horizon/dashboards/nova/dashboard.py → horizon/dashboards/nova/dashboard.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/__init__.py → horizon/dashboards/nova/images_and_snapshots/__init__.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/images/__init__.py → horizon/dashboards/nova/images_and_snapshots/images/__init__.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/images/forms.py → horizon/dashboards/nova/images_and_snapshots/images/forms.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/images/panel.py → horizon/dashboards/nova/images_and_snapshots/images/panel.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/images/tables.py → horizon/dashboards/nova/images_and_snapshots/images/tables.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/images/tests.py → horizon/dashboards/nova/images_and_snapshots/images/tests.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/images/urls.py → horizon/dashboards/nova/images_and_snapshots/images/urls.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/images/views.py → horizon/dashboards/nova/images_and_snapshots/images/views.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/panel.py → horizon/dashboards/nova/images_and_snapshots/panel.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/snapshots/__init__.py → horizon/dashboards/nova/images_and_snapshots/snapshots/__init__.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/snapshots/forms.py → horizon/dashboards/nova/images_and_snapshots/snapshots/forms.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/snapshots/panel.py → horizon/dashboards/nova/images_and_snapshots/snapshots/panel.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/snapshots/tables.py → horizon/dashboards/nova/images_and_snapshots/snapshots/tables.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/snapshots/tests.py → horizon/dashboards/nova/images_and_snapshots/snapshots/tests.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/snapshots/urls.py → horizon/dashboards/nova/images_and_snapshots/snapshots/urls.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/snapshots/views.py → horizon/dashboards/nova/images_and_snapshots/snapshots/views.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/tests.py → horizon/dashboards/nova/images_and_snapshots/tests.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/urls.py → horizon/dashboards/nova/images_and_snapshots/urls.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/views.py → horizon/dashboards/nova/images_and_snapshots/views.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/__init__.py → horizon/dashboards/nova/images_and_snapshots/volume_snapshots/__init__.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/panel.py → horizon/dashboards/nova/images_and_snapshots/volume_snapshots/panel.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.py → horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.py View File


horizon/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tests.py → horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tests.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/__init__.py → horizon/dashboards/nova/instances_and_volumes/__init__.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/instances/__init__.py → horizon/dashboards/nova/instances_and_volumes/instances/__init__.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/instances/forms.py → horizon/dashboards/nova/instances_and_volumes/instances/forms.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/instances/tables.py → horizon/dashboards/nova/instances_and_volumes/instances/tables.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/instances/tabs.py → horizon/dashboards/nova/instances_and_volumes/instances/tabs.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/instances/tests.py → horizon/dashboards/nova/instances_and_volumes/instances/tests.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/instances/urls.py → horizon/dashboards/nova/instances_and_volumes/instances/urls.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/instances/views.py → horizon/dashboards/nova/instances_and_volumes/instances/views.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/panel.py → horizon/dashboards/nova/instances_and_volumes/panel.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/tests.py → horizon/dashboards/nova/instances_and_volumes/tests.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/urls.py → horizon/dashboards/nova/instances_and_volumes/urls.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/views.py → horizon/dashboards/nova/instances_and_volumes/views.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/volumes/__init__.py → horizon/dashboards/nova/instances_and_volumes/volumes/__init__.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/volumes/forms.py → horizon/dashboards/nova/instances_and_volumes/volumes/forms.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/volumes/tables.py → horizon/dashboards/nova/instances_and_volumes/volumes/tables.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/volumes/tests.py → horizon/dashboards/nova/instances_and_volumes/volumes/tests.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/volumes/urls.py → horizon/dashboards/nova/instances_and_volumes/volumes/urls.py View File


horizon/horizon/dashboards/nova/instances_and_volumes/volumes/views.py → horizon/dashboards/nova/instances_and_volumes/volumes/views.py View File


horizon/horizon/dashboards/nova/models.py → horizon/dashboards/nova/models.py View File


horizon/horizon/dashboards/nova/networks/__init__.py → horizon/dashboards/nova/networks/__init__.py View File


horizon/horizon/dashboards/nova/networks/forms.py → horizon/dashboards/nova/networks/forms.py View File


horizon/horizon/dashboards/nova/networks/panel.py → horizon/dashboards/nova/networks/panel.py View File


horizon/horizon/dashboards/nova/networks/tables.py → horizon/dashboards/nova/networks/tables.py View File


horizon/horizon/dashboards/nova/networks/tests.py → horizon/dashboards/nova/networks/tests.py View File


horizon/horizon/dashboards/nova/networks/urls.py → horizon/dashboards/nova/networks/urls.py View File


horizon/horizon/dashboards/nova/networks/views.py → horizon/dashboards/nova/networks/views.py View File


horizon/horizon/dashboards/nova/overview/__init__.py → horizon/dashboards/nova/overview/__init__.py View File


horizon/horizon/dashboards/nova/overview/panel.py → horizon/dashboards/nova/overview/panel.py View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save