aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration/basic_sdnc_settings.py
diff options
context:
space:
mode:
authorAleksandr Taranov <aleksandr.taranov@telekom.com>2023-05-25 17:21:34 +0300
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2023-05-31 11:18:21 +0000
commit8f3c1e06049f242849af74b99fb60b41cebdc578 (patch)
tree8bba93e7ad367780097de046050cfe9043905d2c /src/onaptests/configuration/basic_sdnc_settings.py
parentea72aa01e864b6ddf3145d51d060077da00526d3 (diff)
Create SDNC Sanity test
Issue-ID: TEST-395 Signed-off-by: Aleksandr Taranov <aleksandr.taranov@telekom.com> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2a035beb74510013eb8e04aecd90c648af77fe28
Diffstat (limited to 'src/onaptests/configuration/basic_sdnc_settings.py')
-rw-r--r--src/onaptests/configuration/basic_sdnc_settings.py69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/onaptests/configuration/basic_sdnc_settings.py b/src/onaptests/configuration/basic_sdnc_settings.py
new file mode 100644
index 0000000..e6bbdcc
--- /dev/null
+++ b/src/onaptests/configuration/basic_sdnc_settings.py
@@ -0,0 +1,69 @@
+from .settings import *
+
+CLEANUP_FLAG = True
+
+SERVICE_NAME = "Basic SDNC test"
+
+SERVICE_COMPONENTS = "SDNC"
+
+SERVICE_ID = "pythonsdk-tests-service-01"
+
+SERVICE_STATUS = {
+ "rpc-action": "activate",
+ "response-message": "test-message-1",
+ "response-timestamp": "2023-05-09T13:14:30.540Z",
+ "request-status": "synccomplete",
+ "final-indicator": "Y",
+ "action": "CreateVnfInstance",
+ "rpc-name": "vnf-topology-operation",
+ "response-code": "200"
+}
+
+SERVICE_CHANGED_STATUS = {
+ "rpc-action": "activate",
+ "response-message": "changed-test-message-1",
+ "response-timestamp": "2023-05-09T13:14:30.540Z",
+ "request-status": "synccomplete",
+ "final-indicator": "Y",
+ "action": "CreateVnfInstance",
+ "rpc-name": "vnf-topology-operation",
+ "response-code": "200"
+}
+
+SERVICE_DATA = {
+ "service-level-oper-status": {
+ "last-rpc-action": "assign",
+ "last-action": "CreateServiceInstance",
+ "order-status": "Created"
+ },
+ "service-request-input": {
+ "service-input-parameters": {
+ "param": [
+ {
+ "name": "orchestrator",
+ "value": "multicloud"
+ }
+ ]
+ },
+ "service-instance-name": "gnb-93100001"
+ }
+}
+
+SERVICE_CHANGED_DATA = {
+ "service-level-oper-status": {
+ "last-rpc-action": "assign",
+ "last-action": "CreateServiceInstance",
+ "order-status": "Created"
+ },
+ "service-request-input": {
+ "service-input-parameters": {
+ "param": [
+ {
+ "name": "orchestrator",
+ "value": "multicloud"
+ }
+ ]
+ },
+ "service-instance-name": "gnb-93100002"
+ }
+}