Commit graph

21 commits

Author SHA1 Message Date
f12a6c6713
refactor: power struct and actions 2025-06-19 16:51:55 -06:00
448c5fb1ca
refactor: changed links to store ODataID instead of ID 2025-06-19 16:13:41 -06:00
c6b80c8ddc
refactor: updated crawler to add relevant power output 2025-06-18 16:10:16 -06:00
David Allen
04e1fb26c9
Split the collect Command For Customization (#93)
* feat: initial implementation of command split

* feat: update collect and new send cmd

* chore: cleanup unused code

* chore: refactored getting username

* chore: more refactoring and cleanup

* feat: update send cmd implementation

* chore: changed/updated example config

* chore: made cmd more consistent and added formatting

* refactor: removed --host flag from scan

* chore: cleaned up and fixed issue with client

* chore: cleaned up CLI flags in collect cmd

* feat: updated crawl to include managers and output YAML optionally

* refactor: updated and improved send implementation

* refactor: minor improvements

* refactor: added util func to check for empty slices

* fix: issue with reading from stdin

* refactor: added scheme trimming function for URIs

* refactor: changed host arg back to positional

* refactor: removed unused vars and added --output-dir flag

* fix: make -f for secrets persistent

* refactor: removed --host flag and request in collect

* refactor: changed --output flag to --output-file

* fix: updated flags for collect

* fix: typo in crawler error

* fix: dir being created when outputDir not set

* fix: reading stdin and data args

* fix: made output using -v and -o consistent

* readme: added info about command split

* updated changelog adding missing version entries

* chore: updated example to use host as positional arg

* fix: issue with reading --data arg

* fix: remove unused import from collect pkg

Signed-off-by: Devon Bautista <devonb@lanl.gov>

---------

Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
Signed-off-by: Devon Bautista <devonb@lanl.gov>
Co-authored-by: Devon Bautista <devonb@lanl.gov>
2025-05-29 15:15:46 -04:00
Devon Bautista
db6d958934
fix: move BMC credentials getter that logs to util func 2025-04-16 22:42:19 -06:00
Devon Bautista
ad0708d2ad
refactor: split BMC data structures into pkg/bmc package 2025-04-16 16:33:06 -06:00
82e1c45036
feat: add default secret to local store 2025-03-31 15:35:15 -06:00
c3a7ebf975
chore: added pre-condition guards for secrets 2025-03-17 10:14:36 -06:00
Alex Lovell-Troy
853e27c312
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management 2025-03-13 10:50:32 -06:00
Alex Lovell-Troy
d8e47cd1a1
feat: enhance firmware update functionality and add BMC identification support 2025-02-06 17:25:56 -05:00
4f6011381b
crawler: include IP in manager's ethernet interfaces 2024-10-22 14:23:24 -06:00
ac78e21ee8
crawler: change check to exclude ethernet interfaces without IPs 2024-10-17 18:38:29 -06:00
c9ae96ab76
crawler: add check to get IP address from manager's ethernet interface 2024-10-17 15:54:45 -06:00
e1cc0bfd38
crawler: add function to fetch manager data 2024-10-15 13:51:38 -06:00
David Allen
e3ef9d4276
Fixed field tag in crawler 2024-08-27 15:40:43 -06:00
David Allen
d94152529b
Added more information to crawler output 2024-08-15 14:22:47 -06:00
Chris Harris
70fc040da1
Add network interfaces to crawl 2024-07-10 11:51:55 -04:00
Alex Lovell-Troy
eccd9adb41
Improve crawl instruction and log Redfish Version 2024-07-02 16:25:28 -04:00
Alex Lovell-Troy
fdc574f5f2
Improved Error handling without panics 2024-07-01 13:53:32 -04:00
Alex Lovell-Troy
e6325719f4
Update crawler to better handle odd Redfish implementations 2024-06-28 06:17:22 +02:00
Alex Lovell-Troy
a7d5b0ebbb
Add standalone command for querying a single BMC and outputting inventory json 2024-06-27 08:56:45 +02:00