laas.git
5 years agoAdds pdf and idf into api
Parker Berberian [Wed, 17 Apr 2019 16:44:04 +0000 (12:44 -0400)]
Adds pdf and idf into api

The Pod Descriptor File (pdf) and Installer descriptor file (idf)
are now hosted in the api. The url endpoint where the lab
can retrieve them are now part of a software task.

An OPNFV task also contains a new dictionary that describes how bridges
should be configured on the jumphost. This information is not
contained in the pdf/idf but is needed by the lab.

Change-Id: I6971279979ba180725926035bd9db481aafb1073
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Implement OPNFV workflow"
Parker Berberian [Fri, 3 May 2019 18:16:41 +0000 (18:16 +0000)]
Merge "Implement OPNFV workflow"

5 years agoImplement OPNFV workflow
Sawyer Bergeron [Tue, 9 Apr 2019 20:30:57 +0000 (16:30 -0400)]
Implement OPNFV workflow

This is a counterpart to an update to network models,
and allows for configuring baremetal OPNFV and Openstack deploys

Change-Id: I0185dbfa6c9105d7e63a7e7d7dd1f5cf228a8877
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFix change/reset image with multiple collaborators
Sawyer Bergeron [Mon, 29 Apr 2019 16:42:48 +0000 (12:42 -0400)]
Fix change/reset image with multiple collaborators

When a host on a booking with multiple collaborators
has its image reset/changed, a 500 error is no longer
returned

Change-Id: Icafdf53059f35c838e0de675da6a8b8bffffe58a
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoMerge "Fixes the idf and pdf templates so that we can deploy opnfv"
Parker Berberian [Wed, 17 Apr 2019 14:32:03 +0000 (14:32 +0000)]
Merge "Fixes the idf and pdf templates so that we can deploy opnfv"

5 years agoFixes the idf and pdf templates so that we can deploy opnfv
Parker Berberian [Fri, 12 Apr 2019 16:24:34 +0000 (12:24 -0400)]
Fixes the idf and pdf templates so that we can deploy opnfv

Change-Id: I0091629f8f0af423210b2e81210d65239e9662b4
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFix quick booking image filtering bug
Sawyer Bergeron [Tue, 16 Apr 2019 17:31:42 +0000 (13:31 -0400)]
Fix quick booking image filtering bug

Change-Id: I9fe5b34be2113d3bf7d2e763730b6658f529d387
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoMerge "Limit total number of active bookings per user"
Parker Berberian [Tue, 16 Apr 2019 16:53:08 +0000 (16:53 +0000)]
Merge "Limit total number of active bookings per user"

5 years agoLimit total number of active bookings per user
Sawyer Bergeron [Mon, 8 Apr 2019 17:17:45 +0000 (13:17 -0400)]
Limit total number of active bookings per user

Change-Id: I4f79e3225f423274de3d2da912a080521447b185
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoMerge "Fixing Network Models"
Parker Berberian [Tue, 16 Apr 2019 13:59:21 +0000 (13:59 +0000)]
Merge "Fixing Network Models"

5 years agoFixing Network Models
Parker Berberian [Thu, 14 Mar 2019 19:51:19 +0000 (15:51 -0400)]
Fixing Network Models

Change-Id: Ia2cdf069e90c8091e8d984c368e47f375aed02ea
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFix private images being visible to anyone
Sawyer Bergeron [Wed, 10 Apr 2019 17:15:34 +0000 (13:15 -0400)]
Fix private images being visible to anyone

Change-Id: I1df1a11dd1b9e51d026157f9c7fd8b4a008371d8
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoFix dropdown visibility bug on Safari
Sawyer Bergeron [Wed, 10 Apr 2019 16:31:55 +0000 (12:31 -0400)]
Fix dropdown visibility bug on Safari

Change-Id: Ibf9c61cc166f9717fa018946651668da748fe73b
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoRemoved bad line in Lab detail page
Parker Berberian [Mon, 1 Apr 2019 17:00:41 +0000 (13:00 -0400)]
Removed bad line in Lab detail page

profile.labs templates to "account.Lab.None" which is
ugly and makes no sense.

Change-Id: I835718e72dad57cecf2c83229922046df9f1a312
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "fix slider appearance on Firefox"
Parker Berberian [Fri, 29 Mar 2019 14:38:25 +0000 (14:38 +0000)]
Merge "fix slider appearance on Firefox"

5 years agoMerge "Fix iframe height bug"
Parker Berberian [Fri, 29 Mar 2019 14:35:59 +0000 (14:35 +0000)]
Merge "Fix iframe height bug"

5 years agoAdd host detail view
Sawyer Bergeron [Tue, 19 Mar 2019 20:22:31 +0000 (16:22 -0400)]
Add host detail view

Change-Id: Ie385fe3f2fbe3b178f00928914d47a34b181d05e
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoFix iframe height bug
Sawyer Bergeron [Tue, 26 Mar 2019 18:39:17 +0000 (14:39 -0400)]
Fix iframe height bug

iframes in workflows should no longer size incorrectly on initial load
and page refresh

Change-Id: Ic0765138e7c2f94603b69e8a8412ffa17817b2e7
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agofix slider appearance on Firefox
Sawyer Bergeron [Tue, 26 Mar 2019 19:31:49 +0000 (15:31 -0400)]
fix slider appearance on Firefox

Change-Id: Icd2e6b46cb6bdc2f7522228e5ead9f3f389afe5e
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoMerge "Add ability to clean up hosts and vlans"
Parker Berberian [Fri, 22 Mar 2019 17:59:57 +0000 (17:59 +0000)]
Merge "Add ability to clean up hosts and vlans"

5 years agoAdd ability to clean up hosts and vlans
Sawyer Bergeron [Tue, 19 Mar 2019 21:22:40 +0000 (17:22 -0400)]
Add ability to clean up hosts and vlans

Change-Id: Idfe8c7245ba76e1a8aadd501401991e215761afc
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Make host entries prettier on Define Hardware step"
Parker Berberian [Wed, 20 Mar 2019 17:18:33 +0000 (17:18 +0000)]
Merge "Make host entries prettier on Define Hardware step"

5 years agoMake host entries prettier on Define Hardware step
Sawyer Bergeron [Tue, 19 Mar 2019 17:59:14 +0000 (13:59 -0400)]
Make host entries prettier on Define Hardware step

Change-Id: I492ffd5a3cfcb19902a91f587c8acfdb1827be4d
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoMerge "Cleanup Quick Booking Page"
Parker Berberian [Wed, 20 Mar 2019 16:46:36 +0000 (16:46 +0000)]
Merge "Cleanup Quick Booking Page"

5 years agoCleanup Quick Booking Page
Parker Berberian [Mon, 18 Mar 2019 17:47:55 +0000 (13:47 -0400)]
Cleanup Quick Booking Page

Removed "filter_field" label and moved opnfv
options into thier own box

Change-Id: I7d2ee1f39a94de0a6638c96a3469f6f4c27e2196
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Update Lab List View"
Parker Berberian [Wed, 20 Mar 2019 16:23:57 +0000 (16:23 +0000)]
Merge "Update Lab List View"

5 years agoMerge "Remove Unneeded field"
Parker Berberian [Wed, 20 Mar 2019 16:19:26 +0000 (16:19 +0000)]
Merge "Remove Unneeded field"

5 years agoMerge "Fixes Booking List"
Parker Berberian [Wed, 20 Mar 2019 16:18:59 +0000 (16:18 +0000)]
Merge "Fixes Booking List"

5 years agoMake "Extra Info" step cleaner
Sawyer Bergeron [Tue, 19 Mar 2019 18:29:08 +0000 (14:29 -0400)]
Make "Extra Info" step cleaner

Change-Id: I2e552701e360c2217c2ec59e64a5c28839207394
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoUpdate Lab List View
Parker Berberian [Mon, 18 Mar 2019 18:31:05 +0000 (14:31 -0400)]
Update Lab List View

Makes the list of labs detail cards, similar to how we list
a user's bookings

Change-Id: I4c1594d990bc460b423d38b3ada62f9a12e22614
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoRemove Unneeded field
Parker Berberian [Mon, 18 Mar 2019 17:25:56 +0000 (13:25 -0400)]
Remove Unneeded field

Removed field that referenced other labs because it is always None

Change-Id: I6bfce388844a8c5a7d60d227f51f10e628fc626d
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFixes Booking List
Parker Berberian [Mon, 18 Mar 2019 17:20:12 +0000 (13:20 -0400)]
Fixes Booking List

Adds project collumn, removed Installer and Scenario, and correctly
populates the operating system collumn.

Change-Id: I8af778c66fa248832ad98188d0c93bbc84027c55
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMinor Cleanup enhancements
Parker Berberian [Fri, 15 Mar 2019 14:59:36 +0000 (10:59 -0400)]
Minor Cleanup enhancements

Change-Id: I032c8771b69e0f6d320759ee95c4987e41df57ba
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoRespects lab_token from lab
Parker Berberian [Thu, 14 Mar 2019 19:04:32 +0000 (15:04 -0400)]
Respects lab_token from lab

Change-Id: I322f876a21d25dc185a6f4930d2f2a5f463e2d24
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Add API tests"
Parker Berberian [Thu, 14 Mar 2019 16:32:16 +0000 (16:32 +0000)]
Merge "Add API tests"

5 years agoAdd API tests
Sawyer Bergeron [Tue, 5 Mar 2019 20:28:51 +0000 (15:28 -0500)]
Add API tests

Change-Id: Ic26d0b6de63405d239a9260b862158962c3140ac
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoMerge "Add column ordering to host list"
Parker Berberian [Wed, 13 Mar 2019 18:19:48 +0000 (18:19 +0000)]
Merge "Add column ordering to host list"

5 years agoAdd column ordering to host list
Sawyer Bergeron [Wed, 13 Mar 2019 18:11:01 +0000 (14:11 -0400)]
Add column ordering to host list

Change-Id: Id1d52217b85aaafed71177c8eed5719dbb1bff4a
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoMerge "Bookings no longer default to 0 days"
Parker Berberian [Wed, 13 Mar 2019 17:44:41 +0000 (17:44 +0000)]
Merge "Bookings no longer default to 0 days"

5 years agoBookings no longer default to 0 days
Sawyer Bergeron [Wed, 13 Mar 2019 17:35:46 +0000 (13:35 -0400)]
Bookings no longer default to 0 days

This commit rectifies bookings defaulting to
(and allowing) a length of 0 on the booking
meta step

Change-Id: I5a9a516fc7cb2b5e9f30ec1b4ad93f7c31d1acbc
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoFix mismatched charfield max_lengths
Sawyer Bergeron [Wed, 13 Mar 2019 17:29:55 +0000 (13:29 -0400)]
Fix mismatched charfield max_lengths

Change-Id: I960710d800b614f93d06f5b0aff81d8b9508d5dd
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoMerge "Hides expired bookings in the "My Bookings" Page"
Parker Berberian [Wed, 13 Mar 2019 17:20:26 +0000 (17:20 +0000)]
Merge "Hides expired bookings in the "My Bookings" Page"

5 years agoAllow labs to retirieve and update some host information in the api
Parker Berberian [Tue, 12 Mar 2019 14:28:48 +0000 (10:28 -0400)]
Allow labs to retirieve and update some host information in the api

Change-Id: Ib0682141351f7789c50d98a992ab166c2f033f4b
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFix migration and models
Parker Berberian [Wed, 6 Mar 2019 16:47:23 +0000 (11:47 -0500)]
Fix migration and models

We missed a few migrations

Change-Id: I58e1abb53e5295ec6c6228906d6eb2fd7fea0b84
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Enhance PDF/IDF Support"
Parker Berberian [Fri, 1 Mar 2019 18:21:51 +0000 (18:21 +0000)]
Merge "Enhance PDF/IDF Support"

5 years agoMerge "Add test utils and tests for quick booking"
Parker Berberian [Fri, 1 Mar 2019 18:18:43 +0000 (18:18 +0000)]
Merge "Add test utils and tests for quick booking"

5 years agoAdd test utils and tests for quick booking
Sawyer Bergeron [Mon, 11 Feb 2019 17:54:42 +0000 (12:54 -0500)]
Add test utils and tests for quick booking

Change-Id: Ie76c6fe26622ca8363055b8ebbe0dc6deaed5824
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoEnhance PDF/IDF Support
Parker Berberian [Tue, 26 Feb 2019 17:01:18 +0000 (12:01 -0500)]
Enhance PDF/IDF Support

Improves PDF template and code organization and adds
an IDF template.

To complete these templates, the lab must be able to
report L3 network info and ipmi info at the least.
A change to the API to allow for this has to be made.

Change-Id: I4b9d2e73eb3940300f7e95fa2f9f4ddd0d606c60
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoUpdate IPMI handling
Parker Berberian [Wed, 27 Feb 2019 16:52:21 +0000 (11:52 -0500)]
Update IPMI handling

provides a way for the lab to report IPMI info to the
dashboard. Necessary to allow the dashboard
to fully generate a PDF for OPNFV deploy

Change-Id: Ieef7a93e28b155ee90f3ffd3cfeedace332a6641
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoHides expired bookings in the "My Bookings" Page
Parker Berberian [Thu, 24 Jan 2019 15:25:30 +0000 (10:25 -0500)]
Hides expired bookings in the "My Bookings" Page

This commit hides bookings that have ended from cluttering
the "My Bookings" page.

Change-Id: I0f98fbff97b1474e73a666aa0000e1923266fafb
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Update Inbox Featureset"
Parker Berberian [Mon, 25 Feb 2019 17:04:57 +0000 (17:04 +0000)]
Merge "Update Inbox Featureset"

5 years agoUpdate Inbox Featureset
Sawyer Bergeron [Mon, 28 Jan 2019 18:07:05 +0000 (13:07 -0500)]
Update Inbox Featureset

Inbox now supports marking unread, marking for deletion,
and has a new UI

Change-Id: Ia684056f70ecca31bbd71634f4d1d5415f7e5428
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoCheck for Host Availability
Parker Berberian [Thu, 3 Jan 2019 20:46:32 +0000 (15:46 -0500)]
Check for Host Availability

Currently, if not enough hosts are free to fulfill a booking,
booking creation will fail with an error message to the users.
This commit adds a way to check if a given POD will be available
and communicates to the user if not.

Change-Id: Ib75d9ee4759cf991a5c985cb4a6f7baaaafbe8fa
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFixed Selection of single hosts in quick booking
Parker Berberian [Fri, 22 Feb 2019 17:38:04 +0000 (12:38 -0500)]
Fixed Selection of single hosts in quick booking

Change-Id: I8ca860ee23f9df44e38da76d539729771d32c455
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Fixed all Flake8 errors"
Parker Berberian [Mon, 18 Feb 2019 17:07:47 +0000 (17:07 +0000)]
Merge "Fixed all Flake8 errors"

5 years agoFixed all Flake8 errors
Parker Berberian [Wed, 30 Jan 2019 18:40:15 +0000 (13:40 -0500)]
Fixed all Flake8 errors

Change-Id: I1186429df8989461e2384f1f3e533c55cebfb1b4
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Allow Users to Delete objects and Cancel Bookings"
Parker Berberian [Fri, 1 Feb 2019 15:30:36 +0000 (15:30 +0000)]
Merge "Allow Users to Delete objects and Cancel Bookings"

5 years agoFixed PTL Checks
Parker Berberian [Tue, 29 Jan 2019 17:05:05 +0000 (12:05 -0500)]
Fixed PTL Checks

First, this commit correctly parses the gerrit urls and can
redirect itself to the raw info file if the user provides
the html rendered one.
This commit also fixes the way it checks the user against the
found PTLs. The returned data changed format when support was added for
sub-PTLs and the checks were never updated.

Change-Id: I5801d207ec823c718a5beb5d5e78ee5780ec65e0
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoAllow Users to Delete objects and Cancel Bookings
Parker Berberian [Tue, 29 Jan 2019 15:05:27 +0000 (10:05 -0500)]
Allow Users to Delete objects and Cancel Bookings

A user can now delete thier own resources, configs,
and snapshots as well as cancelling bookings.

Change-Id: Ic8e4751feeb0b8fa0d76816b8df2d16729ad2828
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Add Tox commands to lint Python code"
Parker Berberian [Mon, 28 Jan 2019 19:25:50 +0000 (19:25 +0000)]
Merge "Add Tox commands to lint Python code"

5 years agoMerge "Remove broken API link"
Parker Berberian [Mon, 28 Jan 2019 18:43:35 +0000 (18:43 +0000)]
Merge "Remove broken API link"

5 years agoAdd Tox commands to lint Python code
Trevor Bramwell [Mon, 10 Dec 2018 17:23:57 +0000 (09:23 -0800)]
Add Tox commands to lint Python code

This adds tox jobs for running flake8.

Flake8 is a syntax analyzer for python source code that combines
the tools pyflakes and pep8 into one.

This tool can be used to find syntax issues, unnecessary imports, and
style violations, which all improve the code quality and readability.

Change-Id: I7521c3a43ef4599eb12fd72e87a0c6ec0df61e7a
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
5 years agoRemove broken API link
Parker Berberian [Thu, 24 Jan 2019 15:33:09 +0000 (10:33 -0500)]
Remove broken API link

We moved away from the DRF for a lot of the more complex api
interactions in 2.0, so the API link on the sidebar
was broken.

Change-Id: Id63d8d52d514f447bf282f40199f6ecc7322922b
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFix Reimaging Hosts
Parker Berberian [Wed, 23 Jan 2019 18:47:56 +0000 (13:47 -0500)]
Fix Reimaging Hosts

When a User wants to reimage a host, the dashboard needs to also refresh the
network and ssh configurations. Otherwise a host is reimaged and becomes
unreachable.

Change-Id: I534f200498c9217bda81190861021c482e052a81
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFixed timezone issue in the Snapshot Workflow
Parker Berberian [Tue, 22 Jan 2019 16:54:12 +0000 (11:54 -0500)]
Fixed timezone issue in the Snapshot Workflow

The snapshot workflow was using the python datetime module directly,
which breaks on the strict timezone requirements of the live
dashboard. This commit uses the django timezone module instead

Change-Id: I04b43b127bd3d8eb8ac72aa9c84e24a5f154a880
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Fix BookingDetail Template"
Parker Berberian [Fri, 18 Jan 2019 21:21:28 +0000 (21:21 +0000)]
Merge "Fix BookingDetail Template"

5 years agoMerge "Fix ConfigBundle not being set in quick deploy"
Parker Berberian [Fri, 18 Jan 2019 21:21:12 +0000 (21:21 +0000)]
Merge "Fix ConfigBundle not being set in quick deploy"

5 years agoMerge "Make landing page less sparse"
Parker Berberian [Fri, 18 Jan 2019 21:20:35 +0000 (21:20 +0000)]
Merge "Make landing page less sparse"

5 years agoMake landing page less sparse
Sawyer Bergeron [Fri, 18 Jan 2019 21:14:00 +0000 (16:14 -0500)]
Make landing page less sparse

Change-Id: If661574fd0c62e208651507ccff844cf6f14e914
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoOverHaul the Snapshot Workflow
Parker Berberian [Thu, 17 Jan 2019 17:51:04 +0000 (12:51 -0500)]
OverHaul the Snapshot Workflow

Makes the Snapshot workflow much prettier and more functional.

Change-Id: Icdd66f64e6d336ad49ed3cf638a301d0ca92fda9
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Style Account pages"
Parker Berberian [Fri, 18 Jan 2019 19:52:28 +0000 (19:52 +0000)]
Merge "Style Account pages"

5 years agoStyle Account pages
Parker Berberian [Fri, 18 Jan 2019 19:43:11 +0000 (14:43 -0500)]
Style Account pages

Adds some prettiness to the account pages that list bookings, etc

Change-Id: I90508cfafba00380d67965a038dc54d1fac43f60
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFix ConfigBundle not being set in quick deploy
Sawyer Bergeron [Fri, 18 Jan 2019 17:55:05 +0000 (12:55 -0500)]
Fix ConfigBundle not being set in quick deploy

booking.config_bundle was not getting set in quick deploy, making the
booking detail page inaccurate

Change-Id: If62518030cc5d1726cbc03efa745c38a99465881
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoAllow for Hosts to be Re-Imaged
Parker Berberian [Tue, 15 Jan 2019 17:49:20 +0000 (12:49 -0500)]
Allow for Hosts to be Re-Imaged

This change adds a button the user can press on thier booking
detail page to reset thier host. They can choose to deploy
any available image to thier servers (not just the one already used)

Change-Id: I97a9869d2b38389c54f13173bb28a68cc52bb8d5
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFix BookingDetail Template
Sawyer Bergeron [Fri, 18 Jan 2019 16:56:21 +0000 (11:56 -0500)]
Fix BookingDetail Template

Booking detail view template did not properly reference diskprofile
objects by their related name, so that area was blank in the rendered
page

Change-Id: Icedc12a6cd31a2422e26281e2b4f34750fb01bae
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoMerge "Styled the Booking Statistics page"
Parker Berberian [Fri, 18 Jan 2019 16:31:24 +0000 (16:31 +0000)]
Merge "Styled the Booking Statistics page"

5 years agoMerge "Add Quick-Booking Workflow"
Parker Berberian [Fri, 18 Jan 2019 16:30:27 +0000 (16:30 +0000)]
Merge "Add Quick-Booking Workflow"

5 years agoAdd Quick-Booking Workflow
Sawyer Bergeron [Thu, 17 Jan 2019 16:30:35 +0000 (11:30 -0500)]
Add Quick-Booking Workflow

Users can now quickly provision a single-host pod without having to
configure unecessary networking. This is intended to be analogous to the
workflow used during LaaS 1.0, and to speed up the process of creating a
booking for users who do not need more than a single host (for virtual
deployments)

Change-Id: Ia19cea9a42bbb1df57aad05af8f8ea821395664d
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoMerge "Fix Multiple Select Filter Widget"
Parker Berberian [Fri, 18 Jan 2019 16:19:32 +0000 (16:19 +0000)]
Merge "Fix Multiple Select Filter Widget"

5 years agoStyled the Booking Statistics page
Parker Berberian [Wed, 16 Jan 2019 22:18:09 +0000 (17:18 -0500)]
Styled the Booking Statistics page

Added some pretty CSS

Change-Id: I8330f8de34ab22197bedad802b3696526c009ba4
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Landing page now links to LaaS 2.0 wiki entry"
Parker Berberian [Wed, 16 Jan 2019 20:11:21 +0000 (20:11 +0000)]
Merge "Landing page now links to LaaS 2.0 wiki entry"

5 years agoFix Multiple Select Filter Widget
Parker Berberian [Wed, 16 Jan 2019 20:05:36 +0000 (15:05 -0500)]
Fix Multiple Select Filter Widget

Fixed a bug in the widget that allowed multiple
objects to be selected when only one was allowed.

Change-Id: I623a041fa82a2f7ee178df782d21d100617eac3b
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFix API serialization
Parker Berberian [Fri, 4 Jan 2019 16:29:00 +0000 (11:29 -0500)]
Fix API serialization

Under special circumstances, the 'context' field may be empty and serialization will fail,
but that field is optional so we will ignore errors.

Change-Id: I2e1e47a2f7d507e45b171f80aa241c8026cfc1a5
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoLanding page now links to LaaS 2.0 wiki entry
Sawyer Bergeron [Fri, 4 Jan 2019 16:12:41 +0000 (11:12 -0500)]
Landing page now links to LaaS 2.0 wiki entry

Change-Id: I01dd7f671a21c9b9f06dede341d6ddf410f0e776
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoMerge "Fixed Query for free hosts"
Parker Berberian [Fri, 4 Jan 2019 14:58:07 +0000 (14:58 +0000)]
Merge "Fixed Query for free hosts"

5 years agoFix landing page directions for not-logged-in users
Sawyer Bergeron [Fri, 4 Jan 2019 14:38:43 +0000 (09:38 -0500)]
Fix landing page directions for not-logged-in users

Users will see a more informative landing page that directs them to log
in if they have not yet done so, rather than displaying actions they can
not yet take and having a required login get triggered later

Change-Id: I9812367930665614933551f780f4c6726ff3049c
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoFixed Query for free hosts
Parker Berberian [Fri, 4 Jan 2019 14:35:24 +0000 (09:35 -0500)]
Fixed Query for free hosts

Change-Id: I05213a3521c5ffa6b311c9e11e9d593dd2098ebe
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Changed Button style class to btn-primary"
Parker Berberian [Thu, 3 Jan 2019 20:09:42 +0000 (20:09 +0000)]
Merge "Changed Button style class to btn-primary"

5 years agoChanged Button style class to btn-primary
Parker Berberian [Wed, 2 Jan 2019 22:54:24 +0000 (17:54 -0500)]
Changed Button style class to btn-primary

btn-primary has a handful of advantages over btn-default, including
consistency across browsers and correctly styling non-button
html tags

p.s. vim is best

Change-Id: I6e55a75a9fd48d64496fd83f43a7856af0c04cc0
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoAlert users that ssh key is required
Sawyer Bergeron [Thu, 3 Jan 2019 19:39:47 +0000 (14:39 -0500)]
Alert users that ssh key is required

Any users that have not uploaded an ssh key will see a message on the
landing page that they need to upload one. Message is not seen by people
who have already uploaded a key

Change-Id: I01667e161521d801090173d47815abbeff094907
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoMerge "Improve cleanup of hosts after booking"
Parker Berberian [Thu, 3 Jan 2019 19:23:29 +0000 (19:23 +0000)]
Merge "Improve cleanup of hosts after booking"

5 years agoMerge "Removes log button in deployment"
Parker Berberian [Thu, 3 Jan 2019 19:23:18 +0000 (19:23 +0000)]
Merge "Removes log button in deployment"

5 years agoMerge "Requires a Jumphost per POD"
Parker Berberian [Thu, 3 Jan 2019 19:23:05 +0000 (19:23 +0000)]
Merge "Requires a Jumphost per POD"

5 years agoMerge "Cleaning up look and feel"
Parker Berberian [Thu, 3 Jan 2019 19:17:36 +0000 (19:17 +0000)]
Merge "Cleaning up look and feel"

5 years agoCleaning up look and feel
Sawyer Bergeron [Thu, 3 Jan 2019 13:55:06 +0000 (08:55 -0500)]
Cleaning up look and feel

Network step is now much prettier

Change-Id: I72487e3a5f30e4c0339734674c53d4661f9c0104
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoDisable Edit Buttons
Sawyer Bergeron [Thu, 3 Jan 2019 17:51:51 +0000 (12:51 -0500)]
Disable Edit Buttons

Edit buttons are currently not functional due to major changes in how
the workflow works, so this commit disables them for the time being to
avoid confusion

Change-Id: I62dddbc25267e9da55c503b48fed4f05cea97c22
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoMerge "Implement Segmented Workflows"
Parker Berberian [Thu, 3 Jan 2019 16:09:13 +0000 (16:09 +0000)]
Merge "Implement Segmented Workflows"

5 years agoRequires a Jumphost per POD
Parker Berberian [Thu, 3 Jan 2019 15:49:29 +0000 (10:49 -0500)]
Requires a Jumphost per POD

It was assumed but never enforced that each pod configuration
elects at least one host as the "jumphost". This commit
makes that a requirement when creating a configuration.

Change-Id: If55f1aa231b3cba8713f325f158796d85466b02a
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoImplement Segmented Workflows
Sawyer Bergeron [Fri, 14 Dec 2018 21:05:47 +0000 (16:05 -0500)]
Implement Segmented Workflows

A major source of bugs has been how we've approached inlining
workflows. We no longer inline them as of this commit, and instead
use a stack structure. This commits the result of workflows to the
database before other workflows try to read them, so we don't have
to maintain a code path for when something is or isn't committed
to db.

This patchset allows for workflows to pass limited information
to preset selections

Change-Id: I3d040c7f3024c7420017ae4ec66a23219303dcb6
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
5 years agoRemoves log button in deployment
Parker Berberian [Wed, 2 Jan 2019 21:51:35 +0000 (16:51 -0500)]
Removes log button in deployment

We had a button that would barf up XML logs for development
but forgot to disable it for the live dashboard

Change-Id: I1061ba967f077a103a7e1ae61d60d81cd9e4c443
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>