Refactored flags and added xnames to add endpoint to hms-smd

This commit is contained in:
David J. Allen 2023-09-05 14:26:53 -06:00
parent de07b119b5
commit 2edb9fdbb0
18 changed files with 270 additions and 175 deletions

View file

@ -4,14 +4,14 @@ function build(){
}
function scan() {
./magellan scan --subnet 172.16.0.0 --dbpath data/assets.db --driver ipmi --port 623
./magellan scan --subnet 172.16.0.0 --db.path data/assets.db --port 623
}
function list(){
./magellan list --dbpath data/assets.db
./magellan list --db.path data/assets.db
}
function collect() {
./magellan collect --dbpath data/assets.db --driver ipmi --timeout 5 --user admin --pass password
./magellan collect --db.path data/assets.db --driver ipmi --timeout 5 --user admin --pass password
}