2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00
2016-05-17 10:03:44 -04:00

50 lines
1.0 KiB
Plaintext

start:bmcdiscover_h
os:Linux
decription:help
cmd:bmcdiscover -h
check:rc==0
check:output=~Usage
end
start:bmcdiscover_nmap_range
cmd:bmcdiscover -s nmap --range $$bmcrange -u $$bmcusername -p $$bmcpasswd
check:rc==0
check:output=~$$bmcrange
end
start:bmcdiscover_v
cmd:bmcdiscover -v
check:rc==0
checkout:output=~xCAT Version
end
start:bmcdiscover_check_paswd
cmd:bmcdiscover -i $$bmcrange -u USERID -p PASSW0RD --check
check:rc==0
check:output=~Correct ADMINISTRATOR
end
start:bmcdiscover_check_passwd_wrong
cmd:bmcdiscover -i $$bmcrange -u USERID -p PASSW0RDw --check
check:rc!=0
check:output=~Error: Wrong BMC password
end
start:bmcdiscover_get_ipsource
cmd:bmcdiscover -i $$bmcrange -u USERID -p PASSW0RD --ipsource
check:rc==0
check:output=~Static Address
end
start:bmcdiscover_range_w
cmd:bmcdiscover --range $$bmcrange -u $$bmcusername -p $$bmcpasswd -w
check:rc==0
check:output=~bmc=$$bmcrange
end
start:bmcdiscover_range_z
cmd:bmcdiscover --range $$bmcrange -u $$bmcusername -p $$bmcpasswd -z
check:rc==0
check:output=~bmc=$$bmcrange
end