示例#1
0
def test_start_remove_dovesnap():
    instance = Daedalus()
    # hack conf_dir since it's not installed as a library
    instance.set_config_dir(conf_dir='/..')
    instance.start_dovesnap()
    instance.remove_dovesnap()
    instance.reset_cwd()
示例#2
0
def test_build_images():
    instance = Daedalus()
    # hack conf_dir since it's not installed as a library
    instance.set_config_dir(conf_dir='/..')
    instance.build_dockers(srsran=True,
                           ueransim=True,
                           open5gs=True,
                           srsran_lime=True)
    instance.reset_cwd()
示例#3
0
def test_check_commands():
    instance = Daedalus()
    instance.check_commands()
示例#4
0
def test_running_questions():
    instance = Daedalus()
    instance.running_questions()
示例#5
0
def test_imsi_questions():
    instance = Daedalus()
    instance.imsi_questions()
示例#6
0
def test_sdr_questions():
    instance = Daedalus()
    instance.sdr_questions('enb')
示例#7
0
def test_global_number_questions():
    instance = Daedalus()
    instance.global_number_questions('enb')
示例#8
0
def test_main_questions():
    instance = Daedalus()
    instance.main_questions()
示例#9
0
def test_start_remove_services():
    instance = Daedalus()
    # hack conf_dir since it's not installed as a library
    instance.set_config_dir(conf_dir='/..')
    instance.start_dovesnap()
    instance.create_networks()
    instance.compose_files = [
        '-f', 'core/epc.yml', '-f', 'core/upn.yml', '-f', 'core/db.yml'
    ]
    instance.start_services()
    instance.remove_services()
    instance.cleanup()
示例#10
0
def test_remove_no_services():
    instance = Daedalus()
    instance.remove_services()
示例#11
0
def test_start_no_services():
    instance = Daedalus()
    instance.start_services()
示例#12
0
def main():
    from daedalus.daedalus import Daedalus
    Daedalus().main()