osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38371?usp=email )


Change subject: ggsn: testenv: change VTY IP
......................................................................

ggsn: testenv: change VTY IP

Access the VTY of osmo-ggsn via 172.18.3.2 (127.0.0.2 if running without
testenv), so the testsuite can access the VTY when osmo-ggsn optionally
runs in QEMU too (through the bridge).

Change-Id: I054c19041b3027e7f66d925f031002fefe011c58
---
M ggsn_tests/GGSN_Tests.cfg
M ggsn_tests/osmo-ggsn/osmo-ggsn.src.cfg
M ggsn_tests/testenv_osmo_ggsn_all.cfg
M ggsn_tests/testenv_osmo_ggsn_v4_only.cfg
M ggsn_tests/testenv_osmo_ggsn_v4v6_only.cfg
M ggsn_tests/testenv_osmo_ggsn_v6_only.cfg
6 files changed, 6 insertions(+), 2 deletions(-)



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

diff --git a/ggsn_tests/GGSN_Tests.cfg b/ggsn_tests/GGSN_Tests.cfg
index 6b27bf6..e8888e9 100644
--- a/ggsn_tests/GGSN_Tests.cfg
+++ b/ggsn_tests/GGSN_Tests.cfg
@@ -9,8 +9,8 @@
 [LOGGING]
 *.JUnitLogger.testsuite_name := "osmo-ttcn3-hacks/ggsn_tests"

-
 [TESTPORT_PARAMETERS]
+*.GGSNVTY.CTRL_HOSTNAME := "127.0.0.2"

 [MODULE_PARAMETERS]
 # our Own IP address
diff --git a/ggsn_tests/osmo-ggsn/osmo-ggsn.src.cfg 
b/ggsn_tests/osmo-ggsn/osmo-ggsn.src.cfg
index 23a21f4..a01ce5b 100644
--- a/ggsn_tests/osmo-ggsn/osmo-ggsn.src.cfg
+++ b/ggsn_tests/osmo-ggsn/osmo-ggsn.src.cfg
@@ -42,7 +42,7 @@
 !
 line vty
  no login
- bind 0.0.0.0
+ bind 127.0.0.2
 !
 ggsn ggsn0
  gtp state-dir /tmp
diff --git a/ggsn_tests/testenv_osmo_ggsn_all.cfg 
b/ggsn_tests/testenv_osmo_ggsn_all.cfg
index 54660be..4c33b43 100644
--- a/ggsn_tests/testenv_osmo_ggsn_all.cfg
+++ b/ggsn_tests/testenv_osmo_ggsn_all.cfg
@@ -9,3 +9,4 @@
 copy=osmo-ggsn
 clean=osmo-ggsn/testenv.sh all
 vty_port=4260
+vty_host=172.18.3.2
diff --git a/ggsn_tests/testenv_osmo_ggsn_v4_only.cfg 
b/ggsn_tests/testenv_osmo_ggsn_v4_only.cfg
index 3b55af2..57e736f 100644
--- a/ggsn_tests/testenv_osmo_ggsn_v4_only.cfg
+++ b/ggsn_tests/testenv_osmo_ggsn_v4_only.cfg
@@ -9,3 +9,4 @@
 copy=osmo-ggsn
 clean=osmo-ggsn/testenv.sh v4_only
 vty_port=4260
+vty_host=172.18.3.2
diff --git a/ggsn_tests/testenv_osmo_ggsn_v4v6_only.cfg 
b/ggsn_tests/testenv_osmo_ggsn_v4v6_only.cfg
index da738f2..6f0e11f 100644
--- a/ggsn_tests/testenv_osmo_ggsn_v4v6_only.cfg
+++ b/ggsn_tests/testenv_osmo_ggsn_v4v6_only.cfg
@@ -9,3 +9,4 @@
 copy=osmo-ggsn
 clean=osmo-ggsn/testenv.sh v4v6_only
 vty_port=4260
+vty_host=172.18.3.2
diff --git a/ggsn_tests/testenv_osmo_ggsn_v6_only.cfg 
b/ggsn_tests/testenv_osmo_ggsn_v6_only.cfg
index 4d65b73..101538f 100644
--- a/ggsn_tests/testenv_osmo_ggsn_v6_only.cfg
+++ b/ggsn_tests/testenv_osmo_ggsn_v6_only.cfg
@@ -9,3 +9,4 @@
 copy=osmo-ggsn
 clean=osmo-ggsn/testenv.sh v6_only
 vty_port=4260
+vty_host=172.18.3.2

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38371?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I054c19041b3027e7f66d925f031002fefe011c58
Gerrit-Change-Number: 38371
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to