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

SKS-1825: Remove the verification that IP must have a gateway #36

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

haijianyang
Copy link
Contributor

Issue

ZBS CSI 的 IP Pool 可以不设置 gateway。

当前 IP Pool 没有校验是否设置了 gateway,但在分配 IP 后会校验是否有 gateway。

Change

移除分配 IP 后必须有 gateway 的校验。

Test

  1. 配置一个没有网关的 IP Pool
  2. 使用上述 IP Pool 分配给虚拟机,虚拟机被成功创建

@haijianyang haijianyang requested a review from jessehu February 29, 2024 05:52
Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.40%. Comparing base (564529e) to head (b7bf934).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
+ Coverage   67.53%   68.40%   +0.87%     
==========================================
  Files           2        2              
  Lines         308      307       -1     
==========================================
+ Hits          208      210       +2     
+ Misses         84       81       -3     
  Partials       16       16              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@haijianyang haijianyang merged commit d5d7b1d into smartxworks:main Feb 29, 2024
3 checks passed
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.

2 participants