-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Allow CIDR update for the shared network when the network IPs are not in use #10839
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
base: 4.19
Are you sure you want to change the base?
Allow CIDR update for the shared network when the network IPs are not in use #10839
Conversation
@blueorangutan package |
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10839 +/- ##
=============================================
- Coverage 15.17% 4.28% -10.89%
=============================================
Files 5414 371 -5043
Lines 475185 29700 -445485
Branches 57991 5211 -52780
=============================================
- Hits 72105 1274 -70831
+ Misses 395018 28281 -366737
+ Partials 8062 145 -7917
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13304 |
… in use (i.e. IPs not allocated)
d037d0c
to
1af11e6
Compare
@blueorangutan package |
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13347 |
@alexandremattioli @wido , any thoughts on this solution? |
@sureshanaparti
the cidr will be more accurate, and does not require users to call another API (updateNetwork) |
Overall I think this is a good change, you should be able to change the IPs of an empty network. But what about IPv6 in this case? And we could even argue that you can change start and endip as long as these changes do not shorten the range so that existing VMs fall outside start and end. |
Description
This PR allows allows CIDR update for the shared network when the network IPs are not in use (i.e. IPs not allocated)
Addresses #10459 / #10692.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Created shared network, deployed instances on it, Successfully updated CIDR after destroying the instances & destroying router (to ensure there are no allocated IPs). Deployed the instances after CIDR updated. Other tests:
Updated CIDR 10.0.0.0/22 (not subset of cidr) =>
Updated CIDR when instance is deployed, and IP reserved =>
Updated CIDR 10.0.0.0/25 (outside of existing IP range) =>
How did you try to break this feature and the system with this change?