Commit f0f024a6 authored by Leigh B Stoller's avatar Leigh B Stoller

Brutal change for Wisc naming and computing vnode IP addresses.

Need to change this entirely.
parent eba4b1e1
......@@ -2215,6 +2215,12 @@ sub CreateVnodes($$$)
$nodenum = "";
$ipbase = 0;
}
elsif ($pnode =~ /^(.*)-r(\d+)-(\d+)$/) {
# Cloudlab Wisconsin naming.
$nodeprefix = $1;
$nodenum = "$2$3";
$ipbase = $nodenum;
}
elsif ($pnode =~ /^(.*\D)(\d+)$/) {
$nodeprefix = $1;
$nodenum = $2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment