Provisioning Using Other Tools
From Observer GigaFlow Support | VIAVI Solutions Inc.
Inserting new traffic groups in bulk
To send data from 3rd party apps you either need to setup a portalUser or supply the login credentials in the query.
Function to bulk load traffic groups in the tgbulk field, each line separated by a carriage return "\n" IP address can be in the format of start,endip or ip/prefix_length
curl -H "Content-Type: application/x-www-form-urlencoded" -X POST -d $'userName=admin&userPass=admin&id=tgbulk&action=Add Traffic Group Bulk&tgbulk=test1_name,test1_desc,192.168.1.1/24\ntest2_name,test2_desc,192.168.2.1/24\ntest3_name,test3_desc,192.168.3.1,192.168.3.102' "http://172.21.21.21:7902/"