summaryrefslogtreecommitdiffstats
path: root/robot/testsuites/pnf-registration.robot
diff options
context:
space:
mode:
authorkrzysztof kuzmicki <krzysztof.kuzmicki@nokia.com>2019-07-31 20:08:36 +0200
committerDaniel Rose <dr695h@att.com>2019-08-02 19:23:00 +0000
commitdadd0e69a24c6a43534086cb04672dc6d4ddc18b (patch)
tree83ba7fac3fe3367da96642ab5289a01d2eaa0097 /robot/testsuites/pnf-registration.robot
parente971ed9437e004b415b4321edc75883d69eca3e5 (diff)
ROBOT test cases improvements for PnP PNF in El Alto release
Issue-ID: INT-1179 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: I7b840e4fa53c9058d74872cbaf3e1922651b7997
Diffstat (limited to 'robot/testsuites/pnf-registration.robot')
-rw-r--r--robot/testsuites/pnf-registration.robot43
1 files changed, 38 insertions, 5 deletions
diff --git a/robot/testsuites/pnf-registration.robot b/robot/testsuites/pnf-registration.robot
index 03bf2998..9a22a9e2 100644
--- a/robot/testsuites/pnf-registration.robot
+++ b/robot/testsuites/pnf-registration.robot
@@ -1,16 +1,49 @@
*** Settings ***
Documentation Executes the PNF registration test cases including setup and teardown
-Test Timeout 3m
+Test Timeout 10m
+
+...
Resource ../resources/test_templates/pnf_registration_without_SO_template.robot
+
*** Test Cases ***
-Create A&AI antry without SO and succesfully registrate PNF, PNF entry contains: correlation ID, PNF_IPv4_address and PNF_IPv6_address
- [Documentation] This test is checking creation A&AI entry without SO and succesfull PNF registration
+PNF Registration only DCAE part: AAI, VES, PRH, DMaaP
+ [Documentation]
+ ... This test case creates A&AI entry for PNF without SDC model distribution and service instantiation in SO.
+ ... Test case verify PNF Registration only in DCAE part: AAI, VES, PRH, DMaaP.
+ ... During test case Robot adds PNF entry to A&AI that contains: correlation ID, PNF_IPv4_address and PNF_IPv6_address
[Tags] pnf_registrate ete
- ${PNF_entry_dict}= Create Dictionary correlation_id=ABCDEFG1234567 PNF_IPv4_address=13.13.13.13 PNF_IPv6_address=2001:0db8:0:0:0:0:1428:57ab
+ ${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
Log Initial PNF entry ${PNF_entry_dict}
Create A&AI antry without SO and succesfully registrate PNF ${PNF_entry_dict}
- [Teardown] Cleanup PNF entry in A&AI ${PNF_entry_dict} \ No newline at end of file
+ [Teardown] Cleanup PNF entry in A&AI ${PNF_entry_dict}
+
+
+
+Design, create, instantiate PNF/macro service 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.
+ ... After sucesfull distribution, service recipe is added to SO ctalog db.
+ ... 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
+ [Tags] pnf_registrate
+ ${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
+ Design, create, instantiate PNF/macro service and succesfully registrate PNF template Demo_pNF ${PNF_entry_dict} ${pnf_correlation_id}
+
+
+
+
+
+
+
+
+
+