Seeing the below behavior:
Steps to remove the MAC addresses of hosts in Smarts IP that are not part of the Spanning Tree Protocol (STP)
Smarts 10.1.X
To resolve this issue, do the following:
CREATE_MULTIHOME_CONNECTIVITY do {
foreach mac (getInstances("MAC")) {
macObj = object("MAC",mac);
sysObj = macObj->getSystem();
if (sysObj->isNull()) {
if (DEBUG) {
print(me.": Systemless MAC hence deleting ".macObj);
}
macObj->delete(); <----------add this line
continue;
}