-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[openwrt] Allow configure DNS resolvers without defining an interfaces …
…#117 Fixed the issue by defining two additional classes (DnsServer and DnsSearch) in the interfaces converter. These additional classes are to convert the dns configs when an interface is not provided in the netjson. when an interface is provided, the default converters in the Interface class is used to convert the dns to native config. this was left so because when an interface is defined, other options like DHCP servers might be available and the Interface class handles that very well. Test cases were added to test for these features and also to increase the coverage. Fixes #117
- Loading branch information
1 parent
c23ce97
commit 229ace1
Showing
4 changed files
with
95 additions
and
1 deletion.
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