aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-06-15Run the 3GPP measurements file generator in bootstrap phaseBartek Grzybowski1-3/+3
Change-Id: I310acb354003e678020935017d0778f75e7db07f Issue-ID: INT-1623 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Remove useless RUNNING_COMPOSE_CONFIG assignmentBartek Grzybowski1-1/+0
Change-Id: I0d66fab438ef53c716ddcebf292309f3a161a51e Issue-ID: INT-1617 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Support triggering simulator app directly from MassPnfSim moduleBartek Grzybowski1-14/+3
Change-Id: Ice52848bedf8722aa142de74342190378ea593cd Issue-ID: INT-1611 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-02Add helper method to get simulator instance dataBartek Grzybowski1-1/+0
Superfluous call to 'get_pnfsim_ip' function in simulator.sh was also removed. Change-Id: Ifd7be4843fe26768f4b86b64e07d2d9479735ad1 Issue-ID: INT-1606 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-18Create a boilerplate decorator for MassPnfSim class actionsBartek Grzybowski1-1/+1
Change-Id: Ia095a608d204e3da6dae101afa04f2e66a9bceeb Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-15Leverage internal shell runner in bootstrap modeBartek Grzybowski1-3/+3
Use native python modules for file operations Change-Id: I1ca505f9a891c722c2aace118536fa470bf50b35 Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-15Add internal method for shell runner in MassPnfSim moduleBartek Grzybowski1-12/+11
Since now if module is called in 'debug' mode shell script is run with trace. Change-Id: I7bddf6c0583c4b56d4a0c3b5eeb6a78af561891f Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-15Fix ftp dir permission in sftp-server containerBartek Grzybowski1-3/+2
Container entrypoint descendant script in atmoz/sftp:alpine image is changing mount binded ftp dir owner to 'root' which makes removing it by 'clean' action not possible hence adding o+w permission for it. Change-Id: I0d9339db80c4cd8e31c4368ac63741c531a626fa Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-12Get and kill ROP_file_creator.sh childs as wellBartek Grzybowski1-3/+15
Change-Id: I07393a0f62535563586278d2e8bc8fd6bd9380db Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-07-11Mass PNF-sim unique VSFTPD PASV portsTamasBakai1-5/+11
Issue-ID: DCAEGEN2-1660 Change-Id: Ib742755f6a924ee9c5babe8e411311e7fe0e6802 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-05-03Pass typefileserver as parameter in mass-pnf-simRehanRaza1-17/+20
Change-Id: I1168a5f10cce9b7d17324504a57d90dd9ee7790d Issue-ID: DCAEGEN2-1434 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-04-09Fix unit-tests of mass-pnf-simulatorRehanRaza1-1/+1
Change-Id: Ie11e97862c8cbbdb269b8b5e6d4361340b98f1b2 Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-04-04Fix VES event fieldsRehanRaza1-0/+2
* timeZoneOffset uses default system timezone * sourceName and reportingEntityName use the nodename of pnf-sim instance Change-Id: Idf7f0b8d4a02cb533e81bdf69d5034cd842c3fb8 Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-03-26Mass-pnf-sim URL handling improvementsTamasBakai1-4/+10
Change-Id: Ic10551cb0cd1f875ad6a1cec3d73e1cfcb35d00e Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-03-22Mass-pnf-simulator publishing portsTamasBakai1-8/+11
Change-Id: If43f505967bd542c88956e11aef4cd4e52626255 Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-03-20Add ROP file creator script in each PNF-simRehanRaza1-4/+4
* The script runs in a background process * The background process is killed when mass-pnf-sim is stopped * Filename format is updated to include timezone, HOSTNAME, and PNF-node-name Change-Id: If0a5a8c7bdd7ffb4958569e3037f1a7207770ef1 Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-03-19ROP file processing in mass-pnf-simulatorTamasBakai1-13/+41
Change-Id: I66203ff66e9d91865f8eee06bef01e55bcd6c39c Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-02-28Mass PNF simulator for benchmark purposesTamasBakai1-0/+217
Change-Id: I8a5ead57d0347fa34f048c7bfc5352ba045b1b62 Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>