-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Configurable MTU for VR #6426
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
Merged
Merged
Configurable MTU for VR #6426
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
74e9599
VR: Support configurable MTU
Pearl1594 95fa5f5
add support for vpc networks
Pearl1594 a43c40a
pass mtu for vpc tier network
Pearl1594 633a84d
add support to update interface mtu
Pearl1594 d096549
update upgrade path
Pearl1594 50adfb8
code cleanup based on sonarcloud report
Pearl1594 d82962e
add ui support
Pearl1594 e445837
refactor and add ui changes
Pearl1594 900726e
move things around to update vpc public iface mtu via vpc commands
Pearl1594 bcb8fa0
update logic to updating mtu and finding interface name
Pearl1594 951a708
filter response on UI
Pearl1594 3e22cb6
add unit tests for APIs and svc
Pearl1594 e191727
added tests
Pearl1594 190a249
fix test
shwstppr 673697c
fix test
Pearl1594 a6aae77
update tests and minor refactors
Pearl1594 48d852b
add integration tests + simplify logic + update response details
Pearl1594 6712eda
Merge branch 'main' of https://github.com/apache/cloudstack into conf…
Pearl1594 e3d4a56
prevent sending network update command if the mtu passed to vpc net i…
Pearl1594 c3eb79e
address reported code smells - sonarcloud
Pearl1594 08065a2
add ping test to integration tests
Pearl1594 953e32f
skip running added marvin tests for simulator hyp
Pearl1594 0de46d8
fix test failure on simulator
Pearl1594 7568467
change mtu config cmd, to fix marvin tests
Pearl1594 dcb8622
hit mtu fields for l2 update network
Pearl1594 21a51dd
Merge branch 'main' of https://github.com/apache/cloudstack into conf…
Pearl1594 3b4cbc5
address comments
Pearl1594 ee68dc9
move test to component test
Pearl1594 ced5b39
Merge branch 'main' of https://github.com/apache/cloudstack into conf…
Pearl1594 29c4506
Merge branch 'main' of https://github.com/apache/cloudstack into conf…
Pearl1594 e7f29b5
add getter to address code-smell?
Pearl1594 3e59daf
address comments
Pearl1594 04a1a95
update UI to alert value exceeding defined threshold before resetting
Pearl1594 a2666d3
set minimum of 68 for mtu and configure limits on UI too
Pearl1594 e4b30df
Merge branch 'main' of https://github.com/apache/cloudstack into conf…
Pearl1594 c966cbd
Merge branch 'main' of https://github.com/apache/cloudstack into conf…
Pearl1594 b692902
update api param description
Pearl1594 764baef
Add support to configure client mtu via dhcp and guard changing mtu v…
Pearl1594 8f9d4bf
Merge branch 'main' of https://github.com/apache/cloudstack into conf…
Pearl1594 8aef20e
register config key
Pearl1594 cdf76fa
Merge branch 'main' of https://github.com/apache/cloudstack into conf…
Pearl1594 0907f23
update ui to show mtu fields based on newly added global setting
Pearl1594 e39733a
test failure due to logging
Pearl1594 1a46427
Merge branch 'main' of https://github.com/apache/cloudstack into conf…
Pearl1594 25a6ba1
Merge branch 'main' into configurable-mtu
shwstppr 6a67204
config name change
shwstppr dbac891
Merge branch 'main' into configurable-mtu
shwstppr 99d4d6c
changes
shwstppr 0b42151
fix test
shwstppr bd3ea4d
fix mtu options not showing
shwstppr 96bfe39
rename allow mtu config
shwstppr 74554b8
ui: show warning on zone setting change
shwstppr 0cd12a2
Merge branch 'main' into configurable-mtu
shwstppr 9eda8f7
ui: use translations
shwstppr ac42952
remove unnecessary changes
shwstppr 0abd1a6
revert unnecessary change
shwstppr 5ccea40
fix ui mtu config order
shwstppr d0cccab
fix condition
shwstppr feaae4d
ui: fix warning text
shwstppr d2379fd
change text
shwstppr f315bcd
Merge branch 'main' into configurable-mtu
shwstppr 8884051
ui; fix label
shwstppr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -160,4 +160,6 @@ public enum ReservationStrategy { | |
| String getIPv6Cidr(); | ||
|
|
||
| String getIPv6Address(); | ||
|
|
||
| Integer getMtu(); | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we use this instead of network tier's value in case of VPCs? Are there checks not allow user to input publicmtu in case of network teirs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we have check in place to not consider public MTU when passed as part of network tiers and consider the one that's been set on the VPC network.