How to perform a tunneled get request to get the interfaces on a device

book

Article ID: 223860

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

If you have a device id of a device, how do you get the list of interfaces on that device via a tunneled get request?

Environment

Release : 20.2

Component :

Resolution

Example:

BODY:

<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
    <Filter>
            <DeviceComponent.DeviceItemID type="EQUAL">DEVICEIDHERE</DeviceComponent.DeviceItemID>
    </Filter>
</FilterSelect>

POST as type application/xml to 

http://<DA>:8581/rest/ports/filtered

You can add a select statement to filter the results to specific data as needed

Rest endpoint documentation:

http://<DA>:8581/rest/ports/documentation