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


Change subject: hnodeb: default configs: fix conflict
......................................................................

hnodeb: default configs: fix conflict

Use IPs similar to the configurations in docker-playground, so when
using these configs the tests don't fail with:

GTP_Emulation.ttcn:185 Dynamic test case error: Using the value of an optional 
field containing omit. (Address already in use)

Change-Id: Ie99708be1164e48e2acceb9cafdb9ca6308490bb
---
M hnodeb/HNB_Tests.default
M hnodeb/osmo-hnodeb.cfg
2 files changed, 23 insertions(+), 4 deletions(-)



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

diff --git a/hnodeb/HNB_Tests.default b/hnodeb/HNB_Tests.default
index c385b9a..426f512 100644
--- a/hnodeb/HNB_Tests.default
+++ b/hnodeb/HNB_Tests.default
@@ -3,7 +3,7 @@

 [TESTPORT_PARAMETERS]
 *.HNBVTY.CTRL_MODE := "client"
-*.HNBVTY.CTRL_HOSTNAME := "127.0.0.1"
+*.HNBVTY.CTRL_HOSTNAME := "127.0.0.20"
 *.HNBVTY.CTRL_PORTNUM := "4273"
 *.HNBVTY.CTRL_LOGIN_SKIPPED := "yes"
 *.HNBVTY.CTRL_DETECT_SERVER_DISCONNECTED := "yes"
@@ -12,7 +12,7 @@
 *.HNBVTY.CTRL_DETECT_CONNECTION_ESTABLISHMENT_RESULT := "yes"
 *.HNBVTY.PROMPT1 := "OsmoHNodeB> "
 *.STATSVTY.CTRL_MODE := "client"
-*.STATSVTY.CTRL_HOSTNAME := "127.0.0.1"
+*.STATSVTY.CTRL_HOSTNAME := "127.0.0.20"
 *.STATSVTY.CTRL_PORTNUM := "4274"
 *.STATSVTY.CTRL_LOGIN_SKIPPED := "yes"
 *.STATSVTY.CTRL_DETECT_SERVER_DISCONNECTED := "yes"
@@ -24,5 +24,7 @@

 [MODULE_PARAMETERS]
 Osmocom_VTY_Functions.mp_prompt_prefix := "OsmoHNodeB";
+HNB_Tests.mp_hnodeb_ip   := "127.0.0.20";
+HNB_Tests.mp_hnbgw_iuh_ip   := "127.0.0.203";

 [EXECUTE]
diff --git a/hnodeb/osmo-hnodeb.cfg b/hnodeb/osmo-hnodeb.cfg
index 3ccd4b4..f05ec53 100644
--- a/hnodeb/osmo-hnodeb.cfg
+++ b/hnodeb/osmo-hnodeb.cfg
@@ -8,6 +8,7 @@
  logging level set-all debug
 line vty
  no login
+ bind 127.0.0.20
 !
 hnodeb
  cell_identity 1
@@ -15,5 +16,7 @@
  routing_area_code 3
  service_area_code 4
  iuh
-  local-ip 127.0.0.1
-  remote-ip 127.0.0.1
+  local-ip 127.0.0.20
+  remote-ip 127.0.0.203
+ gtp
+  local-ip 127.0.0.20

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

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

Reply via email to