diff options
author | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-07-30 15:56:09 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-07-31 11:09:25 -0400 |
commit | 5a6a6de6f1a26a1897e4917a0df613e25a24eb70 (patch) | |
tree | 59a968f27b4b603aacc9d5e7b51fb598aeec5321 /adapters/mso-openstack-adapters/src/test/resources/__files | |
parent | b6dc38501f3b746426b42d9de4cc883d894149e8 (diff) |
Containerization feature of SO
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18
Issue-ID: SO-670
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'adapters/mso-openstack-adapters/src/test/resources/__files')
36 files changed, 590 insertions, 0 deletions
diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/CreateNetworkRequest.xml b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateNetworkRequest.xml new file mode 100644 index 0000000000..294a2672dd --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateNetworkRequest.xml @@ -0,0 +1,49 @@ +<createNetworkRequest> + <cloudSiteId>dpa2b</cloudSiteId> + <tenantId>ba38bc24a2ef4fb2ad2810c894f1938f</tenantId> + <networkId>da886914-efb2-4917-b335-c8381528d90b</networkId> + <networkName>vUSP-23804-T-01-dpa2b_EVUSP-CORE-VIF-TSIG0_net_0</networkName> + <networkType>CONTRAIL30_BASIC</networkType> + <modelCustomizationUuid>1fd47fd4-d5f0-461e-a133-5f3ad4b263ba</modelCustomizationUuid> + <networkTechnology>CONTRAIL</networkTechnology> + <providerVlanNetwork> + <physicalNetworkName>tbd</physicalNetworkName> + <vlans/> + </providerVlanNetwork> + <contrailNetwork> + <shared>false</shared> + <external>false</external> + <routeTargets> + <routeTarget>13979:105735</routeTarget> + <routeTargetRole>BOTH</routeTargetRole> + </routeTargets> + <policyFqdns/> + <routeTableFqdns/> + </contrailNetwork> + <subnets> + <allocationPools> + <start>2001:1890:1001:22DB:ffff:ffff:ffff:0</start> + <end>2001:1890:1001:22DB:ffff:ffff:ffff:fffe</end> + </allocationPools> + <cidr>2001:1890:1001:22DB::/64</cidr> + <enableDHCP>true</enableDHCP> + <gatewayIp>2001:1890:1001:22DB::1</gatewayIp> + <ipVersion>6</ipVersion> + <subnetId>5f28e204-77ab-49d9-bf77-7e2dceb59457</subnetId> + <subnetName>vUSP-23804-T-01-dpa2b_EVUSP-CORE-VIF-TSIG0_net_0_IPv6_Subnet1</subnetName> + <addrFromStart>true</addrFromStart> + <hostRoutes> + <prefix>2001:1890:1001:22DB::0/64</prefix> + <nextHop>2001:1890:1001:22DB::1</nextHop> + </hostRoutes> + </subnets> + <skipAAI>true</skipAAI> + <backout>true</backout> + <failIfExists>false</failIfExists> + <msoRequest> + <requestId>2e6fd7b5-f8fa-495b-b535-2ddcb4120917</requestId> + <serviceInstanceId>05869d5f-47df-4b45-bbfc-4f03ce0a50bf</serviceInstanceId> + </msoRequest> + <messageId>c454c9c5-a308-44e7-94fc-77c8715af0cb</messageId> + <notificationUrl/> +</createNetworkRequest>
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/CreateNetworkResponse.json b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateNetworkResponse.json new file mode 100644 index 0000000000..1f2015abe1 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateNetworkResponse.json @@ -0,0 +1,25 @@ +{ + "createNetworkResponse": { + "messageId": null, + "networkId": "da886914-efb2-4917-b335-c8381528d90b", + "neutronNetworkId": null, + "networkStackId": "stackname/stackId", + "networkFqdn": null, + "networkCreated": true, + "subnetMap": { + + }, + "rollback": { + "networkStackId": "stackname/stackId", + "tenantId": "ba38bc24a2ef4fb2ad2810c894f1938f", + "cloudId": "mtn13", + "networkType": "CONTRAIL30_BASIC", + "modelCustomizationUuid": "3bdbb104-476c-483e-9f8b-c095b3d308ac", + "networkCreated": true, + "msoRequest": { + "requestId": "requestId", + "serviceInstanceId": "05869d5f-47df-4b45-bbfc-4f03ce0a50bf" + } + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/CreateNetworkResponse2.json b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateNetworkResponse2.json new file mode 100644 index 0000000000..b93003e8b2 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateNetworkResponse2.json @@ -0,0 +1,25 @@ +{ + "createNetworkResponse": { + "networkId": "da886914-efb2-4917-b335-c8381528d90b", + "neutronNetworkId": null, + "networkStackId": "stackname/stackId", + "networkFqdn": null, + "networkCreated": true, + "subnetMap": { + + }, + "rollback": { + "networkStackId": "stackname/stackId", + "tenantId": "ba38bc24a2ef4fb2ad2810c894f1938f", + "cloudId": "mtn13", + "networkType": "CONTRAIL30_BASIC", + "modelCustomizationUuid": "3bdbb104-476c-483e-9f8b-c095b3d308ac", + "networkCreated": true, + "msoRequest": { + "requestId": "5349f419-b3e9-4546-b3a1-094bd568d6b7", + "serviceInstanceId": "cf965caf-a003-4189-abf9-e0ed77056dd6" + } + }, + "messageId": "c4c44af4-4310-4d8b-a1eb-656fc99fe709" + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/CreateTenantResponse_Created.json b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateTenantResponse_Created.json new file mode 100644 index 0000000000..934e075220 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateTenantResponse_Created.json @@ -0,0 +1,16 @@ +{ + "createTenantResponse": { + "cloudSiteId": "mtn13", + "tenantId": "tenantId", + "tenantCreated": true, + "tenantRollback": { + "tenantId": "tenantId", + "cloudId": "mtn13", + "tenantCreated": true, + "msoRequest": { + "requestId": "62265093-277d-4388-9ba6-449838ade586", + "serviceInstanceId": "4147e06f-1b89-49c5-b21f-4faf8dc9805a" + } + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/CreateTenantResponse_Exists.json b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateTenantResponse_Exists.json new file mode 100644 index 0000000000..6f81ebcd36 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateTenantResponse_Exists.json @@ -0,0 +1,15 @@ +{ + "createTenantResponse": { + "cloudSiteId": "mtn13", + "tenantId": "tenantId", + "tenantCreated": false, + "tenantRollback": { + "cloudId": "mtn13", + "tenantCreated": false, + "msoRequest": { + "requestId": "62265093-277d-4388-9ba6-449838ade586", + "serviceInstanceId": "4147e06f-1b89-49c5-b21f-4faf8dc9805a" + } + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/CreateVfModuleResponse.json b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateVfModuleResponse.json new file mode 100644 index 0000000000..7c97163ab4 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/CreateVfModuleResponse.json @@ -0,0 +1,26 @@ +{ + "createVfModuleResponse": { + "messageId": "62265093-277d-4388-9ba6-449838ade586-1517252396874", + "vnfId": "c93e0d34-5b63-45de-bbae-b0fe49dd3bd9", + "vfModuleId": "1d48aaec-b7f3-4c24-ba4a-4e798ed3223c", + "vfModuleStackId": "DEV-VF-1802-it3-pwt3-v6-vSAMP10a-addon2-Replace-1001/stackId", + "vfModuleCreated": true, + "vfModuleOutputs": { + + }, + "rollback": { + "vnfId": "DEV-VF-1802-it3-pwt3-v6-vSAMP10a-addon2-Replace-1001/stackId", + "vfModuleId": "1d48aaec-b7f3-4c24-ba4a-4e798ed3223c", + "vfModuleStackId": "DEV-VF-1802-it3-pwt3-v6-vSAMP10a-addon2-Replace-1001/stackId", + "vfModuleCreated": true, + "tenantId": "0422ffb57ba042c0800a29dc85ca70f8", + "cloudSiteId": "mtn13", + "msoRequest": { + "requestId": "62265093-277d-4388-9ba6-449838ade586", + "serviceInstanceId": "4147e06f-1b89-49c5-b21f-4faf8dc9805a" + }, + "messageId": "62265093-277d-4388-9ba6-449838ade586-1517252396874", + "mode": "HEAT" + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteNetworkResponse.json b/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteNetworkResponse.json new file mode 100644 index 0000000000..5d32bec3b6 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteNetworkResponse.json @@ -0,0 +1,6 @@ +{ + "deleteNetworkResponse": { + "networkDeleted": true, + "networkId": "da886914-efb2-4917-b335-c8381528d90b" + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteTenantResponse_Failed.json b/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteTenantResponse_Failed.json new file mode 100644 index 0000000000..a1f0eec219 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteTenantResponse_Failed.json @@ -0,0 +1,5 @@ +{ + "deleteTenantResponse": { + "tenantDeleted": false + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteTenantResponse_Success.json b/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteTenantResponse_Success.json new file mode 100644 index 0000000000..c4458efe9e --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteTenantResponse_Success.json @@ -0,0 +1,5 @@ +{ + "deleteTenantResponse": { + "tenantDeleted": true + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteVfModuleResponse.json b/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteVfModuleResponse.json new file mode 100644 index 0000000000..120b47970f --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/DeleteVfModuleResponse.json @@ -0,0 +1,7 @@ +{ + "deleteVfModuleResponse": { + "vfModuleId" : "1d48aaec-b7f3-4c24-ba4a-4e798ed3223c", + "vfModuleDeleted" : true, + "vnfId" : "c93e0d34-5b63-45de-bbae-b0fe49dd3bd9" + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/GetNeutronNetwork.json b/adapters/mso-openstack-adapters/src/test/resources/__files/GetNeutronNetwork.json new file mode 100644 index 0000000000..822f87f427 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/GetNeutronNetwork.json @@ -0,0 +1,45 @@ +{ + "network": { + "admin_state_up": true, + "availability_zone_hints": [], + "availability_zones": [ + "nova" + ], + "created_at": "2016-03-08T20:19:41", + "dns_domain": "my-domain.org.", + "id": "43173f6a-d699-414b-888f-ab243dda6dfe", + "ipv4_address_scope": null, + "ipv6_address_scope": null, + "l2_adjacency": false, + "mtu": 1500, + "name": "net1", + "port_security_enabled": true, + "project_id": "9bacb3c5d39d41a79512987f338cf177", + "qos_policy_id": "6a8454ade84346f59e8d40665f878b2e", + "revision_number": 1, + "router:external": false, + "segments": [ + { + "provider:network_type": "vlan", + "provider:physical_network": "public", + "provider:segmentation_id": 2 + }, + { + "provider:network_type": "flat", + "provider:physical_network": "default", + "provider:segmentation_id": 0 + } + ], + "shared": false, + "status": "ACTIVE", + "subnets": [ + "54d6f61d-db07-451c-9ab3-b9609b6b6f0b" + ], + "tags": ["tag1,tag2"], + "tenant_id": "4fd44f30292945e481c7b8a0c8908869", + "updated_at": "2016-03-08T20:19:41", + "vlan_transparent": false, + "description": "", + "is_default": false + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackCreateNeutronNetworkResponse.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackCreateNeutronNetworkResponse.json new file mode 100644 index 0000000000..d92f92a873 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackCreateNeutronNetworkResponse.json @@ -0,0 +1,11 @@ +{ + "network": + { + "status": "ACTIVE", + "subnets": [], + "name": "net-name", + "admin_state_up": true, + "tenant_id": "388a70781bae4ca895f17b7f6293eb70", + "shared": false, "id": "2a4017ef-31ff-496a-9294-e96ecc3bc9c9" + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackGetNeutronNetworks.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackGetNeutronNetworks.json new file mode 100644 index 0000000000..91910b0e71 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackGetNeutronNetworks.json @@ -0,0 +1,22 @@ +{ + "networks": [ + { + "status": "ACTIVE", + "subnets": [], + "name": "network_1", + "admin_state_up": true, + "tenant_id": "c1210485b2424d48804aad5d39c61b8f", + "id": "3a06dfc7-d239-4aad-9a57-21cd171c72e5", + "shared": false + }, + { + "status": "ACTIVE", + "subnets": [], + "name": "dvspg-VCE_VPE-mtjnj40avbc", + "admin_state_up": true, + "tenant_id": "c1210485b2424d48804aad5d39c61b8f", + "id": "7db8c5a4-6eb0-478d-856b-7cfda2b25e13", + "shared": false + } + ] +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackRequest_Tenant.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackRequest_Tenant.json new file mode 100644 index 0000000000..883f0a395d --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackRequest_Tenant.json @@ -0,0 +1,7 @@ +{ + "tenant": { + "name": "testingTenantName", + "description": "SDN Tenant (via MSO)", + "enabled": true + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Access.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Access.json new file mode 100644 index 0000000000..70a0914bf9 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Access.json @@ -0,0 +1,40 @@ +{ + "access": { + "token": { + "id": "tokenId1234", + "issued_at": null, + "expires": "1517418429142", + "tenant": null + }, + "serviceCatalog": [ + { + "type": "orchestration", + "name": null, + "endpoints": [ + { + "region": "mtn13", + "publicURL": "port", + "internalURL": null, + "adminURL": null + } + ], + "endpointsLinks": null + }, + { + "type": "network", + "name": null, + "endpoints": [ + { + "region": "mtn13", + "publicURL": "port", + "internalURL": null, + "adminURL": null + } + ], + "endpointsLinks": null + } + ], + "user": null, + "metadata": null + } +} diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Access_Admin.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Access_Admin.json new file mode 100644 index 0000000000..845ea26f62 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Access_Admin.json @@ -0,0 +1,27 @@ +{ + "access": { + "token": { + "id": "tokenId1234", + "issued_at": null, + "expires": "1517418429142", + "tenant": null + }, + "serviceCatalog": [ + { + "type": "identity", + "name": null, + "endpoints": [ + { + "region": "mtn13", + "publicURL": "port", + "internalURL": null, + "adminURL": null + } + ], + "endpointsLinks": null + } + ], + "user": null, + "metadata": null + } +} diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Access_queryNetwork.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Access_queryNetwork.json new file mode 100644 index 0000000000..b25acb8393 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Access_queryNetwork.json @@ -0,0 +1,27 @@ +{ + "access": { + "token": { + "id": "tokenId1234", + "issued_at": null, + "expires": "1517418429142", + "tenant": null + }, + "serviceCatalog": [ + { + "type": "network", + "name": null, + "endpoints": [ + { + "region": "mtn13", + "publicURL": "port", + "internalURL": null, + "adminURL": null + } + ], + "endpointsLinks": null + } + ], + "user": null, + "metadata": null + } +} diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Metadata.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Metadata.json new file mode 100644 index 0000000000..fbfda76c23 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Metadata.json @@ -0,0 +1,5 @@ +{ + "metadata" : { + "key1" : "value1" + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Roles.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Roles.json new file mode 100644 index 0000000000..47ae4488cd --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Roles.json @@ -0,0 +1,10 @@ +{ + "roles": [ + { + "id": "admin", + "name": "admin", + "description": null, + "enabled": null + } + ] +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack.json new file mode 100644 index 0000000000..af63ca7de4 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack.json @@ -0,0 +1,17 @@ +{ + "stack": { + "description": null, + "links": null, + "stackStatusReason": null, + "stackName": null, + "updatedTime": null, + "creationTime": null, + "stackStatus": "NOT_FOUND", + "id": "stackId", + "files": null, + "outputs": null, + "parameters": { + + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_StackId.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_StackId.json new file mode 100644 index 0000000000..161080a7c6 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_StackId.json @@ -0,0 +1,14 @@ +{ + "stack": { + "id": "da886914-efb2-4917-b335-c8381528d90b", + "links" : [ + { + "href" : "port", + "rel" : "self" + } + ], + "stack_name": "vUSP-23804-T-01-dpa2b_EVUSP-CORE-VIF-TSIG0_net_0", + "stack_status": "UPDATE_COMPLETE" + + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Created.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Created.json new file mode 100644 index 0000000000..477acadf81 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Created.json @@ -0,0 +1,17 @@ +{ + "stack": { + "description": null, + "links": null, + "stack_status_reason": null, + "stack_name": "stackname", + "updated_time": null, + "creation_time": null, + "stack_status": "CREATE_COMPLETE", + "id": "stackId", + "files": null, + "outputs": null, + "parameters": { + + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Created_VfModule.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Created_VfModule.json new file mode 100644 index 0000000000..29893ccb7b --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Created_VfModule.json @@ -0,0 +1,17 @@ +{ + "stack": { + "description": null, + "links": null, + "stack_status_reason": null, + "stack_name": "DEV-VF-1802-it3-pwt3-v6-vSAMP10a-addon2-Replace-1001", + "updated_time": null, + "creation_time": null, + "stack_status": "CREATE_COMPLETE", + "id": "stackId", + "files": null, + "outputs": null, + "parameters": { + + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_DeleteComplete.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_DeleteComplete.json new file mode 100644 index 0000000000..8612258eee --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_DeleteComplete.json @@ -0,0 +1,17 @@ +{ + "stack": { + "description": null, + "links": null, + "stackStatusReason": null, + "stackName": null, + "updatedTime": null, + "creationTime": null, + "stack_status": "DELETE_COMPLETE", + "id": "stackId", + "files": null, + "outputs": null, + "parameters": { + + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Failed_VfModule.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Failed_VfModule.json new file mode 100644 index 0000000000..5f667f70af --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Failed_VfModule.json @@ -0,0 +1,17 @@ +{ + "stack": { + "description": null, + "links": null, + "stack_status_reason": null, + "stack_name": "DEV-VF-1802-it3-pwt3-v6-vSAMP10a-addon2-Replace-1001", + "updated_time": null, + "creation_time": null, + "stack_status": "CREATE_FAILED", + "id": "stackId", + "files": null, + "outputs": null, + "parameters": { + + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_UpdateComplete.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_UpdateComplete.json new file mode 100644 index 0000000000..63673cc069 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_UpdateComplete.json @@ -0,0 +1,17 @@ +{ + "stack": { + "description": null, + "links": null, + "stackStatusReason": null, + "stackName": "stackname", + "updatedTime": null, + "creationTime": null, + "stack_status": "UPDATE_COMPLETE", + "id": "stackId", + "files": null, + "outputs": null, + "parameters": { + + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Updating_VfModule.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Updating_VfModule.json new file mode 100644 index 0000000000..edd0ec72aa --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Stack_Updating_VfModule.json @@ -0,0 +1,17 @@ +{ + "stack": { + "description": null, + "links": null, + "stack_status_reason": null, + "stack_name": "DEV-VF-1802-it3-pwt3-v6-vSAMP10a-addon2-Replace-1001", + "updated_time": null, + "creation_time": null, + "stack_status": "UPDATE_IN_PROGRESS", + "id": "stackId", + "files": null, + "outputs": null, + "parameters": { + + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Tenant.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Tenant.json new file mode 100644 index 0000000000..e8eebbbf7c --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_Tenant.json @@ -0,0 +1,8 @@ +{ + "tenant": { + "id": "tenantId", + "name": "testingTenantName", + "description": null, + "enabled": null + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_User.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_User.json new file mode 100644 index 0000000000..d2f3ea2b0e --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_User.json @@ -0,0 +1,11 @@ +{ + "user": { + "id": "msoId", + "username": "admin", + "password": null, + "tenantId": "tenantId", + "name": "testingTenantName", + "email": null, + "enabled": null + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_VnfBaseStackId.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_VnfBaseStackId.json new file mode 100644 index 0000000000..f4a3c520ba --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_VnfBaseStackId.json @@ -0,0 +1,12 @@ +{ + "stack": { + "id": "baseVfModuleStackId", + "links" : [ + { + "href" : "port", + "rel" : "self" + } + ], + "stack_name": "vnfBaseStack" + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_VnfStackId.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_VnfStackId.json new file mode 100644 index 0000000000..1d8f00ceb3 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_VnfStackId.json @@ -0,0 +1,20 @@ +{ + "stack": { + "id": "DEV-VF-1802-it3-pwt3-v6-vSAMP10a-addon2-Replace-1001", + "links" : [ + { + "href" : "port", + "rel" : "self" + } + ], + "stack_name": "DEV-VF-1802-it3-pwt3-v6-vSAMP10a-addon2-Replace-1001", + "stack_status": "UPDATE_COMPLETE", + "outputs": [ + { + "output_key": "output name", + "output_value": "output value", + "description": "output description" + } + ] + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/RollbackVfModuleResponse.json b/adapters/mso-openstack-adapters/src/test/resources/__files/RollbackVfModuleResponse.json new file mode 100644 index 0000000000..56c3402af1 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/RollbackVfModuleResponse.json @@ -0,0 +1,5 @@ +{ + "rollbackVfModuleResponse" : { + "vfModuleRolledback" : true + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/UpdateNetworkResponse.json b/adapters/mso-openstack-adapters/src/test/resources/__files/UpdateNetworkResponse.json new file mode 100644 index 0000000000..cca18394e1 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/UpdateNetworkResponse.json @@ -0,0 +1,8 @@ +{ + "updateNetworkResponse": { + "networkId": "da886914-efb2-4917-b335-c8381528d90b", + "subnetMap": { + + } + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/UpdateVfModuleResponse.json b/adapters/mso-openstack-adapters/src/test/resources/__files/UpdateVfModuleResponse.json new file mode 100644 index 0000000000..b3b251b856 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/UpdateVfModuleResponse.json @@ -0,0 +1,5 @@ +{ + "updateVfModuleResponse" : { + "vfModuleId" : "1d48aaec-b7f3-4c24-ba4a-4e798ed3223c" + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/ValetCreateRequest.json b/adapters/mso-openstack-adapters/src/test/resources/__files/ValetCreateRequest.json new file mode 100644 index 0000000000..d7ecca9aba --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/ValetCreateRequest.json @@ -0,0 +1,9 @@ +{ + "status": { + "status": "200", + "message": "CREATE - test message" + }, + "parameters": { + "key": "value" + } +}
\ No newline at end of file diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/ValetDeleteRequest.json b/adapters/mso-openstack-adapters/src/test/resources/__files/ValetDeleteRequest.json new file mode 100644 index 0000000000..dadb77803b --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/ValetDeleteRequest.json @@ -0,0 +1,6 @@ +{ + "status": { + "status": "200", + "message": "DELETE - test message" + } +}
\ No newline at end of file |