If I understand your correctly, this should be enough:
This autobind script will collect all 10.5.3.0/24 nodes into container.
$node.ipAddress is detected management address, if you want to do it based on the interfaces:
Code Select
InetAddress("10.5.3.0", 24).contains($node.ipAddress)
This autobind script will collect all 10.5.3.0/24 nodes into container.
$node.ipAddress is detected management address, if you want to do it based on the interfaces:
Code Select
for (i : $node.interfaces) {
for (addr : i.ipAddressList) {
if (InetAddress("10.5.3.0", 24).contains(addr)) {
return true;
}
}
}
return false;