-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network: fix bridge script for multiple stanzas
The add-juju-bridge.py script was not coping with /etc/network/interfaces files containing multiple stanzas for the same logical interface. The program has been restructured a little so that a LogicalInterface contains a collection of stanzas. At the same time, we now only add bridge_ports to the first logical interface stanza for a bridged interface. Adding it to all of them breaks networking. At least partially fixes https://bugs.launchpad.net/juju/+bug/1650304
- Loading branch information
Showing
3 changed files
with
381 additions
and
194 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
Oops, something went wrong.