Commit graph

274 commits

Author SHA1 Message Date
David J. Allen
c48b42407f Removed extra print statement 2023-10-17 14:48:26 -06:00
David J. Allen
48b2264053 Changed GenerateHosts implementation to take IP, CIDR, and subnet masks arguments for scanning 2023-10-17 14:45:35 -06:00
David J. Allen
555ecf679d Added function implementations to generate hosts by subnet and CIDR 2023-10-16 14:37:23 -06:00
David J. Allen
8c4439ea81 Renamed functions in collect.go 2023-10-16 13:48:55 -06:00
David Allen
994bf07716
Merge pull request #13 from davidallendj/tidy-code
Tidy code and other minor changes and bug fixes
2023-10-16 10:48:08 -06:00
David Allen
075cbf0733
Merge pull request #10 from davidallendj/update-firmware
Added `update` command to update firmware
2023-10-16 10:35:37 -06:00
David J. Allen
d5e8ed5e99 Set force-update to false by default 2023-10-12 14:03:26 -06:00
David J. Allen
916050ad4d Change collect output to include EthernetInterfaces in Systems object 2023-10-12 14:03:04 -06:00
David J. Allen
b76d5e61ff Minor changes and fixes 2023-10-11 15:00:13 -06:00
David J. Allen
174e2084fc Removed extra print in QueryEthernetInterfaces 2023-10-10 11:56:33 -06:00
David J. Allen
37aa24defc Merge branch 'update-firmware' of https://github.com/davidallendj/magellan into update-firmware 2023-10-10 11:53:13 -06:00
David J. Allen
346d886edb Fixed issue QueryEthernetInterfaces not returning anything 2023-10-10 11:53:11 -06:00
David Allen
2c4cd02a5a
Merge branch 'main' into update-firmware 2023-10-10 11:14:31 -06:00
David Allen
fb8e726cdf
Merge pull request #12 from davidallendj/improve-scan
Improve `scan` by adding another HTTP request to redfish
2023-10-10 10:52:02 -06:00
David J. Allen
4d6ffd213b Added checks for connectGofish to prevent panics 2023-10-10 10:35:44 -06:00
David J. Allen
f59d68797d Moved ScannedResult to scan.go and implemented redfish probe 2023-10-09 11:20:36 -06:00
David J. Allen
4694353220 Rename BMCProbeResult to ScannedResult and remove from collect.go 2023-10-09 11:20:02 -06:00
David J. Allen
4f839a5b61 Fixed some minor issues 2023-10-05 13:57:52 -06:00
David J. Allen
a03a54f35e Added protocol flag to update command 2023-10-05 13:54:03 -06:00
David J. Allen
ac1dc023c0 Added missing error check to MakeRequest function 2023-10-05 13:52:07 -06:00
David J. Allen
da648f98b8 Fixed ethernet interfaces not returning correct information 2023-10-05 13:22:23 -06:00
David J. Allen
d09b71262a Minor formatting 2023-10-05 12:57:08 -06:00
David J. Allen
d8bd169cb7 Added protocol flag 2023-10-05 12:55:58 -06:00
David J. Allen
5b390a65c2 Modified update command and implementation 2023-10-05 12:55:16 -06:00
David J. Allen
c2567a0b56 Added SMD port option for docker 2023-10-03 12:26:51 -06:00
David J. Allen
69374a29e8 Fixed argument passed to wrong command 2023-10-03 12:21:52 -06:00
David J. Allen
62dd01e1ca Moved update code from collect.go to update.go 2023-10-03 12:01:09 -06:00
David J. Allen
b7b31388a7 Added update command 2023-10-03 11:58:03 -06:00
David J. Allen
10ba18ade4 Modify firmware updating function with HTTP 2023-10-03 10:17:46 -06:00
David J. Allen
7a99aa5b2d Exposed more parameters in magellan.sh script 2023-10-02 15:42:06 -06:00
David J. Allen
b730e98fb3 Fixed issue with AddRedfishEndpoint returning nil 2023-10-02 15:37:27 -06:00
David J. Allen
e5613d9a30 Update Dockerfile and magellan.sh for container 2023-10-02 14:57:41 -06:00
David J. Allen
372f68e2ff Added bmclib-based firmware update function 2023-10-02 09:22:16 -06:00
Alex Lovell-Troy
662fb6168e
Merge pull request #7 from davidallendj/main
Add more output to `collect` command for SMD
2023-10-02 17:05:34 +03:00
David J. Allen
b8944775a9 Add UpdateFirmware func and some refactoring 2023-09-29 12:54:38 -06:00
David J. Allen
9f848113c7 Minor refactor and update README.md 2023-09-29 09:32:06 -06:00
David J. Allen
2a6ffd16bb Refactor some database code and added delete function 2023-09-29 09:24:18 -06:00
David J. Allen
54dde2dda6 Added ability to update endpoint when conflicting with existing + processor info
Signed-off-by: David J. Allen <allend@lanl.gov>
2023-09-28 14:46:21 -06:00
David J. Allen
2bfc42a064 Merge branch 'main' of https://github.com/davidallendj/magellan
Added necessary output for SMD
2023-09-28 07:58:06 -06:00
David J. Allen
a0b5cd3cdb Added more information to collect output
Signed-off-by: David J. Allen <allend@lanl.gov>
2023-09-28 07:52:21 -06:00
David J. Allen
9d3e40ba5a Fixed collect output received from bmclib
Signed-off-by: David J. Allen <allend@lanl.gov>
2023-09-25 16:52:19 -06:00
Alex Lovell-Troy
85ce3e3dc3
Update README.md
Added LANL Copyright
2023-09-22 13:16:18 -04:00
Alex Lovell-Troy
16f7664931
Merge pull request #3 from bikeshack/store-data
Added ability to store output of `collect` command
2023-09-20 17:42:42 -04:00
David J. Allen
6ce388578f Merge branch 'store-data' of https://github.com/davidallendj/magellan into store-data 2023-09-19 13:58:05 -06:00
David J. Allen
5acccf9355 Added ability to store output of collect command 2023-09-19 13:57:47 -06:00
David J. Allen
dc8689c26b Added check for scanned database directory 2023-09-19 13:56:21 -06:00
David J. Allen
b504550d98 Refactored, renamed, and reorganized code 2023-09-19 13:55:46 -06:00
3b9f4e6070 Added ability to store output of collect command
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-18 16:45:15 -06:00
Alex Lovell-Troy
589cc12962 Fix license to refer to LANL and the current year. 2023-09-15 15:01:10 -04:00
David Allen
4c45afce8d
Merge branch 'main' into alt-releaser 2023-09-15 08:48:18 -06:00