65 Commits

Author SHA1 Message Date
Lennart Regebro
9b8dfc4a8c Various SAT6 integration fixes
Updated the API calls, the MAC address had to be uppercase and in quotes.
The URL in the errata rendering works now.
Moved the configuration into local_settings.py.

Change-Id: Ib596bfd334a8b97be5bd4cdd6ecde03706863a73
2015-01-23 16:21:25 +01:00
Jenkins
ccebd5bf2f Merge "Fix call of _get_errata_data" 2015-01-23 09:22:56 +00:00
Radomir Dopieralski
40b15ad3ec Move tarballs to the top of test-requirements.txt
Because otherwise django-nose pulls in the wrong version of Django.

Change-Id: Ic4e58a56d3b59a85b609eb81183cfd8c2462e51a
2015-01-22 14:39:50 +01:00
Ana Krivokapic
151e1e093c Correctly display role-flavor association
Role/flavor association wasn't correctly displayed on the overview page.

Change-Id: I7d64f9444911f6e9fbcb810806231f2ef5c5710e
2015-01-15 17:37:52 +01:00
Ana Krivokapic
469123e578 Fix call of _get_errata_data
Function was called incorrectly.

Change-Id: I9696d02218c4fe618af4e343f73836e3c72e502b
2015-01-12 14:24:09 +01:00
Lennart Regebro
6965d80958 Changing requirements to versions compatible with RHEL7
Change-Id: Ie31150642518a5891be4fe32159b8d233bf7b2ef
2015-01-09 18:07:30 +01:00
Jenkins
c0daa7faaa Merge "Show popups on node boxes everywhere" 0.0.2 2015-01-09 09:41:44 +00:00
Radomir Dopieralski
da9c7e708e Support POC mode correctly
In the POC mode, only one flavor is displayed and the nodes
are matched to the flavor using <= operator.

Change-Id: I406955ed37760cf2a565d6cc722e04ce8eb9c06b
2015-01-08 13:37:50 +01:00
Radomir Dopieralski
466a8a4dd6 Show popups on node boxes everywhere
The patch that added popups on node boxes skipped the
progress and live deployment views. This patch makes sure
the popups are displayed on all the node boxes on all views.

It also makes sure that the nodes information is available
even when there is no stack -- for the undeploy progress page.

Change-Id: Ib5bd428f9ba4d7b324c2b0fa4421994c4e3165c7
2015-01-08 12:30:44 +01:00
Jenkins
6118c69c10 Merge "Fix alignment of the edit role icon in the plan edit view" 2015-01-08 11:27:52 +00:00
Jenkins
8984296e4c Merge "Nodes boxes did not display in ajax updates on progress" 2015-01-08 11:21:02 +00:00
Radomir Dopieralski
bea0470a0b Basic view tests for tuskar_boxes
Just checking that the pages actually display and use the right templates

Change-Id: Ibb5f55c25510921e49485961f71fb22e7f8f8bc1
2015-01-05 11:01:30 +01:00
Radomir Dopieralski
fafac51333 Nodes boxes did not display in ajax updates on progress
Make them show

Change-Id: Idccfe7dbbc27fa643e89b70c1b7df1c7d947e1d2
2014-12-18 10:07:02 +01:00
Radomir Dopieralski
a2a5fe4db6 Fix alignment of the edit role icon in the plan edit view
* Aligment done with grid, not pull-right
* Correct color for the icon
* Showing/hiding done with CSS not JS
* Repeated part of the template moved to an include

Change-Id: I3e1c81b885f9b0df11d7826d8c26dcf24d622e01
2014-12-18 09:21:13 +01:00
Ana Krivokapic
33caa32d4e Show system load from last hour on overview page
Overpage was showing the system load from last day. Instead,
we want to show the system load from last hour.

Change-Id: I95841b551cc8ae3593f648299e75a579fcdbbb7d
2014-12-11 18:34:48 +01:00
Radomir Dopieralski
592be3c8af Scale the node boxes when there are lots of them
The first shrinkage happens when there are 25 nodes, and it makes the
boxes half the size (4 times smaller area-wise). The next one is at
100 nodes (when they have roughly the same area as the first one), and
makes them 1/4 the size (16 times smaller area-wise). The next step would
happen at 400, but then they would be too small.

Change-Id: I414bd8724e12891228c81e7f71549d08ae207753
0.0.1
2014-12-10 14:25:25 +01:00
Radomir Dopieralski
83d4107efb Make the live deployment view match wireframes
* Add system load graphs
* Add node distribution
* Remove node status

Change-Id: Ic240d65c681bdc9948057e71577b207f75c96e56
2014-12-10 14:18:25 +01:00
Ana Krivokapic
fea1a5e9a5 Add node counts to the plan edit view
Change-Id: I531095cb150e9c09e8a3d8c9e43ffd039981120d
2014-12-10 11:46:59 +01:00
Jenkins
10f7fa4a95 Merge "Display node information in a popup over the node boxes" 2014-12-09 14:16:24 +00:00
Ana Krivokapic
fff9fcd52a Add edit role icon to the plan edit view
Change-Id: Iaa3cd7bcb7c5a6ae397b2951923a5470d2cbe429
2014-12-09 14:14:35 +00:00
Jenkins
33881f18d7 Merge "Set maximums for numberpicker in the plan edit view" 2014-12-09 14:13:45 +00:00
Lennart Regebro
af87a9a795 Get the Satellite connection parameters from Heat
Change-Id: I1a66d2388f72b718169404232eac4861199f457c
2014-12-09 10:42:23 +01:00
Radomir Dopieralski
b058f0ea1e Display node information in a popup over the node boxes
Change-Id: Id7be4b2ffcff8d0a2a0963b4080dd56b9c348af9
2014-12-08 20:51:15 +01:00
Jenkins
6791631cd0 Merge "Use the pluggable eslint instead of jshint" 2014-12-08 16:13:34 +00:00
Lennart Regebro
6ee771a4e2 Use the pluggable eslint instead of jshint
We likely have to write some plugins, or configure it better,
but that will be a different patch.

Change-Id: I71eb341af45dc529a3d84467d7252b3d64b1e56d
2014-12-08 17:08:32 +01:00
Radomir Dopieralski
1dd4aa3154 Fix pep8 warnings
Change-Id: Icd648746ea0296bbb5f89042b1c0ae8b80d3a515
2014-12-02 14:59:36 +01:00
Radomir Dopieralski
b3c49ab78a Make the tests run
The run_tests.sh was just blindly copied from tuskar_ui and didn't work
properly or run the local tests. This patch fixes the paths and adds
local settings.py file that loads both plugins.

Change-Id: I1b6c0a7a149201325638db39196f3c113a881820
2014-12-02 14:42:55 +01:00
Radomir Dopieralski
3275c2dbc9 Set maximums for numberpicker in the plan edit view
Don't allow the user to increase the number of nodes over what is available.
Note: this doesn't fix a plan that is already invalid and has more nodes.

Change-Id: I644f781be6d3d616285de49873a4e996286436bd
2014-12-01 12:45:15 +01:00
Jenkins
a0c2251fb4 Merge "Update node status on progress page with ajax" 2014-11-24 20:09:13 +00:00
Jenkins
bdc4f301c7 Merge "Add sexy boxes to the deployment status page" 2014-11-24 20:09:07 +00:00
Radomir Dopieralski
a3a4a67e4a Update node status on progress page with ajax
Change-Id: Icb67a6ff7416d50c2f0ebbb6ed5d5173e647baac
2014-11-24 16:13:23 +01:00
Radomir Dopieralski
5fdf903e24 Add sexy boxes to the deployment status page
For now, they are statically generated and don't update with the progress
bar -- that will be done as the next step.

Change-Id: I15701bf8523240f9429304f315386a8d3bd2cd7a
2014-11-24 16:12:12 +01:00
Jenkins
0da08b8cec Merge "Move js and css out of the template file" 2014-11-24 13:44:19 +00:00
Jenkins
f3911e6da7 Merge "More robust extending of url patterns" 2014-11-24 13:14:56 +00:00
Lennart Regebro
67cf6e1c04 Reimplement the Satellite integration in Python
The AngularJS implementation proved hard to maintain, and brittle.
Angulars obtuse error messages did not help. Reimplementing this
in Python with standard Horizon tables proved faster than trying
to solve the issues with the JS implementation.

Change-Id: I3cd80d14505b278273b19bfd6b875326c3b72f6a
2014-11-20 13:08:46 +01:00
Radomir Dopieralski
ab7a262994 More robust extending of url patterns
Instead of copying urls.py, only replace the rules that we need.

Change-Id: I08cc0c99b0abaa4a54aa9ecc5ccffacad986121a
2014-11-19 12:10:47 +01:00
Radomir Dopieralski
5180a64abe Move js and css out of the template file
Move the JavaScript code and CSS style rules out of the template, into their
own static files.

Change-Id: I42361fc3cfcb32a600ab24962eb5767e5d7eb5c2
2014-11-14 16:41:02 +01:00
Radomir Dopieralski
05c3a99b3f Make tuskar_sat_ui installable by copying a panel file
Change-Id: Ie60eb74557609439b0c524d866fe6974a84267b1
2014-10-31 14:33:26 +01:00
Radomir Dopieralski
b60dca117e Small fixes for the plan edit
* Update the role names for Swift and Cinder
* Fix the column width of the index page
* Use bootstrap's dropdown menu

Change-Id: I55aee6aba5faabd30e70422f31003abd4ab2e132
2014-10-31 13:12:01 +01:00
Radomir Dopieralski
9724ccdf83 Don't count autodiscovered nodes as available
Also some small fixes:
* include architecture when comparing nodes to flavors
* display architecture when displaying flavors
* call flavors "Flavors" and not "Node Profiles"
* missing translation

Change-Id: I1ff5c9974736606b851c10f01b2e186faf24c6a9
2014-10-15 14:57:05 +02:00
Jenkins
4184f6df9d Merge "Add flavor saving" 2014-10-09 14:33:26 +00:00
Jenkins
6ee8493610 Merge "Sexy boxes drag and drop" 2014-10-09 14:25:33 +00:00
Jenkins
54206258ff Merge "Copy of the current Overview panel from tuskar" 2014-10-09 12:22:32 +00:00
Jenkins
7a54ad10f9 Merge "Add tuskar_boxes plugin and clean up setup.cfg" 2014-10-09 12:18:38 +00:00
Radomir Dopieralski
7d8210b65a Add flavor saving
Properly save the flavor of the role.
Also bring back the autosave.
Also add menu for non-drag-and-drop adding.

Change-Id: Ie977aa2c1eb23b26589a881b65db6840046b5c59
2014-10-07 14:37:31 +02:00
Radomir Dopieralski
05e505c5c6 Sexy boxes drag and drop
The plan edit page is modified to show the flavors with a visualisation
of the nodes. Roles can be dragged and dropped on the flavors.

TODO: actually save the flavor for a role in the form
TODO: add a popup for adding the roles to flavors

Change-Id: I9b97f39e3800b5b6c2e5639fcfd186b4196d0190
2014-10-03 14:06:28 +02:00
Radomir Dopieralski
f1bf2337ae Copy of the current Overview panel from tuskar
Starting with the current templates and view, I will gradually
remake it to look like the wireframes require.

Change-Id: Ia6539c84677a4a40a030620b90cedc042f470e6c
2014-10-02 10:34:52 +02:00
Radomir Dopieralski
b870ca895d Add tuskar_boxes plugin and clean up setup.cfg
Clean up requirements and setup.cfg
Add a placeholder for the tuskar_boxes plugin

Change-Id: I4cbf050f700cb7a4732e08128e280f18066a3a05
2014-10-01 11:44:32 +02:00
Radomir Dopieralski
6198b65c56 Add .gitreview file
So that "git review" works out of the box.

Change-Id: I0104eb4e37dedccfced3d8722294ab6ef0cc560c
2014-10-01 10:28:26 +02:00
Jordan OMara
8f04e9c62a Merge pull request #4 from tzumainn/master
updated for latest node details template
2014-07-31 13:14:35 -04:00