laas.git
4 years agoMake static OPNFV references dynamic 82/70582/3
Sean Smith [Thu, 23 Jul 2020 21:16:58 +0000 (17:16 -0400)]
Make static OPNFV references dynamic

Change-Id: I3830a30a927834b642052643d94c39a9faec4d54
Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
4 years agoMerge "Revert "Enable OpenID""
Sawyer Bergeron [Tue, 23 Jun 2020 21:18:19 +0000 (21:18 +0000)]
Merge "Revert "Enable OpenID""

4 years agoRevert "Enable OpenID" 82/70382/1
Sawyer Bergeron [Tue, 23 Jun 2020 21:17:14 +0000 (21:17 +0000)]
Revert "Enable OpenID"

This reverts commit 596664b37c17b31f2b5faa0d5144e4317179e0ba.

Reason for revert: seems to break things when keys aren't defined on fresh container build

Change-Id: I4ef788062c8a6967afad4eb3695af85bc3a4718b
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
4 years agoMerge "Quick Booking Menu Resource Availibility"
Sawyer Bergeron [Tue, 23 Jun 2020 20:58:26 +0000 (20:58 +0000)]
Merge "Quick Booking Menu Resource Availibility"

4 years agoMerge "Enable OpenID"
Sawyer Bergeron [Tue, 23 Jun 2020 20:58:14 +0000 (20:58 +0000)]
Merge "Enable OpenID"

4 years agoEnable OpenID 64/70364/7
ssmith [Thu, 18 Jun 2020 22:30:39 +0000 (18:30 -0400)]
Enable OpenID

Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
Change-Id: I4397976dbafce1d9d1cccc52f0e705891e59153a

4 years agoQuick Booking Menu Resource Availibility 57/70357/8
ssmith [Wed, 17 Jun 2020 15:44:30 +0000 (11:44 -0400)]
Quick Booking Menu Resource Availibility

Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
Change-Id: I79f411af8996698d2c553185eed0221792a348d0

4 years agoSmall Change to add a useful workflow transaction 70/70370/1
ssmith [Mon, 22 Jun 2020 17:48:17 +0000 (13:48 -0400)]
Small Change to add a useful workflow transaction

Change-Id: I635a74605871bfa53337e20635a86632457452df
Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
4 years agoFix jira login 62/70362/1
Sawyer Bergeron [Thu, 18 Jun 2020 16:10:27 +0000 (12:10 -0400)]
Fix jira login

Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Change-Id: Ie179d2909f296291d8722f5e6c34a4cf748327de

4 years agoMerge "Allow not setting image for multi-node pods"
Sawyer Bergeron [Tue, 9 Jun 2020 17:24:59 +0000 (17:24 +0000)]
Merge "Allow not setting image for multi-node pods"

4 years agoAllow not setting image for multi-node pods 66/70266/4
Sawyer Bergeron [Wed, 3 Jun 2020 17:05:29 +0000 (13:05 -0400)]
Allow not setting image for multi-node pods

Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Change-Id: Ieee0802291901b4b14d756781fb2182bff9afae6
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
4 years agoSome small fixes to launch Akraino 29/70229/3
ssmith [Wed, 27 May 2020 23:19:03 +0000 (19:19 -0400)]
Some small fixes to launch Akraino

Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
Change-Id: If64d15afa456b7bdf25d40015decb37b1a20da54

4 years agoReworks resource tests into model validation where possible. 97/70197/7
ssmith [Mon, 18 May 2020 22:08:35 +0000 (18:08 -0400)]
Reworks resource tests into model validation where possible.

Change-Id: Ieb77cc38a42345107c2cac62ba1499bd7974ad77
Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
4 years agoMerge resource branch 93/70193/4
Sawyer Bergeron [Fri, 15 May 2020 18:58:37 +0000 (14:58 -0400)]
Merge resource branch

This pulls master up to date to include
changes to models and surrounding infra that allow
for multi-node templates and merging of pods

Squashed commit of the following:

commit abc8f27d9c6b05fb3afcb9b00dc35c0f2232d1a6
Author: Sawyer Bergeron <sawyerbergeron@gmail.com>
Date:   Thu Apr 2 14:05:26 2020 -0400

    Start fixing workflow for model changes

    Change-Id: I79df975ef45abf2e6e69594d358bbd205938828f
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.com>
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
commit 7a7e2182acd0ea94e19aba4926c3a12771b30a6d
Author: sms1097 <ssmith@iol.unh.edu>
Date:   Tue Mar 31 15:13:06 2020 -0400

    Working on workflow refactoring

    Change-Id: I4141b6aca98aff7bff9cb78a7d5594e25eb45e98
Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
commit c09050ae2814f07af58557b40f9ed3559063d2c7
Merge: 71438d9 b5ccdc4
Author: Parker Berberian <pberberian@iol.unh.edu>
Date:   Tue Mar 24 20:34:16 2020 +0000

    Merge "Able to delete configurations and view lab details" into resource

commit b5ccdc4ffbb883c20f2f6f69aeef5002aef5db53
Author: sms1097 <ssmith@iol.unh.edu>
Date:   Thu Mar 19 17:08:12 2020 -0400

    Able to delete configurations and view lab details

    Change-Id: Ib15c86d84f4cc7e7745551889ce91c89b5de46e2

Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
    Change-Id: Id6748c6bea67773a861921394d88579730246598

commit 71438d9a35cdb316cece865c9d410aeffb0053d8
Merge: 5460d0d a758223
Author: Parker Berberian <pberberian@iol.unh.edu>
Date:   Thu Mar 19 18:51:09 2020 +0000

    Merge "Add / Fix tests for refactor" into resource

commit 5460d0d447b075433a763f9bfa33448b88ec8393
Merge: a9063a3 f55d839
Author: Parker Berberian <pberberian@iol.unh.edu>
Date:   Wed Mar 18 15:59:37 2020 +0000

    Merge "Fixed the quick booking form resource template filtering. Added some more models to the admin page." into resource

commit f55d839a029ab1f5ab1273872e71a97fa1d5108b
Author: Adam Hassick <ahassick@iol.unh.edu>
Date:   Tue Mar 17 11:35:40 2020 -0400

    Fixed the quick booking form resource template filtering. Added some more models to the admin page.

Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
    Change-Id: I2d2e7aeb96b10c231804a62f37a476039c954b7b

commit a9063a347c4ebef0e53a17f198468bb135772810
Author: Parker Berberian <pberberian@iol.unh.edu>
Date:   Wed Mar 18 10:29:51 2020 -0400

    Fixes Some Issues with Quick Booking Seen in the Akraino lab

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

commit a758223f44c6fec595b055d7c9b232b00e9174a0
Author: Parker Berberian <pberberian@iol.unh.edu>
Date:   Tue Mar 17 11:07:32 2020 -0400

    Add / Fix tests for refactor

    Change-Id: I0526d1942f87707082a4eb1c8c98910f84481c23
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Author: Parker Berberian <pberberian@iol.unh.edu>
    Add "Pod" Column to booking list

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

Author: Parker Berberian <pberberian@iol.unh.edu>
    Fixes that make the Akraino dashboard work

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

Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Change-Id: I4b428e7c8a8d401d7bae95cba01077feb0332a7f
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
4 years agoMerge "Add user + user list to API"
Parker Berberian [Tue, 14 Apr 2020 18:15:55 +0000 (18:15 +0000)]
Merge "Add user + user list to API"

4 years agoAdd user + user list to API 65/69865/3
Sawyer Bergeron [Wed, 25 Mar 2020 19:21:04 +0000 (19:21 +0000)]
Add user + user list to API

Change-Id: I15cf0c33b9d452fda47f97e3d9b43e00c1bf9bfd
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
4 years agofixed bug in make_server 98/69798/3
Adam Hassick [Tue, 17 Mar 2020 15:05:03 +0000 (11:05 -0400)]
fixed bug in make_server

Change-Id: I4467d22dfa92282523bf65af641677f08842345b
Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
4 years agoMerge "Quick Deploy Fixes." into resource
Sawyer Bergeron [Tue, 17 Mar 2020 12:52:21 +0000 (12:52 +0000)]
Merge "Quick Deploy Fixes." into resource

4 years agoQuick Deploy Fixes. 90/69790/5
Parker Berberian [Mon, 16 Mar 2020 14:10:30 +0000 (10:10 -0400)]
Quick Deploy Fixes.

Change-Id: I46d410af62e4962d235346ba56472aaacb9d3ff2
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoTest resource templates now use the same lab as the image generated alongside it. 93/69793/4
Adam Hassick [Mon, 16 Mar 2020 15:20:03 +0000 (11:20 -0400)]
Test resource templates now use the same lab as the image generated alongside it.

Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
Change-Id: I22ce80b4d162dd31dc3bd2ff2bd7ee30d474a0dd
(cherry picked from commit 064f145f218385a6401fa6be2ccbbc462e915c26)

4 years agoMerge "Fix Query in api MakeHardwareConfig" into resource
Sawyer Bergeron [Mon, 16 Mar 2020 19:38:56 +0000 (19:38 +0000)]
Merge "Fix Query in api MakeHardwareConfig" into resource

4 years agoFix Server Interface Migration 95/69795/2
Parker Berberian [Mon, 16 Mar 2020 17:45:54 +0000 (13:45 -0400)]
Fix Server Interface Migration

Before, the relation between host and interface was being lost

Change-Id: I347ac71d7667adcedd2deea03edde155895e6a23
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoMerge "Fixed a few bugs for the stats functions and created a few tests."
Parker Berberian [Mon, 16 Mar 2020 18:52:03 +0000 (18:52 +0000)]
Merge "Fixed a few bugs for the stats functions and created a few tests."

4 years agoFixed a few bugs for the stats functions and created a few tests. 46/69746/8
Sean [Tue, 3 Mar 2020 15:54:20 +0000 (10:54 -0500)]
Fixed a few bugs for the stats functions and created a few tests.

Signed-off-by: Sean <ssmith@iol.unh.edu>
Change-Id: I2e4598811bddabe5b7447c3a92d39d16acb77a03
Signed-off-by: Sean <ssmith@iol.unh.edu>
4 years agoMerge "Test resource templates now use the same lab as the image generated alongside...
Parker Berberian [Mon, 16 Mar 2020 17:54:09 +0000 (17:54 +0000)]
Merge "Test resource templates now use the same lab as the image generated alongside it."

4 years agoTest resource templates now use the same lab as the image generated alongside it. 92/69792/1
Adam Hassick [Mon, 16 Mar 2020 15:20:03 +0000 (11:20 -0400)]
Test resource templates now use the same lab as the image generated alongside it.

Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
Change-Id: I22ce80b4d162dd31dc3bd2ff2bd7ee30d474a0dd

4 years agoFix Query in api MakeHardwareConfig 91/69791/1
Parker Berberian [Mon, 16 Mar 2020 14:27:05 +0000 (10:27 -0400)]
Fix Query in api MakeHardwareConfig

Change-Id: I9ced78e73f49343bcb41b8e0de25d8b0223b14bd
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoFixing and adding tests for the new resource models. 50/69750/2
Parker Berberian [Tue, 3 Mar 2020 17:30:36 +0000 (12:30 -0500)]
Fixing and adding tests for the new resource models.

Change-Id: I4dd0569411b415a3e8a8de43d4b99e927e5b7821
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoAdd akraino template for dashboard 61/69761/3
Adam LeBlanc [Thu, 5 Mar 2020 17:37:38 +0000 (12:37 -0500)]
Add akraino template for dashboard

Signed-off-by: Adam LeBlanc <aleblanc@iol.unh.edu>
Change-Id: I02242e00779bcae7cd7622c2e891e4199c8d0e71
Signed-off-by: Adam LeBlanc <aleblanc@iol.unh.edu>
4 years agoImprove Data Migration 37/69737/1
Parker Berberian [Thu, 27 Feb 2020 21:26:47 +0000 (16:26 -0500)]
Improve Data Migration

Improved migration files so that they preserve data

Change-Id: I53283fd3fd207ed3f9773beea7b1ce2062b5bd9f
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoUpdate Docs for new development workflow 19/69719/1
Parker Berberian [Fri, 21 Feb 2020 19:40:17 +0000 (14:40 -0500)]
Update Docs for new development workflow

The new development workflow spawns a server at
port 8000 and requires DEBUG to be True.

Change-Id: I430b163b4847fbbdc147b2e6b707409e7220e40d
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoAdd Migration Files 06/69706/4
Parker Berberian [Tue, 18 Feb 2020 18:17:10 +0000 (13:17 -0500)]
Add Migration Files

Adds migration files with some custom logic
to accompany the refactoring in resource_inventory.

Change-Id: Id3b3e46913c1f9a102426a5c33d7a282f46e8b28
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agojs: use npm instead of bower 95/69695/1
Jeremy Plsek [Fri, 20 Dec 2019 15:50:41 +0000 (10:50 -0500)]
js: use npm instead of bower

Bower is considered deprecated, so switch to npm.

- Update all dependencies
- Use npm's version of mxgraph
- Use npm's version of jquery
- Use npm's version of plotly
- Fix mxgraph to use styles and images from the correct location
- Removed random csrf token input in nav bar and use js to get csrf
token
- Remove all calendar and some resource files since they were not used

Change-Id: I30d6bd91cded9547caa4c0a5247cd9f214fe9798
Signed-off-by: Jeremy Plsek <jplsek@iol.unh.edu>
4 years agoFix Imports 69/69669/1
Parker Berberian [Thu, 13 Feb 2020 19:25:24 +0000 (14:25 -0500)]
Fix Imports

Fixes stale import statements. The dashboard can now come up and we can run our
unit tests

Change-Id: I7189afb2cd37aaa2492de065c236b6aa9a35de5b
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoModifies Resource Models for ongoing refactor 55/69655/12
Parker Berberian [Thu, 6 Feb 2020 17:59:51 +0000 (12:59 -0500)]
Modifies Resource Models for ongoing refactor

Change-Id: Ice88f53135f57aca8e2de4d69274e7d490f981a4
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoAdd getInterface() to Resource API 54/69654/2
Parker Berberian [Thu, 6 Feb 2020 15:18:42 +0000 (10:18 -0500)]
Add getInterface() to Resource API

Change-Id: I714b6054bfc199d55de9619672768f8fc1355747
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoMerge "Fix booking errors"
Parker Berberian [Thu, 6 Feb 2020 21:26:23 +0000 (21:26 +0000)]
Merge "Fix booking errors"

4 years agoMerge "Updates Interface Models"
Parker Berberian [Thu, 6 Feb 2020 19:36:11 +0000 (19:36 +0000)]
Merge "Updates Interface Models"

4 years agoMerge "Comments and Documentation"
Parker Berberian [Thu, 6 Feb 2020 18:34:17 +0000 (18:34 +0000)]
Merge "Comments and Documentation"

4 years agoUpdates Interface Models 37/69637/1
Parker Berberian [Tue, 4 Feb 2020 21:32:02 +0000 (16:32 -0500)]
Updates Interface Models

Removes a redundant name field and adds an
explicit ForeignKey mapping between Interface
and InterfaceProfile

Change-Id: I3472ef53b889d8d5557e4f083a15940c2022877d
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoAdds Template Overrides 14/69614/4
Parker Berberian [Thu, 30 Jan 2020 18:33:35 +0000 (13:33 -0500)]
Adds Template Overrides

Changes the structure of the template directories to allow
a new project to define their own set of override templates
that inherit from a common base.

I have slightly modified landing.html here as an example.
In comming changes we will try to move all the "laas" specific
content into the laas directory

Change-Id: I46151be182de901f870debb247b305ea34ae77ba
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoFix booking errors 15/69615/1
Brandon Lo [Thu, 30 Jan 2020 18:35:34 +0000 (13:35 -0500)]
Fix booking errors

This implements Host model's "release" method and replaces
an instance of Network to PhysicalNetwork.

Change-Id: I99b0bedbde2dcd63411cbb1fbf9b4905fc9570b1
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
4 years agoComments and Documentation 13/69413/6
Parker Berberian [Thu, 19 Dec 2019 17:39:01 +0000 (12:39 -0500)]
Comments and Documentation

This change adds a ton of comments and documentation across all the code.

Change-Id: Ifee0a2f534e8584f14b0f13af4dda8dc70eb7553
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agoBegin Resource Refactor 56/68856/12
Parker Berberian [Tue, 12 Nov 2019 17:54:20 +0000 (12:54 -0500)]
Begin Resource Refactor

Begins the Resource Refactor by creating new interfaces
to the resources through a Resource super class
and using that new interface in the api

Change-Id: I15a8179bfe915d2cde6d658d056e11cbd2c70e43
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
4 years agostyle: make more consistent styles 07/69407/3
Jeremy Plsek [Thu, 19 Dec 2019 17:58:33 +0000 (12:58 -0500)]
style: make more consistent styles

- Fix indentation in places
- User settings have better labels
- Lab info title now the same as others
- Add "empty" sections to be more helpful to the user. They are not
using links, since most of the "workflow" is handled by javascript.
- Update padding in places to better line up with other elements
- Add padding to bootstrap notifications (add check for messages to not
just have random padding on the top of the page)
- Remove unnecessary text in a form
- Remove card-body from table-only or list-only cards (lists and tables
are now flush with cards)
- Add bg-danger to not-working hosts
- Replace True/False text shown to the user with Yes/No
- Remove ":" from some headers
- Vertical buttons are now in a button group
- Add pre-wrap class to avoid pre from breaking box sizing on the
booking detail page
- Reduce table indent in pod card and add table overflow scrollbar

Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
Change-Id: If09dca2f2b7386c44eeeb817ef76e8f748e456da

4 years agodevel: use mounts for development 78/69378/1
Jeremy Plsek [Tue, 17 Dec 2019 20:13:00 +0000 (15:13 -0500)]
devel: use mounts for development

This removes the need to rebuild the containers every time for simple
changes during development.
This does not include python dependencies since those are installed
globally in the container. (I would have done the same for JS
dependencies, but it's used in the static files.)

Removed the background flag for running in dev mode when using make.
It's easier to kill the servers (^C) and view logs of the server without
needing to call separate commands later.

Nginx is disabled in dev mode since the server and static files are
handled by Django instead.

Update readme to reflect upon changes made.

Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
Change-Id: I7888ca89021fca313e1043a7f94b5e1b7e12498c

4 years agoAdd warning email and notification 08/69108/3
Brandon Lo [Tue, 26 Nov 2019 21:39:26 +0000 (16:39 -0500)]
Add warning email and notification

This adds the abandoned changes made to the notification
system and also adds a simple task to check for expiring
bookings and sends out emails and notifications.

Change-Id: I1530d19f41cf93626bb642e6b269f9ec55860b81
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
4 years agoMerge "Allow public marked grb and configs to be shown"
Parker Berberian [Tue, 12 Nov 2019 15:21:05 +0000 (15:21 +0000)]
Merge "Allow public marked grb and configs to be shown"

4 years agoAllow public marked grb and configs to be shown 91/68791/2
Brandon Lo [Wed, 6 Nov 2019 18:05:58 +0000 (13:05 -0500)]
Allow public marked grb and configs to be shown

Change-Id: I97f4965e8522cac1ceb5c0492e9aa0a2e128d266
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
4 years agoBumps PostgreSQL Version 07/68807/1
Parker Berberian [Thu, 7 Nov 2019 16:15:33 +0000 (11:15 -0500)]
Bumps PostgreSQL Version

The builds were failing because of incompatible version
with the psycopg2 dependency. Bumping this version
to latest fixes the issue.

Change-Id: Ib6a2a0acb6031d61f45349c27276e866b6e6f975
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Rename pharos to laas"
Parker Berberian [Tue, 5 Nov 2019 13:09:38 +0000 (13:09 +0000)]
Merge "Rename pharos to laas"

5 years agoFyi this is what we have for committers for laas 08/68708/1
Aric Gardner [Tue, 29 Oct 2019 18:29:09 +0000 (14:29 -0400)]
Fyi this is what we have for committers for laas

Please ammend to remove the ones that should not be there.
Once merged this will create a review in my gerrit and
I will merge that which will update the ldap group to
match this list.

Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I72933fd6857c37d506a59055031d351c1658ba73

5 years agoRename pharos to laas 76/68576/3
Aric Gardner [Fri, 4 Oct 2019 19:15:47 +0000 (15:15 -0400)]
Rename pharos to laas

related to change:
https://gerrit.opnfv.org/gerrit/c/releng/+/68161

Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I4985eb116fd2c214f3639eb991f27b5d75b5ab7c
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFix regression that broke 'Configure a POD' workflow 43/68443/1
Parker Berberian [Wed, 4 Sep 2019 12:26:45 +0000 (08:26 -0400)]
Fix regression that broke 'Configure a POD' workflow

Change-Id: I7d954a636e5db0a8d473eaab6d20cc6d177c9c74
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Adds Downtime Awareness"
Sawyer Bergeron [Thu, 29 Aug 2019 16:35:53 +0000 (16:35 +0000)]
Merge "Adds Downtime Awareness"

5 years agoMerge "Checks if host is working"
Sawyer Bergeron [Thu, 15 Aug 2019 19:39:32 +0000 (19:39 +0000)]
Merge "Checks if host is working"

5 years agoMerge "Adds Hostname Validator"
Sawyer Bergeron [Thu, 15 Aug 2019 19:20:29 +0000 (19:20 +0000)]
Merge "Adds Hostname Validator"

5 years agoAdds Downtime Awareness 47/68347/2
Parker Berberian [Mon, 12 Aug 2019 18:18:25 +0000 (14:18 -0400)]
Adds Downtime Awareness

This adds a Downtime model and relevant operations so that
the dashboard knows when a lab is down for maintenance and
can act accordingly.

This change doesn't modify the front end at all,
but it does pass relevant downtime info to the
templates so that they can be updated in a future change.

Change-Id: Idb88b15838b949f352f11a31a1fce9749d283d28
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoChecks if host is working 27/68327/1
Parker Berberian [Wed, 7 Aug 2019 14:50:22 +0000 (10:50 -0400)]
Checks if host is working

Adds an additional check to ensure that the host is
working before using it for a booking.

Change-Id: I69731ca10ad59b6b774d04bdf6f3e628e6a07a79
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoAdd unit tests for SearchableSelectMultipleWidget 43/68243/1
Brandon Lo [Wed, 17 Jul 2019 18:38:49 +0000 (14:38 -0400)]
Add unit tests for SearchableSelectMultipleWidget

Removes behavior-based unit testing for this widget, instead adds in
unit tests that will test each function. This makes sure that every
function does what is expected.

Change-Id: Ie97831480865defe5ab38c9499016c7fa3c12a62
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
5 years agoMerge "LAAS-44: Unit Test Javascript"
Sawyer Bergeron [Wed, 17 Jul 2019 18:46:32 +0000 (18:46 +0000)]
Merge "LAAS-44: Unit Test Javascript"

5 years agoLAAS-44: Unit Test Javascript 39/68239/4
Brandon Lo [Thu, 11 Jul 2019 13:49:11 +0000 (09:49 -0400)]
LAAS-44: Unit Test Javascript

Add Karma, Mocha, and Chai NPM packages to allow for browser based
front-end JavaScript testing. Not all functions are tested, but
a lot of the required behavior is. This allows for new JS unit tests
in future patches.

Change-Id: I2ac2a865ed3a458d8f5ebdeb7c2b4defda24fd41
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
5 years agoMerge "Fixes Building and Deploying Containers"
Sawyer Bergeron [Mon, 15 Jul 2019 19:21:20 +0000 (19:21 +0000)]
Merge "Fixes Building and Deploying Containers"

5 years agoFix Dependencies 19/68219/1
Parker Berberian [Wed, 10 Jul 2019 19:44:36 +0000 (15:44 -0400)]
Fix Dependencies

An earlier patch changed dependencies, but did not change the
settings.py app, which breaks a new install

Change-Id: I398c2dabf9d46753fa36fb12cad25783c5b19fae
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoFixes Building and Deploying Containers 17/68217/1
Parker Berberian [Wed, 10 Jul 2019 18:55:44 +0000 (14:55 -0400)]
Fixes Building and Deploying Containers

By not mounting the local directory in the container,
we avoid the problem of the static files being
overwritten.

This change forces you to run `make build; make dev-up`
for *every* change, even templates.

Change-Id: I9ba3d5711dab7aa86773fbf392fca9c92f042702
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "minor UI fixes"
Parker Berberian [Wed, 10 Jul 2019 16:06:09 +0000 (16:06 +0000)]
Merge "minor UI fixes"

5 years agominor UI fixes 09/68209/2
Sawyer Bergeron [Wed, 10 Jul 2019 13:36:34 +0000 (09:36 -0400)]
minor UI fixes

Change-Id: I70b35ee7f62d8b2f22c8677e6c817c3e6a9b3412
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoMerge "Fixes and adds Tests"
Sawyer Bergeron [Wed, 10 Jul 2019 13:39:27 +0000 (13:39 +0000)]
Merge "Fixes and adds Tests"

5 years agoFixes and adds Tests 99/68199/5
Parker Berberian [Mon, 8 Jul 2019 20:39:54 +0000 (16:39 -0400)]
Fixes and adds Tests

Fixes old tests and adds some more.
Also fixes linting errors

Change-Id: If84f0ed2dab5f9ffa7ce2deb92e058b0076d9154
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Add 'no messages available' to empty inbox"
Sawyer Bergeron [Mon, 8 Jul 2019 16:57:26 +0000 (16:57 +0000)]
Merge "Add 'no messages available' to empty inbox"

5 years agoMerge "Update Dependencies"
Sawyer Bergeron [Mon, 8 Jul 2019 15:10:27 +0000 (15:10 +0000)]
Merge "Update Dependencies"

5 years agoAdd 'no messages available' to empty inbox 98/68198/1
Brandon Lo [Mon, 8 Jul 2019 15:07:49 +0000 (11:07 -0400)]
Add 'no messages available' to empty inbox

Added a simple check to see if the list element had no children,
and if so, it would add a simple message saying that no messages
are available.

Change-Id: I6f3d40a6355502bc621ce4d19f556d4733877200
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
5 years agoUpdate Dependencies 88/68188/2
Parker Berberian [Wed, 3 Jul 2019 16:37:35 +0000 (12:37 -0400)]
Update Dependencies

Removes or upgrades the dependencies in requirements.txt

Change-Id: I4e66348fc80259b4a2f64ca912556f7d847f0645
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Hacking on AJAX"
Sawyer Bergeron [Mon, 8 Jul 2019 14:36:23 +0000 (14:36 +0000)]
Merge "Hacking on AJAX"

5 years agoMerge "Update Link to Point to Wiki"
Sawyer Bergeron [Mon, 8 Jul 2019 14:35:57 +0000 (14:35 +0000)]
Merge "Update Link to Point to Wiki"

5 years agoHacking on AJAX 85/68185/7
Parker Berberian [Tue, 2 Jul 2019 21:33:09 +0000 (17:33 -0400)]
Hacking on AJAX

This change incorporates the multiple changes we've made
in the past few days in order to actually get AJAX working.

Change-Id: Ia61a0395e7dbac26a143ca6e15049e6a4bdc8b0d
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoMerge "Marks all Make Targets as Phony"
Sawyer Bergeron [Mon, 8 Jul 2019 14:28:05 +0000 (14:28 +0000)]
Merge "Marks all Make Targets as Phony"

5 years agoMerge "Change dropdown and selection list"
Parker Berberian [Mon, 8 Jul 2019 14:22:34 +0000 (14:22 +0000)]
Merge "Change dropdown and selection list"

5 years agoRedesign multiple select filter widget 87/68187/4
Brandon Lo [Wed, 3 Jul 2019 16:32:15 +0000 (12:32 -0400)]
Redesign multiple select filter widget

Removed the right border on the lab selection box so
that it looks better on mobile, replaced with a
rounded border around the content.

Also fixed the button click bug where it wouldn't filter
the images list. It now properly processes the selected
host and disables images accordingly.

Change-Id: I1dca1962a81e379f6ae3f7c006d6033bdd9f6ad8
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
5 years agoUpdate Link to Point to Wiki 89/68189/1
Parker Berberian [Wed, 3 Jul 2019 18:04:20 +0000 (14:04 -0400)]
Update Link to Point to Wiki

Change-Id: I542c0b7011a53e0d5c5fc052b39ef22d988fcb29
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Unify Form Submission"
Sawyer Bergeron [Wed, 3 Jul 2019 13:18:25 +0000 (13:18 +0000)]
Merge "Unify Form Submission"

5 years agoMerge "Remove onleave + make form id's consistent"
Parker Berberian [Wed, 3 Jul 2019 13:15:06 +0000 (13:15 +0000)]
Merge "Remove onleave + make form id's consistent"

5 years agoRemove onleave + make form id's consistent 81/68181/1
Sawyer Bergeron [Tue, 2 Jul 2019 17:27:43 +0000 (13:27 -0400)]
Remove onleave + make form id's consistent

Change-Id: If167ae98226adfccfcfe2baa356370454a9931b4
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoUnify Form Submission 80/68180/3
Parker Berberian [Tue, 2 Jul 2019 15:47:24 +0000 (11:47 -0400)]
Unify Form Submission

Creates a single way to do form submission with
hooks to run callbacks.

Change-Id: I470ab56219c28c35fe3236b30a0ac65e29236af6
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoChange dropdown and selection list 78/68178/2
Brandon Lo [Tue, 2 Jul 2019 15:35:10 +0000 (11:35 -0400)]
Change dropdown and selection list

Fix selection list text from overflowing
Add ellipses to overflowing text
Make dropdown z-index 2
Increase size of dropdown
Change delete button to simple X
Add title on hover to result entries

Change-Id: Ic274586e6bdf6e188efd147eb442660a99878e97
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
5 years agoRefactor Workflow Manager 70/68170/4
Parker Berberian [Mon, 1 Jul 2019 16:55:19 +0000 (12:55 -0400)]
Refactor Workflow Manager

Refactors wf manager according to: https://jira.opnfv.org/browse/LAAS-31

Change-Id: I72b4b0b808bb77846f44787fdd146f1053c047b5
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoMerge "Reduce forms to required content"
Sawyer Bergeron [Tue, 2 Jul 2019 14:21:37 +0000 (14:21 +0000)]
Merge "Reduce forms to required content"

5 years agoReduce forms to required content 73/68173/2
Brandon Lo [Mon, 1 Jul 2019 19:29:07 +0000 (15:29 -0400)]
Reduce forms to required content

Change iframe to div and ajax as a workaround
Add css and js to avoid errors in parent locations

Change-Id: I22a17ad5e5e04ff7112bd4e6ed98ba63d150fc15
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
5 years agoadd post to steps (LAAS-32) 72/68172/7
Sawyer Bergeron [Mon, 1 Jul 2019 19:17:52 +0000 (15:17 -0400)]
add post to steps (LAAS-32)

Change-Id: I3fa53c399f914d7daa8ffb5d8640a153de555421
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
5 years agoMerge "Replace and change CSS"
Sawyer Bergeron [Fri, 28 Jun 2019 15:32:40 +0000 (15:32 +0000)]
Merge "Replace and change CSS"

5 years agoReplace and change CSS 46/68146/5
Brandon Lo [Thu, 27 Jun 2019 19:43:55 +0000 (15:43 -0400)]
Replace and change CSS

Fix animation bugs
Fix layout issues
Replace custom CSS to bootstrap classes
Remove unused files
Change code to use es6 syntax
Add dropdown styles

Change-Id: Ie2ed31fa2e6763cf30d3b19e4bf9379019cbb0f5
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
5 years agoAdds Hostname Validator 57/68157/2
Parker Berberian [Fri, 28 Jun 2019 13:58:54 +0000 (09:58 -0400)]
Adds Hostname Validator

Creates a single place to validate hostnames, with public
fields for regex that can be copied to the frontend.

We do hostname validation inconsistently all over the place,
we should move to using this single validator.

Change-Id: I7b71fd89843a7e5b7f9d93dcb23f4645abe71dd0
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMerge "Adds INFO.yaml"
Parker Berberian [Fri, 28 Jun 2019 13:54:24 +0000 (13:54 +0000)]
Merge "Adds INFO.yaml"

5 years agoMarks all Make Targets as Phony 47/68147/1
Parker Berberian [Thu, 27 Jun 2019 20:45:39 +0000 (16:45 -0400)]
Marks all Make Targets as Phony

Our makefile doesn't actually make anything, and there
was a naming conflict. Marking the rules PHONY
solves this.

Change-Id: I01d09bb22306a4c4a254b59418c4e2a339413868
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoMigrate Dashboard Code To New Repo
Parker Berberian [Thu, 27 Jun 2019 18:09:00 +0000 (14:09 -0400)]
Migrate Dashboard Code To New Repo

Now that LaaS is an official project, we must migrate
our codebase to the new repos.

This is only the dashboard code, e.g. the contents of dashboard/
in the original repo

Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoAdds INFO.yaml 26/68126/1
Parker Berberian [Wed, 26 Jun 2019 19:35:24 +0000 (15:35 -0400)]
Adds INFO.yaml

Change-Id: Iea06943b61a0877e24254c0c55057adbaca984bb
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
5 years agoAdd LICENSE and .gitreview 23/68123/1
Eric Ball [Wed, 26 Jun 2019 18:26:32 +0000 (11:26 -0700)]
Add LICENSE and .gitreview

Change-Id: Idc0f2807eda7c7c06907e143744709a2193d6a29
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoMerge "Fixes a typo"
Parker Berberian [Wed, 26 Jun 2019 13:15:31 +0000 (13:15 +0000)]
Merge "Fixes a typo"

5 years agoMerge "Removed Double onclick"
Parker Berberian [Wed, 26 Jun 2019 13:15:06 +0000 (13:15 +0000)]
Merge "Removed Double onclick"

5 years agoFixes a typo
Parker Berberian [Wed, 26 Jun 2019 13:11:45 +0000 (09:11 -0400)]
Fixes a typo

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