aboutsummaryrefslogtreecommitdiffstats
path: root/osmoappdesc.py
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-07-04 23:08:44 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-27 17:40:52 +0200
commited3157ce46cde0f3973a5ee0a0a53909f361ae7c (patch)
tree072f9b723003554bead716390f6ed8bf7351d103 /osmoappdesc.py
parent2758330b6ab37ff30afca8306080f0e82ef5a732 (diff)
move openbsc/* to repos root
This is the first step in creating this repository from the legacy openbsc.git. Like all other Osmocom repositories, keep the autoconf and automake files in the repository root. openbsc.git has been the sole exception, which ends now. Change-Id: I9c6f2a448d9cb1cc088cf1cf6918b69d7e69b4e7
Diffstat (limited to 'osmoappdesc.py')
-rw-r--r--osmoappdesc.py55
1 files changed, 55 insertions, 0 deletions
diff --git a/osmoappdesc.py b/osmoappdesc.py
new file mode 100644
index 000000000..76f03fc58
--- /dev/null
+++ b/osmoappdesc.py
@@ -0,0 +1,55 @@
+#!/usr/bin/env python
+
+# (C) 2013 by Katerina Barone-Adesi <kat.obsc@gmail.com>
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>
+
+
+# Most systems won't be able to use these, so they're separated out
+nitb_e1_configs = [
+ "doc/examples/osmo-nitb/bs11/openbsc-2bts-2trx.cfg",
+ "doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx-hopping.cfg",
+ "doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx.cfg",
+ "doc/examples/osmo-nitb/bs11/openbsc.cfg",
+ "doc/examples/osmo-nitb/nokia/openbsc_nokia_3trx.cfg",
+ "doc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg",
+ "doc/examples/osmo-nitb/rbs2308/openbsc.cfg"
+]
+
+
+app_configs = {
+ "osmo-bsc": ["doc/examples/osmo-bsc/osmo-bsc.cfg"],
+ "nat": ["doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg"],
+ "mgcp": ["doc/examples/osmo-bsc_mgcp/mgcp.cfg"],
+ "gbproxy": ["doc/examples/osmo-gbproxy/osmo-gbproxy.cfg",
+ "doc/examples/osmo-gbproxy/osmo-gbproxy-legacy.cfg"],
+ "sgsn": ["doc/examples/osmo-sgsn/osmo-sgsn.cfg"],
+ "nitb": ["doc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg",
+ "doc/examples/osmo-nitb/nanobts/openbsc.cfg"],
+ "gtphub": ["doc/examples/osmo-gtphub/osmo-gtphub-1iface.cfg"]
+}
+
+
+apps = [(4242, "src/osmo-bsc/osmo-bsc", "OsmoBSC", "osmo-bsc"),
+ (4244, "src/osmo-bsc_nat/osmo-bsc_nat", "OsmoBSCNAT", "nat"),
+ (4243, "src/osmo-bsc_mgcp/osmo-bsc_mgcp", "OpenBSC MGCP", "mgcp"),
+ (4246, "src/gprs/osmo-gbproxy", "OsmoGbProxy", "gbproxy"),
+ (4245, "src/gprs/osmo-sgsn", "OsmoSGSN", "sgsn"),
+ (4242, "src/osmo-nitb/osmo-nitb", "OpenBSC", "nitb"),
+ (4253, "src/gprs/osmo-gtphub", "OsmoGTPhub", "gtphub")
+ ]
+
+vty_command = ["./src/osmo-nitb/osmo-nitb", "-c",
+ "doc/examples/osmo-nitb/nanobts/openbsc.cfg"]
+
+vty_app = apps[5] # reference apps[] entry for osmo-nitb