Repository navigation
Add Device information to DB - #3
Open
shawnpdoherty wants to merge 4 commits into
Open
shawnpdoherty wants to merge 4 commits into
shawnpdoherty wants to merge 4 commits into
Conversation
shawnpdoherty
force-pushed
the
firmware-reporting
branch
from
August 24, 2017 19:24
9402929 to
b1fe857
Compare
jtoppins
force-pushed
the
firmware-reporting
branch
2 times, most recently
from
August 24, 2017 20:16
3e75a69 to
3cb2272
Compare
The system level firmware reporting can be obtained either from the user by manually editing the system firmware fields from the system edit page or the information can be obtained from running the inventory task on a machine. The device level firmware is not changable by the user and is only able to be modified through the submission of an inventory report to the server. The way device firmware information is obtained is hidden with lshw. Change-Id: Ia9592587afd5a0f52360f2bc5a7f017ac068a843 Signed-off-by: Jonathan Toppins <jtoppins@redhat.com> alembic/versions: dd migration script for system firmware Add Columns fw_version and fw_date to System table in beaker db Change-Id: Ic5c8ae405356233ea6dba068f23e4789f28ef1db Signed-Off-By: Shawn Doherty <sdoherty@redhat.com> alembic migration: align column names with class members Changed the column names to be the same as the class member names. Change-Id: If47fe788f3dd5d5dc2c49a8451f736865720850b Signed-off-by: Jonathan Toppins <jtoppins@redhat.com> Correct Typo in add firmware migration script mullable should be nullable in lines 25 & 26 Change-Id: I4809eae33b4db745a919f4a8625534516ce1d835 Signed-off-by: Shawn Doherty <sdoherty@redhat.com> sys firmware: change sysfw_date type to date Change-Id: I3b85c6d9ebfd8f47e14d98766aa90e942ccc7f69 Signed-off-by: Jonathan Toppins <jtoppins@redhat.com> device fw: remove fw_date and add constraint Change-Id: I2c1bfb9dd1a6cfdd416f9e7da400a274ccc52ad6 Signed-off-by: Jonathan Toppins <jtoppins@redhat.com> alembic: update firmware script Change-Id: I28361560e51428264283e46ffcb23d92602b318f Signed-off-by: Jonathan Toppins <jtoppins@redhat.com> Add Device information to DB Correct typo in alembic migration script. Correct system firmware key in inventory.py signed-off-by : Shawn Doherty <sdoherty@redhat.com> Change-Id: Id21bfd40ab08dbe3ff1a254c9a20d0955228286d correct front end info for device firmware to display edit controllers.py to remove date edit system_details to match data Change-Id: Id6f200158891898c82e1f3e0d11393dfacd812b1 signed-off-by: Shawn Doherty <sdoherty@redhat.com> add json data for system firmware System details display breaks unless the sysfw_verion & swfw_date are added to the data library of def __json__. This commit corrects that and displays full system data on Details page. Change-Id: I0a6cb28327c79247fb7d146e65167d01ffd2f627 signed-off-by: Shawn Doherty <sdoherty@redhat.com>
System firmware information is moved from the system table. The Device table now holds the bios information. This patch removes traces of the System firmware and System Firmware Date fields. This patch also updates the database migration script and removes the changes to the system table Change-Id: Id6e0873011294212ed5faa21991968eb994b4a75 signed-off-by: Shawn Doherty <sdoherty@redhat.com>
Cleaning up syntax in inventory.py and needproperty.xml files Change-Id: I219dbf3bbdb24a00ab495e9d7129187a0e47831e signed-off-by: Shawn Doherty <sdoherty@redhat.com>
Change-Id: I4c1cfdc2afc306aaefe37f4f94f15c5978fc92d0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Correct typo in alembic migration script. Correct system firmware
key in inventory.py
signed-off-by : Shawn Doherty sdoherty@redhat.com
Change-Id: Id21bfd40ab08dbe3ff1a254c9a20d0955228286d