Smarts ASL/AM: How do you rediscover a device in Smarts AM using ASL?
search cancel

Smarts ASL/AM: How do you rediscover a device in Smarts AM using ASL?

book

Article ID: 304115

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

How do you rediscover a device in Smarts IP Availability Manager (Smarts AM) using ASL?



You can use the following ASL code to re-discover a device in Smart IP AM:

START {
print("Rediscovering...")
}

do {

topo_manager = object(getInstances("ICF_TopologyManager")[0]);
discover_obj = object("Router", "routerxyz");
topo_manager->rediscover(discover_obj);

stop();

}

IMPORTANT! The above line "discover_obj = object("Router", "routerxyz");" must be replaced with appropriate device which is to be rediscovered.