Smarts IP: How do you extract a list of devices from the Smarts IP pending list?
search cancel

Smarts IP: How do you extract a list of devices from the Smarts IP pending list?

book

Article ID: 304154

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

How do you extract a list of devices from the Smarts IP pending list?



To extract a list of devices from the Smarts IP pending list, do the following:
  1. Copy the following into a new ASL file:

    manager = object(getInstances("ICF_TopologyManager")[0]);
    pending = manager->PendingManagedBy;  

    START()
    {
    .. eol
    }
    do


      print(" Pending List "); 
      foreach  x (pending->getPending()) 
      { 
          print(" ".x); 
      }
    }

     
  2. Save the file as getPending.asl.
  3. Verify the ASL script as follows:

    ./sm_adapter --verify getPending.asl

  4. Run the ASL script as follows:

    ./sm_adapter -s <server> getPending.asl