osmith has uploaded this change for review.

View Change

cbc: initial testenv.cfg

Change-Id: I8578bf7a2e627c93cc7480534cc2ddbba3ad6ff1
---
M cbc/CBC_Tests.cfg
A cbc/osmo-cbc.cfg
A cbc/testenv.cfg
3 files changed, 70 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/07/37707/1
diff --git a/cbc/CBC_Tests.cfg b/cbc/CBC_Tests.cfg
index 7c2a3ac..2ab0885 100644
--- a/cbc/CBC_Tests.cfg
+++ b/cbc/CBC_Tests.cfg
@@ -11,6 +11,8 @@
[TESTPORT_PARAMETERS]

[MODULE_PARAMETERS]
+CBC_Tests.mp_local_host := "127.0.0.100";
+CBC_Tests.mp_cbc_host := "127.0.0.20";

[MAIN_CONTROLLER]

diff --git a/cbc/osmo-cbc.cfg b/cbc/osmo-cbc.cfg
new file mode 100644
index 0000000..5e8656d
--- /dev/null
+++ b/cbc/osmo-cbc.cfg
@@ -0,0 +1,50 @@
+!
+log gsmtap 127.0.0.100
+ logging level set-all debug
+ logging level asn1c info
+ logging filter all 1
+!
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category-hex 0
+ logging print category 1
+ logging print extended-timestamp 1
+ logging print level 1
+ logging print file 1 last
+ logging level set-all info
+ logging level cbsp debug
+ logging level sbcap debug
+ logging level rest debug
+!
+line vty
+ no login
+ bind 127.0.0.20
+!
+cbc
+ unknown-peers reject
+ ecbe
+ local-ip 127.0.0.20
+ local-port 12345
+ cbsp
+ local-ip 127.0.0.20
+ local-port 48049
+ sbcap
+ local-ip 127.0.0.20
+ local-port 29168
+ peer cbsp ttcn3-bsc-client
+ mode server
+ remote-port 15000
+ remote-ip 127.0.0.100
+ peer cbsp ttcn3-bsc-server
+ mode client
+ remote-port 15001
+ remote-ip 127.0.0.100
+ peer sbcap ttcn3-mme-client
+ mode server
+ remote-port 16000
+ remote-ip 127.0.0.100
+ peer sbcap ttcn3-mme-server
+ mode client
+ remote-port 16001
+ remote-ip 127.0.0.100
diff --git a/cbc/testenv.cfg b/cbc/testenv.cfg
new file mode 100644
index 0000000..1cae33c
--- /dev/null
+++ b/cbc/testenv.cfg
@@ -0,0 +1,9 @@
+[testsuite]
+program=CBC_Tests
+config=CBC_Tests.cfg
+
+[cbc]
+program=osmo-cbc
+make=osmo-cbc
+package=osmo-cbc
+copy=osmo-cbc.cfg

To view, visit change 37707. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I8578bf7a2e627c93cc7480534cc2ddbba3ad6ff1
Gerrit-Change-Number: 37707
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange