The red error box will now show why a lease failed to be created or
updated, for example if not enough resources are available.
Also remove "Please try again" which is not a helpful message.
Change-Id: Id0b39fd151956ae6b08ab503a7ae0c5dc09af7f6
This adds a calendar view where users can see a timeline of resources,
showing when each resource is reserved.
Implements: blueprint calendar-view
Change-Id: I4f2649d6c9538037dff4747ef4a8210da3666354
This patch is a clean-up patch for refactor-error-messages bp
which remove the exception message from base message otherwise
the same exception message display twice like
this https://ibb.co/XyFWMdz .
Change-Id: Ia9b66536afe2c0122b652c58d9e11235f962a71c
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Update hacking to version 3.0; remove hacking and friends
from requirements, they are not needed; fix warnings found
- Use unittest.mock
Change-Id: I379c086a15477da4b0223fddd48035c829992c88
Blazar supports True and None for the affinity key in the instance
reservation from Stein release. This patch follows the change in
the blazar dashboard.
Closes-Bug: #1821168
Change-Id: Ibceef87ee717cd978e38765bde80e8294a69833d
Replace django.core.urlresolves with django.urls
(In Django 2.0) The django.core.urlresolvers module is removed
in favor of its new location, django.urls.
It was deprecated in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3
Add py35dj20 job to test Django 2.0 integration.
Also drops older Django unit tests from tox.ini
as horizon dropped Django <=1.10 support in Rocky.
Change-Id: I099c7b019c930307d3aae64b1729d6f532fc1653
This patch changes the reservation view in the detailed view of a lease.
General reservation parameters are shown first and resource specific
parameters are shown after them.
Change-Id: I6b3d91370c26332bba5452a28be3020653fd11fd
Closes-Bug: #1711554
The action and the status_reason fields are not used in the latest
state-machine. This patch stops showing these unused fields.
Partially Implements: blueprint state-machine
Change-Id: I14e7e2c545c37f215c0303d6906748f4d5a120ab
"Cancel" appears large and grey, styled like the X to close the form. It
also needs to appear before the "Update" element in the source,
otherwise there is no spacing between the two buttons.
Change-Id: Idd03e1a178523b07d644b54e5e48a40b5f3f8c60
This patch changes the template of detail view to show more detailed
information of reservations.
Partially Implements: blueprint climate-dashboard
Change-Id: Iae34757bb870e84fb6a58eebe6b04da470d22688
This patch adds a lease creation feature to the Blazar dashboard.
Change-Id: Id078c570122e3de4d4569023f85a94af7ccaa05b
Partially Implements: blueprint climate-dashboard
Instance reservation does not support update of reservation currently.
This patch adds validation checks to the update form and hides
unsupported fields if the lease includes instance reservations.
Change-Id: I2cb51871ed4ff1d301569ee4a9be21be01aac263
Partially Implements: blueprint climate-dashboard
This patch adds a Horizon plugin for Blazar. The following features are
currently supported:
* Show a list of leases
* Show details of a lease
* Update a lease
* Delete lease(s)
Change-Id: I24c14e697d4280fa29d84d11324fb881009f089b
Partially Implements: blueprint climate-dashboard
Co-Authored-By: Pablo Andres Fuente <pablo.a.fuente@intel.com>