Add (Un)deployCoreNetwork in test framework

This commit is contained in:
Robert Schmidt
2025-03-31 16:38:13 +02:00
parent 6bd96f1b5f
commit 246ad2dda3
3 changed files with 36 additions and 0 deletions
+5
View File
@@ -339,6 +339,11 @@ def ExecuteActionWithParam(action):
EPC.cnID = test.findtext('cn_id')
success = EPC.Terminate5GCN(HTML)
elif action == 'DeployCoreNetwork' or action == 'UndeployCoreNetwork':
cn_id = test.findtext('cn_id')
core_op = getattr(cls_oaicitest.OaiCiTest, action)
success = core_op(cn_id, HTML)
elif action == 'Deploy_Object' or action == 'Undeploy_Object' or action == "Create_Workspace":
eNB_instance=test.findtext('eNB_instance')
if (eNB_instance is None):