Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make dhcpOptions can accept multiple addresses #4003

Merged
merged 1 commit into from
May 15, 2024

Conversation

Longchuanzheng
Copy link
Contributor

Pull Request

What type of this PR

Examples of user facing changes:

  • Bug fixes

Which issue(s) this PR fixes

Fixes #4002

@Longchuanzheng
Copy link
Contributor Author

In this implementation, we set dns_server={8.8.8.8;42.42.42.42} in subnet and transfer to {8.8.8.8, 42.42.42.42} in ovn-ndb.
This PR can remain forward compatible and needs to update documentation.

@bobz965
Copy link
Collaborator

bobz965 commented May 11, 2024

在 ovn nb 的文档中,dns 相关的配置中是{ip1,ip2},指定多个 ip 也是逗号分隔的。 这里 kube-ovn 要求用户使用分号“;” 分隔多个 ip 是为了便于之前的代码仍然可以解析。

@zhangzujian please help review, thanks!

pkg/ovs/util.go Outdated Show resolved Hide resolved
pkg/ovs/util.go Outdated Show resolved Hide resolved
@bobz965 bobz965 force-pushed the dhcpallowiplist branch from 92f19fa to b84a0fd Compare May 15, 2024 01:44
@bobz965 bobz965 merged commit 18a4774 into kubeovn:master May 15, 2024
7 of 8 checks passed
bobz965 pushed a commit that referenced this pull request May 15, 2024
zcq98 pushed a commit to zcq98/kube-ovn that referenced this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] dhcpOptions can not accept multiple IPv4 addresses
3 participants