03-Oct-2022 01:08
Hi Everyone
I would like to add several dozen VIPs to resource group on BIGIQ and also remove tens of VIPs from that group. I haven't found any way so far to do it via API. Is there any way to do it not by assigning specific VIP's via GUI but using API or script so that it would be quite fast ?
Regards
TC.
03-Oct-2022 15:55
Hey @T5C , I don't see that in the API spec either. I will do some digging on this and get back to you unless anyone else replies first.
05-Oct-2022 18:53
I don't see it in the API docs. However, everything is a call to REST. To see the endpoint the browser/UI is talking to utilize developer tools and trace this. You'll likely find the Resouce Group is a UUID and you'll need to track that too.
07-Oct-2022 04:13 - edited 07-Oct-2022 04:14
Maybe see @JMCalalang suggestion and try to use article for Ansible debug to see the API traffic https://support.f5.com/csp/article/K63577238
Enable restnoded debug logging for F5 Modules for Ansible version 2 troubleshooting
Impact of procedure: Features that make use of F5 REST Node.js will be interrupted while the service restarts. In addition, enabling debug logging can increase disk and CPU activity. F5 does not recommend leaving debugging enabled on a production device for extended periods of time.
touch /service/restnoded/debug
bigstart restart restnoded
rm /service/restnoded/debug
tcpdump -nni lo -s0 port 8100 -w /shared/tmp/restjavad-$(date +%H%M%S-%m%d%y).pcap
Note: The date command will include the current time in hours, minutes and seconds followed by the current date in the capture file name for example: restjavad-173643-060322.pcap.
bigstart restart restnoded
You can analyze network traffic to and from the restjavad process to aid in troubleshooting. It is typically not necessary to also capture restnoded traffic; however, if desired you can capture on port 8105 to see traffic from this process.
Impact of procedure: Capturing network traffic can increase disk and CPU activity. F5 recommends only capturing traffic during active troubleshooting sessions.
16-Oct-2022 04:16
If you managed to get the needed answers, please flag the question as answered.