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

libvirt: Allow more complex network setups #585

Closed
wants to merge 3 commits into from

Conversation

Nadrieril
Copy link
Member

@Nadrieril Nadrieril commented Jan 16, 2017

This PR adds support for more complex network setups in libvirt, notably bridging and static IPs.
It removes the hacky way to get static MACs. People who need a static MAC address can set it in the interface config in deployment.libvirtd.interfaces.
It also adds different methods for detecting the VM's IP address, in case DHCP is not used for example.

@Nadrieril
Copy link
Member Author

Actually, since bridges can be defined at the network level (https://libvirt.org/formatnetwork.html#examplesBridge) (thanks nekroze@freenode), the whole of deployment.libvirtd.interfaces might not be needed.
It is still useful to add additional options to a given interface, like a mac address though.

@Nadrieril
Copy link
Member Author

I'm splitting this PR since I'm not sure about the interfaces part. See #586 for the IP detection thing

@Nadrieril Nadrieril closed this Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants