aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration/basic_sdnc_settings.py
blob: 8fedf32eaf8cfbc363359d77568548d7afdad2f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
from .settings import *  # noqa

CLEANUP_FLAG = True

SERVICE_NAME = "Basic SDNC test"

SERVICE_DETAILS = "Test basic functionality of SDNC controller"

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"
    }
}

VF_MODULE_NAME = "sdnc-sanity-vf-module"

VNF_NAME = "sdnc-sanity-vnf-name"

VNF_TYPE = "sdnc-sanity-vnf-type"