osmith has uploaded this change for review.
dia2gsup: initial testenv.cfg
Change-Id: I1f3f7235134a5acb4436fd4745fa5304ad51bc56
---
M dia2gsup/DIA2GSUP_Tests.cfg
A dia2gsup/osmo_dia2gsup.config
A dia2gsup/testenv.cfg
3 files changed, 34 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/04/37704/1
diff --git a/dia2gsup/DIA2GSUP_Tests.cfg b/dia2gsup/DIA2GSUP_Tests.cfg
index 0c166fe..c69f29e 100644
--- a/dia2gsup/DIA2GSUP_Tests.cfg
+++ b/dia2gsup/DIA2GSUP_Tests.cfg
@@ -12,6 +12,9 @@
[MODULE_PARAMETERS]
+DIA2GSUP_Tests.mp_hlr_ip := "127.0.0.103"
+DIA2GSUP_Tests.mp_s6_local_ip := "127.0.0.103"
+DIA2GSUP_Tests.mp_hss_ip := "127.0.0.20"
[MAIN_CONTROLLER]
diff --git a/dia2gsup/osmo_dia2gsup.config b/dia2gsup/osmo_dia2gsup.config
new file mode 100644
index 0000000..6821492
--- /dev/null
+++ b/dia2gsup/osmo_dia2gsup.config
@@ -0,0 +1,13 @@
+[{osmo_dia2gsup, [
+ {hlr_ip, "127.0.0.103"},
+ {hlr_port, 4222},
+
+ {diameter_ip, "127.0.0.20"},
+ {diameter_port, 3868},
+ {diameter_proto, sctp},
+ {diameter_connect_timer, 200},
+
+ {origin_host, "hss.localdomain"},
+ {origin_realm, "localdomain"},
+ {vendor_id, 0}
+]}].
diff --git a/dia2gsup/testenv.cfg b/dia2gsup/testenv.cfg
new file mode 100644
index 0000000..217a505
--- /dev/null
+++ b/dia2gsup/testenv.cfg
@@ -0,0 +1,9 @@
+[testsuite]
+program=DIA2GSUP_Tests
+config=DIA2GSUP_Tests.cfg
+
+[dia2gsup]
+program=ERL_FLAGS="-config osmo_dia2gsup.config" osmo-dia2gsup
+make=osmo_dia2gsup
+package=osmo-diameter2gsup
+copy=osmo_dia2gsup.config
To view, visit change 37704. To unsubscribe, or for help writing mail filters, visit settings.