NSX-T Data Center REST API

Get consolidated Effective IPAddress translated from the NSGroup (Deprecated)

Returns the consolidated effective IP address members of the specified NSGroup. This is applicable in the case of a
federated environment. The response includes a site-wise list of static and dynamically translated effective IP
address members. If the ns-group evaluation on a site is empty, the response will contain the site-id with empty list.
If an ns-group is a reference group on a site, then its consolidated effective IP response will contain the effective IPs
from other sites, and the response will contain an empty list of IPs for the sites where is it a reference group.

This API is applicable only for Global Groups that contain (either directly or via nesting) VirtualMachine,
VIF, Segment, SegmentPort, or IPSet member types. Please use the cursor value in the response to fetch the next page.
If there is no cursor value in the response, it indicates that it is the last page of results for the query.
Deprecated: This API is deprecated. Please use below policy API /global-infra/domains/<domain-id>/groups/<group-id>/members/consolidated-effective-ip-addresses to fetch effective IP address members for a group.

Request:

Method:
GET
URI Path(s):
/api/v1/ns-groups/{ns-group-id}/consolidated-effective-ip-address-members
Request Headers:
n/a
Query Parameters:
ConsolidatedAPIListRequestParameters+
Request Body:
n/a

Example Request:

NSGroup 0c963c9d-eea8-4180-b6f3-93385fa497ca has dynamic criteria based on vm name contains 'vm' and 2 static IPs 25.1.1.1","25.1.1.2/31".

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ConsolidatedEffectiveIPAddressMemberListResult+

Example Response:

{ "results": [ { "site_id": "e977e929-255e-41c0-a938-a35d12f860ee", "effective_ips": [ "25.1.1.1", "25.1.1.2/31", "10.160.8.45", "10.160.16.77" ] }, { "site_id": "210d7017-5dca-4901-bfcc-c63928215160", "effective_ips": [ "25.1.1.1", "25.1.1.2/31", "10.160.10.118", "10.160.27.172" ] }, { "site_id": "fa8be70f-b592-4cb1-add9-b89ccdfd3ee3", "effective_ips": [ "25.1.1.1", "25.1.1.2/31", "10.160.15.134", "10.160.26.223" ] } ], "cursor": "7806177147493-0" }

Required Permissions:

read

Feature:

groups_groups

Additional Errors: