Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’.
With this code, you can obtain your network map, and save it a json file.
Problem solved by this Code Snippet
By default capabilities of IControl Api, you can not obtain Network Map with a single api call(at least,for now), with this code, you can get it with several api calls, and code will converge the data for you.
How to use this Code Snippet
For using this code, first, you have to have an access to your F5 over tcp/443 from where you run the code on,
After you become sure the reachibility, you can give it a try with changing the line with proper informations: