From 821851f259e2a11fde31b41ea0740aad81ec7baa Mon Sep 17 00:00:00 2001 From: Eric Multanen Date: Fri, 14 Sep 2018 04:42:38 -0700 Subject: Add multicloud to VnfPluginAdapter Adds new mode 'multicloud' to VnfPluginAdapter along with MsoMulticloudUtils and supporting code. Change-Id: I1cfdc9ba09c58315fb0bfc025854cf0122a32759 Issue-ID: SO-752 Signed-off-by: Eric Multanen --- .../OpenstackResponse_AccessMulticloud.json | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_AccessMulticloud.json (limited to 'adapters/mso-openstack-adapters/src/test/resources') diff --git a/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_AccessMulticloud.json b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_AccessMulticloud.json new file mode 100644 index 0000000000..23fbe840e4 --- /dev/null +++ b/adapters/mso-openstack-adapters/src/test/resources/__files/OpenstackResponse_AccessMulticloud.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 + } +} -- cgit 1.2.3-korg