forked from magma/magma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(agw): IPv6 data path support (magma#11926)
Signed-off-by: Pruthvi Hebbani <pruthvi.hebbani@radisys.com>
- Loading branch information
1 parent
08f8f83
commit 2eae88c
Showing
12 changed files
with
401 additions
and
54 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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
35 changes: 35 additions & 0 deletions
35
lte/gateway/python/integ_tests/s1aptests/test_disable_ipv6_iface.py
This file contains 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
""" | ||
Copyright 2020 The Magma Authors. | ||
This source code is licensed under the BSD-style license found in the | ||
LICENSE file in the root directory of this source tree. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
""" | ||
|
||
import unittest | ||
|
||
from integ_tests.s1aptests import s1ap_wrapper | ||
from s1ap_utils import MagmadUtil | ||
|
||
|
||
class TestDisableIpv6Iface(unittest.TestCase): | ||
"""Unittest: TestDisableIpv6Iface""" | ||
|
||
def test_disable_ipv6_iface(self): | ||
"""Delete eth3 interface as nat_iface on pipelined.yml | ||
after testing ipv6 data testcases | ||
""" | ||
self._s1ap_wrapper = s1ap_wrapper.TestWrapper() | ||
|
||
print("Disabling ipv6_iface on pipelined.yml") | ||
cmd = MagmadUtil.config_ipv6_iface_cmds.DISABLE | ||
self._s1ap_wrapper.enable_disable_ipv6_iface(cmd) | ||
|
||
|
||
if __name__ == "__main__": | ||
unittest.main() |
35 changes: 35 additions & 0 deletions
35
lte/gateway/python/integ_tests/s1aptests/test_enable_ipv6_iface.py
This file contains 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
""" | ||
Copyright 2020 The Magma Authors. | ||
This source code is licensed under the BSD-style license found in the | ||
LICENSE file in the root directory of this source tree. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
""" | ||
|
||
import unittest | ||
|
||
from integ_tests.s1aptests import s1ap_wrapper | ||
from s1ap_utils import MagmadUtil | ||
|
||
|
||
class TestEnableIpv6Iface(unittest.TestCase): | ||
"""Unittest: TestEnableIpv6Iface""" | ||
|
||
def test_enable_ipv6_iface(self): | ||
"""Add eth3 interface as nat_iface on pipelined.yml to | ||
test ipv6 data testcases | ||
""" | ||
self._s1ap_wrapper = s1ap_wrapper.TestWrapper() | ||
|
||
print("Enabling ipv6_iface on pipelined.yml") | ||
cmd = MagmadUtil.config_ipv6_iface_cmds.ENABLE | ||
self._s1ap_wrapper.enable_disable_ipv6_iface(cmd) | ||
|
||
|
||
if __name__ == "__main__": | ||
unittest.main() |
Oops, something went wrong.