summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/test/resources/vnf-assign-rpc.json
blob: 36bffe296c1ea6199f55f4bbc35fd8d4de4ed541 (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
76
77
78
79
80
81
82
83
84
85
86
87
{
    "input": {
      "request-information": {
        "notification-url": "http://dev.null",
        "order-number": "123",
        "order-version": "version1",
        "request-action": "CreateNetworkInstance",
        "request-id": "req123",
        "source": "curl"
      },
      "sdnc-request-header": {
        "svc-action": "assign",
        "svc-notification-url": "http://dev.null",
        "svc-request-id": "svcreq123"
      },
      "service-information": {
        "global-customer-id": "cust123",
        "onap-model-information": {
          "model-customization-uuid": "367a8ba9-057a-4506-b106-fbae818597c6",
          "model-invariant-uuid": "367a8ba9-057a-4506-b106-fbae818597c6",
          "model-name": "vBNG_0202",
          "model-uuid": "00e50cbd-ef0f-4b28-821e-f2b583752dd3",
          "model-version": "1920"
        },
        "service-id": "service1",
        "service-instance-id": "service1",
        "subscriber-name": "test",
        "subscription-service-type": "test"
      },
      "vnf-information" : {
        "onap-model-information": {
          "model-customization-uuid": "367a8ba9-057a-4506-b106-fbae818597c6",
          "model-invariant-uuid": "367a8ba9-057a-4506-b106-fbae818597c6",
          "model-name": "vBNG_0202",
          "model-uuid": "00e50cbd-ef0f-4b28-821e-f2b583752dd3",
          "model-version": "1920"
        },
        "vnf-id" : "vnf123",
        "vnf-name" : "myVnf",
        "vnf-type" : "router"
      },
      "vnf-request-input" : {
        "aic-clli": "complexMC",
        "aic-cloud-region": "k8s_region_1",
        "cloud-owner": "k8sCloudOwner",
        "tenant" : "k8s_tenant_1",
        "vnf-input-parameters": {
          "param": [
            {
              "name": "test-param",
              "resource-resolution-data": {
                "capability-name": "myCapability",
                "payload": "myPayload",
                "resource-key": [
                  {
                    "name": "resource1",
                    "value": "hello_world"
                  }
                ],
                "status": "Pending"
              },
              "value": "HiThere"
            }
          ]
        },
        "vnf-name" : "myVnf",
        "vnf-network-instance-group-ids": [
          {
            "vnf-network-instance-group-id" : "netgrp123"
          }
        ],
        "vnf-networks" : {
          "vnf-network" : [
          {
            "contrail-network-fqdn" : "contrail.onap",
            "is-trunked" : "true",
            "network-id" : "net123",
            "network-name" : "myNetwork",
            "network-role" : "lan",
            "neutron-id" : "neutron1234",
            "segmentation-id" : "seg123"
          }
          ]
      }
    }
  }
}