summaryrefslogtreecommitdiffstats
path: root/robot/testsuites
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-03-06 14:06:48 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2020-04-01 06:55:30 +0000
commit888614e469ca672ddac67cdc2b57ce48497da441 (patch)
tree9db2188d058097967f2b96795f70cc583e94139f /robot/testsuites
parent9f863418055651d4b6fa9772e1f9a94c3efe8c6c (diff)
Extend PnF registrate test cases for GR API
Issue-ID: INT-1477 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: If7ade6850bd59799d5445cebe27db5c948522e06
Diffstat (limited to 'robot/testsuites')
-rw-r--r--robot/testsuites/pnf-registration.robot20
1 files changed, 18 insertions, 2 deletions
diff --git a/robot/testsuites/pnf-registration.robot b/robot/testsuites/pnf-registration.robot
index 1d3f8990..14cefb37 100644
--- a/robot/testsuites/pnf-registration.robot
+++ b/robot/testsuites/pnf-registration.robot
@@ -4,7 +4,7 @@ Test Timeout 10m
Resource ../resources/test_templates/pnf_registration_without_SO_template.robot
Library String
-
+
*** Test Cases ***
@@ -31,9 +31,25 @@ Instantiate PNF_macro service and succesfully registrate PNF
... Next service is instantied with random PNF id. VES integration event is send with this PNF ID.
... At the end of the service is checked in terms
... - service completion
- ... - PNF entry update about information form VES event
+ ... - PNF entry update about information from VES event
[Tags] pnf_registrate ete
${pnf_correlation_id}= Generate Random String 20 [LETTERS][NUMBERS]
${PNF_entry_dict}= Create Dictionary correlation_id=${pnf_correlation_id} PNF_IPv4_address=13.13.13.13 PNF_IPv6_address=2001:0db8:0:0:0:0:1428:57ab
${PNF_service_model}= Set Variable Demo_pNF_${pnf_correlation_id}
Instantiate PNF_macro service and succesfully registrate PNF template ${PNF_service_model} ${PNF_entry_dict} ${pnf_correlation_id}
+
+
+Instantiate PNF service (using building blocks) and succesfully registrate PNF
+ [Documentation]
+ ... This test case creates TOSCA csar software package for PNF. Imports it as VSP package.
+ ... Cretaes PNF resource, cretaes Macro service, attach PNF resource and distributes it.
+ ... Next service is instantied with random PNF id. VES integration event is send with this PNF ID.
+ ... At the end of the service is checked in terms
+ ... - service completion
+ ... - PNF entry update about information from VES event
+ ... - PNF orchestration status
+ [Tags] pnf_registrate_gr_api
+ ${pnf_correlation_id}= Generate Random String 20 [LETTERS][NUMBERS]
+ ${PNF_entry_dict}= Create Dictionary correlation_id=${pnf_correlation_id} PNF_IPv4_address=13.13.13.13 PNF_IPv6_address=2001:0db8:0:0:0:0:1428:57ab
+ ${PNF_service_model}= Set Variable Demo_pNF_${pnf_correlation_id}
+ Instantiate PNF service (using building blocks) and succesfully registrate PNF template ${PNF_service_model} ${PNF_entry_dict} ${pnf_correlation_id} true \ No newline at end of file