mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Test ipmi driver with bmclib functions
This commit is contained in:
parent
118c12fa14
commit
de07b119b5
10 changed files with 213 additions and 168 deletions
17
bin/magellan.sh
Normal file
17
bin/magellan.sh
Normal 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
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue