Get Source NAT IP on Network Create or add Network Info
When creating a isolated network with source nat, I don't see any way to get the source nat IP it snags when it creates it. I think the workaround is to create another public address then register that. This of course wastes an IP so it would be better if I was able to just get the source nat IP.
Thanks!
I encountered this same issue. I've put some preliminary code to get it working for my needs. If you have better suggestions for naming and behaviour I can update it. Python is not my native language so consider this very experimental proof of concept level work.
https://github.com/yyzkevin/ansible-collection-cloudstack/commit/357d24eca3129b30f9ac952797cc06806072aaf5
Thanks for sharing.
@yyzkevin would you mind creating a PR?