Commit graph

156 commits

Author SHA1 Message Date
Alex Lovell-Troy
cccf0dfdf2 move to OpenCHAMI and update changelog 2023-11-03 09:47:57 -04:00
David J. Allen
955c9fb4bd Change import to use new repo 2023-10-31 07:55:03 -06:00
David J. Allen
c5611f598f Changed the error message when attempting to add redfish endpoint 2023-10-25 12:13:53 -06:00
David J. Allen
47f773df2a Changed how the data is outputted to stdout and fixed xname issue 2023-10-25 12:13:21 -06:00
David J. Allen
6a59ba2a41 Moved clients back into goroutine and add checks 2023-10-24 10:03:33 -06:00
David J. Allen
b610eda4d8 Moved clients out of goroutine to be reused through collection process 2023-10-24 09:20:48 -06:00
David J. Allen
7a1c799910 Changed Collect* function calls to reuse gofish client 2023-10-24 08:21:30 -06:00
David J. Allen
b85aae84c3 Fixed HTTP response status code check for all successful codes 2023-10-24 08:04:14 -06:00
David J. Allen
2baae37f5f Initial implementation of config file 2023-10-19 17:08:36 -06:00
David Allen
1db4349eb0
Merge pull request #18 from davidallendj/tidy-code
Rename `Query*` functions in `internal/collect.go` to `Collect*`
2023-10-19 08:47:57 -06:00
David J. Allen
c7061d4768 Rename some update command arguments and reformat output for JSON 2023-10-18 14:35:57 -06:00
David Allen
d7d1265fca
Merge branch 'bikeshack:main' into tidy-code 2023-10-18 13:08:05 -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 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 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
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
62dd01e1ca Moved update code from collect.go to update.go 2023-10-03 12:01:09 -06:00
David J. Allen
10ba18ade4 Modify firmware updating function with HTTP 2023-10-03 10:17:46 -06:00
David J. Allen
372f68e2ff Added bmclib-based firmware update function 2023-10-02 09:22:16 -06: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
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
David J. Allen
5acccf9355 Added ability to store output of collect command 2023-09-19 13:57:47 -06:00
David J. Allen
b504550d98 Refactored, renamed, and reorganized code 2023-09-19 13:55:46 -06:00
David Allen
4c45afce8d
Merge branch 'main' into alt-releaser 2023-09-15 08:48:18 -06:00
b3368e5264 Fixed formatting via gofmt
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-15 08:32:41 -06:00
Alex Lovell-Troy
d649697859
Merge branch 'main' into alt-releaser 2023-09-14 17:11:18 -04:00
ac9556a526 Change default scanning ports
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-14 14:37:10 -06:00
8faa570b0a Minor tweaks, changes, and fixes
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-14 13:41:12 -06:00
Alex Lovell-Troy
3351de48a6 inital release refactor 2023-09-14 15:10:08 -04:00
34367f830a Minor tweaks and updated README.md 2023-09-14 09:44:12 -06:00
4de7803167 Fixed invalid xnames
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-13 15:43:05 -06:00
David J. Allen
c5a6d2a2be Add goroutine to info collect
Signed-off-by: David J. Allen <allend@lanl.gov>
2023-09-13 11:21:49 -06:00