Commit graph

545 commits

Author SHA1 Message Date
David J. Allen
2af5ed651a Updated the README.md with Docker info 2023-10-25 13:17:12 -06:00
David Allen
97bfcada06
Merge pull request #20 from davidallendj/optimization
Fixed `magellan` running much slow when using Docker container
2023-10-25 12:25:18 -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
e039099263 Changed how arguments are passed to magellan.sh script 2023-10-24 14:33:32 -06:00
David Allen
091045ad1e
Merge pull request #19 from davidallendj/optimization
Refactor code to reuse clients for each BMC
2023-10-24 10:16:12 -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
14447ee51e Formatted commands in magellan.sh script 2023-10-24 08:04:53 -06:00
David J. Allen
b85aae84c3 Fixed HTTP response status code check for all successful codes 2023-10-24 08:04:14 -06:00
Alex Lovell-Troy
81d45ffad2 Removing darwin to simplify release builds 2023-10-23 18:24:03 -04:00
Alex Lovell-Troy
ce61aed9a4 Revised Dockerfile and goreleaser to allow for CI 2023-10-23 16:12:18 -04:00
David Allen
4298912ee7
Merge pull request #9 from davidallendj/update-docker
Update Dockerfile and `magellan.sh` script to run in container
2023-10-19 17:11:41 -06:00
David J. Allen
90dff1f8e3 Merge branch 'main' into update-docker 2023-10-19 17:11:07 -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 Allen
af2ebecc69
Merge pull request #17 from davidallendj/update-firmware
Rename some `update` command arguments and reformat output for JSON
2023-10-18 14:37:20 -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 Allen
186825eb3e
Merge pull request #14 from davidallendj/improve-scan
Add ability to use subnet mask and CIDR with `--subnet` flag
2023-10-17 16:31:09 -06:00
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