-
Notifications
You must be signed in to change notification settings - Fork 592
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
chore(agw): s1ap_utils.py is cleaned up #13854
Conversation
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
Oops! Looks like you failed the Howto
♻️ Updated: ✅ The check is passing the Python Format Check after the last commit. |
9a632b0
to
517f8d6
Compare
517f8d6
to
50f0475
Compare
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.
How was pylint run on this PR? Was it according to some configuration in magma or using default settings?
50f0475
to
fd5ace9
Compare
Default settings. The main motivation for this PR was the reordering of the functions and after that it was more a Boy's Scout thing to clean up. We just wanted to separate these changes from the feature PR. |
@mpfirrmann Have you checked the S1AP tests still run after these changes? |
s1ap_utils
is cleaned up
Yes. I edited the PR description |
@rsarwad, do you maybe have some time to take a look at this PR? |
num_ul_flows, | ||
dl_flow_rules=None, | ||
ipv6_non_nat=False, | ||
): |
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.
At line 626, can we use curly brackets to get the values?
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.
Had minor query. Rest of the changes look good to me
fd5ace9
to
4f9a41f
Compare
Signed-off-by: Marco Pfirrmann <marco.pfirrmann@tngtech.com>
Signed-off-by: Marco Pfirrmann <marco.pfirrmann@tngtech.com>
4f9a41f
to
cc28655
Compare
* chore(agw): functions are reordered for better readability * chore(agw): s1ap_utils is cleaned up for readability Signed-off-by: Marco Pfirrmann <marco.pfirrmann@tngtech.com>
Summary
This is a clean-up PR for the
s1ap_utils.py
. After extensive work in #13853, we shuffled some functions around for better visibility and addressed severalpylint
remarks.Test Plan
The LTE integration tests were run on my fork with GitHub actions with a
systemd
-base AGW; LINK.Tests ran green for the containerized AGW as well.
Additional Information