SUSE-Cloud / automation

Automation scripts for development, testing, and CI
Apache License 2.0
68 stars 139 forks source link

Created virtual network may conflict with existing networks #2484

Open GarySmith opened 6 years ago

GarySmith commented 6 years ago

When mkcloud creates the virtual networks in libvirt, it should first check that it is not creating a network that overlaps with any existing virtual network that may be present. Failure to make this pre-check may cause network requests fail in ways that may be difficult to diagnose, especially when there is only a partial overlap, i.e. requests to/from some interfaces work properly and others do not.

dirkmueller commented 6 years ago

precreated in libvirt you mean? or created outside libvirt?

GarySmith commented 6 years ago

Yes, pre-created in libvirt.