-
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
test(mme): Additional tests for ipv6 data #12892
Conversation
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
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
|
@@ -90,6 +90,7 @@ class S1ApUtil(object): | |||
datapath = get_datapath() | |||
SPGW_TABLE = 0 | |||
LOCAL_PORT = "LOCAL" | |||
LOCAL_PORT_NON_NAT_IPV6 = 15577 |
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.
This is for mtr port. we should be using port number of 'patch-port' here.
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.
What is the significance of mtr port
and patch-port
. @pshelar Is there a link where I can read about these two ports? Thanks in advance.
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.
mtr port is used for monitoring purpose.
patch port is used for traffic forwarding.
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
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.
Left some comments
lte/gateway/python/integ_tests/s1aptests/test_ipv6_non_nat_ded_bearer_ul_tcp.py
Outdated
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv4v6_non_nat_ul_tcp.py
Outdated
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv4v6_non_nat_ul_tcp.py
Outdated
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv4v6_non_nat_ul_tcp.py
Outdated
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv4v6_non_nat_ul_tcp.py
Outdated
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv4v6_non_nat_ul_tcp.py
Outdated
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv6_non_nat_ded_bearer_ul_tcp.py
Outdated
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv6_non_nat_ded_bearer_ul_tcp.py
Outdated
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv6_non_nat_ded_bearer_ul_tcp.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
class TestIpv6NonNatDedBearerUlTcp(unittest.TestCase): | ||
"""Integration Test: TestIpv6NonNatDedBearerUlTcp""" | ||
|
||
def __init__(self, method_name: str = ...) -> None: |
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.
🚫 [mypy] reported by reviewdog 🐶
Incompatible default for argument "method_name" (default has type "ellipsis", argument has type "str") [assignment]
class TestIpv4v6NonNatUlTcp(unittest.TestCase): | ||
"""Integration Test: TestIpv4v6NonNatUlTcp""" | ||
|
||
def __init__(self, method_name: str = ...) -> None: |
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.
🚫 [mypy] reported by reviewdog 🐶
Incompatible default for argument "method_name" (default has type "ellipsis", argument has type "str") [assignment]
…aster Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
class TestIpv6NonNatDedBearerDlTcp(unittest.TestCase): | ||
"""Integration Test: TestIpv6NonNatDedBearerDlTcp""" | ||
|
||
def __init__(self, method_name: str = ...) -> None: |
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.
🚫 [mypy] reported by reviewdog 🐶
Incompatible default for argument "method_name" (default has type "ellipsis", argument has type "str") [assignment]
class TestIpv4v6NonNatDedBearerUlTcp(unittest.TestCase): | ||
"""Integration Test: TestIpv4v6NonNatDedBearerUlTcp""" | ||
|
||
def __init__(self, method_name: str = ...) -> None: |
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.
🚫 [mypy] reported by reviewdog 🐶
Incompatible default for argument "method_name" (default has type "ellipsis", argument has type "str") [assignment]
class TestIpv4v6NonNatDedBearerDlTcp(unittest.TestCase): | ||
"""Integration Test: TestIpv4v6NonNatDedBrDlTcp""" | ||
|
||
def __init__(self, method_name: str = ...) -> None: |
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.
🚫 [mypy] reported by reviewdog 🐶
Incompatible default for argument "method_name" (default has type "ellipsis", argument has type "str") [assignment]
Oops! Looks like you failed the Howto
♻️ Updated: ✅ The check is passing the Python Format Check after the last commit. |
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
lte/gateway/python/integ_tests/s1aptests/test_ipv4v6_non_nat_ded_bearer_dl_tcp.py
Outdated
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv4v6_non_nat_ded_bearer_dl_tcp.py
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv6_non_nat_ded_bearer_ul_tcp.py
Outdated
Show resolved
Hide resolved
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.
Left some comments
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
lte/gateway/python/integ_tests/s1aptests/test_ipv4v6_non_nat_ded_bearer_ul_tcp.py
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv4v6_non_nat_ded_bearer_dl_tcp.py
Outdated
Show resolved
Hide resolved
lte/gateway/python/integ_tests/s1aptests/test_ipv4v6_non_nat_ded_bearer_dl_tcp.py
Show resolved
Hide resolved
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.
Left some minor comments
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
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.
LGTM
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.
LGTM. Thanks for finishing it.
Signed-off-by: Pruthvi Hebbani pruthvi.hebbani@radisys.com
test(mme): Additional tests for ipv6 data
Summary
Added ipv6 with dedicated bearer and ipv4v6 tests with UL TCP data
Test Plan
Verified that the tests pass successfully on multiple runs and data is flowing through the desired bearer