Firstly, I am not all good with scripting or automation.
I have a requirement to add hundreds of firewall rules. The group name, and membership criteria are listed in excel file. Is there any scrip available to import it to NSX-T (3.x)?
There is a script available to configure distributed firewall rules recommended by vRNI to NSX-T. Below is the link to the same.
I used this script which imports all rules and groups from vRNI Export. Unfortunately it doesn't create the group members. That has to be done manually.
In my case I don't want to import the rule itself. I want to import the groups with static (IP Set, VMs) and dynamic members from a CSV file.