aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-22Merge "Add ability to clean up hosts and vlans"Parker Berberian1-0/+47
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-20Merge "Make host entries prettier on Define Hardware step"Parker Berberian1-5/+47
2019-03-20Make host entries prettier on Define Hardware stepSawyer Bergeron1-5/+47
Change-Id: I492ffd5a3cfcb19902a91f587c8acfdb1827be4d Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-03-20Merge "Cleanup Quick Booking Page"Parker Berberian2-8/+17
2019-03-20Cleanup Quick Booking PageParker Berberian2-8/+17
Removed "filter_field" label and moved opnfv options into thier own box Change-Id: I7d2ee1f39a94de0a6638c96a3469f6f4c27e2196 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-20Merge "Update Lab List View"Parker Berberian1-82/+21
2019-03-20Merge "Remove Unneeded field"Parker Berberian1-1/+0
2019-03-20Merge "Fixes Booking List"Parker Berberian2-9/+8
2019-03-19Make "Extra Info" step cleanerSawyer Bergeron1-0/+22
Change-Id: I2e552701e360c2217c2ec59e64a5c28839207394 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-03-18Update Lab List ViewParker Berberian1-82/+21
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>
2019-03-18Remove Unneeded fieldParker Berberian1-1/+0
Removed field that referenced other labs because it is always None Change-Id: I6bfce388844a8c5a7d60d227f51f10e628fc626d Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-18Fixes Booking ListParker Berberian2-9/+8
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>
2019-03-15Minor Cleanup enhancementsParker Berberian3-20/+21
Change-Id: I032c8771b69e0f6d320759ee95c4987e41df57ba Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-14Respects lab_token from labParker Berberian1-0/+2
Change-Id: I322f876a21d25dc185a6f4930d2f2a5f463e2d24 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-14Merge "Add API tests"Parker Berberian2-10/+478
2019-03-14Add API testsSawyer Bergeron2-10/+478
Change-Id: Ic26d0b6de63405d239a9260b862158962c3140ac Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-03-13Merge "Add column ordering to host list"Parker Berberian1-4/+1
2019-03-13Add column ordering to host listSawyer Bergeron1-4/+1
Change-Id: Id1d52217b85aaafed71177c8eed5719dbb1bff4a Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-03-13Merge "Bookings no longer default to 0 days"Parker Berberian1-2/+2
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-13Fix mismatched charfield max_lengthsSawyer Bergeron2-2/+25
Change-Id: I960710d800b614f93d06f5b0aff81d8b9508d5dd Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-03-13Merge "Hides expired bookings in the "My Bookings" Page"Parker Berberian2-6/+45
2019-03-12Allow labs to retirieve and update some host information in the apiParker Berberian3-0/+30
Change-Id: Ib0682141351f7789c50d98a992ab166c2f033f4b Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-06Fix migration and modelsParker Berberian4-2/+70
We missed a few migrations Change-Id: I58e1abb53e5295ec6c6228906d6eb2fd7fea0b84 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-01Merge "Enhance PDF/IDF Support"Parker Berberian6-181/+315
2019-03-01Merge "Add test utils and tests for quick booking"Parker Berberian10-327/+620
2019-03-01Add test utils and tests for quick bookingSawyer Bergeron10-327/+620
Change-Id: Ie76c6fe26622ca8363055b8ebbe0dc6deaed5824 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-01Enhance PDF/IDF SupportParker Berberian6-181/+315
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-27Update IPMI handlingParker Berberian4-1/+63
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>
2019-02-25Hides expired bookings in the "My Bookings" PageParker Berberian2-6/+45
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>
2019-02-25Merge "Update Inbox Featureset"Parker Berberian9-30/+165
2019-02-25Update Inbox FeaturesetSawyer Bergeron9-30/+165
Inbox now supports marking unread, marking for deletion, and has a new UI Change-Id: Ia684056f70ecca31bbd71634f4d1d5415f7e5428 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-02-25Check for Host AvailabilityParker Berberian1-0/+25
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>
2019-02-22Fixed Selection of single hosts in quick bookingParker Berberian3-2/+4
Change-Id: I8ca860ee23f9df44e38da76d539729771d32c455 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-18Merge "Fixed all Flake8 errors"Parker Berberian10-33/+34
2019-02-12Fixed all Flake8 errorsParker Berberian10-33/+34
Change-Id: I1186429df8989461e2384f1f3e533c55cebfb1b4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-01Merge "Allow Users to Delete objects and Cancel Bookings"Parker Berberian11-63/+554
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-29Allow Users to Delete objects and Cancel BookingsParker Berberian11-63/+554
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>
2019-01-28Merge "Add Tox commands to lint Python code"Parker Berberian1-0/+21
2019-01-28Merge "Remove broken API link"Parker Berberian1-5/+0
2019-01-28Add Tox commands to lint Python codeTrevor Bramwell1-0/+21
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>
2019-01-24Remove broken API linkParker Berberian1-5/+0
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>
2019-01-23Fix Reimaging HostsParker Berberian2-8/+32
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>
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-18Merge "Fix BookingDetail Template"Parker Berberian1-3/+3
2019-01-18Merge "Fix ConfigBundle not being set in quick deploy"Parker Berberian1-0/+1
2019-01-18Merge "Make landing page less sparse"Parker Berberian3-18/+60
2019-01-18Make landing page less sparseSawyer Bergeron3-18/+60
Change-Id: If661574fd0c62e208651507ccff844cf6f14e914 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>