Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an iptables mangle rule per-bridge for DHCP.
When vhost-net is present on a host, and DHCP services are run on the same system as guests (multi_host), an iptables rule is needed to fill packet checksums. This adds a rule per-bridge for multi_host networks when vhost-net is present, similar to how newer versions of libvirt handle the issue for bridges/networks that it manages. Fixes LP: #1029430 EDIT: Updated tests and pep8. (Backported from commit 901a3da) Change-Id: I1a51c1d808fa47a77e713dbfe384ffad183d6031
- Loading branch information
Adam Gandelman
committed
Dec 20, 2012
1 parent
451003e
commit 4bfc8f1
Showing
2 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters