This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Holger Freyther gerrit-no-reply at lists.osmocom.orgHolger Freyther has uploaded this change for review. ( https://gerrit.osmocom.org/10687 Change subject: Add an initial test for the ms_driver ...................................................................... Add an initial test for the ms_driver Some points to discuss: * Should modems==0 be allowed to be set? * I should compile/package the mobile and virtphy as well * When executing suites shall we have a way to select only the virtual/non-virtual ones? A different suites directory? Things to make configurable: * IMSI and matching MSISDN ranges (start + count) * Timeouts and number of MS (which should be related) Change-Id: I5be2a6b4d3d21bf48625624b9e2cccb33765fe39 --- A suites/netreg_mass/register_default_mass.py A suites/netreg_mass/suite.conf 2 files changed, 38 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/87/10687/1 diff --git a/suites/netreg_mass/register_default_mass.py b/suites/netreg_mass/register_default_mass.py new file mode 100644 index 0000000..ede2b74 --- /dev/null +++ b/suites/netreg_mass/register_default_mass.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python3 +""" +Run a network registration with a 'massive' amount of MS +using the ms_driver infrastructure. +""" +from osmo_gsm_tester.testenv import * + +print('use resources...') +nitb = suite.nitb() +bts = suite.bts() +ms_driver = suite.ms_driver() + +print('start nitb and bts...') +nitb.bts_add(bts) +nitb.start() +bts.start() +wait(nitb.bts_is_connected, bts) + +# Configure all MS that the MS driver knows about. +for ms in ms_driver.ms_subscribers(): + nitb.subscriber_add(ms) + +# Run the base test. +ms_driver.run_test() + +# Print stats +ms_driver.print_stats() diff --git a/suites/netreg_mass/suite.conf b/suites/netreg_mass/suite.conf new file mode 100644 index 0000000..a1e1a68 --- /dev/null +++ b/suites/netreg_mass/suite.conf @@ -0,0 +1,11 @@ +resources: + ip_address: + - times: 1 + bts: + - times: 1 + # TODO: Be able to set the below to 0. + modem: + - times: 1 + +defaults: + timeout: 40s -- To view, visit https://gerrit.osmocom.org/10687 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I5be2a6b4d3d21bf48625624b9e2cccb33765fe39 Gerrit-Change-Number: 10687 Gerrit-PatchSet: 1 Gerrit-Owner: Holger Freyther <holger at freyther.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180829/586b2ee9/attachment.htm>