pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37906?usp=email )

Change subject: s1gw: initial testenv.cfg
......................................................................

s1gw: initial testenv.cfg

This commit already provides a running setup to run the testsuite,
similar to the one already available in docker-playground.git.

Change-Id: Ib66c3f23355c117302b48fc9ef05cde1920d8739
---
A s1gw/osmo-s1gw.config
A s1gw/testenv.cfg
2 files changed, 44 insertions(+), 0 deletions(-)

Approvals:
  osmith: Looks good to me, approved; Verified
  laforge: Looks good to me, but someone else must approve
  Jenkins Builder: Verified




diff --git a/s1gw/osmo-s1gw.config b/s1gw/osmo-s1gw.config
new file mode 100644
index 0000000..f4a4a73
--- /dev/null
+++ b/s1gw/osmo-s1gw.config
@@ -0,0 +1,35 @@
+%% -*- erlang -*-
+
+[%% 
================================================================================
+ %% application config
+ %%
+ %%   eNB              S1GW
+ %% +-----+     +----------------+
+ %% | ... | --> | s1gw_bind_addr |             MME
+ %% +-----+     +----------------+     +-----------------+
+ %%             |  mme_loc_addr  | --> |  mme_rem_addr   |
+ %%             +----------------+     +-----------------+
+ %% 
================================================================================
+ {osmo_s1gw,
+  [{s1gw_bind_addr, "127.0.1.1"}, %% S1GW bind address for incoming eNB 
connections
+   {mme_loc_addr, "127.0.2.1"}, %% local address for outgoing connections to 
the MME
+   {mme_rem_addr, "127.0.2.10"} %% remote address for outgoing connections to 
the MME
+  ]},
+ %% 
================================================================================
+ %% kernel config
+ %% 
================================================================================
+ {kernel,
+  [{logger_level, debug},
+   {logger,
+    [{handler, default, logger_std_h,
+      #{level => debug,
+        formatter => {logger_formatter,
+                      #{template => [time, " ",
+                                     "[", level, "]",
+                                     {pid, [" ", pid, ""], ""},
+                                     {prefix, [" ", prefix, " ::"], ""},
+                                     " ", msg,
+                                     {mfa, [" (", mfa, ":", line, ")"], ""},
+                                     "\n"]}}}}]}]}].
+
+%% vim:set ts=2 sw=2 et:
diff --git a/s1gw/testenv.cfg b/s1gw/testenv.cfg
new file mode 100644
index 0000000..ff74821
--- /dev/null
+++ b/s1gw/testenv.cfg
@@ -0,0 +1,9 @@
+[testsuite]
+program=S1GW_Tests
+config=S1GW_Tests.cfg
+
+[s1gw]
+program=ERL_FLAGS="-config osmo-s1gw.config" osmo-s1gw
+make=osmo-s1gw
+package=osmo-s1gw
+copy=osmo-s1gw.config

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

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ib66c3f23355c117302b48fc9ef05cde1920d8739
Gerrit-Change-Number: 37906
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to