sgsn: Use the new NS2 api
The new NS2 api supports NSE with multiple NS-VC and contains a NS-VC
fsm. FR/GRE support is not working.
The configuration is compatible except for FR/GRE.
Relates: OS#4629
Depends-on: Iaad7b53d44338e5dd81dc2202f23bdcb715af804 (libosmocore)
Depends-on: I6cef42749555e577d5573f2ed8b8bce4cf842a98 (libosmocore)
Change-Id: I92a3bcaf166b091a22d74c7c1586964d33d7cc9d
diff --git a/tests/vty_test_runner.py b/tests/vty_test_runner.py
index 4fb67cb..92466bb 100755
--- a/tests/vty_test_runner.py
+++ b/tests/vty_test_runner.py
@@ -141,7 +141,7 @@
def testVtyShow(self):
res = self.vty.command("show ns")
- self.assertTrue(res.find('Encapsulation NS-UDP-IP') >= 0)
+ self.assertTrue(res.find('0 NS-VC:') >= 0)
self.assertTrue(self.vty.verify('show bssgp', ['']))
self.assertTrue(self.vty.verify('show bssgp stats', ['']))
self.assertTrue(self.vty.verify('show bssgp nsei 123', ['']))