summaryrefslogtreecommitdiffstats
path: root/dashboard/src/resource_inventory
AgeCommit message (Collapse)AuthorFilesLines
2019-05-09Merge "Allow query to fail"Parker Berberian1-2/+7
2019-05-08Merge "Adds pdf and idf into api"Parker Berberian1-6/+9
2019-05-08Merge "Fix vlan leak"Parker Berberian1-6/+5
2019-05-08Fix vlan leakSawyer Bergeron1-6/+5
Change-Id: Ida98327266df6cfbd4398b897ebcbcc4dc5df24d Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-05-08Adds pdf and idf into apiParker Berberian1-6/+9
The Pod Descriptor File (pdf) and Installer descriptor file (idf) are now hosted in the api. The url endpoint where the lab can retrieve them are now part of a software task. An OPNFV task also contains a new dictionary that describes how bridges should be configured on the jumphost. This information is not contained in the pdf/idf but is needed by the lab. Change-Id: I6971279979ba180725926035bd9db481aafb1073 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-05-03Implement OPNFV workflowSawyer Bergeron4-17/+105
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-17Fixes the idf and pdf templates so that we can deploy opnfvParker Berberian3-13/+159
Change-Id: I0091629f8f0af423210b2e81210d65239e9662b4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-04-16Merge "Fixing Network Models"Parker Berberian3-46/+162
2019-04-15Fixing Network ModelsParker Berberian3-46/+162
Change-Id: Ia2cdf069e90c8091e8d984c368e47f375aed02ea Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-28Add host detail viewSawyer Bergeron2-3/+19
Change-Id: Ie385fe3f2fbe3b178f00928914d47a34b181d05e Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-03-25Allow query to failParker Berberian1-2/+7
Query for interface speed when templating the pdf may fail. If it does fail, we provide a default value instead of aborting. Change-Id: Ib3d6ddca7dd055e4066fb4915d33f6f9ad73ca80 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-18Fixes Booking ListParker Berberian1-0/+3
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-06Fix migration and modelsParker Berberian3-2/+52
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 Berberian2-90/+173
2019-03-01Enhance PDF/IDF SupportParker Berberian2-90/+173
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 Berberian1-0/+21
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-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 Berberian1-1/+1
Change-Id: I8ca860ee23f9df44e38da76d539729771d32c455 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-29Allow Users to Delete objects and Cancel BookingsParker Berberian2-16/+97
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-18Add Quick-Booking WorkflowSawyer Bergeron3-6/+31
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>
2018-11-26Fixed Misc BugsParker Berberian1-1/+1
Some corner cases that cause issues recently came to our attention. Fixes issues in the booking workflow and the Notification system. Change-Id: Ie16118ba1bdbeff86bb41a16dc783337b921d527 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-11-26Fix all flake8 errorsParker Berberian6-91/+158
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-10-23Merge "Adds migrations"Parker Berberian1-0/+28
2018-10-17Adds migrationsParker Berberian1-0/+28
In reviewing the LaaS 2.0 code, models were changed without the accompanying migrations. Change-Id: Ibdba456d9650c7d7d8750328852f27866a899328 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-15Removed references to old codeParker Berberian1-1/+1
With the LaaS 2.0 rewrite, there was still some old/dead/broken code being referenced. This patch fixes that. Change-Id: I25803652bc59bba1e416e526d205742c52f14a65 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-15Lab as a Service 2.0Parker Berberian13-0/+1367
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>