Osmocom GSM Tester, jenkins integrated GSM hardware testing https://osmocom.org/projects/osmo-gsm-tester
Go to file
Pau Espin fd4c144049 Add support to test gprs IPv4 data plane
Since the modem iface and the GGSN iface are on the same host/netns,
it's really difficult to conveniently test data plane without getting
routing loops. As a result, either GGSN or modem iface must be moved to
a different namespace. The decision after a few discussions was finally
to move modem interfaces to a different netns.

Expected setup:
* ofono is patched to avoid removing modem if it detects
through udev that its net iface was removed (due to for instance, net
iface being moved to another netns and thus not being reachable anymore
by systemd-udev process running in root netns).
* After ofono is started (and successfully configured all the modems and
detected its net ifaces through syfs/udev), script "modem-netns-setup.py
start" which creates a netns for each modem, naming it after its usb
path ID. net ifaces for that modem are moved into its netns.
* Modem is configured to use 802-3 data format, and as a result the net
iface is configured through DHCP (DHCP req only replied AFTER pdp ctx is
activated!).
* Since osmo-gsm-tester knowns the modem USB path ID (available in
resources.conf), it can run required steps (ifup, DHCP) to configure the
interface. The interface name is provided by ofono to osmo-gsm-tester.
* As a result, any process willing to transmit data through the modem
must be in the modem netns.

Related: OS#2308
Change-Id: Icb06bdfcdd37c797be95ab5addb28da2d9f6681c
2018-10-31 09:59:02 +01:00
contrib contrib: build-osmo-sgsn: Depend on osmo-hlr build 2018-10-31 08:14:51 +00:00
doc MSC+BSC: add test api to run OsmoMSC and OsmoBSC with AoIP 2017-05-29 00:19:45 +02:00
example Add support to test gprs IPv4 data plane 2018-10-31 09:59:02 +01:00
install initial import 2017-03-28 12:37:17 +02:00
selftest templates: Update .cfg files to use logging level set-all 2018-10-03 14:56:32 +02:00
src Add support to test gprs IPv4 data plane 2018-10-31 09:59:02 +01:00
suites Add support to test gprs IPv4 data plane 2018-10-31 09:59:02 +01:00
ttcn3 ttcn3: Allow remote hosts (sysmobts) to access RSL srv inside TTCN3 docker 2018-10-15 17:59:31 +02:00
utils Add support to test gprs IPv4 data plane 2018-10-31 09:59:02 +01:00
.gitignore Add ttcn3-bts-test env 2018-07-25 16:38:30 +02:00
.gitreview Add git-review config 2017-12-15 11:29:21 +00:00
COPYING Add GPLv3 license text to repository 2017-06-03 14:23:51 +00:00
Makefile core implementation 2017-04-08 15:43:19 +02:00
check_dependencies.py Check for smpplib being installed as well 2018-08-30 15:22:09 +00:00
update_version.sh initial import 2017-03-28 12:37:17 +02:00