diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-01 18:15:48 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-01 19:26:12 +0200 |
commit | 32dd2f3f9b689600dd0704ed4fb12614ebf962f9 (patch) | |
tree | 8428ceb1e9ca251ba8c21e03111a9fe6285e6037 /openbsc/tests | |
parent | 7cce1d301aff586d8a95765d3b56c0c81266781b (diff) |
bsc: Allow to use different LAC/CI for the core-network
We need to use different LAC/CI towards the core network.
It is a bit problematic as LAC/CI is a per BTS attribute
so this feature only works if a BSC manages everything in
the same LAC.
Related: SYS#1398
Diffstat (limited to 'openbsc/tests')
-rw-r--r-- | openbsc/tests/vty_test_runner.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/openbsc/tests/vty_test_runner.py b/openbsc/tests/vty_test_runner.py index 9a531cf87..2b7fd1969 100644 --- a/openbsc/tests/vty_test_runner.py +++ b/openbsc/tests/vty_test_runner.py @@ -495,6 +495,21 @@ class TestVTYBSC(TestVTYGenericBSC): self.assert_(res.find(" timeout-pong 14") > 0) self.assert_(res.find(" timeout-ping advanced") > 0) + def testMscDataCoreLACCI(self): + self.vty.enable() + res = self.vty.command("show running-config") + self.assertEquals(res.find("core-location-area-code"), -1) + self.assertEquals(res.find("core-cell-identity"), -1) + + self.vty.command("configure terminal") + self.vty.command("msc 0") + self.vty.command("core-location-area-code 666") + self.vty.command("core-cell-identity 333") + + res = self.vty.command("show running-config") + self.assert_(res.find("core-location-area-code 666") > 0) + self.assert_(res.find("core-cell-identity 333") > 0) + class TestVTYNAT(TestVTYGenericBSC): def vty_command(self): |