BigIQ - how to trigger a rediscover/reimport of all devices by API
Hello fellow F5 admins,
I'm looking for an elegant way of triggering a rediscover/reimport of all our devices currently known to our BigIQ by an API call (to build an ansible playbook in the end).
Can anyone point me into the right direction or even better, has a working solution?
There seems to be only an endpoint for redicovering and reimporting single devices. Do I really have to:
- get list of all devices
- loop over that list and trigger a reimport for every device individually?
Any input would be much appreciated.