Change in osmo-ttcn3-hacks[master]: ggsn: Apply GPDU seqnum option to all APNs

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Jul 6 12:05:41 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9896


Change subject: ggsn: Apply GPDU seqnum option to all APNs
......................................................................

ggsn: Apply GPDU seqnum option to all APNs

Change-Id: I6efe926c8bb7a0056d26e15eefa282266e7bc6ca
---
M ggsn_tests/GGSN_Tests.ttcn
M ggsn_tests/expected-results.xml
2 files changed, 20 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/96/9896/1

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");
 	}
 
diff --git a/ggsn_tests/expected-results.xml b/ggsn_tests/expected-results.xml
index 383ea39..081325e 100644
--- a/ggsn_tests/expected-results.xml
+++ b/ggsn_tests/expected-results.xml
@@ -1,10 +1,11 @@
 <?xml version="1.0"?>
-<testsuite name='GGSN_Tests' tests='11' failures='1' errors='0' skipped='0' inconc='0' time='MASKED'>
+<testsuite name='GGSN_Tests' tests='14' failures='1' errors='0' skipped='0' inconc='0' time='MASKED'>
   <testcase classname='GGSN_Tests' name='TC_pdp4_act_deact' time='MASKED'/>
   <testcase classname='GGSN_Tests' name='TC_pdp4_act_deact_ipcp' time='MASKED'/>
   <testcase classname='GGSN_Tests' name='TC_pdp4_act_deact_pcodns' time='MASKED'/>
   <testcase classname='GGSN_Tests' name='TC_pdp4_act_deact_gtpu_access' time='MASKED'/>
-  <testcase classname='GGSN_Tests' name='TC_pdp4_clients_interact' time='MASKED'/>
+  <testcase classname='GGSN_Tests' name='TC_pdp4_clients_interact_with_txseq' time='MASKED'/>
+  <testcase classname='GGSN_Tests' name='TC_pdp4_clients_interact_without_txseq' time='MASKED'/>
   <testcase classname='GGSN_Tests' name='TC_pdp4_act_deact_with_single_dns' time='MASKED'/>
   <testcase classname='GGSN_Tests' name='TC_pdp4_act_deact_with_separate_dns' time='MASKED'>
     <failure type='fail-verdict'>Secondary DNS IPv4 PCO option not found

-- 
To view, visit https://gerrit.osmocom.org/9896
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6efe926c8bb7a0056d26e15eefa282266e7bc6ca
Gerrit-Change-Number: 9896
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180706/bafa3c29/attachment.htm>


More information about the gerrit-log mailing list