[lte][agw] Fix itti message construction with correct apn size#7901
Merged
ulaskozat merged 2 commits intomagma:masterfrom Jul 2, 2021
Merged
[lte][agw] Fix itti message construction with correct apn size#7901ulaskozat merged 2 commits intomagma:masterfrom
ulaskozat merged 2 commits intomagma:masterfrom
Conversation
Signed-off-by: Ulas Kozat <[email protected]>
Contributor
|
Thanks for opening a PR! 💯 Please note that all commits must be signed off. This is enforced by the Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
amarpad
approved these changes
Jul 2, 2021
| SUBSCRIBER_PERIODIC_RAU_TAU_TIMER_VAL; | ||
|
|
||
| // apn configuration | ||
| itti_msg->subscription_data.apn_config_profile.nb_apns = msg.apn_size(); |
Contributor
There was a problem hiding this comment.
Do we want to log a warning if apn_size is greater than MAX_APN_PER_UE?
Signed-off-by: Ulas Kozat <[email protected]>
themarwhal
pushed a commit
that referenced
this pull request
Jul 2, 2021
* Fix itti message construction with correct apn size Signed-off-by: Ulas Kozat <[email protected]> * Added log message and cleaned up the code Signed-off-by: Ulas Kozat <[email protected]>
veshkemburu
pushed a commit
to veshkemburu/magma
that referenced
this pull request
Jul 6, 2021
…#7901) * Fix itti message construction with correct apn size Signed-off-by: Ulas Kozat <[email protected]> * Added log message and cleaned up the code Signed-off-by: Ulas Kozat <[email protected]>
Member
|
This is non-trivial to backport to 1.5 due to the directory layout change. @ulaskozat do you mind raising a PR against 1.5 directly? |
Contributor
|
git cherry-pick should be able to handle directory reparenting, it didn't work for you? |
Contributor
|
Also if we land it after the changes I am cherry picking it might land cleaner. |
veshkemburu
pushed a commit
to veshkemburu/magma
that referenced
this pull request
Jul 8, 2021
…#7901) * Fix itti message construction with correct apn size Signed-off-by: Ulas Kozat <[email protected]> * Added log message and cleaned up the code Signed-off-by: Ulas Kozat <[email protected]>
rmeleromira
pushed a commit
to rmeleromira/magma
that referenced
this pull request
Jul 24, 2021
…#7901) * Fix itti message construction with correct apn size Signed-off-by: Ulas Kozat <[email protected]> * Added log message and cleaned up the code Signed-off-by: Ulas Kozat <[email protected]> Signed-off-by: Ramon Melero <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Signed-off-by: Ulas Kozat [email protected]
Summary
GRPC response on apn configuration is not translated correctly onto itti message when the number of returned APN configurations is larger than the maximum allowed by the MME.
Test Plan
Run full suite of integ tests locally.
Modified s1ap tests.
Output of
sudo journalctl -fu magma@mmewith APNs exceeding the limit:Additional Information