aboutsummaryrefslogtreecommitdiffstats
path: root/src/dashboard
AgeCommit message (Collapse)AuthorFilesLines
2021-04-08Merge master for RC2.3.02.3-rc1prodSawyer Bergeron4-100/+244
Squashed commit of the following: commit 4f12ae24d0de22f526d6dd59dbc437bdaa1874f1 Author: Sean Smith <ssmith@iol.unh.edu> Date: Wed Apr 7 15:16:29 2021 -0400 Check if hostname null in resource filter Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: Ie28c83109faf529f0a3bd4c61b1f96e064c1577c commit e9ed42e7ace16f36532a23d360300bb7f6b0387e Author: Sean Smith <ssmith@iol.unh.edu> Date: Wed Apr 7 13:15:08 2021 -0400 Fix typo for image disable Change-Id: I74314aba4d1ee6f89b450666fd76deabdd99c11d Signed-off-by: Sean Smith <ssmith@iol.unh.edu> commit 593ea6dc98ab12c1e70d65b16103f92f8b17abbc Merge: 241ff30 2271036 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Wed Apr 7 15:20:07 2021 +0000 Merge "Restrict image on multi-node booking" commit 2271036232bce7ce4f2136ee6e031e9e77d9c1c2 Author: Sean Smith <ssmith@iol.unh.edu> Date: Tue Apr 6 16:18:36 2021 -0400 Restrict image on multi-node booking Change-Id: I280dba83bceed74195a77b28f3016421c462cc5a Signed-off-by: Sean Smith <ssmith@iol.unh.edu> commit 241ff304980c8bf542fdd1a2a47f73accf912ee1 Merge: f145622 d007fa6 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Tue Apr 6 17:38:49 2021 +0000 Merge "Remove exposure of users on dashboard" commit f1456220fcc098cb0f5e9fc60124680ff8aba6af Merge: 6366b17 3abc7dc Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Tue Mar 30 18:01:05 2021 +0000 Merge "Hostname not required" commit 6366b1776bc51c29d4ba4c256f51d16acc52d871 Merge: a35c01b 0573f51 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Tue Mar 30 17:54:21 2021 +0000 Merge "Update actions to free hosts and vlans" commit d007fa661e2faf77e70cb75c8d520941e907ebf7 Author: Sean Smith <ssmith@iol.unh.edu> Date: Wed Mar 24 17:22:54 2021 -0400 Remove exposure of users on dashboard Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I83b93d9247a7eafb54e4a5761d1423a504d86400 commit 3abc7dcc9603cf978e5b7c2762e80998a4a6eef5 Author: Sean Smith <ssmith@iol.unh.edu> Date: Mon Mar 29 15:00:52 2021 -0400 Hostname not required Change-Id: I7d639a17452e426e92671c558b111d6bcec34e8c Signed-off-by: Sean Smith <ssmith@iol.unh.edu> commit a35c01bccec1137ccd8a0f07f832daecb4ee2da3 Author: Sean Smith <ssmith@iol.unh.edu> Date: Mon Mar 29 14:14:48 2021 -0400 Resource display remains on error Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I0a59ef9da908599cf75e379b68b33e280a4deb16 commit 7addb00710a5865a9e6bc38f1d826aa0323ee67e Merge: f6472a3 f6753ae Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Mon Mar 29 18:05:56 2021 +0000 Merge "Fixes error on installer fail" commit f6472a3cca58ca428200265acf720174ed36ea7e Merge: 2e9a8c8 e3dec82 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Fri Mar 26 23:26:33 2021 +0000 Merge "Remove duplicate migration" commit 2e9a8c854a93705d080dc54b8c6e3ba36eaba366 Author: Sean Smith <ssmith@iol.unh.edu> Date: Thu Mar 25 15:16:50 2021 -0400 Additional fix for email Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I0599e29c7930386651f77bceccf05d069ebd4101 commit f6753ae2c5f54fb79375214590e565218b1bf0d7 Author: Sean Smith <ssmith@iol.unh.edu> Date: Tue Sep 8 15:13:23 2020 -0400 Fixes error on installer fail Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I823f3c5dd2b7677b428b88e1af4bba78d7dc698c commit e3dec8238442865939bed379aa25219103f4d287 Author: Sean Smith <ssmith@iol.unh.edu> Date: Wed Mar 24 16:09:15 2021 -0400 Remove duplicate migration Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I456b61f3ad25823dbcf2468b303c1e68ff41df7b commit e0a5e206a3a68bbae373bf8f9257b5aba14932c5 Merge: e231274 8559820 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Wed Mar 24 15:56:51 2021 +0000 Merge "Filters non working servers in quick booking" commit e23127473b81bdbc1f4630036ddec3c46ee17dda Merge: b14e617 e817c32 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Wed Mar 24 15:48:39 2021 +0000 Merge "Front end fixes for enforcing hostname" commit e817c3203fde0ca9bfb66a00919050cbdd1179e8 Author: Sean Smith <ssmith@iol.unh.edu> Date: Wed Feb 24 12:18:45 2021 -0500 Front end fixes for enforcing hostname Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I0a077307a2e1bcfef5b31acdaf4ecb73be64fff9 commit 0573f51f18c1e55fe162dbd5a3f9acbd5394e065 Author: Sean Smith <ssmith@iol.unh.edu> Date: Tue Feb 23 15:41:59 2021 -0500 Update actions to free hosts and vlans Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I94425ca5a48cccdf0b5382ef2bb16a989ee6b32d Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> commit b14e617edb86628f31648847c0b96206764ef44c Merge: 13cdfee babedf3 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Tue Mar 23 18:34:16 2021 +0000 Merge "Added LF Edge template overrides." commit babedf30038b453ea7d123c9bb744f4acb14e625 Author: Adam Hassick <ahassick@iol.unh.edu> Date: Tue Mar 16 14:18:31 2021 -0400 Added LF Edge template overrides. Signed-off-by: Adam Hassick <ahassick@iol.unh.edu> Change-Id: If119646eee67fb7e145c5e92e64fa4f28a947dbe commit 13cdfee5d9656c2195bb6238d33d66cb637c22e4 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Wed Mar 3 14:09:35 2021 -0500 Add copyright notice to admin_utils file Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I4b8a53371c0da274347dcfb7ea969ab4ce403f66 commit 72585921008fc89b5a32f4cb116d5ea9fe1a8ead Merge: 8a902d3 de4cbcb Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Wed Mar 17 17:07:40 2021 +0000 Merge "Add documentation to admin_utils functions" commit de4cbcb7b770bd6ae14916715db361e987d1d3ec Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Wed Mar 3 14:06:07 2021 -0500 Add documentation to admin_utils functions Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I27204f49513b3d646776261ed869d9f4d5c6fd64 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> commit 85598208ad7b65de9e4c60b509331a9b6ce46e52 Author: Sean Smith <ssmith@iol.unh.edu> Date: Mon Mar 8 17:15:42 2021 -0500 Filters non working servers in quick booking Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I47776a3e239a333d544d9e6e86f702b1d299baeb commit 8a902d357fa6eca07384d25fac32a6e0521a63e5 Author: Sean Smith <ssmith@iol.unh.edu> Date: Mon Mar 8 16:21:56 2021 -0500 Release VLAN on booking end Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: Ib17fd871501a2af46bb78bbdfc68112a66e763c0 commit a320df5bf04978fc1e73a2e49d1a4bed5b82b849 Merge: 402e6e1 4caae41 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Wed Mar 3 19:07:19 2021 +0000 Merge "Add documentation request functions and use hints to admin utils" commit 4caae41287310cb1309c9b30e2871297d3ed21ef Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Wed Mar 3 12:10:02 2021 -0500 Add documentation request functions and use hints to admin utils Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I3211194fea5dc7d0c3569db6c1d42fe2f4aa53e1 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> commit 402e6e1111964f28235f6f7ec53ba51c76a8298f Author: Sean Smith <ssmith@iol.unh.edu> Date: Mon Feb 22 13:05:46 2021 -0500 Update celery schedule to send emails Change-Id: I0fbf7080d440cea98d358a30ac5df88ce888a8a0 Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Update celery Change-Id: Icd20d67b561bacbccf1f9d75335f76ebdbef4f1d Signed-off-by: Sean Smith <ssmith@iol.unh.edu> commit db4c2dc4c4f0d86e0a00e8409eed74a0bcffb20b Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Mon Feb 8 11:42:41 2021 -0500 Add migration to set rconfig hostname to a valid linux hostname Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: Ib737dc25de37dd9d1c29a4e15f95da0fb68ddfc8 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> commit 9c200b5a15a336e3a3fc8d7ddac53053bc3b6ffe Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Tue Jan 19 12:38:32 2021 -0500 Add booking extension function to admin utils Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I4efab99e7cb82f69d01de8f74f30047263b4b0c2 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> commit c77b9169b09b7b53572b45a4f3679e602b8ca6a2 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Mon Jan 11 15:02:03 2021 -0500 Add server create function to admin utils Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I5776213bfc2eda310049c47dcb1fa1a601bd1896 commit 76b884730a00fecff5ed39d8ff4360941f313fe0 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Mon Jan 11 11:45:23 2021 -0500 Add scripts for creating default templates Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I522c617ff038531914f3a525b083d47c079489c1 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> commit d41310f9c3b62e8ab462fa94f2bf1b6b7d2b5e23 Merge: 107d8bb bf82270 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Mon Jan 4 21:15:58 2021 +0000 Merge "Fix issue where users are redirected to Jira login in LFID mode in certain cases" commit bf822708949ad2e57b3966ad2bf485588fe4b29d Author: Adam Hassick <ahassick@iol.unh.edu> Date: Mon Jan 4 20:47:35 2021 +0000 Fix issue where users are redirected to Jira login in LFID mode in certain cases Change-Id: If8a82d3a2628a7f55f902d321388be2419524c8b Signed-off-by: Adam Hassick <ahassick@iol.unh.edu> Change-Id: Ieb9de968514b88a8c450967466d06c9860427d83 commit 107d8bb663083cd2e5fc09417ccd41560bc272c9 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Fri Dec 18 12:16:57 2020 -0500 Reduce log spam: deletion on resource bundles should be deprecated Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I6bffc393f7a6f93c4b8cd8d4c8bacba0c23fb256 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> commit 17388941fc3cff40cf2c7e7290e6bad9a27ca578 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Fri Dec 18 10:17:02 2020 -0500 Repair migration chain Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: Iaedcaf76111694bc7a3d8c44bd98f29d508610c5 commit c089784cc3b3708cf89f79962d62de66b009fc05 Author: Sawyer Bergeron <sbergeron@iol.unh.edu> Date: Fri Dec 18 09:53:49 2020 -0500 Fix hostname default to be valid linux hostname Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I898c4e4a03261a1bf0f3f56dbc32104c9b5f3ee9 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: Ieb010345d5c44356db37f0d4df625686d143a81d Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2021-01-11Add server create function to admin utils2.2.0-rc12.2.0Sawyer Bergeron1-1/+37
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I5776213bfc2eda310049c47dcb1fa1a601bd1896 (cherry picked from commit c77b9169b09b7b53572b45a4f3679e602b8ca6a2)
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> (cherry picked from commit 76b884730a00fecff5ed39d8ff4360941f313fe0)
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
2018-11-07Rewrite Notification subsystemParker Berberian1-7/+2
In this commit: - delete a lot of really bad and / or unused code - redesign a much simpler Notification model - create and send notifications to the user's inbox on booking start & end - migrations - emails user when booking is ready and when it ends Not in this commit: - Creating notifications from lab messages - warning messages when a booking is about to end - creating "summary" notifications when e.g. a booking has been fulfilled by a lab Change-Id: I69b4dc36c3f2bce76d810106baadeef5a562cc7d Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-24Fixes for access creation and removalParker Berberian1-1/+5
Fixes include: - creating ssh access jobs for users with ssh keys - ensuring vpn access is revoked after booking ends Creates ssh access jobs with the user's ssh keys, if they exist Change-Id: Ia2e9f0c5a2f90b45732a5767a62b87a5a5492b94 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-19Fix error in Booking cleanup taskParker Berberian1-1/+1
added a missing function call that was causing celery to fail to clean up Jobs. Change-Id: I07a5e576d3dfcac320be206cc3235d17d4b286e0 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-15Lab as a Service 2.0Parker Berberian15-555/+577
See changes here: https://wiki.opnfv.org/display/INF/Pharos+Laas Change-Id: I59ada5f98e70a28d7f8c14eab3239597e236ca26 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-04-13Merge "Gracefully Handle Missing Jenkins Utilization for Dev Pod"Parker Berberian1-19/+24
2018-03-27Implement Booking Cleanup TaskSawyer Bergeron1-2/+18
Jira: PHAROS-344 Two new settings in config.env allow setting 1) how "stale" an expired booking can get before being culled and 2) how many expired bookings are kept around before culling If either condition is met, expired bookings will be deleted until both are false. Change-Id: I6b091e93c6fe5d47b75ebf5325b717fa898c773c Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-03-26Gracefully Handle Missing Jenkins Utilization for Dev PodSawyer Bergeron1-19/+24
Jira: PHAROS-364 Change-Id: I0641c658914e600672151d7c0d1661acba794f0f Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-02-02Remove the Booking Notification Cleanup TaskTrevor Bramwell1-2/+0
These are created by the notification django-app, but that app is no longer used or installed. This change should also keep the worker container from continuously restarting. Change-Id: Ifbdf15e7011375f3818179048ec6be4a83a53917 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-17Add Nullable Lab Field to ResourcesSawyer Bergeron2-0/+24
Jira: PHAROS-347 Resources are now possible to associate with lab instances upon creation Change-Id: Id8abbcc448a6d840d55e4bf5130dbec22c8bc58f
2017-09-22Rename pharos-dashboard and pharos-validatorTrevor Bramwell17-0/+845
As subdirectories of the pharos-tools repo, there is little need to keep the pharos prefix. Change-Id: Ica3d79411f409df638647300036c0664183c2725 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>