示例#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_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()