aboutsummaryrefslogtreecommitdiffstats
path: root/src/workflow
AgeCommit message (Collapse)AuthorFilesLines
2020-10-22Fix quick booking allocation of private vlans for podsSawyer Bergeron1-1/+1
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: Ie515da2c28fcbc51d8fa87e24a3ff64c234d1bee Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2020-09-183 contact us buttons and booking links on landingSean Smith1-1/+7
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: Ic50767e566f06d34457b6543644eeee03e584b89
2020-07-30Allow marker bookingsSawyer Bergeron1-2/+2
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I7494242760e98e8dd07db1f952c51e30897a2df8
2020-07-27No headnode for marker bookingsSean Smith1-1/+1
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I96ea3d9f1fa045c754ba1c7aa0323339149d5173
2020-07-27Add deleted variable backSean Smith1-0/+3
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: Ie757d5f9bdc992616760d9f30e49913292f93868
2020-07-27Merge "Fix Flake8 Violations"Sawyer Bergeron1-3/+0
2020-07-24Enforce head in Design a PodSean Smith1-0/+5
Change-Id: Ibd9858750e4529450483c66907061440dc8389f3 Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
2020-07-15Fix Flake8 ViolationsTrevor Bramwell1-3/+1
Several minor issues found through flake8 should now be fixed in the code. Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org> Change-Id: I4f6e5dac5ed8378911598ded714602bbb3f6bd6b
2020-06-23Merge "Quick Booking Menu Resource Availibility"Sawyer Bergeron1-3/+12
2020-06-23Quick Booking Menu Resource Availibilityssmith1-3/+12
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I79f411af8996698d2c553185eed0221792a348d0
2020-06-22Small Change to add a useful workflow transactionssmith1-0/+2
Change-Id: I635a74605871bfa53337e20635a86632457452df Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
2020-05-28Some small fixes to launch Akrainossmith3-54/+5
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: If64d15afa456b7bdf25d40015decb37b1a20da54
2020-05-15Merge resource branchSawyer Bergeron9-405/+359
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-17Quick Deploy Fixes.Parker Berberian1-1/+1
Change-Id: I46d410af62e4962d235346ba56472aaacb9d3ff2 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2020-02-13Fix ImportsParker Berberian7-39/+35
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 Berberian2-22/+19
Change-Id: Ice88f53135f57aca8e2de4d69274e7d490f981a4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2020-01-28Comments and DocumentationParker Berberian7-13/+75
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 Berberian4-5/+5
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-11-07Allow public marked grb and configs to be shownBrandon Lo1-2/+3
Change-Id: I97f4965e8522cac1ceb5c0492e9aa0a2e128d266 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-10Fixes and adds TestsParker Berberian8-253/+227
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 Berberian4-54/+53
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-07-02Refactor Workflow ManagerParker Berberian4-60/+75
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>
2019-07-02add post to steps (LAAS-32)Sawyer Bergeron7-176/+49
Change-Id: I3fa53c399f914d7daa8ffb5d8640a153de555421 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-25Move All JS of Networking Step to External FileParker Berberian1-46/+44
Cleans up a lot of old code and moves it all into an object in the dashboard.js file Change-Id: I9fdbd2242c59eff7b1a95378f132e4f307188dc8 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-21Merge "Redesigns Multiple Select Filter Widget"Parker Berberian2-149/+100
2019-06-21Redesigns Multiple Select Filter WidgetParker Berberian2-149/+100
Makes the filter widget work as it should so that it can be integrated with the rest of the Django form handling nicely. Also fixes a lot of ugly code tangential to the widget. Change-Id: Ib92db8e584f3d2162c6c43a18b75a57273bb18f5 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-06-17Enforce step validity when going forwardSawyer Bergeron1-0/+6
Change-Id: Ic598a5e2637b88f6d044bd93c5b597582f0c1081 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-12redirect to booking detail on creationSawyer Bergeron3-19/+41
Change-Id: I4e27f6a4a64314639b9ac83750b5b6add069399b Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-10Fix searchable select field scalingSawyer Bergeron1-6/+6
Change-Id: Id6fb052b2158ee0db30fd11b520194d3825b677f Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-04Integrate OPNFV workflowSawyer Bergeron5-72/+105
Now that required groundwork is in place, we can start to pull the OPNFV workflow into the booking workflow Change-Id: Ifa026ad446b48356ae03ef1d5ad48db841e13fbd Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-05-31Refactor selector step logicSawyer Bergeron5-377/+292
Change-Id: I61e361e63da7453b2eee0e0c162a6f4e48460128 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-05-22Make steps possible to hide/showSawyer Bergeron9-100/+130
Change-Id: Ice5036ea9801655032cb080537fbd471fb3fda3e Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-05-03Implement OPNFV workflowSawyer Bergeron6-135/+522
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>
2019-04-16Merge "Limit total number of active bookings per user"Parker Berberian1-2/+4
2019-04-16Limit total number of active bookings per userSawyer Bergeron1-2/+4
Change-Id: I4f79e3225f423274de3d2da912a080521447b185 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-04-15Fixing Network ModelsParker Berberian2-172/+136
Change-Id: Ia2cdf069e90c8091e8d984c368e47f375aed02ea Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-13Bookings no longer default to 0 daysSawyer Bergeron1-2/+2
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>
2019-03-01Enhance PDF/IDF SupportParker Berberian1-1/+2
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>
2019-02-22Fixed Selection of single hosts in quick bookingParker Berberian1-0/+2
Change-Id: I8ca860ee23f9df44e38da76d539729771d32c455 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-18Merge "Fixed all Flake8 errors"Parker Berberian5-14/+20
2019-02-12Fixed all Flake8 errorsParker Berberian5-14/+20
Change-Id: I1186429df8989461e2384f1f3e533c55cebfb1b4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-29Fixed PTL ChecksParker Berberian1-5/+18
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>
2019-01-22Fixed timezone issue in the Snapshot WorkflowParker Berberian1-2/+2
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>
2019-01-18OverHaul the Snapshot WorkflowParker Berberian3-2/+19
Makes the Snapshot workflow much prettier and more functional. Change-Id: Icdd66f64e6d336ad49ed3cf638a301d0ca92fda9 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-18Add Quick-Booking WorkflowSawyer Bergeron1-4/+4
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>
2019-01-03Merge "Requires a Jumphost per POD"Parker Berberian1-0/+7
2019-01-03Merge "Implement Segmented Workflows"Parker Berberian7-199/+168
2019-01-03Requires a Jumphost per PODParker Berberian1-0/+7
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>
2019-01-03Implement Segmented WorkflowsSawyer Bergeron7-199/+168
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>
2019-01-02Quick fix for dictionary accessParker Berberian1-1/+1
the line .labs needed to be changed to ['labs'] Change-Id: I6d2aa2eca0413186ddf482aba7f01e4e53c0265b Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>