Test ipmi driver with bmclib functions

This commit is contained in:
David J. Allen 2023-08-31 08:48:33 -06:00
parent 118c12fa14
commit de07b119b5
10 changed files with 213 additions and 168 deletions

17
bin/magellan.sh Normal file
View file

@ -0,0 +1,17 @@
function build(){
go mod tidy && go build -C bin/magellan
}
function scan() {
./magellan scan --subnet 172.16.0.0 --dbpath data/assets.db --driver ipmi --port 623
}
function list(){
./magellan list --dbpath data/assets.db
}
function collect() {
./magellan collect --dbpath data/assets.db --driver ipmi --timeout 5 --user admin --pass password
}