Provisioning Using Other Tools

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search

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,\ntest2_name,test2_desc,\ntest3_name,test3_desc,,' ""