X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tst%2Frobot%2FMultiple_E2T_tests.txt;h=e5d21bd9aab5fa8f47ed3ceb36c6d484bb8c0a67;hb=a33250260638635c502499d5bc16e99da1749b85;hp=45fe861d45e89773cf5a5d2d84e7757b53612d11;hpb=51db0122302c9d72e1de6f8a8e250d219b8b44d8;p=ric-plt%2Frtmgr.git diff --git a/tst/robot/Multiple_E2T_tests.txt b/tst/robot/Multiple_E2T_tests.txt index 45fe861..e5d21bd 100644 --- a/tst/robot/Multiple_E2T_tests.txt +++ b/tst/robot/Multiple_E2T_tests.txt @@ -388,10 +388,59 @@ r3_multiple_e2t_instances_support_scenario6 ##1: Create one E2T Instnace Log "1. Create E2T instances " ##Delete If it exists already - ${cmd_output} Execute command kubectl exec -n ricplt ${NEAR_RT_RIC_PLT_E2MGR_POD_NAME} \ -- curl -i POST "http://service-ricplt-rtmgr-http:3800/ric/v1/handles/e2t" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \\"E2TAddress\\": \\"dummy.e2t.com:12345\\" }" + ${cmd_output} Execute command kubectl exec -n ricplt ${NEAR_RT_RIC_PLT_E2MGR_POD_NAME} \ -- curl -i -X POST "http://service-ricplt-rtmgr-http:3800/ric/v1/handles/e2t" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \\"E2TAddress\\": \\"dummy.e2t.com:12345\\" }" log ${cmd_output} Run Keyword Should Contain ${cmd_output} 400 Bad Request +r3_multiple_e2t_instances_support_scenario7 + [Documentation] This Test case covers the checks of Multiple E2T instance support feature + ... + ... Scenario 7 [ Positive Case] : + ... + ... Step1 : \ Create of 10 E2T instance + ... + [Tags] RICPLT_MultipleE2T + ##Scenario1 execution + ##1: Create one E2T Instance + Log "1. Create E2T instances " + ##Delete If it exists already + :FOR ${INDEX} IN RANGE 1 11 + \ ${cmd_output} Execute command kubectl exec -n ricplt ${NEAR_RT_RIC_PLT_E2MGR_POD_NAME} \ -- curl -i -X POST "http://service-ricplt-rtmgr-http:3800/ric/v1/handles/e2t" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \\"E2TAddress\\": \\"10.20.30.${INDEX}:12345\\" }" + \ log ${cmd_output} + \ Run Keyword Should Contain ${cmd_output} 201 + ##2: Delete the created E2T instances + :FOR ${INDEX} IN RANGE 1 11 + \ ${cmd_output} Execute command kubectl exec -n ricplt ${NEAR_RT_RIC_PLT_E2MGR_POD_NAME} \ -- curl -i -X DELETE "http://service-ricplt-rtmgr-http:3800/ric/v1/handles/e2t" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \\"E2TAddress\\": \\"10.20.30.${INDEX}:12345\\" }" + \ log ${cmd_output} + \ Run Keyword Should Contain ${cmd_output} 201 + + +r3_multiple_e2t_instances_support_scenario8 + [Documentation] This Test case covers the checks of Multiple E2T instance support feature + ... + ... Scenario 8 [ Positive Case] : + ... + ... Step1 : \ Create of 10 E2T instance + ... + [Tags] RICPLT_MultipleE2T + ##Scenario1 execution + ##1: Create one E2T Instance + ${cmd_output} Execute command kubectl exec -n ricplt ${NEAR_RT_RIC_PLT_E2MGR_POD_NAME} \ -- curl -X DELETE "http://service-ricplt-rtmgr-http:3800/ric/v1/handles/e2t" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \\"E2TAddress\\": \\"10.105.143.108:38000\\"}" + ${cmd_output} Execute command kubectl exec -n ricplt ${NEAR_RT_RIC_PLT_E2MGR_POD_NAME} \ -- curl -X POST "http://service-ricplt-rtmgr-http:3800/ric/v1/handles/e2t" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \\"E2TAddress\\": \\"10.105.143.108:38000\\" }" + log ${cmd_output} + ${cmd_output} Execute command kubectl exec -n ricplt ${NEAR_RT_RIC_PLT_E2MGR_POD_NAME} -- curl -X POST "http://service-ricplt-rtmgr-http:3800/ric/v1/handles/associate-ran-to-e2t" -H "accept: application/json" -H "Content-Type: application/json" -d "[ { \\"E2TAddress\\": \\"10.105.143.108:38000\\", \\"ranNamelist\\": [ \\"R1\\", \\"R2\\", \\"R3\\", \\"R4\\", \\"R5\\", \\"R6\\", \\"R7\\", \\"R8\\", \\"R9\\", \\"R10\\"] }]" + log ${cmd_output} + ${cmd_output1} Execute command kubectl logs -n ricplt ${NEAR_RT_RIC_PLT_RTMGR_POD_NAME} --tail=12 | grep meid + log ${cmd_output1} + Run Keyword Should Contain ${cmd_output1} mme_ar|10.105.143.108:38000|R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 + Run Keyword Should Contain ${cmd_output1} meid_map|end|1 + ${cmd_output} Execute command kubectl exec -n ricplt ${NEAR_RT_RIC_PLT_E2MGR_POD_NAME} \ -- curl -i -X DELETE "http://service-ricplt-rtmgr-http:3800/ric/v1/handles/e2t" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \\"E2TAddress\\": \\"10.105.143.108:38000\\" }" + ${cmd_output1} Execute command kubectl logs -n ricplt ${NEAR_RT_RIC_PLT_RTMGR_POD_NAME} --tail=12 | grep meid + log ${cmd_output1} + Run Keyword Should Contain ${cmd_output} 201 + Run Keyword Should Contain ${cmd_output1} mme_del|R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 + + *** Keywords *** Login_RIC_Platform_VM [Arguments] ${alias_name}=ricplt