Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Source NAT IP on Network Create or add Network Info #121

Open
loth opened this issue May 2, 2023 · 2 comments
Open

Get Source NAT IP on Network Create or add Network Info #121

loth opened this issue May 2, 2023 · 2 comments

Comments

@loth
Copy link

loth commented May 2, 2023

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!

@yyzkevin
Copy link

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.

yyzkevin@357d24e

@resmo
Copy link
Member

resmo commented Dec 14, 2024

Thanks for sharing.

@yyzkevin would you mind creating a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants