aboutsummaryrefslogtreecommitdiffstats
path: root/src/dashboard
AgeCommit message (Collapse)AuthorFilesLines
2021-03-30Merge "Update actions to free hosts and vlans"Sawyer Bergeron2-48/+19
2021-03-23Update actions to free hosts and vlansSean Smith2-48/+19
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I94425ca5a48cccdf0b5382ef2bb16a989ee6b32d Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2021-03-17Add copyright notice to admin_utils fileSawyer Bergeron1-0/+9
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I4b8a53371c0da274347dcfb7ea969ab4ce403f66
2021-03-17Merge "Add documentation to admin_utils functions"Sawyer Bergeron1-49/+168
2021-03-17Add documentation to admin_utils functionsSawyer Bergeron1-49/+168
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I27204f49513b3d646776261ed869d9f4d5c6fd64 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2021-03-08Release VLAN on booking endSean Smith1-0/+1
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: Ib17fd871501a2af46bb78bbdfc68112a66e763c0
2021-03-03Add documentation request functions and use hints to admin utilsSawyer Bergeron1-0/+38
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I3211194fea5dc7d0c3569db6c1d42fe2f4aa53e1 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2021-01-19Add booking extension function to admin utilsSawyer Bergeron1-0/+6
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I4efab99e7cb82f69d01de8f74f30047263b4b0c2 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2021-01-11Add server create function to admin utilsSawyer Bergeron1-1/+37
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I5776213bfc2eda310049c47dcb1fa1a601bd1896
2021-01-11Add scripts for creating default templatesSawyer Bergeron1-1/+121
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I522c617ff038531914f3a525b083d47c079489c1 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2021-01-04Merge "Fix issue where users are redirected to Jira login in LFID mode in ↵Sawyer Bergeron1-2/+2
certain cases"
2021-01-04Fix issue where users are redirected to Jira login in LFID mode in certain casesAdam Hassick1-2/+2
Change-Id: If8a82d3a2628a7f55f902d321388be2419524c8b Signed-off-by: Adam Hassick <ahassick@iol.unh.edu> Change-Id: Ieb9de968514b88a8c450967466d06c9860427d83
2020-12-18Reduce log spam: deletion on resource bundles should be deprecated2.1.42.1.3Sawyer Bergeron1-1/+1
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I6bffc393f7a6f93c4b8cd8d4c8bacba0c23fb256 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2020-12-07Updates to admin utilsSawyer Bergeron1-1/+20
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: Ic52ed229621656118cd9321390cc26a1de548267 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2020-12-07Merge "Improve admin utils"Sawyer Bergeron1-3/+53
2020-12-04LFID login for both projects2.1.0-rc1Sean Smith1-1/+5
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I4a14dc75d7890a6d395b3f52177a7000ae1a2150
2020-11-16Improve admin utilsSawyer Bergeron1-3/+53
Change-Id: I03e80a026191e96c63c3c47d2d20b93dc944ad98 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2020-11-09Analytics changesSean Smith1-2/+18
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: Iaea350b3042f9c866939a9d1a79bdef1e165c1a7 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2020-11-05Add CNTT upgrade utilsSawyer Bergeron1-0/+48
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: If01623fcd6faadb8014f80bf05641ec4990c3804 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2020-10-22Fix quick booking allocation of private vlans for podsSawyer Bergeron1-4/+4
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: Ie515da2c28fcbc51d8fa87e24a3ff64c234d1bee Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2020-10-15Fix host saving for admin utilsSawyer Bergeron1-0/+6
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: Iff555d88b3e5489c5190e9295bef4b0e1da92b5a
2020-10-15Add helper functions for booking specific hostsSawyer Bergeron1-0/+105
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: Ib651a00ffb4e0aca9004397a61835cde01f6ccf3 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2020-09-183 contact us buttons and booking links on landingSean Smith1-1/+15
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: Ic50767e566f06d34457b6543644eeee03e584b89
2020-08-07Fix vlan deallocation and ownershipSawyer Bergeron1-2/+1
Change-Id: I74bd2d062611ba1ca997cfb50a91d2396e70526b Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2020-05-15Merge resource branchSawyer Bergeron2-2/+11
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>
2020-03-17fixed bug in make_serverAdam Hassick1-2/+1
Change-Id: I4467d22dfa92282523bf65af641677f08842345b Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
2020-03-17Merge "Quick Deploy Fixes." into resourceSawyer Bergeron2-34/+8
2020-03-17Quick Deploy Fixes.Parker Berberian2-34/+8
Change-Id: I46d410af62e4962d235346ba56472aaacb9d3ff2 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2020-03-16Test resource templates now use the same lab as the image generated ↵Adam Hassick1-1/+1
alongside it. Signed-off-by: Adam Hassick <ahassick@iol.unh.edu> Change-Id: I22ce80b4d162dd31dc3bd2ff2bd7ee30d474a0dd (cherry picked from commit 064f145f218385a6401fa6be2ccbbc462e915c26)
2020-03-16Fixing and adding tests for the new resource models.Parker Berberian2-151/+88
Change-Id: I4dd0569411b415a3e8a8de43d4b99e927e5b7821 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2020-02-13Fix ImportsParker Berberian2-2/+20
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>
2020-02-12Modifies Resource Models for ongoing refactorParker Berberian1-0/+24
Change-Id: Ice88f53135f57aca8e2de4d69274e7d490f981a4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2020-01-28Comments and DocumentationParker Berberian4-16/+13
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>
2020-01-28Begin Resource RefactorParker Berberian1-1/+1
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>
2019-12-19style: make more consistent stylesJeremy Plsek1-1/+1
- 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
2019-10-08Rename pharos to laasAric Gardner3-4/+4
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>
2019-07-10Fixes and adds TestsParker Berberian2-11/+16
Fixes old tests and adds some more. Also fixes linting errors Change-Id: If84f0ed2dab5f9ffa7ce2deb92e058b0076d9154 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-08Hacking on AJAXParker Berberian1-30/+9
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>
2019-06-05Adds TestsParker Berberian1-4/+5
Adds more complete tests and fixes some bugs found in those tests Change-Id: Icc0433215df511bc0b2bfa264bacf8796d6de86f Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-05-24Add and Fix testsParker Berberian1-383/+264
Makes the existing code less terrible and adds more unit tests Change-Id: Ia3662323eb22ed238829418869ff0363f00337ef Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-28Add host detail viewSawyer Bergeron1-1/+1
Change-Id: Ie385fe3f2fbe3b178f00928914d47a34b181d05e Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-03-22Add ability to clean up hosts and vlansSawyer Bergeron1-0/+47
Change-Id: Idfe8c7245ba76e1a8aadd501401991e215761afc Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-14Add API testsSawyer Bergeron1-10/+200
Change-Id: Ic26d0b6de63405d239a9260b862158962c3140ac Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-03-01Add test utils and tests for quick bookingSawyer Bergeron2-0/+328
Change-Id: Ie76c6fe26622ca8363055b8ebbe0dc6deaed5824 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-12Fixed all Flake8 errorsParker Berberian2-3/+2
Change-Id: I1186429df8989461e2384f1f3e533c55cebfb1b4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-18Make landing page less sparseSawyer Bergeron1-1/+1
Change-Id: If661574fd0c62e208651507ccff844cf6f14e914 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-04Fixed Query for free hostsParker Berberian1-2/+6
Change-Id: I05213a3521c5ffa6b311c9e11e9d593dd2098ebe Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-02Improve cleanup of hosts after bookingParker Berberian1-6/+5
Previously, the database query was not reliably detecting hosts which were to be released and made available for new bookings. This should now take all bookings that are over and have been cleaned by the lab, and make the hosts available for reuse. Change-Id: I040c2e02ac48d7bfde3fc1cf6bac4e59a48c8933 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-11-26Fix all flake8 errorsParker Berberian8-144/+163
The flake8 command in test.sh finds no longer finds any errors. This may form a basis of a jenkins verify job as a sort of 'weak compile-time checks' The flake8 command will not complain about line length, and will not complain about django's manage.py file Change-Id: Ic47cb4fc7ada55e64485661ab6881aef475018ff Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-11-07Merge "Rewrite Notification subsystem"Trevor Bramwell1-7/+2