Skip to content

Commit

Permalink
Merge pull request #7384 from gurevichmark/bmcdiscover_c684
Browse files Browse the repository at this point in the history
Add/remove routing for bmcdisover testcases
  • Loading branch information
besawn committed May 12, 2023
2 parents a104f63 + ed1fbb1 commit de3976a
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 de3976a

Please sign in to comment.