Skip to content

Commit

Permalink
Add routing for bmcdisover testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
gurevichmark committed May 12, 2023
1 parent 49c546a commit ed1fbb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xCAT-test/autotest/testcase/bmcdiscover/cases0
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ end

start:bmcdiscover_nmap_range
label:others,discovery
cmd:nic=`ip -4 -brief addr | grep -v "127.0.0" | cut -d" " -f1`; ip route replace 10.30.0.0/16 via 10.10.1.1 dev $nic
cmd:bmcdiscover -s nmap --range $$bmcrange -u $$bmcusername -p $$bmcpasswd
check:rc==0
check:output=~$$bmcrange
Expand Down Expand Up @@ -82,4 +83,5 @@ label:others,discovery
cmd:bmcdiscover --range $$bmcrange -u $$bmcusername -p $$bmcpasswd -z
check:rc==0
check:output=~bmc=$$bmcrange
cmd:ip route del 10.30.0.0/16
end

0 comments on commit ed1fbb1

Please sign in to comment.