DX NetOps

 View Only
  • 1.  Extract Device List with Container Names in Spectrum

    Posted Nov 03, 2016 09:15 PM

    Hi Guys,

     

    I need to extract devices list from Spectrum showing the details of which container they belong to. Can anyone please assist in this regards.

     

    We have 500+ containers with 1000+ devices underneath them. Need output like this

     

    Device A   IP Address   container name

     

    Regards

    Prasanna



  • 2.  Re: Extract Device List with Container Names in Spectrum
    Best Answer

    Posted Nov 03, 2016 10:55 PM

    I am able to get the required information through modelling gateway. Thank you!!!



  • 3.  Re: Extract Device List with Container Names in Spectrum

    Posted Nov 04, 2016 05:35 AM

    Each device has an attribute called TopologyModelNameString (0x129e7). This will display current location of the device in the Universe, like this "Universe:Container1:Container2". Last one in the enumeration is the container where the device resides.

     

    You can get the value for each of the devices using either CLI or Restful API. Whichever suits you best. That's the fastest way to get that information. With ModelingGateway you have to wait for it to export even more information than you actually need.



  • 4.  Re: Extract Device List with Container Names in Spectrum

    Posted Nov 05, 2016 07:50 AM

    Thank you mate, I will try your way surely.