functest.opnfv_tests.vnf.epc.juju_epc module¶
Juju testcase implementation.
-
class
functest.opnfv_tests.vnf.epc.juju_epc.JujuEpc(**kwargs)¶ Bases:
functest.core.singlevm.SingleVm2Abot EPC deployed with JUJU Orchestrator Case
-
check_app(name='abot-epc-basic', status='active')¶ Check application status.
-
cidr= '192.168.120.0/24'¶
-
clean()¶ Clean created objects/functions.
-
deploy_orchestrator()¶ Create network, subnet, router
Bootstrap juju
-
deploy_vnf()¶ Deploy ABOT-OAI-EPC.
-
execute()¶ Prepare testcase (Additional pre-configuration steps).
-
filename= '/home/opnfv/functest/images/ubuntu-16.04-server-cloudimg-amd64-disk1.img'¶
-
filename_alt= '/home/opnfv/functest/images/ubuntu-14.04-server-cloudimg-amd64-disk1.img'¶
-
flavor_alt_disk= 10¶
-
flavor_alt_ram= 4096¶
-
flavor_alt_vcpus= 1¶
-
flavor_disk= 10¶
-
flavor_ram= 2048¶
-
flavor_vcpus= 1¶
-
juju_timeout= '4800'¶
-
publish_image_alt(name=None)¶ Publish alternative image
It allows publishing multiple images for the child testcases. It forces the same configuration for all subtestcases.
Returns: image
Raises: expection on error
-
test_vnf()¶ Run test on ABoT.
-
username= 'ubuntu'¶
-
-
functest.opnfv_tests.vnf.epc.juju_epc.process_abot_test_result(file_path)¶ Process ABoT Result
-
functest.opnfv_tests.vnf.epc.juju_epc.sig_test_format(sig_test)¶ Process the signaling result to have a short result
-
functest.opnfv_tests.vnf.epc.juju_epc.update_data(obj)¶ Update Result data