aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/test_lifecycle.py
AgeCommit message (Collapse)AuthorFilesLines
2020-06-18Start/stop the 3GPP measurements file generator at simulator start/stopBartek Grzybowski1-4/+5
Change-Id: I6976168afc7cad2a44333e33632775dbb63aec12 Issue-ID: INT-1630 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-17Pass options to each lifecycle method separatelyBartek Grzybowski1-22/+22
This makes the MassPnfSim object instance stateless. Change-Id: Ic8f7aefa0afb74a15491b5b0e8ba1cb80e3aa3ef Issue-ID: INT-1629 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-16Support setting custom username/password for the file server serviceBartek Grzybowski1-2/+2
Change-Id: I21964c4b8819444dd0aebdda117a11ba96f92038 Issue-ID: INT-1627 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Setup and start docker-compose simulator app directly in Python moduleBartek Grzybowski1-8/+7
Change-Id: I5efaaa69a0c78d9ae9594d1e59d57dd9315613af Issue-ID: INT-1617 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Chown vsftpd config file to root while bootstrappingBartek Grzybowski1-1/+5
Change-Id: I48716f544bd34b05a5524b58500cdff7c96a9578 Issue-ID: INT-1617 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Support stopping sending PNF registration messages in Python moduleBartek Grzybowski1-4/+36
Change-Id: Iae7d300e6e09d152b6e7daaebd9c85ba763fc077 Issue-ID: INT-1613 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Drop shell wrapper for 'trigger_custom' action as wellBartek Grzybowski1-5/+4
Change-Id: I388038656505c6937e10ba9f65d70d0e6514e17b Issue-ID: INT-1611 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Support triggering simulator app directly from MassPnfSim moduleBartek Grzybowski1-8/+7
Change-Id: Ice52848bedf8722aa142de74342190378ea593cd Issue-ID: INT-1611 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Drop shell wrapper for stopping simulator instancesBartek Grzybowski1-7/+15
Instance method is added to manage stopping simulator instances and ROP scripts directly in MassPnfSim class. Change-Id: Ic551f99c0f5f2a177b9c72daac02690b0bbded04 Issue-ID: INT-1610 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-02Drop shell wrapper for getting simulators statusBartek Grzybowski1-11/+12
Change-Id: Id7c3c614d472d8ee01533e9bd146f258813e7cbe Issue-ID: INT-1606 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-25Add functional tests for verifying simulator services statusBartek Grzybowski1-1/+25
Status is verified after each lifecycle change for proper subcommand action. Change-Id: Ia1c0e1bce24ddf1ca2c805a420e4a0665412aedf Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-25Add functional test for 'clean' subcommandBartek Grzybowski1-0/+6
Change-Id: Iac2b7d5f912b22c6c4b342e350a71ee6ad8b1fbb Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-25Add functional tests for 'stop' subcommandBartek Grzybowski1-0/+21
Change-Id: Id3640c494f21fb4869fcf412dc83824dc8670d12 Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-25Add tests for 'trigger_custom' subcommandBartek Grzybowski1-0/+11
Change-Id: I7a2811618adcaaa698a702d264ef2a93bc899704 Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-25Add functional tests for 'trigger' commandBartek Grzybowski1-0/+18
Change-Id: Ie3f0a5c5b5276c058da3d284d5531ab5c821e3b8 Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-25Add functional tests for 'start' commandBartek Grzybowski1-0/+18
Change-Id: I6a0e6bf35384e861511972aab45faed2fa13a90e Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-25Add functional tests for bootstrap commandsBartek Grzybowski1-0/+60
Change-Id: Idb816780206f8b3b7a14128b7fd4603c4977ce11 Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>