GET /api/v1/ns-groups API is slow in NSX 3.2.4
search cancel

GET /api/v1/ns-groups API is slow in NSX 3.2.4

book

Article ID: 401983

calendar_today

Updated On:

Products

VMware vDefend Firewall

Issue/Introduction

After upgrading to NSX 3.2.4, you may notice that calls to /api/v1/ns-groups/ are slower than before. This is more obvious when scripts make automatic calls to large ns-groups.

Call example
curl -s -k -u '<uesername:password>' -X GET "https://<NSX Manager IP>/api/v1/ns-groups"

Environment

VMware NSX-T Data Center 3.2.4

Cause

The slower API response time was caused by code that checks API requests against OpenSearch for consistency. This is expected behaviour for this version

Resolution

This behavior is modified in VMware NSX 4.2. x
The code for the consistency check has been removed because this code is no longer required in 4.2.x