Is there are way to get device model information for just one Landscape in a Distributed SpectroSERVER environment?
search cancel

Is there are way to get device model information for just one Landscape in a Distributed SpectroSERVER environment?

book

Article ID: 248400

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

We are running a Distributed SpectroSERVER (DSS) environment. 

When we run the following Rest API query, we receive information about all device models in all landscapes in the DSS.

http://spectrum:port/spectrum/restful/devices?attr=0x1006e&attr=0x12d7f

Is there a way to run this for only one landscape in the DSS?

Environment

Release : Any

Component : Spectrum Applications/WebAPI

Resolution

This can be done by adding the "landscape" to the query as follows where <LH> is the Landscape Handle of the SpectroSERVER.

http://spectrum:port/spectrum/restful/devices?attr=0x1006e&attr=0x12d7f&landscape=<LH>

For example, the following query will return all of the device model information from the 0x800000 landscape:

http://spectrum:8080/spectrum/restful/devices?attr=0x1006e&attr=0x12d7f&landscape=0x800000