summaryrefslogtreecommitdiffstats
path: root/robot/testsuites
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-10-10 09:57:14 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-10 09:57:14 +0000
commitd34367f4733ca498ead3dd0365f27fc4601097df (patch)
tree845534a6620028422ae1b504ff0a72a3d4ddf9b9 /robot/testsuites
parent796b9ebfd05abefe67f15bcd1c3caea6a03d1b36 (diff)
parent0deebae5d65e5ef521a79958f1878862f88c3583 (diff)
Merge "E2E sunny scenario for PNF registration"
Diffstat (limited to 'robot/testsuites')
-rw-r--r--robot/testsuites/pnf-registration.robot25
1 files changed, 25 insertions, 0 deletions
diff --git a/robot/testsuites/pnf-registration.robot b/robot/testsuites/pnf-registration.robot
new file mode 100644
index 00000000..dc2d7b5f
--- /dev/null
+++ b/robot/testsuites/pnf-registration.robot
@@ -0,0 +1,25 @@
+*** Settings ***
+Documentation Executes the PNF registration test cases including setup and teardown
+...
+
+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
+ [Tags] pnf_registrate
+ [Setup] Initialize PNF entry with correlation ID, PNF_IPv4_address and PNF_IPv6_address
+ Create A&AI antry without SO and succesfully registrate PNF ${PNF_entry_dict}
+ [Teardown] Cleanup PNF entry in A&AI ${PNF_entry_dict}
+
+
+*** Keyword ***
+
+Initialize PNF entry with correlation ID, PNF_IPv4_address and PNF_IPv6_address
+ [Documentation] Setup test case variable
+ ${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
+ Set Test Variable ${PNF_entry_dict}
+ Log Initial PNF entry ${PNF_entry_dict}
+