How to validate IP Domain for Tenant by REST call for IPDomain members ?
search cancel

How to validate IP Domain for Tenant by REST call for IPDomain members ?

book

Article ID: 260632

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Provide a guidance, please.

 

Environment

Release : 22.2

Resolution

1. Use REST call to retrieve IPDomain filtered by IPDomain.Name:

POST to https://DA_hostname:8582/rest/ipdomains/filtered/

Body

<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">

    <Filter>

        <IPDomain.Name type="CONTAINS">your_string</IPDomain.Name>

    </Filter>

</FilterSelect>

 

2. Use this value to retrieve all IPDomainMember by IPDomain:

POST to https://DA_hostname:8582/rest/devices/filtered

Body

<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">

    <Filter>

        <IPDomainMember.IPDomainID type="EQUAL">domain_ID</IPDomainMember.IPDomainID>

        </Filter>

</FilterSelect>