3. There is filter script in map properties. It works in a way that this script is executed for each node that is about to be put on the map. If script returns true, node will be added to the map, if false, will not be added. Here's an example script:
This script finds your root node by name. Then for each node it's getting all interfaces, and check peer nodes for them. If your root node is peer node for one of the interfaces, script will return true.
1. and 2. seem to be not customizable, but I will check.
Code Select
rootNode = FindNodeObject($node, "your_root_node_name");
if (!rootNode) return false;
for (i : $node->children) {
if (classof(i) == "Interface") {
p = i->peerNode;
if (p and p->id == rootNode->id) return true;
}
}
return false;This script finds your root node by name. Then for each node it's getting all interfaces, and check peer nodes for them. If your root node is peer node for one of the interfaces, script will return true.
1. and 2. seem to be not customizable, but I will check.