-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add route rules for additional workload networks
Previously, HAProxy would not route to additional workload networks without user customization because we did not give them the option to provide workload networks interfaces via the UI. This change implements the ability for the user to provide workload networks the user wishes to route to. Since we expect workload networks to be routable to each other, we can program route rules to user-provided CIDR ranges in which routes will exit via the workload default gateway. These routes are configurable via a new file located at /etc/vmware/workload-networks.cfg. This file is written once just before cloud-init performs the bootstrapping. This change also fixes a few bugs in route table configuration. Closes #15, #11, #10
- Loading branch information
1 parent
a7a4b86
commit bc70b9d
Showing
4 changed files
with
98 additions
and
46 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
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