summaryrefslogtreecommitdiffstats
path: root/ggsn_tests/GGSN_Tests.ttcn
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-07-06 13:24:14 +0200
committerHarald Welte <laforge@gnumonks.org>2018-07-06 14:43:59 +0000
commit205a384562fd324236c14a285209941af755135b (patch)
treee20d4ed5758870b856695777821886884d6a9eb2 /ggsn_tests/GGSN_Tests.ttcn
parent425b62f03e7072497e5387eeb6e2e68265ef3409 (diff)
ggsn: Apply GPDU seqnum option to all APNs
Diffstat (limited to 'ggsn_tests/GGSN_Tests.ttcn')
-rw-r--r--ggsn_tests/GGSN_Tests.ttcn17
1 files changed, 17 insertions, 0 deletions
diff --git a/ggsn_tests/GGSN_Tests.ttcn b/ggsn_tests/GGSN_Tests.ttcn
index 97abc4d..6ae205f 100644
--- a/ggsn_tests/GGSN_Tests.ttcn
+++ b/ggsn_tests/GGSN_Tests.ttcn
@@ -105,12 +105,29 @@ module GGSN_Tests {
private function f_vty_set_gpdu_txseq(boolean enable) runs on GT_CT {
f_vty_enter_config(GGSNVTY);
f_vty_transceive(GGSNVTY, "ggsn ggsn0");
+
f_vty_transceive(GGSNVTY, "apn internet");
if (enable) {
f_vty_transceive(GGSNVTY, "g-pdu tx-sequence-numbers");
} else {
f_vty_transceive(GGSNVTY, "no g-pdu tx-sequence-numbers");
}
+ f_vty_transceive(GGSNVTY, "exit");
+
+ f_vty_transceive(GGSNVTY, "apn inet6");
+ if (enable) {
+ f_vty_transceive(GGSNVTY, "g-pdu tx-sequence-numbers");
+ } else {
+ f_vty_transceive(GGSNVTY, "no g-pdu tx-sequence-numbers");
+ }
+ f_vty_transceive(GGSNVTY, "exit");
+
+ f_vty_transceive(GGSNVTY, "apn inet46");
+ if (enable) {
+ f_vty_transceive(GGSNVTY, "g-pdu tx-sequence-numbers");
+ } else {
+ f_vty_transceive(GGSNVTY, "no g-pdu tx-sequence-numbers");
+ }
f_vty_transceive(GGSNVTY, "end");
}