Bulk Inventory Security Groups Creation using vRA + vRO + NSX-T REST API
Objective Enable automated bulk creation of NSX-T Security Groups and VM membership assignment by uploading a .csv file through vRA catalog request . This solution leverages: vRA → For self-service catalog & request handling. vRO → Workflow logic, parsing CSV, and REST API communication. NSX-T REST API → To validate, create, and update Security Groups. Input CSV Example The CSV file contains the following columns: SecurityGroupName,Criterion1,Criterion2 App-Frontend,VM.Name=web*,Tag=env:dev App-Backend,VM.Name=app*,Tag=env:qa DB-Servers,VM.Name=db*,Tag=env:prod SecurityGroupName → Name of the NSX-T security group Criterion1, Criterion2 → Membership conditions (VM names, Tags, IPs, etc.) Workflow Logic vRA Catalog Request User uploads CSV file with GroupName,Criterion1,Criterion2 . vRA triggers a vRO workflow via Event Subscription or custom catalog item. vRO Workflow Steps Parse CSV file (using Properties or ResourceElement ...