ggsn: Apply GPDU seqnum option to all APNs
Change-Id: I6efe926c8bb7a0056d26e15eefa282266e7bc6ca
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 @@
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");
}