summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/AAI.json
blob: 455d73a13ba58e4efb5b9c7c374107d34b42377c (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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{ 
  "requestDetails": { 
    "modelInfo": { 
      "modelType": "service", 
      "modelInvariantId": "5d48acb5-097d-4982-aeb2-f4a3bd87d31b", 
      "modelVersionId": "3c40d244-808e-42ca-b09a-256d83d19d0a", 
      "modelName": "model-name", 
      "modelVersion": "10" 
    }, 
    "cloudConfiguration": { 
      "lcpCloudRegionId": "mdt1", 
      "tenantId": "88a6ca3ee0394ade9403f075db23167e" 
    }, 
    "owningEntity": { 
      "owningEntityId": "038d99af-0427-42c2-9d15-971b99b9b489", 
      "owningEntityName": "PACKET CORE" 
    }, 
    "project": { 
      "projectName": "{some project name}" 
    }, 
    "subscriberInfo": { 
      "globalSubscriberId": "{some subscriber id}" 
    }, 
    "requestInfo": { 
      "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", 
      "source": "VID", 
      "suppressRollback": true, 
      "requestorId": "xxxxxx" 
    }, 
    "requestParameters": { 
      "subscriptionServiceType": "type", 
      "aLaCarte": false, 
      "userParams": [ 
        { 
          "service": { 
            "modelInfo": { 
              "modelType": "service", 
          "modelInvariantId": "5d48acb5-097d-4982-aeb2-f4a3bd87d31b", 
          "modelVersionId": "3c40d244-808e-42ca-b09a-256d83d19d0a", 
          "modelName": "model-name", 
          "modelVersion": "10" 
            }, 
            "instanceParams": [], 
            "resources": { 
              "vnfs": [ 
                { 
                  "modelInfo": { 
                    "modelCustomizationName": "model-name 0", 
                    "modelName": "model-name", 
                    "modelVersionId": "3c40d244-808e-42ca-b09a-256d83d19d0a",
                    "modelCustomizationId": "ab153b6e-c364-44c0-bef6-1f2982117f04" 
                  }, 
          "cloudConfiguration": {
              "lcpCloudRegionId": "mdt1",
              "tenantId": "88a6ca3ee0394ade9403f075db23167e"
              },
          "platform": { 
            "platformName": "someValue" 
          }, 
          "lineOfBusiness": { 
            "lineOfBusinessName": "someValue" 
          }, 
          "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",  
                  "instanceParams": [ 
          { 
           "instanceName": "someVnfInstanceName"  
                    } 
                  ], 
                  "vfModules": [ 
                    { 
                      "modelInfo": { 
                        "modelName": "name._base__BV..module-0",
                        "modelVersionId": "3c40d244-808e-42ca-b09a-256d83d19d0a", 
                        "modelCustomizationId": "a25e8e8c-58b8-4eec-810c-97dcc1f5cb7f" 
                      }, 
                      "instanceParams": [ 
                        { 
                          "vmx_int_net_len": "24",
                          "asn": "someValue" 
                        } 
                      ] 
                    }, 
                    { 
                      "modelInfo": { 
                        "modelName": "name._vRE_BV..module-1",
                        "modelVersionId": "3c40d244-808e-42ca-b09a-256d83d19d0a", 
                        "modelCustomizationId": "72d9d1cd-f46d-447a-abdb-451d6fb05fa8", 
                        "modelType": "vfModule" 
                      }, 
                      "instanceParams": [ 
                        { 
                          "availability_zone_0": "mtpocdv-kvm-az01", 
                          "vre_a_volume_size_0": "100" 
                        } 
                      ] 
                    }, 
                    { 
                      "modelInfo": { 
                        "modelName": "name._vRE_BV..module-1",
                        "modelVersionId": "3c40d244-808e-42ca-b09a-256d83d19d0a", 
                        "modelCustomizationId": "72d9d1cd-f46d-447a-abdb-451d6fb05fa8" 
                      }, 
                      "instanceParams": [ 
                        { 
                          "availability_zone_0": "mtpocdv-kvm-az01", 
                          "vre_a_volume_size_0": "50" 
                        } 
                      ] 
                    }, 
                    { 
                      "modelInfo": { 
                        "modelName": "name.BV..module-2",
                        "modelVersionId": "3c40d244-808e-42ca-b09a-256d83d19d0a", 
                        "modelCustomizationId": "da4d4327-fb7d-4311-ac7a-be7ba60cf969" 
                      }, 
                      "instanceParams": [ 
                        { 
                          "availability_zone_0": "mtpocdv-kvm-az01", 
                          "vmx_vpfe_int_ip_0": "192.168.0.16" 
                        } 
                      ] 
                    } 
                  ] 
                } 
              ] 
            } 
          } 
        } 
      ] 
    } 
  } 
}