-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdog: Support versioning in
net.toml
This change adds the ability to handle additional versions of `net.toml` as the project continues to add features to network configuration. A top level `NetConfig` type has been removed in favor of a few traits. Each new version of config is expected to implement these traits, the most important of which converts the network configuration into `WickedInterface` structs which are suitable for serializing directly to file. As part of this change, the `net_config` module has been lightly refactored and split into submodules to make the pieces easier to use among new versions.
- Loading branch information
Showing
8 changed files
with
701 additions
and
617 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
Oops, something went wrong.