Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Removes a redundant name field and adds an
explicit ForeignKey mapping between Interface
and InterfaceProfile
Change-Id: I3472ef53b889d8d5557e4f083a15940c2022877d
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
This implements Host model's "release" method and replaces
an instance of Network to PhysicalNetwork.
Change-Id: I99b0bedbde2dcd63411cbb1fbf9b4905fc9570b1
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
|
|
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>
|
|
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>
|
|
Change-Id: I97f4965e8522cac1ceb5c0492e9aa0a2e128d266
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
|
|
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>
|
|
|
|
Adds an additional check to ensure that the host is
working before using it for a booking.
Change-Id: I69731ca10ad59b6b774d04bdf6f3e628e6a07a79
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Creates a single place to validate hostnames, with public
fields for regex that can be copied to the frontend.
We do hostname validation inconsistently all over the place,
we should move to using this single validator.
Change-Id: I7b71fd89843a7e5b7f9d93dcb23f4645abe71dd0
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
|
|
|
|
Change-Id: Ida98327266df6cfbd4398b897ebcbcc4dc5df24d
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
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>
|
|
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>
|
|
Change-Id: I0091629f8f0af423210b2e81210d65239e9662b4
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
Change-Id: Ia2cdf069e90c8091e8d984c368e47f375aed02ea
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Change-Id: Ie385fe3f2fbe3b178f00928914d47a34b181d05e
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
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>
|
|
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>
|
|
We missed a few migrations
Change-Id: I58e1abb53e5295ec6c6228906d6eb2fd7fea0b84
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I8ca860ee23f9df44e38da76d539729771d32c455
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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>
|