diff options
28 files changed, 3818 insertions, 242 deletions
diff --git a/aai_bundle.pem b/aai_bundle.pem new file mode 100755 index 0000000..03536a5 --- /dev/null +++ b/aai_bundle.pem @@ -0,0 +1,17 @@ +# Issued to: Symantec Class 3 Secure Server CA - G4 +# Issued by: VeriSign Class 3 Public Primary Certification Authority - G5 +# Valid from: 10/30/2013 to 10/30/2023 +# Serial Number: 51 3f b9 74 38 70 b7 34 40 41 8d 30 93 06 99 ff +# https://knowledge.symantec.com/support/mpki-for-ssl-support/index?page=content&id=AR2064 +-----BEGIN CERTIFICATE----- + +-----END CERTIFICATE----- + +# Issued to: VeriSign Class 3 Public Primary Certification Authority - G5 +# Issued by: VeriSign Class 3 Public Primary Certification Authority - G5 +# Valid from: 11/7/2006 to 7/16/2036 +# Serial Number: 18 da d1 9e 26 7d e8 bb 4a 21 58 cd cc 6b 3b 4a +# https://knowledge.symantec.com/support/ssl-certificates-support/index?page=content&id=SO5624 +-----BEGIN CERTIFICATE----- + +-----END CERTIFICATE-----
\ No newline at end of file diff --git a/aai_cert.cer b/aai_cert.cer new file mode 100755 index 0000000..89e21a6 --- /dev/null +++ b/aai_cert.cer @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDBzCCAe+gAwIBAgIJAP8kAV1CdbJ/MA0GCSqGSIb3DQEBBQUAMBoxGDAWBgNV +BAMMD3d3dy5leGFtcGxlLmNvbTAeFw0xODA0MjQwMTQyMDJaFw0yODA0MjEwMTQy +MDJaMBoxGDAWBgNVBAMMD3d3dy5leGFtcGxlLmNvbTCCASIwDQYJKoZIhvcNAQEB +BQADggEPADCCAQoCggEBAKJ6deYaFUdO4+mN3nlRxUcLYRRpbebXPooT27Sp/YGm +fvFooY3ztwoOIjYZte4bCoSx27e5/f5+cyicOUHWI+A+JKCzyOrR9ZtreAdMRt+n +glqhJysXt+wlX7KMlD4mcSbCB/dfOMvFdoEPTJ/7zmlD5IfjrKXkcISi3T6sUNMJ +OmZdjCvx+oZuMYLPJZiqqrTHIY+EV9wn3Y4CUJdLVzYOuT8Pgg12oPnXaPDcuypL +p9e6Tk9vp3SPa4VK+GWikRAB29XoBAA/IECLtLOz/W7pEpP3Bw/GKrq7dOK02kS/ +AMu6ws95kJ6K5e6ukZ1xasCX30usABmRUzgYC9eBVDUCAwEAAaNQME4wHQYDVR0O +BBYEFF9la4Zgr4CNax3sFKLmih7Nzn67MB8GA1UdIwQYMBaAFF9la4Zgr4CNax3s +FKLmih7Nzn67MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAIggrPSt +7oxzTLBUOPB8/fLK3N8SA2e4Heax5jWGGWgggxYxeKEkA/0xqKtXKIsJsVVwggva +EgTD6Ewb+Wt4QBf7g/8LlSH+7XGGGZJEzkrbRvml/b8aJDhE8q97V0QsN5F8yrVX +OTtAkjdwpCXGWevGlSEuUSnAfNbo4rSTCt276CBFHVrnQRpvvlWUpGADz897dQuo +KeVeH84vY9PDgtd45OiQVaHp8UOi+7RUqTF4TQb1rbYWMDtepmShnO3QFu+kjxma +5O49EkwhBqMYqiaNO0NzYiDbrcKF3B/VSDJ8eAsDX48icJ0b8g6V79HxqQ4nX0UF +bL4NDdBFo0CvOLU= +-----END CERTIFICATE----- diff --git a/aai_key.key b/aai_key.key new file mode 100755 index 0000000..cbd73d7 --- /dev/null +++ b/aai_key.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEAonp15hoVR07j6Y3eeVHFRwthFGlt5tc+ihPbtKn9gaZ+8Wih +jfO3Cg4iNhm17hsKhLHbt7n9/n5zKJw5QdYj4D4koLPI6tH1m2t4B0xG36eCWqEn +Kxe37CVfsoyUPiZxJsIH9184y8V2gQ9Mn/vOaUPkh+OspeRwhKLdPqxQ0wk6Zl2M +K/H6hm4xgs8lmKqqtMchj4RX3CfdjgJQl0tXNg65Pw+CDXag+ddo8Ny7Kkun17pO +T2+ndI9rhUr4ZaKREAHb1egEAD8gQIu0s7P9bukSk/cHD8Yqurt04rTaRL8Ay7rC +z3mQnorl7q6RnXFqwJffS6wAGZFTOBgL14FUNQIDAQABAoIBAQCYcU+G+ff29KTP +7+TJbRgsRRfrn9OWn2M1B9a+ljOc3ksCU0ootn6I96PPoKXaZhKjV4Cvy9jsW1XO +x2zNQY5didCx2pzq/N102gs+xalFlJOwVr06KEHPVW2JR26bNVQ6qhfxV60hOv6p +rmIVRJtwllunx8ynxUJwn6H3eJNIvEOJ8zEwCUWiYqf3GRNK8aMEsfVpurot8xjB +PEl5RIhsPK41eaPJActiOSmyKbhV2UVn6ig8k15qZ7oxWaq2K59OpsbvTCts3ve6 +jHS5EySoUjaSaoxB0D4EXNpEdWMGT6nMS8mhuz/TeSCvoe4E4dtlWxtVDH9oaQ/I +Npx0Gt4tAoGBANcHsSvqFDdbkMi9ovXMp17gfMvQVBrTDs9OsSdU8YiSkgBREYp9 +Y4L56pte4lheTej7N88JFs6yuntsJ2j8Do03q9ms9exYZ+vTj0guILcSbFW1drtz +jCGlYrQVH4Oxs6/jlsyOvYnCmQM8yyAumrc8/IVxFeBgHn8HpdcUNuNrAoGBAMFv +gcJpUPN3xN1oScYjsokoe03EWbOZxNL1u9+EA9w/4xSfXz8oO/dgUzR7jXQ9KCCa +fT4NjFSntdoS4tpskfs3rA3VaoBvNHtonA3GOFpG2/VGlIShRDUN23zn6e5jTe3b +VwRwfAEzy7thoyu6EiPhxXTKQRtC/baPzUBlfC7fAoGASF0PU67/xK1s6RFgkQWh +Yb18Yf6m/yv99OgPmCPu8L4aoj6l/4w4++/s8wKYe5Ko93nriyIM6dyeA0EfdiY1 +I3MTwzqAvFv4BRX6Rxk260Uo7iMWZPj6tKv6ro3ZQDGCPfQCYK68vGqfocZIuXjV +mkrM1H99FDhkqu1A80ObQScCgYAYstQurqPXcoOAgcBpvEUfnjugQmHxvMCU7yt9 +7q1PghjMmUzgE5MUkwgMu3nkTarB/vfe5Hv2kzN1FNRCb3p0STd+zLE8lPZui3zh +hV3MqR+MweZUyQKcg5hy6mnENonMxSTnPDWZMbPhySW8f5WxXzKHJwwJHxSmKtZa +Upr4oQKBgDLm9LopV1A4n7FhfjRdShNHXmxhXSIg11XZUcvC5+kFMP9Xo88Zfa35 +iVujUqv6F6FuBvtRb8Z+/4W1jiZSVnD7JDpesPfHMIv7+heFjySc3KTCdcO8eQMT +3Vlj5Ud0WD8JgVyefQrT64LUtQOx5eVGE7alwY6YRhRRGUyjArKK +-----END RSA PRIVATE KEY----- diff --git a/conductor.conf b/conductor.conf index 1a2dfac..150d78b 100755 --- a/conductor.conf +++ b/conductor.conf @@ -8,7 +8,7 @@ #api_paste_config = api_paste.ini # Music keyspace for content (string value) -keyspace = conductor_ikram +keyspace = conductor # # From oslo.log @@ -135,10 +135,10 @@ complex_cache_refresh_interval = 60 # Base URL for A&AI, up to and not including the version, and without a # trailing slash. (string value) -server_url = https://aai-conexus-e2e.ecomp.cci.att.com:8443/aai +server_url = https://aai.api.simpledemo.onap.org:8443/aai # The version of A&AI in v# format. (string value) -server_url_version = v11 +server_url_version = v13 # SSL/TLS certificate file in pem format. This certificate must be registered # with the A&AI endpoint. (string value) @@ -150,7 +150,7 @@ certificate_key_file = /usr/local/bin/aai_key.key # Certificate Authority Bundle file in pem format. Must contain the appropriate # trust chain for the Certificate file. (string value) #certificate_authority_bundle_file = /opt/app/conductor/etc/certs/ca_bundle.pem -certificate_authority_bundle_file =/usr/local/bin/bundle.pem +certificate_authority_bundle_file = /opt/optf-has/aai_cert.cer [api] @@ -216,7 +216,7 @@ concurrent = true # # Music keyspace for messages (string value) -keyspace = conductor_ikram_rpc +keyspace = conductor_rpc # Wait interval while checking for a message response. Default value is 1 # second. (integer value) @@ -247,7 +247,7 @@ timeout = 300 # music_new_version = True # Base URL for Music REST API without a trailing slash. (string value) -server_url = http://135.197.226.30:8080/MUSIC/rest/v2 +server_url = http://localhost:8080/MUSIC/rest/v2 version = v2 music_version = "2.4.21" aafuser = conductor diff --git a/conductor/conductor/data/service.py b/conductor/conductor/data/service.py index 5912963..f4e3aac 100644 --- a/conductor/conductor/data/service.py +++ b/conductor/conductor/data/service.py @@ -454,10 +454,9 @@ class DataEndpoint(object): # exists. This is an invalid condition. if candidate.get("flavor_map") and candidate["flavor_map"].get( label_name): - error = True LOG.error(_LE("Flavor mapping for label name {} already" "exists").format(label_name)) - return {'response': None, 'error': error} + continue # RPC call to inventory provider for matching hpa capabilities results = self.ip_ext_manager.map_method( diff --git a/conductor/conductor/solver/optimizer/constraints/hpa.py b/conductor/conductor/solver/optimizer/constraints/hpa.py index 9ef37df..98d95d9 100644 --- a/conductor/conductor/solver/optimizer/constraints/hpa.py +++ b/conductor/conductor/solver/optimizer/constraints/hpa.py @@ -59,10 +59,11 @@ class HPA(constraint.Constraint): response = (cei.get_candidates_with_hpa(label_name, _candidate_list, flavorProperties)) - if response: - _candidate_list = response - else: - LOG.error(_LE("Flavor mapping for label name {} already" - "exists").format(label_name)) + _candidate_list = response + if not response: + LOG.error(_LE("No matching candidates for HPA exists").format( + label_name)) + break + # No need to continue. return _candidate_list diff --git a/conductor/conductor/tests/functional/simulators/aaisim/Dockerfile b/conductor/conductor/tests/functional/simulators/aaisim/Dockerfile index 3f241b0..9ab4213 100755 --- a/conductor/conductor/tests/functional/simulators/aaisim/Dockerfile +++ b/conductor/conductor/tests/functional/simulators/aaisim/Dockerfile @@ -1,3 +1,21 @@ +# +# ------------------------------------------------------------------------- +# Copyright (c) 2018 AT&T Intellectual Property +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------- +# # Use an official Python runtime as a parent image FROM python:2.7 diff --git a/conductor/conductor/tests/functional/simulators/aaisim/aaisim.py b/conductor/conductor/tests/functional/simulators/aaisim/aaisim.py index 2e60bd3..53bd099 100755 --- a/conductor/conductor/tests/functional/simulators/aaisim/aaisim.py +++ b/conductor/conductor/tests/functional/simulators/aaisim/aaisim.py @@ -1,3 +1,21 @@ +# +# ------------------------------------------------------------------------- +# Copyright (c) 2018 AT&T Intellectual Property +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------- +# import web import web.webapi import json @@ -10,6 +28,8 @@ urls = ( '/healthcheck','healthcheck', '/aai/v13/cloud-infrastructure/cloud-regions/','get_regions', '/aai/v13/cloud-infrastructure/complexes/complex/DLLSTX233','get_complex_DLLSTX233', + '/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-1/flavors/', 'get_flavors_region_1', + '/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-2/flavors/', 'get_flavors_region_2', ) @@ -84,6 +104,40 @@ class get_complex_DLLSTX233: web.header('X-TransactionId', trid) return json.dumps(json_data) +class get_flavors_region_1: + def GET(self): + print ("------------------------------------------------------") + replyfile = "get_flavors_cloud_region_1.json" + #replyToAaiGet (web, replydir, replyfile) + fullreply = replydir + replyfile + trid=web.ctx.env.get('X_TRANSACTIONID','111111') + #print ("X-TransactionId : {}".format(trid)) + print ("this is the context : {}".format(web.ctx.fullpath)) + with open(fullreply) as json_file: + json_data = json.load(json_file) + print(json_data) + + web.header('Content-Type', 'application/json') + web.header('X-TransactionId', trid) + return json.dumps(json_data) + +class get_flavors_region_2: + def GET(self): + print ("------------------------------------------------------") + replyfile = "get_flavors_cloud_region_2.json" + #replyToAaiGet (web, replydir, replyfile) + fullreply = replydir + replyfile + trid=web.ctx.env.get('X_TRANSACTIONID','111111') + #print ("X-TransactionId : {}".format(trid)) + print ("this is the context : {}".format(web.ctx.fullpath)) + with open(fullreply) as json_file: + json_data = json.load(json_file) + print(json_data) + + web.header('Content-Type', 'application/json') + web.header('X-TransactionId', trid) + return json.dumps(json_data) + if __name__ == "__main__": diff --git a/conductor/conductor/tests/functional/simulators/aaisim/responses/get_flavors_cloud_region_1.json b/conductor/conductor/tests/functional/simulators/aaisim/responses/get_flavors_cloud_region_1.json new file mode 100644 index 0000000..863bf3a --- /dev/null +++ b/conductor/conductor/tests/functional/simulators/aaisim/responses/get_flavors_cloud_region_1.json @@ -0,0 +1,195 @@ +{ + "flavor": [ + { + "flavor-id": "9cf8220b-4d96-4c30-a426-2e9382f3fff2", + "flavor-name": "flavor-numa-cpu-topology-instruction-set", + "flavor-vcpus": 64, + "flavor-ram": 65536, + "flavor-disk": 1048576, + "flavor-ephemeral": 128, + "flavor-swap": "0", + "flavor-is-public": false, + "flavor-selflink": "pXtX", + "flavor-disabled": false, + "hpa-capabilities": { + "hpa-capability": [ + { + "hpa-capability-id": "13ec6d4d-7fee-48d8-9e4a-c598feb101ed", + "hpa-feature": "basicCapabilities", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522167731012", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": "{\"value\":\"64\"}", + "resource-version": "1522167731037" + }, + { + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": "{\"value\":\"65536\", \"unit\":\"MB\" }", + "resource-version": "1522167731729" + } + ] + }, + { + "hpa-capability-id": "01a4bfe1-1993-4fda-bd1c-ef333b4f76a9", + "hpa-feature": "instructionSetExtensions", + "hpa-version": "v1", + "architecture": "Intel64", + "resource-version": "1522167731759", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "instructionSetExtensions", + "hpa-attribute-value": "{\"value\": [\"aes\", \"sse\", \"avx\", \"smt\"]}", + "resource-version": "1522167731767" + } + ] + }, + { + "hpa-capability-id": "8fa22e64-41b4-471f-96ad-6c4708635e4c", + "hpa-feature": "cpuTopology", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522167732555", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "numCpuCores", + "hpa-attribute-value": "{\"value\":\"8\"}", + "resource-version": "1522167732563" + }, + { + "hpa-attribute-key": "numCpuSockets", + "hpa-attribute-value": "{\"value\":\"6\"}", + "resource-version": "1522167732582" + }, + { + "hpa-attribute-key": "numCpuThreads", + "hpa-attribute-value": "{\"value\":\"8\"}", + "resource-version": "1522167732599" + } + ] + }, + { + "hpa-capability-id": "167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66", + "hpa-feature": "numa", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522167731791", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "numaCpu-1", + "hpa-attribute-value": "{\"value\":\"4\"}", + "resource-version": "1522167731822" + }, + { + "hpa-attribute-key": "numaNodes", + "hpa-attribute-value": "{\"value\":\"2\"}", + "resource-version": "1522167731855" + }, + { + "hpa-attribute-key": "numaCpu-0", + "hpa-attribute-value": "{\"value\":\"2\"}", + "resource-version": "1522167731797" + }, + { + "hpa-attribute-key": "numaMem-1", + "hpa-attribute-value": "{\"value\":\"4\", \"unit\":\"GB\" }", + "resource-version": "1522167731835" + }, + { + "hpa-attribute-key": "numaMem-0", + "hpa-attribute-value": "{\"value\":\"2\", \"unit\":\"GB\" }", + "resource-version": "1522167731810" + } + ] + } + ] + }, + "resource-version": "1522167730970" + }, + { + "flavor-id": "f5aa2b2e-3206-41b6-80d5-cf041b098c43", + "flavor-name": "flavor-cpu-pinning-ovsdpdk-instruction-set", + "flavor-vcpus": 32, + "flavor-ram": 131072, + "flavor-disk": 2097152, + "flavor-ephemeral": 128, + "flavor-swap": "0", + "flavor-is-public": false, + "flavor-selflink": "pXtX", + "flavor-disabled": false, + "hpa-capabilities": { + "hpa-capability": [ + { + "hpa-capability-id": "c140c945-1532-4908-86c9-d7f71416f1dd", + "hpa-feature": "cpuPinning", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522167732665", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "logicalCpuThreadPinningPolicy", + "hpa-attribute-value": "{\"value\":\"prefer\"}", + "resource-version": "1522167732681" + }, + { + "hpa-attribute-key": "logicalCpuPinningPolicy", + "hpa-attribute-value": "{\"value\":\"dedicated\"}", + "resource-version": "1522167732670" + } + ] + }, + { + "hpa-capability-id": "8d36a8fe-bfee-446a-bbcb-881ee66c8f78", + "hpa-feature": "ovsDpdk", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522167732641", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "dataProcessingAccelerationLibrary", + "hpa-attribute-value": "{\"value\":\"v18.02\"}", + "resource-version": "1522167732646" + } + ] + }, + { + "hpa-capability-id": "4d04f4d8-e257-4442-8417-19a525e56096", + "hpa-feature": "instructionSetExtensions", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522167732698", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "instructionSetExtensions", + "hpa-attribute-value": "{\"value\":[\"aes\", \"avx\"]}", + "resource-version": "1522167732704" + } + ] + }, + { + "hpa-capability-id": "4565615b-1077-4bb5-a340-c5be48db2aaa", + "hpa-feature": "basicCapabilities", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522167732720", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": "{\"value\":\"131072\", \"unit\":\"MB\" }", + "resource-version": "1522167732725" + }, + { + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": "{\"value\":\"32\"}", + "resource-version": "1522167732736" + } + ] + } + ] + }, + "resource-version": "1522167732632" + } + ] +} diff --git a/conductor/conductor/tests/functional/simulators/aaisim/responses/get_flavors_cloud_region_2.json b/conductor/conductor/tests/functional/simulators/aaisim/responses/get_flavors_cloud_region_2.json new file mode 100644 index 0000000..4530c30 --- /dev/null +++ b/conductor/conductor/tests/functional/simulators/aaisim/responses/get_flavors_cloud_region_2.json @@ -0,0 +1,161 @@ +{ + "flavor": [ + { + "flavor-id": "acf8220b-4d96-4c30-a426-2e9382f3fff2", + "flavor-name": "flavor-cpu-topology-instruction-set", + "flavor-vcpus": 32, + "flavor-ram": 65536, + "flavor-disk": 1048576, + "flavor-ephemeral": 128, + "flavor-swap": "0", + "flavor-is-public": false, + "flavor-selflink": "pXtX", + "flavor-disabled": false, + "hpa-capabilities": { + "hpa-capability": [ + { + "hpa-capability-id": "01a4bfe1-1993-4fda-bd1c-ef333b4f76a9", + "hpa-feature": "instructionSetExtensions", + "hpa-version": "v1", + "architecture": "Intel64", + "resource-version": "1522170267454", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "instructionSetExtensions", + "hpa-attribute-value": "{\"value\": [\"aes\", \"sse\", \"avx\", \"smt\"]}", + "resource-version": "1522170267458" + } + ] + }, + { + "hpa-capability-id": "9fa22e64-41b4-471f-96ad-6c4708635e4c", + "hpa-feature": "cpuTopology", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522170267472", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "numCpuCores", + "hpa-attribute-value": "{\"value\":\"16\"}", + "resource-version": "1522170267475" + }, + { + "hpa-attribute-key": "numCpuSockets", + "hpa-attribute-value": "{\"value\":\"2\"}", + "resource-version": "1522170267485" + }, + { + "hpa-attribute-key": "numCpuThreads", + "hpa-attribute-value": "{\"value\":\"8\"}", + "resource-version": "1522170267494" + } + ] + }, + { + "hpa-capability-id": "23ec6d4d-7fee-48d8-9e4a-c598feb101ed", + "hpa-feature": "basicCapabilities", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522170267426", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": "{\"value\":\"65536\", \"unit\":\"MB\" }", + "resource-version": "1522170267440" + }, + { + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": "{\"value\":\"32\"}", + "resource-version": "1522170267431" + } + ] + } + ] + }, + "resource-version": "1522170267420" + }, + { + "flavor-id": "e5aa2b2e-3206-41b6-80d5-cf041b098c43", + "flavor-name": "flavor-cpu-pinning-ovsdpdk-instruction-set", + "flavor-vcpus": 32, + "flavor-ram": 131072, + "flavor-disk": 2097152, + "flavor-ephemeral": 128, + "flavor-swap": "0", + "flavor-is-public": false, + "flavor-selflink": "pXtX", + "flavor-disabled": false, + "hpa-capabilities": { + "hpa-capability": [ + { + "hpa-capability-id": "d140c945-1532-4908-86c9-d7f71416f1dd", + "hpa-feature": "cpuPinning", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522170267537", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "logicalCpuThreadPinningPolicy", + "hpa-attribute-value": "{\"value\":\"prefer\"}", + "resource-version": "1522170267550" + }, + { + "hpa-attribute-key": "logicalCpuPinningPolicy", + "hpa-attribute-value": "{\"value\":\"dedicated\"}", + "resource-version": "1522170267541" + } + ] + }, + { + "hpa-capability-id": "9d36a8fe-bfee-446a-bbcb-881ee66c8f78", + "hpa-feature": "ovsDpdk", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522170267519", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "dataProcessingAccelerationLibrary", + "hpa-attribute-value": "{\"value\":\"v17.02\"}", + "resource-version": "1522170267523" + } + ] + }, + { + "hpa-capability-id": "01a4bfe1-1993-4fda-bd1c-ef333b4f76a9", + "hpa-feature": "instructionSetExtensions", + "hpa-version": "v1", + "architecture": "Intel64", + "resource-version": "1522170267564", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "instructionSetExtensions", + "hpa-attribute-value": "{\"value\": [\"avx\", \"smt\"]}", + "resource-version": "1522170267568" + } + ] + }, + { + "hpa-capability-id": "5565615b-1077-4bb5-a340-c5be48db2aaa", + "hpa-feature": "basicCapabilities", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522170267582", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": "{\"value\":\"32\"}", + "resource-version": "1522170267594" + }, + { + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": "{\"value\":\"131072\", \"unit\":\"MB\" }", + "resource-version": "1522170267585" + } + ] + } + ] + }, + "resource-version": "1522170267514" + } + ] +} diff --git a/conductor/conductor/tests/functional/simulators/aaisim/responses/get_onap_regions.json b/conductor/conductor/tests/functional/simulators/aaisim/responses/get_onap_regions.json index 6634426..79f67ea 100644 --- a/conductor/conductor/tests/functional/simulators/aaisim/responses/get_onap_regions.json +++ b/conductor/conductor/tests/functional/simulators/aaisim/responses/get_onap_regions.json @@ -205,122 +205,99 @@ "hpa-capabilities": { "hpa-capability": [ { + "hpa-capability-id": "13ec6d4d-7fee-48d8-9e4a-c598feb101ed", + "hpa-feature": "basicCapabilities", + "hpa-version": "v1", + "architecture": "generic", + "resource-version": "1522167731012", + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": "{\"value\":\"64\"}", + "resource-version": "1522167731037" + }, + { + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": "{\"value\":\"65536\", \"unit\":\"MB\" }", + "resource-version": "1522167731729" + } + ] + }, + { "hpa-capability-id": "01a4bfe1-1993-4fda-bd1c-ef333b4f76a9", - "hpa-feature": "cpuInstructionSetExtensions", + "hpa-feature": "instructionSetExtensions", "hpa-version": "v1", "architecture": "Intel64", - "resource-version": "1521306560982", + "resource-version": "1522167731759", "hpa-feature-attributes": [ { "hpa-attribute-key": "instructionSetExtensions", - "hpa-attribute-value": "{\"value\":{['AAA', 'BBB', 'CCC', 'DDD']}}", - "resource-version": "1521306560989" + "hpa-attribute-value": "{\"value\": [\"aes\", \"sse\", \"avx\", \"smt\"]}", + "resource-version": "1522167731767" } ] }, { - "hpa-capability-id": "167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66", - "hpa-feature": "numa", + "hpa-capability-id": "8fa22e64-41b4-471f-96ad-6c4708635e4c", + "hpa-feature": "cpuTopology", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306561020", + "resource-version": "1522167732555", "hpa-feature-attributes": [ { - "hpa-attribute-key": "numaCpu-1", - "hpa-attribute-value": { - "value": 4 - }, - "resource-version": "1521306561060" - }, - { - "hpa-attribute-key": "numaNodes", - "hpa-attribute-value": { - "value": 2 - }, - "resource-version": "1521306561088" - }, - { - "hpa-attribute-key": "numaCpu-0", - "hpa-attribute-value": { - "value": 2 - }, - "resource-version": "1521306561028" + "hpa-attribute-key": "numCpuCores", + "hpa-attribute-value": "{\"value\":\"8\"}", + "resource-version": "1522167732563" }, { - "hpa-attribute-key": "numaMem-0", - "hpa-attribute-value": { - "value": 2, - "unit": "GB" - }, - "resource-version": "1521306561044" + "hpa-attribute-key": "numCpuSockets", + "hpa-attribute-value": "{\"value\":\"6\"}", + "resource-version": "1522167732582" }, { - "hpa-attribute-key": "numaMem-1", - "hpa-attribute-value": { - "value": 4, - "unit": "GB" - }, - "resource-version": "1521306561074" + "hpa-attribute-key": "numCpuThreads", + "hpa-attribute-value": "{\"value\":\"8\"}", + "resource-version": "1522167732599" } ] }, { - "hpa-capability-id": "13ec6d4d-7fee-48d8-9e4a-c598feb101ed", - "hpa-feature": "basicCapabilities", + "hpa-capability-id": "167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66", + "hpa-feature": "numa", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306560909", + "resource-version": "1522167731791", "hpa-feature-attributes": [ { - "hpa-attribute-key": "numVirtualCpu", - "hpa-attribute-value": { - "value": 64 - }, - "resource-version": "1521306560932" + "hpa-attribute-key": "numaCpu-1", + "hpa-attribute-value": "{\"value\":\"4\"}", + "resource-version": "1522167731822" }, { - "hpa-attribute-key": "virtualMemSize", - "hpa-attribute-value": { - "value": 65536, - "unit": "MB" - }, - "resource-version": "1521306560954" - } - ] - }, - { - "hpa-capability-id": "8fa22e64-41b4-471f-96ad-6c4708635e4c", - "hpa-feature": "cpuTopology", - "hpa-version": "v1", - "architecture": "generic", - "resource-version": "1521306561109", - "hpa-feature-attributes": [ + "hpa-attribute-key": "numaNodes", + "hpa-attribute-value": "{\"value\":\"2\"}", + "resource-version": "1522167731855" + }, { - "hpa-attribute-key": "numCpuCores", - "hpa-attribute-value": { - "value": 8 - }, - "resource-version": "1521306561114" + "hpa-attribute-key": "numaCpu-0", + "hpa-attribute-value": "{\"value\":\"2\"}", + "resource-version": "1522167731797" }, { - "hpa-attribute-key": "numCpuThreads", - "hpa-attribute-value": { - "value": 8 - }, - "resource-version": "1521306561138" + "hpa-attribute-key": "numaMem-1", + "hpa-attribute-value": "{\"value\":\"4\", \"unit\":\"GB\" }", + "resource-version": "1522167731835" }, { - "hpa-attribute-key": "numCpuSockets", - "hpa-attribute-value": { - "value": 6 - }, - "resource-version": "1521306561126" + "hpa-attribute-key": "numaMem-0", + "hpa-attribute-value": "{\"value\":\"2\", \"unit\":\"GB\" }", + "resource-version": "1522167731810" } ] } ] }, - "resource-version": "1521306560203" + "resource-version": "1522167730970" }, { "flavor-id": "f5aa2b2e-3206-41b6-80d5-cf041b098c43", @@ -336,16 +313,21 @@ "hpa-capabilities": { "hpa-capability": [ { - "hpa-capability-id": "4d04f4d8-e257-4442-8417-19a525e56096", - "hpa-feature": "cpuInstructionSetExtensions", + "hpa-capability-id": "c140c945-1532-4908-86c9-d7f71416f1dd", + "hpa-feature": "cpuPinning", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306561223", + "resource-version": "1522167732665", "hpa-feature-attributes": [ { - "hpa-attribute-key": "instructionSetExtensions", - "hpa-attribute-value": "{\"value\":{['A11', 'B22']}}", - "resource-version": "1521306561228" + "hpa-attribute-key": "logicalCpuThreadPinningPolicy", + "hpa-attribute-value": "{\"value\":\"prefer\"}", + "resource-version": "1522167732681" + }, + { + "hpa-attribute-key": "logicalCpuPinningPolicy", + "hpa-attribute-value": "{\"value\":\"dedicated\"}", + "resource-version": "1522167732670" } ] }, @@ -354,37 +336,26 @@ "hpa-feature": "ovsDpdk", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306561170", + "resource-version": "1522167732641", "hpa-feature-attributes": [ { "hpa-attribute-key": "dataProcessingAccelerationLibrary", - "hpa-attribute-value": { - "value": "v18.02" - }, - "resource-version": "1521306561175" + "hpa-attribute-value": "{\"value\":\"v18.02\"}", + "resource-version": "1522167732646" } ] }, { - "hpa-capability-id": "c140c945-1532-4908-86c9-d7f71416f1dd", - "hpa-feature": "cpuPinning", + "hpa-capability-id": "4d04f4d8-e257-4442-8417-19a525e56096", + "hpa-feature": "instructionSetExtensions", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306561191", + "resource-version": "1522167732698", "hpa-feature-attributes": [ { - "hpa-attribute-key": "logicalCpuPinningPolicy", - "hpa-attribute-value": { - "value": "dedicated" - }, - "resource-version": "1521306561196" - }, - { - "hpa-attribute-key": "logicalCpuThreadPinningPolicy", - "hpa-attribute-value": { - "value": "prefer" - }, - "resource-version": "1521306561206" + "hpa-attribute-key": "instructionSetExtensions", + "hpa-attribute-value": "{\"value\":[\"aes\", \"avx\"]}", + "resource-version": "1522167732704" } ] }, @@ -393,28 +364,23 @@ "hpa-feature": "basicCapabilities", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306561244", + "resource-version": "1522167732720", "hpa-feature-attributes": [ { - "hpa-attribute-key": "numVirtualCpu", - "hpa-attribute-value": { - "value": 32 - }, - "resource-version": "1521306561259" + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": "{\"value\":\"131072\", \"unit\":\"MB\" }", + "resource-version": "1522167732725" }, { - "hpa-attribute-key": "virtualMemSize", - "hpa-attribute-value": { - "value": 131072, - "unit": "MB" - }, - "resource-version": "1521306561248" + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": "{\"value\":\"32\"}", + "resource-version": "1522167732736" } ] } ] }, - "resource-version": "1521306561164" + "resource-version": "1522167732632" } ] }, @@ -765,76 +731,65 @@ "hpa-capabilities": { "hpa-capability": [ { - "hpa-capability-id": "11a4bfe1-1993-4fda-bd1c-ef333b4f76a9", - "hpa-feature": "cpuInstructionSetExtensions", + "hpa-capability-id": "01a4bfe1-1993-4fda-bd1c-ef333b4f76a9", + "hpa-feature": "instructionSetExtensions", "hpa-version": "v1", "architecture": "Intel64", - "resource-version": "1521306714796", + "resource-version": "1522170267454", "hpa-feature-attributes": [ { "hpa-attribute-key": "instructionSetExtensions", - "hpa-attribute-value": "{\"value\":{['aes', 'sse', 'avx', 'smt']}}", - "resource-version": "1521306714799" + "hpa-attribute-value": "{\"value\": [\"aes\", \"sse\", \"avx\", \"smt\"]}", + "resource-version": "1522170267458" } ] }, { - "hpa-capability-id": "23ec6d4d-7fee-48d8-9e4a-c598feb101ed", - "hpa-feature": "basicCapabilities", + "hpa-capability-id": "9fa22e64-41b4-471f-96ad-6c4708635e4c", + "hpa-feature": "cpuTopology", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306714769", + "resource-version": "1522170267472", "hpa-feature-attributes": [ { - "hpa-attribute-key": "virtualMemSize", - "hpa-attribute-value": { - "value": 65536, - "unit": "MB" - }, - "resource-version": "1521306714782" + "hpa-attribute-key": "numCpuCores", + "hpa-attribute-value": "{\"value\":\"16\"}", + "resource-version": "1522170267475" }, { - "hpa-attribute-key": "numVirtualCpu", - "hpa-attribute-value": { - "value": 32 - }, - "resource-version": "1521306714773" + "hpa-attribute-key": "numCpuSockets", + "hpa-attribute-value": "{\"value\":\"2\"}", + "resource-version": "1522170267485" + }, + { + "hpa-attribute-key": "numCpuThreads", + "hpa-attribute-value": "{\"value\":\"8\"}", + "resource-version": "1522170267494" } ] }, { - "hpa-capability-id": "9fa22e64-41b4-471f-96ad-6c4708635e4c", - "hpa-feature": "cpuTopology", + "hpa-capability-id": "23ec6d4d-7fee-48d8-9e4a-c598feb101ed", + "hpa-feature": "basicCapabilities", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306714813", + "resource-version": "1522170267426", "hpa-feature-attributes": [ { - "hpa-attribute-key": "numCpuThreads", - "hpa-attribute-value": { - "value": 8 - }, - "resource-version": "1521306714841" - }, - { - "hpa-attribute-key": "numCpuCores", - "hpa-attribute-value": { - "value": 16 - }, - "resource-version": "1521306714817" + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": "{\"value\":\"65536\", \"unit\":\"MB\" }", + "resource-version": "1522170267440" }, { - "hpa-attribute-key": "numCpuSockets", - "hpa-attribute-value": { - "value": 2 - }, - "resource-version": "1521306714826" + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": "{\"value\":\"32\"}", + "resource-version": "1522170267431" } ] } ] }, - "resource-version": "1521306714764" + "resource-version": "1522170267420" }, { "flavor-id": "e5aa2b2e-3206-41b6-80d5-cf041b098c43", @@ -850,26 +805,21 @@ "hpa-capabilities": { "hpa-capability": [ { - "hpa-capability-id": "5565615b-1077-4bb5-a340-c5be48db2aaa", - "hpa-feature": "basicCapabilities", + "hpa-capability-id": "d140c945-1532-4908-86c9-d7f71416f1dd", + "hpa-feature": "cpuPinning", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306714950", + "resource-version": "1522170267537", "hpa-feature-attributes": [ { - "hpa-attribute-key": "numVirtualCpu", - "hpa-attribute-value": { - "value": 32 - }, - "resource-version": "1521306714964" + "hpa-attribute-key": "logicalCpuThreadPinningPolicy", + "hpa-attribute-value": "{\"value\":\"prefer\"}", + "resource-version": "1522170267550" }, { - "hpa-attribute-key": "virtualMemSize", - "hpa-attribute-value": { - "value": 131072, - "unit": "MB" - }, - "resource-version": "1521306714954" + "hpa-attribute-key": "logicalCpuPinningPolicy", + "hpa-attribute-value": "{\"value\":\"dedicated\"}", + "resource-version": "1522170267541" } ] }, @@ -878,57 +828,51 @@ "hpa-feature": "ovsDpdk", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306714876", + "resource-version": "1522170267519", "hpa-feature-attributes": [ { "hpa-attribute-key": "dataProcessingAccelerationLibrary", - "hpa-attribute-value": { - "value": "v17.02" - }, - "resource-version": "1521306714881" + "hpa-attribute-value": "{\"value\":\"v17.02\"}", + "resource-version": "1522170267523" } ] }, { - "hpa-capability-id": "d140c945-1532-4908-86c9-d7f71416f1dd", - "hpa-feature": "cpuPinning", + "hpa-capability-id": "01a4bfe1-1993-4fda-bd1c-ef333b4f76a9", + "hpa-feature": "instructionSetExtensions", "hpa-version": "v1", - "architecture": "generic", - "resource-version": "1521306714899", + "architecture": "Intel64", + "resource-version": "1522170267564", "hpa-feature-attributes": [ { - "hpa-attribute-key": "logicalCpuThreadPinningPolicy", - "hpa-attribute-value": { - "value": "prefer" - }, - "resource-version": "1521306714915" - }, - { - "hpa-attribute-key": "logicalCpuPinningPolicy", - "hpa-attribute-value": { - "value": "dedicated" - }, - "resource-version": "1521306714904" + "hpa-attribute-key": "instructionSetExtensions", + "hpa-attribute-value": "{\"value\": [\"avx\", \"smt\"]}", + "resource-version": "1522170267568" } ] }, { - "hpa-capability-id": "5d04f4d8-e257-4442-8417-19a525e56096", - "hpa-feature": "cpuInstructionSetExtensions", + "hpa-capability-id": "5565615b-1077-4bb5-a340-c5be48db2aaa", + "hpa-feature": "basicCapabilities", "hpa-version": "v1", "architecture": "generic", - "resource-version": "1521306714931", + "resource-version": "1522170267582", "hpa-feature-attributes": [ { - "hpa-attribute-key": "instructionSetExtensions", - "hpa-attribute-value": "{\"value\":{['aes', 'avx']}}", - "resource-version": "1521306714936" + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": "{\"value\":\"32\"}", + "resource-version": "1522170267594" + }, + { + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": "{\"value\":\"131072\", \"unit\":\"MB\" }", + "resource-version": "1522170267585" } ] } ] }, - "resource-version": "1521306714871" + "resource-version": "1522170267514" } ] }, diff --git a/conductor/conductor/tests/functional/simulators/build_aaisim.sh b/conductor/conductor/tests/functional/simulators/build_aaisim.sh index 0fcd129..441b6b9 100755 --- a/conductor/conductor/tests/functional/simulators/build_aaisim.sh +++ b/conductor/conductor/tests/functional/simulators/build_aaisim.sh @@ -1,3 +1,22 @@ +#!/bin/bash +# +# ------------------------------------------------------------------------- +# Copyright (c) 2018 AT&T Intellectual Property +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------- +# cd ./aaisim docker build -t aaisim . diff --git a/conductor/conductor/tests/functional/simulators/build_multicloudsim.sh b/conductor/conductor/tests/functional/simulators/build_multicloudsim.sh new file mode 100755 index 0000000..054a41f --- /dev/null +++ b/conductor/conductor/tests/functional/simulators/build_multicloudsim.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# +# ------------------------------------------------------------------------- +# Copyright (c) 2018 AT&T Intellectual Property +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------- +# +cd ./multicloudsim +docker build -t multicloudsim . + diff --git a/conductor/conductor/tests/functional/simulators/destroy_aaisim.sh b/conductor/conductor/tests/functional/simulators/destroy_aaisim.sh index ddc3798..0bf2ac0 100755 --- a/conductor/conductor/tests/functional/simulators/destroy_aaisim.sh +++ b/conductor/conductor/tests/functional/simulators/destroy_aaisim.sh @@ -1,4 +1,23 @@ +#!/bin/bash +# +# ------------------------------------------------------------------------- +# Copyright (c) 2018 AT&T Intellectual Property +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------- +# docker stop aaisim -docker rm aasim +docker rm aaisim docker rmi aaisim diff --git a/conductor/conductor/tests/functional/simulators/destroy_multicloudsim.sh b/conductor/conductor/tests/functional/simulators/destroy_multicloudsim.sh new file mode 100755 index 0000000..48a9c9e --- /dev/null +++ b/conductor/conductor/tests/functional/simulators/destroy_multicloudsim.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# +# ------------------------------------------------------------------------- +# Copyright (c) 2018 AT&T Intellectual Property +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------- +# +docker stop multicloudsim +docker rm multicloudsim +docker rmi multicloudsim + diff --git a/conductor/conductor/tests/functional/simulators/multicloudsim/Dockerfile b/conductor/conductor/tests/functional/simulators/multicloudsim/Dockerfile new file mode 100755 index 0000000..aeaf2b9 --- /dev/null +++ b/conductor/conductor/tests/functional/simulators/multicloudsim/Dockerfile @@ -0,0 +1,39 @@ +# +# ------------------------------------------------------------------------- +# Copyright (c) 2018 AT&T Intellectual Property +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------- +# +# Use an official Python runtime as a parent image +FROM python:2.7 + +# Set the working directory to /su/python/webpy-rest-dockerized +WORKDIR /opt/multicloudsim + +# Copy the current directory contents into the container at /app +ADD ./ /opt/multicloudsim + +# Install any needed packages specified in requirements.txt +RUN pip install web.py + +# Make port 80 available to the world outside this container +EXPOSE 8082 + +# Define environment variable +ENV NAME multicloudsim + +# Run multicloudsim.py when the container launches +CMD ["/bin/sh", "-c", "python -u multicloudsim.py 8082 > /tmp/multicloudsim.log 2>&1"] + diff --git a/conductor/conductor/tests/functional/simulators/multicloudsim/multicloudsim.py b/conductor/conductor/tests/functional/simulators/multicloudsim/multicloudsim.py new file mode 100755 index 0000000..d3d2228 --- /dev/null +++ b/conductor/conductor/tests/functional/simulators/multicloudsim/multicloudsim.py @@ -0,0 +1,90 @@ +# +# ------------------------------------------------------------------------- +# Copyright (c) 2018 AT&T Intellectual Property +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------- +# +import web +import web.webapi +import json + +from subprocess import Popen, PIPE +from xml.dom import minidom + + +urls = ( + '/healthcheck','healthcheck', + '/api/multicloud/v0/check_vim_capacity','post_check_vim_capacity', +) + + +myok = {"ok":"ok"} +json_data={} + +replydir = "./responses/" + +def replyToAaiGet(web, replydir, replyfile): + print ("------------------------------------------------------") + fullreply = replydir + replyfile + trid=web.ctx.env.get('X_TRANSACTIONID','111111') + #print ("X-TransactionId : {}".format(trid)) + print ("this is the context : {}".format(web.ctx.fullpath)) + with open(fullreply) as json_file: + json_data = json.load(json_file) + print(json_data) + + web.header('Content-Type', 'application/json') + web.header('X-TransactionId', trid) + return json.dumps(json_data) + +class healthcheck: + def GET(self): + print ("------------------------------------------------------") + replyfile = "healthcheck.json" + #replyToAaiGet (web, replydir, replyfile) + fullreply = replydir + replyfile + trid=web.ctx.env.get('X_TRANSACTIONID','111111') + #print ("X-TransactionId : {}".format(trid)) + print ("this is the context : {}".format(web.ctx.fullpath)) + with open(fullreply) as json_file: + json_data = json.load(json_file) + print(json_data) + + web.header('Content-Type', 'application/json') + web.header('X-TransactionId', trid) + return json.dumps(json_data) + +class post_check_vim_capacity: + def POST(self): + print ("------------------------------------------------------") + replyfile = "post_check_vim_capacity.json" + #replyToAaiGet (web, replydir, replyfile) + fullreply = replydir + replyfile + trid=web.ctx.env.get('X_TRANSACTIONID','111111') + #print ("X-TransactionId : {}".format(trid)) + print ("this is the context : {}".format(web.ctx.fullpath)) + with open(fullreply) as json_file: + json_data = json.load(json_file) + print(json_data) + + web.header('Content-Type', 'application/json') + web.header('X-TransactionId', trid) + return json.dumps(json_data) + + + +if __name__ == "__main__": + app = web.application(urls, globals()) + app.run() diff --git a/conductor/conductor/tests/functional/simulators/multicloudsim/requirements.txt b/conductor/conductor/tests/functional/simulators/multicloudsim/requirements.txt new file mode 100755 index 0000000..c077218 --- /dev/null +++ b/conductor/conductor/tests/functional/simulators/multicloudsim/requirements.txt @@ -0,0 +1 @@ +web diff --git a/conductor/conductor/tests/functional/simulators/multicloudsim/responses/healthcheck.json b/conductor/conductor/tests/functional/simulators/multicloudsim/responses/healthcheck.json new file mode 100644 index 0000000..b0bd6da --- /dev/null +++ b/conductor/conductor/tests/functional/simulators/multicloudsim/responses/healthcheck.json @@ -0,0 +1 @@ +{"status":"success"} diff --git a/conductor/conductor/tests/functional/simulators/multicloudsim/responses/post_check_vim_capacity.json b/conductor/conductor/tests/functional/simulators/multicloudsim/responses/post_check_vim_capacity.json new file mode 100644 index 0000000..aef2ee9 --- /dev/null +++ b/conductor/conductor/tests/functional/simulators/multicloudsim/responses/post_check_vim_capacity.json @@ -0,0 +1 @@ +{"VIMs": ["HPA-cloud_cloud-region-1"]} diff --git a/conductor/conductor/tests/functional/simulators/run_aaisim.sh b/conductor/conductor/tests/functional/simulators/run_aaisim.sh index 21c7bb3..203de16 100755 --- a/conductor/conductor/tests/functional/simulators/run_aaisim.sh +++ b/conductor/conductor/tests/functional/simulators/run_aaisim.sh @@ -1,2 +1,21 @@ +#!/bin/bash +# +# ------------------------------------------------------------------------- +# Copyright (c) 2018 AT&T Intellectual Property +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------- +# docker run -d --name aaisim -p 8081:8081 aaisim diff --git a/conductor/conductor/tests/functional/simulators/run_multicloudsim.sh b/conductor/conductor/tests/functional/simulators/run_multicloudsim.sh new file mode 100755 index 0000000..50f4c8f --- /dev/null +++ b/conductor/conductor/tests/functional/simulators/run_multicloudsim.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# +# ------------------------------------------------------------------------- +# Copyright (c) 2018 AT&T Intellectual Property +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ------------------------------------------------------------------------- +# +docker run -d --name multicloudsim -p 8082:8082 multicloudsim + diff --git a/conductor/conductor/tests/unit/solver/test_hpa.py b/conductor/conductor/tests/unit/solver/test_hpa.py index c9bbbbc..3964c06 100644 --- a/conductor/conductor/tests/unit/solver/test_hpa.py +++ b/conductor/conductor/tests/unit/solver/test_hpa.py @@ -77,9 +77,9 @@ class TestHPA(unittest.TestCase): client_mock.call.return_value = None request_mock.cei = cei.ConstraintEngineInterface(client_mock) - self.assertEqual(self.candidate_list, - self.hpa.solve(mock_decision_path, - self.candidate_list, request_mock)) + self.assertEqual(None, self.hpa.solve(mock_decision_path, + self.candidate_list, + request_mock)) client_mock.call.side_effect = [hpa_candidate_list_1, hpa_candidate_list_2] diff --git a/conductor/doc/template/README.md b/conductor/doc/template/README.md index f8afcca..a2a60bf 100644 --- a/conductor/doc/template/README.md +++ b/conductor/doc/template/README.md @@ -219,6 +219,7 @@ The following is the schema for a valid ``candidate``: **Examples** +**``Service Candidate``** ```json { "candidate_id": "1ac71fb8-ad43-4e16-9459-c3f372b8236d", @@ -238,10 +239,226 @@ The following is the schema for a valid ``candidate``: "complex_name": "dalls_one", "cloud_owner": "att-aic", "cloud_region_version": "1.1", - "physical_location_id": "DLLSTX9A", + "physical_location_id": "DLLSTX9A" +} +``` +**``Cloud Candidate``** +```json +{ + "candidate_id": "NYCNY55", + "candidate_type": "cloud", + "inventory_type": "cloud", + "inventory_provider": "aai", + "cost": "100", + "location_id": "NYCNY55", + "location_type": "azure", + "latitude": "40.7128", + "longitude": "-74.0060", + "city": "New York", + "state": "NY", + "country": "USA", + "region": "US", + "complex_name": "ny_one", + "cloud_owner": "att-aic", + "cloud_region_version": "1.1", + "physical_location_id": "NYCNY55", + "flavors": { + "flavor":[ + { + "flavor-id":"9cf8220b-4d96-4c30-a426-2e9382f3fff2", + "flavor-name":"flavor-numa-cpu-topology-instruction-set", + "flavor-vcpus":64, + "flavor-ram":65536, + "flavor-disk":1048576, + "flavor-ephemeral":128, + "flavor-swap":"0", + "flavor-is-public":false, + "flavor-selflink":"pXtX", + "flavor-disabled":false, + "hpa-capabilities":{ + "hpa-capability":[ + { + "hpa-capability-id":"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9", + "hpa-feature":"cpuInstructionSetExtensions", + "hpa-version":"v1", + "architecture":"Intel64", + "resource-version":"1521306560982", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"instructionSetExtensions", + "hpa-attribute-value":"{\"value\":{['AAA', 'BBB', 'CCC', 'DDD']}}", + "resource-version":"1521306560989" + } + ] + }, + { + "hpa-capability-id":"167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66", + "hpa-feature":"numa", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561020", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numaCpu-1", + "hpa-attribute-value":"{\"value\":4}", + "resource-version":"1521306561060" + }, + { + "hpa-attribute-key":"numaNodes", + "hpa-attribute-value":"{\"value\":2}", + "resource-version":"1521306561088" + }, + { + "hpa-attribute-key":"numaCpu-0", + "hpa-attribute-value":"{\"value\":2}", + "resource-version":"1521306561028" + }, + { + "hpa-attribute-key":"numaMem-0", + "hpa-attribute-value":"{\"value\":2, \"unit\":\"GB\" }", + "resource-version":"1521306561044" + }, + { + "hpa-attribute-key":"numaMem-1", + "hpa-attribute-value":"{\"value\":4, \"unit\":\"GB\" }", + "resource-version":"1521306561074" + } + ] + }, + { + "hpa-capability-id":"13ec6d4d-7fee-48d8-9e4a-c598feb101ed", + "hpa-feature":"basicCapabilities", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306560909", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numVirtualCpu", + "hpa-attribute-value":"{\"value\":64}", + "resource-version":"1521306560932" + }, + { + "hpa-attribute-key":"virtualMemSize", + "hpa-attribute-value":"{\"value\":65536, \"unit\":\"MB\" }", + "resource-version":"1521306560954" + } + ] + }, + { + "hpa-capability-id":"8fa22e64-41b4-471f-96ad-6c4708635e4c", + "hpa-feature":"cpuTopology", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561109", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numCpuCores", + "hpa-attribute-value":"{\"value\":8}", + "resource-version":"1521306561114" + }, + { + "hpa-attribute-key":"numCpuThreads", + "hpa-attribute-value":"{\"value\":8}", + "resource-version":"1521306561138" + }, + { + "hpa-attribute-key":"numCpuSockets", + "hpa-attribute-value":"{\"value\":6}", + "resource-version":"1521306561126" + } + ] + } + ] + }, + "resource-version":"1521306560203" + }, + { + "flavor-id":"f5aa2b2e-3206-41b6-80d5-cf041b098c43", + "flavor-name":"flavor-cpu-pinning-ovsdpdk-instruction-set", + "flavor-vcpus":32, + "flavor-ram":131072, + "flavor-disk":2097152, + "flavor-ephemeral":128, + "flavor-swap":"0", + "flavor-is-public":false, + "flavor-selflink":"pXtX", + "flavor-disabled":false, + "hpa-capabilities":{ + "hpa-capability":[ + { + "hpa-capability-id":"4d04f4d8-e257-4442-8417-19a525e56096", + "hpa-feature":"cpuInstructionSetExtensions", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561223", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"instructionSetExtensions", + "hpa-attribute-value":"{\"value\":{['A11', 'B22']}}", + "resource-version":"1521306561228" + } + ] + }, + { + "hpa-capability-id":"8d36a8fe-bfee-446a-bbcb-881ee66c8f78", + "hpa-feature":"ovsDpdk", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561170", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"dataProcessingAccelerationLibrary", + "hpa-attribute-value":"{\"value\":\"v18.02\"}", + "resource-version":"1521306561175" + } + ] + }, + { + "hpa-capability-id":"c140c945-1532-4908-86c9-d7f71416f1dd", + "hpa-feature":"cpuPinning", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561191", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"logicalCpuPinningPolicy", + "hpa-attribute-value":"{\"value\":\"dedicated\"}", + "resource-version":"1521306561196" + }, + { + "hpa-attribute-key":"logicalCpuThreadPinningPolicy", + "hpa-attribute-value":"{value:\"prefer\"}", + "resource-version":"1521306561206" + } + ] + }, + { + "hpa-capability-id":"4565615b-1077-4bb5-a340-c5be48db2aaa", + "hpa-feature":"basicCapabilities", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561244", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numVirtualCpu", + "hpa-attribute-value":"{\"value\":32}", + "resource-version":"1521306561259" + }, + { + "hpa-attribute-key":"virtualMemSize", + "hpa-attribute-value":"{\"value\":131072, \"unit\":\"MB\" }", + "resource-version":"1521306561248" + } + ] + } + ] + }, + "resource-version":"1521306561164" + } + ] + } } ``` - **Questions** * Currently, candidates are either service instances or cloud regions. As new services are on-boarded, this can be evolved to represent different types of resources. @@ -325,6 +542,8 @@ constraints: | ``inventory_group`` | Constraint that enforces two or more demands are satisfied using candidates from a pre-established group in the inventory. | | ``region_fit`` | Constraint that ensures available capacity in an existing cloud region for an incoming demand. | | ``zone`` | Constraint that enforces co-location/diversity at the granularities of clouds/regions/availability-zones. | +| ``hpa`` | Constraint that recommends cloud region with an optimal flavor based on required HPA capabilities for an incoming demand. | +| ``vim_fit`` | Constraint that checks if the incoming demand fits the VIM instance. | | ``license`` (Deferred) | License availability constraint. | | ``network_between_demands`` (Deferred) | Network constraint between each pair of a list of demands. | | ``network_to_location`` (Deferred) | Network constraint between each of a list of demands and a specific location/address. | @@ -536,6 +755,171 @@ constraints: * These categories could be any of the following: ``disaster_zone``, ``region``, ``complex``, ``time_zone``, and ``maintenance_zone``. Really, we are talking affinity/anti-affinity at the level of DCs, but these terms may cause confusion with affinity/anti-affinity in OpenStack. +### HPA + +Constrain each demand's inventory candidates based on cloud regions' Hardware platform capabilities (HPA) + +Requirements mapped to the inventory provider specified properties, referenced by the demands. For example, properties could be hardware capabilities provided by the platform through flavors or cloud-region eg:(CPU-Pinning, NUMA), features supported by the services, etc. + +**Schema** + +| Property | Value | +|---------------|-------------------------------------------------------------| +| ``evaluate`` | List of flavorLabel, flavorProperties of each VM of the VNF demand. | + +```yaml +constraints: + hpa_constraint: + type: hpa + demands: [my_vnf_demand, my_other_vnf_demand] + properties: + evaluate: + - [ List of {flavorLabel : {flavor label name}, + flavorProperties: HPACapability DICT} ] +HPACapability DICT : + hpa-feature: basicCapabilities + hpa-version: v1 + architecture: generic + hpa-feature-attributes: + - HPAFEATUREATTRIBUTES LIST + +HPAFEATUREATTRIBUTES LIST: + hpa-attribute-key: String + hpa-attribute-value: String + operator: One of OPERATOR + unit: String +OPERATOR : ['=', '<', '>', '<=', '>=', 'ALL'] +``` + +**Example** +```json +{ + "hpa_constraint":{ + "type":"hpa", + "demands":[ + "vG" + ], + "properties":{ + "evaluate":[ + { + "flavorLabel":"flavor_label_1", + "flavorProperties":[ + { + "hpa-feature":"basicCapabilities", + "hpa-version":"v1", + "architecture":"generic", + "mandatory": "True", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numVirtualCpu", + "hpa-attribute-value":"32", + "operator":"=" + }, + { + "hpa-attribute-key":"virtualMemSize", + "hpa-attribute-value":"64", + "operator":"=", + "unit":"GB" + } + ] + }, + { + "hpa-feature":"ovsDpdk", + "hpa-version":"v1", + "architecture":"generic", + "mandatory": "False", + "score": "10", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"dataProcessingAccelerationLibrary", + "hpa-attribute-value":"v18.02", + "operator":"=" + } + ] + } + ] + }, + { + "flavorLabel":"flavor_label_2", + "flavorProperties":[ + { + "hpa-feature":"basicCapabilities", + "hpa-version":"v1", + "architecture":"generic", + "mandatory": "False", + "score": "5", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numVirtualCpu", + "hpa-attribute-value":"8", + "operator":">=" + }, + { + "hpa-attribute-key":"virtualMemSize", + "hpa-attribute-value":"16", + "operator":">=", + "unit":"GB" + } + ] + } + ] + } + ] + } + } +} +``` + +### VIM Fit + +Constrain each demand's inventory candidates based on capacity check for available capacity at the VIM instances. + +Requirements are sent as an opaque request object understood by the VIM controllers or MultiCloud. Each controller is defined and implemented as a plugin in Conductor. + +A vim controller plugin knows how to communicate with a particular endpoint (via HTTP/REST, DMaaP, etc.), obtain necessary information, and make a decision. The endpoint and credentials can be configured through plugin settings. + +**Schema** + +| Property | Value | +|---------------|-------------------------------------------------------------| +| ``controller``| Name of a vim controller. (e.g., multicloud) | +| ``request`` | Opaque dictionary of key/value pairs. Values must be strings or numbers. Encoded and sent to the vim controller via a plugin. | + +For example, to place two demands in different disaster zones: + +```yaml +constraints: + check_cloud_capacity: + type: vim_fit + demands: [my_vnf_demand, my_other_vnf_demand] + properties: + controller: multicloud + request: REQUEST_DICT +``` + +**Notes** + +* For ONAP Beijing release the REQUEST_DICT is of the following format as defined by the policy for vim_fit. The REQUEST_DICT is an opaque request object defined through policy, so it is not restricted to this format. In ONAP Beijing release MultiCloud supports the check_vim_capacity using the following grammar. + ```json + { + "request":{ + "vCPU":10, + "Memory":{ + "quantity":{ + "get_param":"REQUIRED_MEM" + }, + "unit":"GB" + }, + "Storage":{ + "quantity":{ + "get_param":"REQUIRED_DISK" + }, + "unit":"GB" + } + } + } + ``` + ### Inventory Group Constrain demands such that inventory items are grouped across two demands. diff --git a/conductor/tools/postman_collection/HPA-AAI-Mandatory.postman_collection.json b/conductor/tools/postman_collection/HPA-AAI-Mandatory.postman_collection.json new file mode 100644 index 0000000..83a053a --- /dev/null +++ b/conductor/tools/postman_collection/HPA-AAI-Mandatory.postman_collection.json @@ -0,0 +1,1259 @@ +{ + "info": { + "name": "HPA-AAI-Mandatory", + "_postman_id": "fcc3adf1-b391-7a26-24cc-c1750758bb23", + "description": "", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "Create Complex", + "request": { + "method": "PUT", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"physical-location-id\": \"DLLSTX233\",\r\n \"complex-name\": \"complex1\",\r\n \"physical-location-type\": \"Mobility\",\r\n \"data-center-code\": \"example-data-center-code-val-6667\",\r\n \"identity-url\": \"example-identity-url-val-28399\",\r\n \"street1\": \"example-street1-val-28399\",\r\n \"street2\": \"example-street2-val-28399\",\r\n \"elevation\": \"example-elevation-val-28399\",\r\n \"lata\": \"example-lata-val-28399\",\r\n \"country\": \"USA\",\r\n \"latitude\": \"32.89948\",\r\n \"longitude\": \"-97.045443\",\r\n \"postal-code\": \"00000\",\r\n \"region\": \"USA\",\r\n \"city\": \"Dallas\",\r\n \"state\": \"TX\"\r\n}" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/complexes/complex/DLLSTX233", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "complexes", + "complex", + "DLLSTX233" + ] + } + }, + "response": [] + }, + { + "name": "PUT Cloud-Region 1", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "8291bdde-7685-4ddd-956e-7c62fa1bdeee", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "request": { + "method": "PUT", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"cloud-owner\": \"HPA-cloud\",\r\n \"cloud-region-id\": \"cloud-region-1\",\r\n \"cloud-type\": \"openstack-pike\",\r\n \"owner-defined-type\": \"example-owner-defined-type-val-848\",\r\n \"cloud-region-version\": \"example-cloud-region-version-val-75919\",\r\n \"identity-url\": \"example-identity-url-val-14861\",\r\n \"cloud-zone\": \"example-cloud-zone-val-4978\",\r\n \"complex-name\": \"example-complex-name-val-62100\",\r\n \"sriov-automation\": \"true\",\r\n \"cloud-extra-info\": \"example-cloud-extra-info-val-49466\",\r\n \"cloud-epa-caps\": \"example-cloud-epa-caps-val-99504\",\r\n \"volume-groups\": {\r\n \"volume-group\": {\r\n \"volume-group-id\": \"example-volume-group-id-val-66706\",\r\n \"volume-group-name\": \"example-volume-group-name-val-77554\",\r\n \"heat-stack-id\": \"example-heat-stack-id-val-70180\",\r\n \"vnf-type\": \"example-vnf-type-val-87572\",\r\n \"orchestration-status\": \"example-orchestration-status-val-34971\",\r\n \"model-customization-id\": \"example-model-customization-id-val-83513\",\r\n \"vf-module-model-customization-id\": \"example-vf-module-model-customization-id-val-6507\"\r\n }\r\n },\r\n \"tenants\": {\r\n \"tenant\": {\r\n \"tenant-id\": \"tenant-id-1\",\r\n \"tenant-name\": \"tenant-name-1\",\r\n \"tenant-context\": \"example-tenant-context-val-28442\",\r\n \"vservers\": {\r\n \"vserver\": {\r\n \"vserver-id\": \"vserver-1\",\r\n \"vserver-name\": \"vserver-name-1\",\r\n \"vserver-name2\": \"example-vserver-name2-val-75154\",\r\n \"prov-status\": \"example-prov-status-val-62624\",\r\n \"vserver-selflink\": \"example-vserver-selflink-val-3687\",\r\n \"in-maint\": \"true\",\r\n \"is-closed-loop-disabled\": \"true\",\r\n \"volumes\": {\r\n \"volume\": {\r\n \"volume-id\": \"example-volume-id-val-11970\",\r\n \"volume-selflink\": \"example-volume-selflink-val-76166\"\r\n }\r\n },\r\n \"l-interfaces\": {\r\n \"l-interface\": {\r\n \"interface-name\": \"example-interface-name-val-33353\",\r\n \"interface-role\": \"example-interface-role-val-20528\",\r\n \"v6-wan-link-ip\": \"example-v6-wan-link-ip-val-39242\",\r\n \"selflink\": \"example-selflink-val-69696\",\r\n \"interface-id\": \"example-interface-id-val-96451\",\r\n \"macaddr\": \"example-macaddr-val-92350\",\r\n \"network-name\": \"example-network-name-val-76057\",\r\n \"management-option\": \"example-management-option-val-24749\",\r\n \"interface-description\": \"example-interface-description-val-61248\",\r\n \"is-port-mirrored\": \"true\",\r\n \"in-maint\": \"true\",\r\n \"prov-status\": \"example-prov-status-val-66068\",\r\n \"is-ip-unnumbered\": \"true\",\r\n \"allowed-address-pairs\": \"example-allowed-address-pairs-val-97717\",\r\n \"vlans\": {\r\n \"vlan\": {\r\n \"vlan-interface\": \"example-vlan-interface-val-69702\",\r\n \"vlan-id-inner\": \"67994473\",\r\n \"vlan-id-outer\": \"93729787\",\r\n \"speed-value\": \"example-speed-value-val-13924\",\r\n \"speed-units\": \"example-speed-units-val-36978\",\r\n \"vlan-description\": \"example-vlan-description-val-33791\",\r\n \"backdoor-connection\": \"example-backdoor-connection-val-17790\",\r\n \"vpn-key\": \"example-vpn-key-val-9875\",\r\n \"orchestration-status\": \"example-orchestration-status-val-56763\",\r\n \"in-maint\": \"true\",\r\n \"prov-status\": \"example-prov-status-val-70388\",\r\n \"is-ip-unnumbered\": \"true\",\r\n \"l3-interface-ipv4-address-list\": {\r\n \"l3-interface-ipv4-address\": \"example-l3-interface-ipv4-address-val-11760\",\r\n \"l3-interface-ipv4-prefix-length\": \"56201707\",\r\n \"vlan-id-inner\": \"73451064\",\r\n \"vlan-id-outer\": \"91938369\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-98070\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-27472\"\r\n },\r\n \"l3-interface-ipv6-address-list\": {\r\n \"l3-interface-ipv6-address\": \"example-l3-interface-ipv6-address-val-39990\",\r\n \"l3-interface-ipv6-prefix-length\": \"23094280\",\r\n \"vlan-id-inner\": \"45385157\",\r\n \"vlan-id-outer\": \"7251303\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-91087\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-43501\"\r\n }\r\n }\r\n },\r\n \"sriov-vfs\": {\r\n \"sriov-vf\": {\r\n \"pci-id\": \"example-pci-id-val-91062\",\r\n \"vf-vlan-filter\": \"example-vf-vlan-filter-val-77261\",\r\n \"vf-mac-filter\": \"example-vf-mac-filter-val-52679\",\r\n \"vf-vlan-strip\": \"true\",\r\n \"vf-vlan-anti-spoof-check\": \"true\",\r\n \"vf-mac-anti-spoof-check\": \"true\",\r\n \"vf-mirrors\": \"example-vf-mirrors-val-39917\",\r\n \"vf-broadcast-allow\": \"true\",\r\n \"vf-unknown-multicast-allow\": \"true\",\r\n \"vf-unknown-unicast-allow\": \"true\",\r\n \"vf-insert-stag\": \"true\",\r\n \"vf-link-status\": \"example-vf-link-status-val-7159\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-6599\"\r\n }\r\n },\r\n \"l-interfaces\": {\r\n \"l-interface\": {\r\n \"interface-name\": \"example-interface-name-val-31463\",\r\n \"interface-role\": \"example-interface-role-val-59891\",\r\n \"v6-wan-link-ip\": \"example-v6-wan-link-ip-val-37795\",\r\n \"selflink\": \"example-selflink-val-8079\",\r\n \"interface-id\": \"example-interface-id-val-7731\",\r\n \"macaddr\": \"example-macaddr-val-4153\",\r\n \"network-name\": \"example-network-name-val-95567\",\r\n \"management-option\": \"example-management-option-val-37882\",\r\n \"interface-description\": \"example-interface-description-val-49246\",\r\n \"is-port-mirrored\": \"true\",\r\n \"in-maint\": \"true\",\r\n \"prov-status\": \"example-prov-status-val-679\",\r\n \"is-ip-unnumbered\": \"true\",\r\n \"allowed-address-pairs\": \"example-allowed-address-pairs-val-51719\"\r\n }\r\n },\r\n \"l3-interface-ipv4-address-list\": {\r\n \"l3-interface-ipv4-address\": \"example-l3-interface-ipv4-address-val-25727\",\r\n \"l3-interface-ipv4-prefix-length\": \"72086436\",\r\n \"vlan-id-inner\": \"49585016\",\r\n \"vlan-id-outer\": \"31295411\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-60599\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-63673\"\r\n },\r\n \"l3-interface-ipv6-address-list\": {\r\n \"l3-interface-ipv6-address\": \"example-l3-interface-ipv6-address-val-23230\",\r\n \"l3-interface-ipv6-prefix-length\": \"52397550\",\r\n \"vlan-id-inner\": \"90366390\",\r\n \"vlan-id-outer\": \"74424116\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-8866\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-39258\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"flavors\": {\r\n \"flavor\": [\r\n {\r\n \"flavor-id\": \"9cf8220b-4d96-4c30-a426-2e9382f3fff2\",\r\n \"flavor-name\": \"flavor-numa-cpu-topology-instruction-set\",\r\n \"flavor-vcpus\": 64,\r\n \"flavor-ram\": 65536,\r\n \"flavor-disk\": 1048576,\r\n \"flavor-ephemeral\": 128,\r\n \"flavor-swap\": \"0\",\r\n \"flavor-is-public\": false,\r\n \"flavor-selflink\": \"pXtX\",\r\n \"flavor-disabled\": false,\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": [\r\n {\r\n \"hpa-capability-id\": \"13ec6d4d-7fee-48d8-9e4a-c598feb101ed\",\r\n \"hpa-feature\": \"basicCapabilities\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numVirtualCpu\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"64\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"virtualMemSize\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"65536\\\", \\\"unit\\\":\\\"MB\\\" }\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\",\r\n \"hpa-feature\": \"instructionSetExtensions\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"Intel64\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"instructionSetExtensions\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\": [\\\"aes\\\", \\\"sse\\\", \\\"avx\\\", \\\"smt\\\"]}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66\",\r\n \"hpa-feature\": \"numa\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numaCpu-0\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"2\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numaMem-0\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"2\\\", \\\"unit\\\":\\\"GB\\\" }\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numaCpu-1\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"4\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numaMem-1\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"4\\\", \\\"unit\\\":\\\"GB\\\" }\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numaNodes\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"2\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"8fa22e64-41b4-471f-96ad-6c4708635e4c\",\r\n \"hpa-feature\": \"cpuTopology\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numCpuCores\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"8\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numCpuSockets\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"6\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numCpuThreads\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"8\\\"}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"flavor-id\": \"f5aa2b2e-3206-41b6-80d5-cf041b098c43\",\r\n \"flavor-name\": \"flavor-cpu-pinning-ovsdpdk-instruction-set\",\r\n \"flavor-vcpus\": 32,\r\n \"flavor-ram\": 131072,\r\n \"flavor-disk\": 2097152,\r\n \"flavor-ephemeral\": 128,\r\n \"flavor-swap\": \"0\",\r\n \"flavor-is-public\": false,\r\n \"flavor-selflink\": \"pXtX\",\r\n \"flavor-disabled\": false,\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": [\r\n {\r\n \"hpa-capability-id\": \"8d36a8fe-bfee-446a-bbcb-881ee66c8f78\",\r\n \"hpa-feature\": \"ovsDpdk\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"dataProcessingAccelerationLibrary\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"v18.02\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"c140c945-1532-4908-86c9-d7f71416f1dd\",\r\n \"hpa-feature\": \"cpuPinning\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"dedicated\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuThreadPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"prefer\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"4d04f4d8-e257-4442-8417-19a525e56096\",\r\n \"hpa-feature\": \"instructionSetExtensions\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"instructionSetExtensions\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":[\\\"aes\\\", \\\"avx\\\"]}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"4565615b-1077-4bb5-a340-c5be48db2aaa\",\r\n \"hpa-feature\": \"basicCapabilities\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"virtualMemSize\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"131072\\\", \\\"unit\\\":\\\"MB\\\" }\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numVirtualCpu\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"32\\\"}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"group-assignments\": {\r\n \"group-assignment\": {\r\n \"group-id\": \"example-group-id-val-67572\",\r\n \"group-type\": \"example-group-type-val-91331\",\r\n \"group-name\": \"example-group-name-val-95940\",\r\n \"group-description\": \"example-group-description-val-89653\"\r\n }\r\n },\r\n \"snapshots\": {\r\n \"snapshot\": {\r\n \"snapshot-id\": \"example-snapshot-id-val-31758\",\r\n \"snapshot-name\": \"example-snapshot-name-val-32860\",\r\n \"snapshot-architecture\": \"example-snapshot-architecture-val-2456\",\r\n \"snapshot-os-distro\": \"example-snapshot-os-distro-val-75068\",\r\n \"snapshot-os-version\": \"example-snapshot-os-version-val-8641\",\r\n \"application\": \"example-application-val-6391\",\r\n \"application-vendor\": \"example-application-vendor-val-52418\",\r\n \"application-version\": \"example-application-version-val-92869\",\r\n \"snapshot-selflink\": \"example-snapshot-selflink-val-69763\",\r\n \"prev-snapshot-id\": \"example-prev-snapshot-id-val-19500\"\r\n }\r\n },\r\n \"images\": {\r\n \"image\": {\r\n \"image-id\": \"example-image-id-val-91484\",\r\n \"image-name\": \"example-image-name-val-86952\",\r\n \"image-architecture\": \"example-image-architecture-val-21769\",\r\n \"image-os-distro\": \"example-image-os-distro-val-15267\",\r\n \"image-os-version\": \"example-image-os-version-val-90601\",\r\n \"application\": \"example-application-val-41444\",\r\n \"application-vendor\": \"example-application-vendor-val-50626\",\r\n \"application-version\": \"example-application-version-val-11318\",\r\n \"image-selflink\": \"example-image-selflink-val-18790\",\r\n \"metadata\": {\r\n \"metadatum\": {\r\n \"metaname\": \"example-metaname-val-39609\",\r\n \"metaval\": \"example-metaval-val-62296\"\r\n }\r\n }\r\n }\r\n },\r\n \"dvs-switches\": {\r\n \"dvs-switch\": {\r\n \"switch-name\": \"example-switch-name-val-23942\",\r\n \"vcenter-url\": \"example-vcenter-url-val-7815\"\r\n }\r\n },\r\n \"oam-networks\": {\r\n \"oam-network\": {\r\n \"network-uuid\": \"example-network-uuid-val-1061\",\r\n \"network-name\": \"example-network-name-val-96413\",\r\n \"cvlan-tag\": \"20601039\",\r\n \"ipv4-oam-gateway-address\": \"example-ipv4-oam-gateway-address-val-92545\",\r\n \"ipv4-oam-gateway-address-prefix-length\": \"9067\"\r\n }\r\n },\r\n \"availability-zones\": {\r\n \"availability-zone\": {\r\n \"availability-zone-name\": \"example-availability-zone-name-val-37096\",\r\n \"hypervisor-type\": \"example-hypervisor-type-val-91298\",\r\n \"operational-status\": \"example-operational-status-val-4894\"\r\n }\r\n },\r\n \"vip-ipv4-address-list\": {\r\n \"vip-ipv4-address\": \"example-vip-ipv4-address-val-9775\",\r\n \"vip-ipv4-prefix-length\": \"21779008\",\r\n \"vlan-id-inner\": \"183626\",\r\n \"vlan-id-outer\": \"7595139\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-61916\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-94467\"\r\n },\r\n \"vip-ipv6-address-list\": {\r\n \"vip-ipv6-address\": \"example-vip-ipv6-address-val-71778\",\r\n \"vip-ipv6-prefix-length\": \"54690289\",\r\n \"vlan-id-inner\": \"37212492\",\r\n \"vlan-id-outer\": \"58857577\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-2251\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-64440\"\r\n },\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": {\r\n \"hpa-capability-id\": \"example-hpa-capability-id-val-22082\",\r\n \"hpa-feature\": \"cloud-specific-hpa\",\r\n \"hpa-version\": \"example-hpa-version-val-64467\",\r\n \"architecture\": \"example-architecture-val-82451\",\r\n \"hpa-feature-attributes\": {\r\n \"hpa-attribute-key\": \"example-hpa-attribute-key-val-28058\",\r\n \"hpa-attribute-value\": \"example-hpa-attribute-value-val-74993\"\r\n }\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-1", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-1" + ] + } + }, + "response": [] + }, + { + "name": "PUT Cloud-Region 2", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "8291bdde-7685-4ddd-956e-7c62fa1bdeee", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "request": { + "method": "PUT", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"cloud-owner\": \"HPA-cloud\",\r\n \"cloud-region-id\": \"cloud-region-2\",\r\n \"cloud-type\": \"openstack-pike\",\r\n \"owner-defined-type\": \"example-owner-defined-type-val-848\",\r\n \"cloud-region-version\": \"example-cloud-region-version-val-75919\",\r\n \"identity-url\": \"example-identity-url-val-14861\",\r\n \"cloud-zone\": \"example-cloud-zone-val-4978\",\r\n \"complex-name\": \"example-complex-name-val-62100\",\r\n \"sriov-automation\": \"true\",\r\n \"cloud-extra-info\": \"example-cloud-extra-info-val-49466\",\r\n \"cloud-epa-caps\": \"example-cloud-epa-caps-val-99504\",\r\n \"volume-groups\": {\r\n \"volume-group\": {\r\n \"volume-group-id\": \"example-volume-group-id-val-66706\",\r\n \"volume-group-name\": \"example-volume-group-name-val-77554\",\r\n \"heat-stack-id\": \"example-heat-stack-id-val-70180\",\r\n \"vnf-type\": \"example-vnf-type-val-87572\",\r\n \"orchestration-status\": \"example-orchestration-status-val-34971\",\r\n \"model-customization-id\": \"example-model-customization-id-val-83513\",\r\n \"vf-module-model-customization-id\": \"example-vf-module-model-customization-id-val-6507\"\r\n }\r\n },\r\n \"tenants\": {\r\n \"tenant\": {\r\n \"tenant-id\": \"tenant-id-2\",\r\n \"tenant-name\": \"tenant-name-2\",\r\n \"tenant-context\": \"example-tenant-context-val-28442\",\r\n \"vservers\": {\r\n \"vserver\": {\r\n \"vserver-id\": \"vserver-21\",\r\n \"vserver-name\": \"vserver-name-2\",\r\n \"vserver-name2\": \"example-vserver-name2-val-75154\",\r\n \"prov-status\": \"example-prov-status-val-62624\",\r\n \"vserver-selflink\": \"example-vserver-selflink-val-3687\",\r\n \"in-maint\": \"true\",\r\n \"is-closed-loop-disabled\": \"true\",\r\n \"volumes\": {\r\n \"volume\": {\r\n \"volume-id\": \"example-volume-id-val-11970\",\r\n \"volume-selflink\": \"example-volume-selflink-val-76166\"\r\n }\r\n },\r\n \"l-interfaces\": {\r\n \"l-interface\": {\r\n \"interface-name\": \"example-interface-name-val-33353\",\r\n \"interface-role\": \"example-interface-role-val-20528\",\r\n \"v6-wan-link-ip\": \"example-v6-wan-link-ip-val-39242\",\r\n \"selflink\": \"example-selflink-val-69696\",\r\n \"interface-id\": \"example-interface-id-val-96452\",\r\n \"macaddr\": \"example-macaddr-val-92350\",\r\n \"network-name\": \"example-network-name-val-76057\",\r\n \"management-option\": \"example-management-option-val-24749\",\r\n \"interface-description\": \"example-interface-description-val-61248\",\r\n \"is-port-mirrored\": \"true\",\r\n \"in-maint\": \"true\",\r\n \"prov-status\": \"example-prov-status-val-66068\",\r\n \"is-ip-unnumbered\": \"true\",\r\n \"allowed-address-pairs\": \"example-allowed-address-pairs-val-97717\",\r\n \"vlans\": {\r\n \"vlan\": {\r\n \"vlan-interface\": \"example-vlan-interface-val-69702\",\r\n \"vlan-id-inner\": \"67994473\",\r\n \"vlan-id-outer\": \"93729787\",\r\n \"speed-value\": \"example-speed-value-val-13924\",\r\n \"speed-units\": \"example-speed-units-val-36978\",\r\n \"vlan-description\": \"example-vlan-description-val-33791\",\r\n \"backdoor-connection\": \"example-backdoor-connection-val-17790\",\r\n \"vpn-key\": \"example-vpn-key-val-9875\",\r\n \"orchestration-status\": \"example-orchestration-status-val-56763\",\r\n \"in-maint\": \"true\",\r\n \"prov-status\": \"example-prov-status-val-70388\",\r\n \"is-ip-unnumbered\": \"true\",\r\n \"l3-interface-ipv4-address-list\": {\r\n \"l3-interface-ipv4-address\": \"example-l3-interface-ipv4-address-val-11760\",\r\n \"l3-interface-ipv4-prefix-length\": \"56201707\",\r\n \"vlan-id-inner\": \"73451064\",\r\n \"vlan-id-outer\": \"91938369\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-98070\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-27472\"\r\n },\r\n \"l3-interface-ipv6-address-list\": {\r\n \"l3-interface-ipv6-address\": \"example-l3-interface-ipv6-address-val-39990\",\r\n \"l3-interface-ipv6-prefix-length\": \"23094280\",\r\n \"vlan-id-inner\": \"45385157\",\r\n \"vlan-id-outer\": \"7251303\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-91087\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-43501\"\r\n }\r\n }\r\n },\r\n \"sriov-vfs\": {\r\n \"sriov-vf\": {\r\n \"pci-id\": \"example-pci-id-val-91063\",\r\n \"vf-vlan-filter\": \"example-vf-vlan-filter-val-77261\",\r\n \"vf-mac-filter\": \"example-vf-mac-filter-val-52679\",\r\n \"vf-vlan-strip\": \"true\",\r\n \"vf-vlan-anti-spoof-check\": \"true\",\r\n \"vf-mac-anti-spoof-check\": \"true\",\r\n \"vf-mirrors\": \"example-vf-mirrors-val-39917\",\r\n \"vf-broadcast-allow\": \"true\",\r\n \"vf-unknown-multicast-allow\": \"true\",\r\n \"vf-unknown-unicast-allow\": \"true\",\r\n \"vf-insert-stag\": \"true\",\r\n \"vf-link-status\": \"example-vf-link-status-val-7159\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-6599\"\r\n }\r\n },\r\n \"l-interfaces\": {\r\n \"l-interface\": {\r\n \"interface-name\": \"example-interface-name-val-31463\",\r\n \"interface-role\": \"example-interface-role-val-59891\",\r\n \"v6-wan-link-ip\": \"example-v6-wan-link-ip-val-37795\",\r\n \"selflink\": \"example-selflink-val-8079\",\r\n \"interface-id\": \"example-interface-id-val-7732\",\r\n \"macaddr\": \"example-macaddr-val-4153\",\r\n \"network-name\": \"example-network-name-val-95567\",\r\n \"management-option\": \"example-management-option-val-37882\",\r\n \"interface-description\": \"example-interface-description-val-49246\",\r\n \"is-port-mirrored\": \"true\",\r\n \"in-maint\": \"true\",\r\n \"prov-status\": \"example-prov-status-val-679\",\r\n \"is-ip-unnumbered\": \"true\",\r\n \"allowed-address-pairs\": \"example-allowed-address-pairs-val-51719\"\r\n }\r\n },\r\n \"l3-interface-ipv4-address-list\": {\r\n \"l3-interface-ipv4-address\": \"example-l3-interface-ipv4-address-val-25727\",\r\n \"l3-interface-ipv4-prefix-length\": \"72086436\",\r\n \"vlan-id-inner\": \"49585016\",\r\n \"vlan-id-outer\": \"31295411\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-60599\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-63673\"\r\n },\r\n \"l3-interface-ipv6-address-list\": {\r\n \"l3-interface-ipv6-address\": \"example-l3-interface-ipv6-address-val-23230\",\r\n \"l3-interface-ipv6-prefix-length\": \"52397550\",\r\n \"vlan-id-inner\": \"90366390\",\r\n \"vlan-id-outer\": \"74424116\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-8866\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-39258\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"flavors\": {\r\n \"flavor\": [\r\n {\r\n \"flavor-id\": \"acf8220b-4d96-4c30-a426-2e9382f3fff2\",\r\n \"flavor-name\": \"flavor-cpu-topology-instruction-set\",\r\n \"flavor-vcpus\": 32,\r\n \"flavor-ram\": 65536,\r\n \"flavor-disk\": 1048576,\r\n \"flavor-ephemeral\": 128,\r\n \"flavor-swap\": \"0\",\r\n \"flavor-is-public\": false,\r\n \"flavor-selflink\": \"pXtX\",\r\n \"flavor-disabled\": false,\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": [\r\n {\r\n \"hpa-capability-id\": \"23ec6d4d-7fee-48d8-9e4a-c598feb101ed\",\r\n \"hpa-feature\": \"basicCapabilities\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numVirtualCpu\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"32\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"virtualMemSize\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"65536\\\", \\\"unit\\\":\\\"MB\\\" }\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\",\r\n \"hpa-feature\": \"instructionSetExtensions\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"Intel64\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"instructionSetExtensions\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\": [\\\"aes\\\", \\\"sse\\\", \\\"avx\\\", \\\"smt\\\"]}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"9fa22e64-41b4-471f-96ad-6c4708635e4c\",\r\n \"hpa-feature\": \"cpuTopology\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numCpuCores\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"16\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numCpuSockets\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"2\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numCpuThreads\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"8\\\"}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"flavor-id\": \"e5aa2b2e-3206-41b6-80d5-cf041b098c43\",\r\n \"flavor-name\": \"flavor-cpu-pinning-ovsdpdk-instruction-set\",\r\n \"flavor-vcpus\": 32,\r\n \"flavor-ram\": 131072,\r\n \"flavor-disk\": 2097152,\r\n \"flavor-ephemeral\": 128,\r\n \"flavor-swap\": \"0\",\r\n \"flavor-is-public\": false,\r\n \"flavor-selflink\": \"pXtX\",\r\n \"flavor-disabled\": false,\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": [\r\n {\r\n \"hpa-capability-id\": \"9d36a8fe-bfee-446a-bbcb-881ee66c8f78\",\r\n \"hpa-feature\": \"ovsDpdk\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"dataProcessingAccelerationLibrary\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"v17.02\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"d140c945-1532-4908-86c9-d7f71416f1dd\",\r\n \"hpa-feature\": \"cpuPinning\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"dedicated\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuThreadPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"prefer\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\",\r\n \"hpa-feature\": \"instructionSetExtensions\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"Intel64\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"instructionSetExtensions\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\": [\\\"avx\\\", \\\"smt\\\"]}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"5565615b-1077-4bb5-a340-c5be48db2aaa\",\r\n \"hpa-feature\": \"basicCapabilities\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"virtualMemSize\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"131072\\\", \\\"unit\\\":\\\"MB\\\" }\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numVirtualCpu\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"32\\\"}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"group-assignments\": {\r\n \"group-assignment\": {\r\n \"group-id\": \"example-group-id-val-67573\",\r\n \"group-type\": \"example-group-type-val-91331\",\r\n \"group-name\": \"example-group-name-val-95940\",\r\n \"group-description\": \"example-group-description-val-89653\"\r\n }\r\n },\r\n \"snapshots\": {\r\n \"snapshot\": {\r\n \"snapshot-id\": \"example-snapshot-id-val-31759\",\r\n \"snapshot-name\": \"example-snapshot-name-val-32860\",\r\n \"snapshot-architecture\": \"example-snapshot-architecture-val-2456\",\r\n \"snapshot-os-distro\": \"example-snapshot-os-distro-val-75068\",\r\n \"snapshot-os-version\": \"example-snapshot-os-version-val-8641\",\r\n \"application\": \"example-application-val-6391\",\r\n \"application-vendor\": \"example-application-vendor-val-52418\",\r\n \"application-version\": \"example-application-version-val-92869\",\r\n \"snapshot-selflink\": \"example-snapshot-selflink-val-69763\",\r\n \"prev-snapshot-id\": \"example-prev-snapshot-id-val-19500\"\r\n }\r\n },\r\n \"images\": {\r\n \"image\": {\r\n \"image-id\": \"example-image-id-val-91485\",\r\n \"image-name\": \"example-image-name-val-86952\",\r\n \"image-architecture\": \"example-image-architecture-val-21769\",\r\n \"image-os-distro\": \"example-image-os-distro-val-15267\",\r\n \"image-os-version\": \"example-image-os-version-val-90601\",\r\n \"application\": \"example-application-val-41444\",\r\n \"application-vendor\": \"example-application-vendor-val-50626\",\r\n \"application-version\": \"example-application-version-val-11318\",\r\n \"image-selflink\": \"example-image-selflink-val-18790\",\r\n \"metadata\": {\r\n \"metadatum\": {\r\n \"metaname\": \"example-metaname-val-39609\",\r\n \"metaval\": \"example-metaval-val-62296\"\r\n }\r\n }\r\n }\r\n },\r\n \"dvs-switches\": {\r\n \"dvs-switch\": {\r\n \"switch-name\": \"example-switch-name-val-23942\",\r\n \"vcenter-url\": \"example-vcenter-url-val-7815\"\r\n }\r\n },\r\n \"oam-networks\": {\r\n \"oam-network\": {\r\n \"network-uuid\": \"example-network-uuid-val-1062\",\r\n \"network-name\": \"example-network-name-val-96413\",\r\n \"cvlan-tag\": \"20601039\",\r\n \"ipv4-oam-gateway-address\": \"example-ipv4-oam-gateway-address-val-92545\",\r\n \"ipv4-oam-gateway-address-prefix-length\": \"9067\"\r\n }\r\n },\r\n \"availability-zones\": {\r\n \"availability-zone\": {\r\n \"availability-zone-name\": \"example-availability-zone-name-val-37097\",\r\n \"hypervisor-type\": \"example-hypervisor-type-val-91298\",\r\n \"operational-status\": \"example-operational-status-val-4894\"\r\n }\r\n },\r\n \"vip-ipv4-address-list\": {\r\n \"vip-ipv4-address\": \"example-vip-ipv4-address-val-9775\",\r\n \"vip-ipv4-prefix-length\": \"21779008\",\r\n \"vlan-id-inner\": \"183626\",\r\n \"vlan-id-outer\": \"7595139\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-61916\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-94467\"\r\n },\r\n \"vip-ipv6-address-list\": {\r\n \"vip-ipv6-address\": \"example-vip-ipv6-address-val-71778\",\r\n \"vip-ipv6-prefix-length\": \"54690289\",\r\n \"vlan-id-inner\": \"37212492\",\r\n \"vlan-id-outer\": \"58857577\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-2251\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-64440\"\r\n },\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": {\r\n \"hpa-capability-id\": \"example-hpa-capability-id-val-22083\",\r\n \"hpa-feature\": \"cloud-specific-hpa\",\r\n \"hpa-version\": \"example-hpa-version-val-64467\",\r\n \"architecture\": \"example-architecture-val-82451\",\r\n \"hpa-feature-attributes\": {\r\n \"hpa-attribute-key\": \"example-hpa-attribute-key-val-28058\",\r\n \"hpa-attribute-value\": \"example-hpa-attribute-value-val-74993\"\r\n }\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-2", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-2" + ] + } + }, + "response": [] + }, + { + "name": "PUT Cloud-Region 5", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "8291bdde-7685-4ddd-956e-7c62fa1bdeee", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "request": { + "method": "PUT", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"cloud-owner\": \"HPA-cloud\",\r\n \"cloud-region-id\": \"cloud-region-5\",\r\n \"cloud-type\": \"openstack-pike\",\r\n \"owner-defined-type\": \"example-owner-defined-type-val-848\",\r\n \"cloud-region-version\": \"example-cloud-region-version-val-75919\",\r\n \"identity-url\": \"example-identity-url-val-14861\",\r\n \"cloud-zone\": \"example-cloud-zone-val-4978\",\r\n \"complex-name\": \"example-complex-name-val-62100\",\r\n \"sriov-automation\": \"true\",\r\n \"cloud-extra-info\": \"example-cloud-extra-info-val-49466\",\r\n \"cloud-epa-caps\": \"example-cloud-epa-caps-val-99504\",\r\n \"volume-groups\": {\r\n \"volume-group\": {\r\n \"volume-group-id\": \"example-volume-group-id-val-66706\",\r\n \"volume-group-name\": \"example-volume-group-name-val-77554\",\r\n \"heat-stack-id\": \"example-heat-stack-id-val-70180\",\r\n \"vnf-type\": \"example-vnf-type-val-87572\",\r\n \"orchestration-status\": \"example-orchestration-status-val-34971\",\r\n \"model-customization-id\": \"example-model-customization-id-val-83513\",\r\n \"vf-module-model-customization-id\": \"example-vf-module-model-customization-id-val-6507\"\r\n }\r\n },\r\n \"tenants\": {\r\n \"tenant\": {\r\n \"tenant-id\": \"tenant-id-5\",\r\n \"tenant-name\": \"tenant-name-5\",\r\n \"tenant-context\": \"example-tenant-context-val-28442\",\r\n \"vservers\": {\r\n \"vserver\": {\r\n \"vserver-id\": \"vserver-5\",\r\n \"vserver-name\": \"vserver-name-5\",\r\n \"vserver-name2\": \"example-vserver-name2-val-75154\",\r\n \"prov-status\": \"example-prov-status-val-62624\",\r\n \"vserver-selflink\": \"example-vserver-selflink-val-3687\",\r\n \"in-maint\": \"true\",\r\n \"is-closed-loop-disabled\": \"true\",\r\n \"volumes\": {\r\n \"volume\": {\r\n \"volume-id\": \"example-volume-id-val-11970\",\r\n \"volume-selflink\": \"example-volume-selflink-val-76166\"\r\n }\r\n },\r\n \"l-interfaces\": {\r\n \"l-interface\": {\r\n \"interface-name\": \"example-interface-name-val-33353\",\r\n \"interface-role\": \"example-interface-role-val-20528\",\r\n \"v6-wan-link-ip\": \"example-v6-wan-link-ip-val-39242\",\r\n \"selflink\": \"example-selflink-val-69696\",\r\n \"interface-id\": \"example-interface-id-val-96455\",\r\n \"macaddr\": \"example-macaddr-val-92350\",\r\n \"network-name\": \"example-network-name-val-76057\",\r\n \"management-option\": \"example-management-option-val-24749\",\r\n \"interface-description\": \"example-interface-description-val-61248\",\r\n \"is-port-mirrored\": \"true\",\r\n \"in-maint\": \"true\",\r\n \"prov-status\": \"example-prov-status-val-66068\",\r\n \"is-ip-unnumbered\": \"true\",\r\n \"allowed-address-pairs\": \"example-allowed-address-pairs-val-97717\",\r\n \"vlans\": {\r\n \"vlan\": {\r\n \"vlan-interface\": \"example-vlan-interface-val-69702\",\r\n \"vlan-id-inner\": \"67994473\",\r\n \"vlan-id-outer\": \"93729787\",\r\n \"speed-value\": \"example-speed-value-val-13924\",\r\n \"speed-units\": \"example-speed-units-val-36978\",\r\n \"vlan-description\": \"example-vlan-description-val-33791\",\r\n \"backdoor-connection\": \"example-backdoor-connection-val-17790\",\r\n \"vpn-key\": \"example-vpn-key-val-9875\",\r\n \"orchestration-status\": \"example-orchestration-status-val-56763\",\r\n \"in-maint\": \"true\",\r\n \"prov-status\": \"example-prov-status-val-70388\",\r\n \"is-ip-unnumbered\": \"true\",\r\n \"l3-interface-ipv4-address-list\": {\r\n \"l3-interface-ipv4-address\": \"example-l3-interface-ipv4-address-val-11760\",\r\n \"l3-interface-ipv4-prefix-length\": \"56201707\",\r\n \"vlan-id-inner\": \"73451064\",\r\n \"vlan-id-outer\": \"91938369\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-98070\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-27472\"\r\n },\r\n \"l3-interface-ipv6-address-list\": {\r\n \"l3-interface-ipv6-address\": \"example-l3-interface-ipv6-address-val-39990\",\r\n \"l3-interface-ipv6-prefix-length\": \"23094280\",\r\n \"vlan-id-inner\": \"45385157\",\r\n \"vlan-id-outer\": \"7251303\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-91087\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-43501\"\r\n }\r\n }\r\n },\r\n \"sriov-vfs\": {\r\n \"sriov-vf\": {\r\n \"pci-id\": \"example-pci-id-val-91066\",\r\n \"vf-vlan-filter\": \"example-vf-vlan-filter-val-77261\",\r\n \"vf-mac-filter\": \"example-vf-mac-filter-val-52679\",\r\n \"vf-vlan-strip\": \"true\",\r\n \"vf-vlan-anti-spoof-check\": \"true\",\r\n \"vf-mac-anti-spoof-check\": \"true\",\r\n \"vf-mirrors\": \"example-vf-mirrors-val-39917\",\r\n \"vf-broadcast-allow\": \"true\",\r\n \"vf-unknown-multicast-allow\": \"true\",\r\n \"vf-unknown-unicast-allow\": \"true\",\r\n \"vf-insert-stag\": \"true\",\r\n \"vf-link-status\": \"example-vf-link-status-val-7159\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-6599\"\r\n }\r\n },\r\n \"l-interfaces\": {\r\n \"l-interface\": {\r\n \"interface-name\": \"example-interface-name-val-31463\",\r\n \"interface-role\": \"example-interface-role-val-59891\",\r\n \"v6-wan-link-ip\": \"example-v6-wan-link-ip-val-37795\",\r\n \"selflink\": \"example-selflink-val-8079\",\r\n \"interface-id\": \"example-interface-id-val-7735\",\r\n \"macaddr\": \"example-macaddr-val-4153\",\r\n \"network-name\": \"example-network-name-val-95567\",\r\n \"management-option\": \"example-management-option-val-37882\",\r\n \"interface-description\": \"example-interface-description-val-49246\",\r\n \"is-port-mirrored\": \"true\",\r\n \"in-maint\": \"true\",\r\n \"prov-status\": \"example-prov-status-val-679\",\r\n \"is-ip-unnumbered\": \"true\",\r\n \"allowed-address-pairs\": \"example-allowed-address-pairs-val-51719\"\r\n }\r\n },\r\n \"l3-interface-ipv4-address-list\": {\r\n \"l3-interface-ipv4-address\": \"example-l3-interface-ipv4-address-val-25727\",\r\n \"l3-interface-ipv4-prefix-length\": \"72086436\",\r\n \"vlan-id-inner\": \"49585016\",\r\n \"vlan-id-outer\": \"31295411\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-60599\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-63673\"\r\n },\r\n \"l3-interface-ipv6-address-list\": {\r\n \"l3-interface-ipv6-address\": \"example-l3-interface-ipv6-address-val-23230\",\r\n \"l3-interface-ipv6-prefix-length\": \"52397550\",\r\n \"vlan-id-inner\": \"90366390\",\r\n \"vlan-id-outer\": \"74424116\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-8866\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-39258\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"flavors\": {\r\n \"flavor\": [\r\n {\r\n \"flavor-id\": \"9cf8220b-4d96-4c30-a426-2e9382f3ffe2\",\r\n \"flavor-name\": \"flavor-cpu-pinning-cpu-topology-instruction-set\",\r\n \"flavor-vcpus\": 64,\r\n \"flavor-ram\": 65536,\r\n \"flavor-disk\": 1048576,\r\n \"flavor-ephemeral\": 128,\r\n \"flavor-swap\": \"0\",\r\n \"flavor-is-public\": false,\r\n \"flavor-selflink\": \"pXtX\",\r\n \"flavor-disabled\": false,\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": [\r\n {\r\n \"hpa-capability-id\": \"13ec6d4d-7fee-48d8-9e4a-c598feb101ed\",\r\n \"hpa-feature\": \"basicCapabilities\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numVirtualCpu\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"64\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"virtualMemSize\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"65536\\\", \\\"unit\\\":\\\"MB\\\" }\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\",\r\n \"hpa-feature\": \"instructionSetExtensions\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"Intel64\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"instructionSetExtensions\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\": [\\\"aes\\\", \\\"sse\\\", \\\"avx\\\", \\\"smt\\\"]}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"c140c945-1532-4908-86c9-d7f71416f1dd\",\r\n \"hpa-feature\": \"cpuPinning\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"dedicated\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuThreadPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"prefer\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"9fa22e64-41b4-471f-96ad-6c4708635e4c\",\r\n \"hpa-feature\": \"cpuTopology\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numCpuCores\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"16\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numCpuSockets\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"2\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numCpuThreads\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"8\\\"}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"flavor-id\": \"9cf8220b-4d96-4c30-a426-2e9382f3eef2\",\r\n \"flavor-name\": \"flavor-cpu-pinning-numa-cpu-topology-instruction-set\",\r\n \"flavor-vcpus\": 64,\r\n \"flavor-ram\": 65536,\r\n \"flavor-disk\": 1048576,\r\n \"flavor-ephemeral\": 128,\r\n \"flavor-swap\": \"0\",\r\n \"flavor-is-public\": false,\r\n \"flavor-selflink\": \"pXtX\",\r\n \"flavor-disabled\": false,\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": [\r\n {\r\n \"hpa-capability-id\": \"13ec6d4d-7fee-48d8-9e4a-c598feb101ed\",\r\n \"hpa-feature\": \"basicCapabilities\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numVirtualCpu\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"64\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"virtualMemSize\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"65536\\\", \\\"unit\\\":\\\"MB\\\" }\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\",\r\n \"hpa-feature\": \"instructionSetExtensions\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"Intel64\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"instructionSetExtensions\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\": [\\\"aes\\\", \\\"sse\\\", \\\"avx\\\", \\\"smt\\\"]}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66\",\r\n \"hpa-feature\": \"numa\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numaCpu-0\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"2\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numaMem-0\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"2\\\", \\\"unit\\\":\\\"GB\\\" }\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numaCpu-1\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"4\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numaMem-1\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"4\\\", \\\"unit\\\":\\\"GB\\\" }\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numaNodes\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"2\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"c140c945-1532-4908-86c9-d7f71416f1dd\",\r\n \"hpa-feature\": \"cpuPinning\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"dedicated\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuThreadPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"prefer\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"8fa22e64-41b4-471f-96ad-6c4708635e4c\",\r\n \"hpa-feature\": \"cpuTopology\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numCpuCores\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"8\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numCpuSockets\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"6\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numCpuThreads\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"8\\\"}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"flavor-id\": \"f5aa2b2e-3206-41b6-80d5-cf041b198c43\",\r\n \"flavor-name\": \"flavor-cpu-pinning-ovsdpdk-instruction-set\",\r\n \"flavor-vcpus\": 32,\r\n \"flavor-ram\": 131072,\r\n \"flavor-disk\": 2097152,\r\n \"flavor-ephemeral\": 128,\r\n \"flavor-swap\": \"0\",\r\n \"flavor-is-public\": false,\r\n \"flavor-selflink\": \"pXtX\",\r\n \"flavor-disabled\": false,\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": [\r\n {\r\n \"hpa-capability-id\": \"8d36a8fe-bfee-446a-bbcb-881ee66c8f78\",\r\n \"hpa-feature\": \"ovsDpdk\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"dataProcessingAccelerationLibrary\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"v18.02\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"c140c945-1532-4908-86c9-d7f71416f1dd\",\r\n \"hpa-feature\": \"cpuPinning\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"dedicated\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuThreadPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"prefer\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\",\r\n \"hpa-feature\": \"instructionSetExtensions\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"Intel64\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"instructionSetExtensions\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\": [\\\"avx\\\", \\\"smt\\\"]}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"4565615b-1077-4bb5-a340-c5be48db2aaa\",\r\n \"hpa-feature\": \"basicCapabilities\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"virtualMemSize\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"131072\\\", \\\"unit\\\":\\\"MB\\\" }\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numVirtualCpu\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"32\\\"}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"flavor-id\": \"f5aa2b2e-3206-41b6-80d5-cf041b098c44\",\r\n \"flavor-name\": \"flavor-cpu-pinning-ovsdpdk-cpu-topology-instruction-set\",\r\n \"flavor-vcpus\": 32,\r\n \"flavor-ram\": 131072,\r\n \"flavor-disk\": 2097152,\r\n \"flavor-ephemeral\": 128,\r\n \"flavor-swap\": \"0\",\r\n \"flavor-is-public\": false,\r\n \"flavor-selflink\": \"pXtX\",\r\n \"flavor-disabled\": false,\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": [\r\n {\r\n \"hpa-capability-id\": \"8d36a8fe-bfee-446a-bbcb-881ee66c8f78\",\r\n \"hpa-feature\": \"ovsDpdk\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"dataProcessingAccelerationLibrary\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"v18.02\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"8fa22e64-41b4-471f-96ad-6c4708635e4c\",\r\n \"hpa-feature\": \"cpuTopology\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"numCpuCores\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"8\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numCpuSockets\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"6\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numCpuThreads\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"8\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"c140c945-1532-4908-86c9-d7f71416f1dd\",\r\n \"hpa-feature\": \"cpuPinning\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"dedicated\\\"}\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"logicalCpuThreadPinningPolicy\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"prefer\\\"}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"4d04f4d8-e257-4442-8417-19a525e56096\",\r\n \"hpa-feature\": \"instructionSetExtensions\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"instructionSetExtensions\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":[\\\"aes\\\", \\\"avx\\\"]}\"\r\n }\r\n ]\r\n },\r\n {\r\n \"hpa-capability-id\": \"4565615b-1077-4bb5-a340-c5be48db2aaa\",\r\n \"hpa-feature\": \"basicCapabilities\",\r\n \"hpa-version\": \"v1\",\r\n \"architecture\": \"generic\",\r\n \"hpa-feature-attributes\": [\r\n {\r\n \"hpa-attribute-key\": \"virtualMemSize\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"131072\\\", \\\"unit\\\":\\\"MB\\\" }\"\r\n },\r\n {\r\n \"hpa-attribute-key\": \"numVirtualCpu\",\r\n \"hpa-attribute-value\": \"{\\\"value\\\":\\\"32\\\"}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"group-assignments\": {\r\n \"group-assignment\": {\r\n \"group-id\": \"example-group-id-val-67576\",\r\n \"group-type\": \"example-group-type-val-91331\",\r\n \"group-name\": \"example-group-name-val-95940\",\r\n \"group-description\": \"example-group-description-val-89653\"\r\n }\r\n },\r\n \"snapshots\": {\r\n \"snapshot\": {\r\n \"snapshot-id\": \"example-snapshot-id-val-31762\",\r\n \"snapshot-name\": \"example-snapshot-name-val-32860\",\r\n \"snapshot-architecture\": \"example-snapshot-architecture-val-2456\",\r\n \"snapshot-os-distro\": \"example-snapshot-os-distro-val-75068\",\r\n \"snapshot-os-version\": \"example-snapshot-os-version-val-8641\",\r\n \"application\": \"example-application-val-6391\",\r\n \"application-vendor\": \"example-application-vendor-val-52418\",\r\n \"application-version\": \"example-application-version-val-92869\",\r\n \"snapshot-selflink\": \"example-snapshot-selflink-val-69763\",\r\n \"prev-snapshot-id\": \"example-prev-snapshot-id-val-19500\"\r\n }\r\n },\r\n \"images\": {\r\n \"image\": {\r\n \"image-id\": \"example-image-id-val-91488\",\r\n \"image-name\": \"example-image-name-val-86952\",\r\n \"image-architecture\": \"example-image-architecture-val-21769\",\r\n \"image-os-distro\": \"example-image-os-distro-val-15267\",\r\n \"image-os-version\": \"example-image-os-version-val-90601\",\r\n \"application\": \"example-application-val-41444\",\r\n \"application-vendor\": \"example-application-vendor-val-50626\",\r\n \"application-version\": \"example-application-version-val-11318\",\r\n \"image-selflink\": \"example-image-selflink-val-18790\",\r\n \"metadata\": {\r\n \"metadatum\": {\r\n \"metaname\": \"example-metaname-val-39609\",\r\n \"metaval\": \"example-metaval-val-62296\"\r\n }\r\n }\r\n }\r\n },\r\n \"dvs-switches\": {\r\n \"dvs-switch\": {\r\n \"switch-name\": \"example-switch-name-val-23942\",\r\n \"vcenter-url\": \"example-vcenter-url-val-7815\"\r\n }\r\n },\r\n \"oam-networks\": {\r\n \"oam-network\": {\r\n \"network-uuid\": \"example-network-uuid-val-1065\",\r\n \"network-name\": \"example-network-name-val-96413\",\r\n \"cvlan-tag\": \"20601039\",\r\n \"ipv4-oam-gateway-address\": \"example-ipv4-oam-gateway-address-val-92545\",\r\n \"ipv4-oam-gateway-address-prefix-length\": \"9067\"\r\n }\r\n },\r\n \"availability-zones\": {\r\n \"availability-zone\": {\r\n \"availability-zone-name\": \"example-availability-zone-name-val-37100\",\r\n \"hypervisor-type\": \"example-hypervisor-type-val-91298\",\r\n \"operational-status\": \"example-operational-status-val-4894\"\r\n }\r\n },\r\n \"vip-ipv4-address-list\": {\r\n \"vip-ipv4-address\": \"example-vip-ipv4-address-val-9775\",\r\n \"vip-ipv4-prefix-length\": \"21779008\",\r\n \"vlan-id-inner\": \"183626\",\r\n \"vlan-id-outer\": \"7595139\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-61916\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-94467\"\r\n },\r\n \"vip-ipv6-address-list\": {\r\n \"vip-ipv6-address\": \"example-vip-ipv6-address-val-71778\",\r\n \"vip-ipv6-prefix-length\": \"54690289\",\r\n \"vlan-id-inner\": \"37212492\",\r\n \"vlan-id-outer\": \"58857577\",\r\n \"is-floating\": \"true\",\r\n \"neutron-network-id\": \"example-neutron-network-id-val-2251\",\r\n \"neutron-subnet-id\": \"example-neutron-subnet-id-val-64440\"\r\n },\r\n \"hpa-capabilities\": {\r\n \"hpa-capability\": {\r\n \"hpa-capability-id\": \"example-hpa-capability-id-val-22086\",\r\n \"hpa-feature\": \"cloud-specific-hpa\",\r\n \"hpa-version\": \"example-hpa-version-val-64467\",\r\n \"architecture\": \"example-architecture-val-82451\",\r\n \"hpa-feature-attributes\": {\r\n \"hpa-attribute-key\": \"example-hpa-attribute-key-val-28058\",\r\n \"hpa-attribute-value\": \"example-hpa-attribute-value-val-74993\"\r\n }\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-5", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-5" + ] + } + }, + "response": [] + }, + { + "name": "PUT complex1-cloud-region-1 relationship", + "request": { + "method": "PUT", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"related-to\": \"complex\",\r\n \"related-link\": \"/aai/v13/cloud-infrastructure/complexes/complex/DLLSTX233\",\r\n \"relationship-data\": [\r\n {\r\n \"relationship-key\": \"complex.physical-location-id\",\r\n \"relationship-value\": \"DLLSTX233\"\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-1/relationship-list/relationship", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-1", + "relationship-list", + "relationship" + ] + } + }, + "response": [] + }, + { + "name": "PUT complex2-cloud-region-2 relationship", + "request": { + "method": "PUT", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"related-to\": \"complex\",\r\n \"related-link\": \"/aai/v13/cloud-infrastructure/complexes/complex/DLLSTX233\",\r\n \"relationship-data\": [\r\n {\r\n \"relationship-key\": \"complex.physical-location-id\",\r\n \"relationship-value\": \"DLLSTX233\"\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-2/relationship-list/relationship", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-2", + "relationship-list", + "relationship" + ] + } + }, + "response": [] + }, + { + "name": "PUT complex2-cloud-region-5 relationship", + "request": { + "method": "PUT", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"related-to\": \"complex\",\r\n \"related-link\": \"/aai/v13/cloud-infrastructure/complexes/complex/DLLSTX233\",\r\n \"relationship-data\": [\r\n {\r\n \"relationship-key\": \"complex.physical-location-id\",\r\n \"relationship-value\": \"DLLSTX233\"\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-5/relationship-list/relationship", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-5", + "relationship-list", + "relationship" + ] + } + }, + "response": [] + }, + { + "name": "GET Complex", + "request": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"physical-location-id\": \"example-complex-name-val-62100\",\r\n \"data-center-code\": \"example-data-center-code-val-6667\",\r\n \"complex-name\": \"example-complex-name-val-62100\",\r\n \"identity-url\": \"example-identity-url-val-28399\",\r\n \"physical-location-type\": \"example-physical-location-type-val-28399\",\r\n \"street1\": \"example-street1-val-28399\",\r\n \"street2\": \"example-street2-val-28399\",\r\n \"city\": \"example-city-val-28399\",\r\n \"state\": \"example-state-val-28399\",\r\n \"postal-code\": \"example-postal-code-val-28399\",\r\n \"country\": \"example-country-val-28399\",\r\n \"region\": \"example-region-val-28399\",\r\n \"latitude\": \"example-latitude-val-28399\",\r\n \"longitude\": \"example-longitude-val-28399\",\r\n \"elevation\": \"example-elevation-val-28399\",\r\n \"lata\": \"example-lata-val-28399\"\r\n}" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/complexes", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "complexes" + ] + } + }, + "response": [ + { + "id": "0e577ae0-6042-4759-8642-4cc1173e8d3e", + "name": "GET Complex", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"physical-location-id\": \"example-complex-name-val-62100\",\r\n \"data-center-code\": \"example-data-center-code-val-6667\",\r\n \"complex-name\": \"example-complex-name-val-62100\",\r\n \"identity-url\": \"example-identity-url-val-28399\",\r\n \"physical-location-type\": \"example-physical-location-type-val-28399\",\r\n \"street1\": \"example-street1-val-28399\",\r\n \"street2\": \"example-street2-val-28399\",\r\n \"city\": \"example-city-val-28399\",\r\n \"state\": \"example-state-val-28399\",\r\n \"postal-code\": \"example-postal-code-val-28399\",\r\n \"country\": \"example-country-val-28399\",\r\n \"region\": \"example-region-val-28399\",\r\n \"latitude\": \"example-latitude-val-28399\",\r\n \"longitude\": \"example-longitude-val-28399\",\r\n \"elevation\": \"example-elevation-val-28399\",\r\n \"lata\": \"example-lata-val-28399\"\r\n}" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/complexes", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "complexes" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "_postman_previewtype": "html", + "header": [ + { + "key": "Content-Length", + "value": "1603", + "name": "Content-Length", + "description": "The length of the response body in octets (8-bit bytes)" + }, + { + "key": "Content-Type", + "value": "application/json", + "name": "Content-Type", + "description": "The mime type of this content" + }, + { + "key": "Date", + "value": "Sat, 17 Mar 2018 17:27:54 GMT", + "name": "Date", + "description": "The date and time that the message was sent" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=16000000; includeSubDomains; preload;", + "name": "Strict-Transport-Security", + "description": "A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains." + }, + { + "key": "X-AAI-TXID", + "value": "0-otconap5-180317-17:27:54:114-8316", + "name": "X-AAI-TXID", + "description": "Custom header" + }, + { + "key": "vertex-id", + "value": "4344", + "name": "vertex-id", + "description": "Custom header" + } + ], + "cookie": [], + "body": "{\"complex\":[{\"physical-location-id\":\"DLLSTX233\",\"data-center-code\":\"example-data-center-code-val-6667\",\"complex-name\":\"complex1\",\"identity-url\":\"example-identity-url-val-28399\",\"resource-version\":\"1521304870595\",\"physical-location-type\":\"Mobility\",\"street1\":\"example-street1-val-28399\",\"street2\":\"example-street2-val-28399\",\"city\":\"Dallas\",\"state\":\"TX\",\"postal-code\":\"00000\",\"country\":\"USA\",\"region\":\"USA\",\"latitude\":\"45.395968\",\"longitude\":\"-71.135344\",\"elevation\":\"example-elevation-val-28399\",\"lata\":\"example-lata-val-28399\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"cloud-region\",\"relationship-label\":\"org.onap.relationships.inventory.LocatedIn\",\"related-link\":\"/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-1\",\"relationship-data\":[{\"relationship-key\":\"cloud-region.cloud-owner\",\"relationship-value\":\"HPA-cloud\"},{\"relationship-key\":\"cloud-region.cloud-region-id\",\"relationship-value\":\"cloud-region-1\"}],\"related-to-property\":[{\"property-key\":\"cloud-region.owner-defined-type\",\"property-value\":\"example-owner-defined-type-val-848\"}]},{\"related-to\":\"cloud-region\",\"relationship-label\":\"org.onap.relationships.inventory.LocatedIn\",\"related-link\":\"/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-2\",\"relationship-data\":[{\"relationship-key\":\"cloud-region.cloud-owner\",\"relationship-value\":\"HPA-cloud\"},{\"relationship-key\":\"cloud-region.cloud-region-id\",\"relationship-value\":\"cloud-region-2\"}],\"related-to-property\":[{\"property-key\":\"cloud-region.owner-defined-type\",\"property-value\":\"example-owner-defined-type-val-848\"}]}]}}]}" + } + ] + }, + { + "name": "GET Cloud-Region1", + "request": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-1?depth=all", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-1" + ], + "query": [ + { + "key": "depth", + "value": "all" + } + ] + } + }, + "response": [ + { + "id": "9868a150-57b8-4fa1-8a67-6e74bd0ce659", + "name": "GET Cloud-Region1", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-1?depth=all", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-1" + ], + "query": [ + { + "key": "depth", + "value": "all" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "_postman_previewtype": "html", + "header": [ + { + "key": "Connection", + "value": "close", + "name": "Connection", + "description": "Options that are desired for the connection" + }, + { + "key": "Content-Type", + "value": "application/json", + "name": "Content-Type", + "description": "The mime type of this content" + }, + { + "key": "Date", + "value": "Sat, 17 Mar 2018 17:25:51 GMT", + "name": "Date", + "description": "The date and time that the message was sent" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=16000000; includeSubDomains; preload;", + "name": "Strict-Transport-Security", + "description": "A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains." + }, + { + "key": "X-AAI-TXID", + "value": "1-otconap5-180317-17:25:51:746-14527", + "name": "X-AAI-TXID", + "description": "Custom header" + }, + { + "key": "vertex-id", + "value": "4152", + "name": "vertex-id", + "description": "Custom header" + } + ], + "cookie": [], + "body": "{\"cloud-owner\":\"HPA-cloud\",\"cloud-region-id\":\"cloud-region-1\",\"cloud-type\":\"openstack-pike\",\"owner-defined-type\":\"example-owner-defined-type-val-848\",\"cloud-region-version\":\"example-cloud-region-version-val-75919\",\"identity-url\":\"example-identity-url-val-14861\",\"cloud-zone\":\"example-cloud-zone-val-4978\",\"complex-name\":\"example-complex-name-val-62100\",\"sriov-automation\":true,\"cloud-extra-info\":\"example-cloud-extra-info-val-49466\",\"cloud-epa-caps\":\"example-cloud-epa-caps-val-99504\",\"resource-version\":\"1521307375722\",\"volume-groups\":{\"volume-group\":[{\"volume-group-id\":\"example-volume-group-id-val-66706\",\"volume-group-name\":\"example-volume-group-name-val-77554\",\"heat-stack-id\":\"example-heat-stack-id-val-70180\",\"vnf-type\":\"example-vnf-type-val-87572\",\"orchestration-status\":\"example-orchestration-status-val-34971\",\"model-customization-id\":\"example-model-customization-id-val-83513\",\"vf-module-model-customization-id\":\"example-vf-module-model-customization-id-val-6507\",\"resource-version\":\"1521306555806\"}]},\"tenants\":{\"tenant\":[{\"tenant-id\":\"tenant-id-1\",\"tenant-name\":\"tenant-name-1\",\"tenant-context\":\"example-tenant-context-val-28442\",\"resource-version\":\"1521306556951\",\"vservers\":{\"vserver\":[{\"vserver-id\":\"vserver-1\",\"vserver-name\":\"vserver-name-1\",\"vserver-name2\":\"example-vserver-name2-val-75154\",\"prov-status\":\"example-prov-status-val-62624\",\"vserver-selflink\":\"example-vserver-selflink-val-3687\",\"in-maint\":true,\"is-closed-loop-disabled\":true,\"resource-version\":\"1521306556989\",\"volumes\":{\"volume\":[{\"volume-id\":\"example-volume-id-val-11970\",\"volume-selflink\":\"example-volume-selflink-val-76166\",\"resource-version\":\"1521306557727\"}]},\"l-interfaces\":{\"l-interface\":[{\"interface-name\":\"example-interface-name-val-33353\",\"interface-role\":\"example-interface-role-val-20528\",\"v6-wan-link-ip\":\"example-v6-wan-link-ip-val-39242\",\"selflink\":\"example-selflink-val-69696\",\"interface-id\":\"example-interface-id-val-96451\",\"macaddr\":\"example-macaddr-val-92350\",\"network-name\":\"example-network-name-val-76057\",\"management-option\":\"example-management-option-val-24749\",\"interface-description\":\"example-interface-description-val-61248\",\"is-port-mirrored\":true,\"resource-version\":\"1521306558446\",\"in-maint\":true,\"prov-status\":\"example-prov-status-val-66068\",\"is-ip-unnumbered\":true,\"allowed-address-pairs\":\"example-allowed-address-pairs-val-97717\",\"vlans\":{\"vlan\":[{\"vlan-interface\":\"example-vlan-interface-val-69702\",\"vlan-id-inner\":67994473,\"vlan-id-outer\":93729787,\"resource-version\":\"1521306558520\",\"speed-value\":\"example-speed-value-val-13924\",\"speed-units\":\"example-speed-units-val-36978\",\"vlan-description\":\"example-vlan-description-val-33791\",\"backdoor-connection\":\"example-backdoor-connection-val-17790\",\"vpn-key\":\"example-vpn-key-val-9875\",\"orchestration-status\":\"example-orchestration-status-val-56763\",\"in-maint\":true,\"prov-status\":\"example-prov-status-val-70388\",\"is-ip-unnumbered\":true,\"l3-interface-ipv4-address-list\":[{\"l3-interface-ipv4-address\":\"example-l3-interface-ipv4-address-val-11760\",\"l3-interface-ipv4-prefix-length\":56201707,\"vlan-id-inner\":73451064,\"vlan-id-outer\":91938369,\"is-floating\":true,\"resource-version\":\"1521306559236\",\"neutron-network-id\":\"example-neutron-network-id-val-98070\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-27472\"}],\"l3-interface-ipv6-address-list\":[{\"l3-interface-ipv6-address\":\"example-l3-interface-ipv6-address-val-39990\",\"l3-interface-ipv6-prefix-length\":23094280,\"vlan-id-inner\":45385157,\"vlan-id-outer\":7251303,\"is-floating\":true,\"resource-version\":\"1521306559291\",\"neutron-network-id\":\"example-neutron-network-id-val-91087\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-43501\"}]}]},\"sriov-vfs\":{\"sriov-vf\":[{\"pci-id\":\"example-pci-id-val-91062\",\"vf-vlan-filter\":\"example-vf-vlan-filter-val-77261\",\"vf-mac-filter\":\"example-vf-mac-filter-val-52679\",\"vf-vlan-strip\":true,\"vf-vlan-anti-spoof-check\":true,\"vf-mac-anti-spoof-check\":true,\"vf-mirrors\":\"example-vf-mirrors-val-39917\",\"vf-broadcast-allow\":true,\"vf-unknown-multicast-allow\":true,\"vf-unknown-unicast-allow\":true,\"vf-insert-stag\":true,\"vf-link-status\":\"example-vf-link-status-val-7159\",\"resource-version\":\"1521306559341\",\"neutron-network-id\":\"example-neutron-network-id-val-6599\"}]},\"l-interfaces\":{\"l-interface\":[{\"interface-name\":\"example-interface-name-val-31463\",\"interface-role\":\"example-interface-role-val-59891\",\"v6-wan-link-ip\":\"example-v6-wan-link-ip-val-37795\",\"selflink\":\"example-selflink-val-8079\",\"interface-id\":\"example-interface-id-val-7731\",\"macaddr\":\"example-macaddr-val-4153\",\"network-name\":\"example-network-name-val-95567\",\"management-option\":\"example-management-option-val-37882\",\"interface-description\":\"example-interface-description-val-49246\",\"is-port-mirrored\":true,\"resource-version\":\"1521306559439\",\"in-maint\":true,\"prov-status\":\"example-prov-status-val-679\",\"is-ip-unnumbered\":true,\"allowed-address-pairs\":\"example-allowed-address-pairs-val-51719\"}]},\"l3-interface-ipv4-address-list\":[{\"l3-interface-ipv4-address\":\"example-l3-interface-ipv4-address-val-25727\",\"l3-interface-ipv4-prefix-length\":72086436,\"vlan-id-inner\":49585016,\"vlan-id-outer\":31295411,\"is-floating\":true,\"resource-version\":\"1521306560129\",\"neutron-network-id\":\"example-neutron-network-id-val-60599\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-63673\"}],\"l3-interface-ipv6-address-list\":[{\"l3-interface-ipv6-address\":\"example-l3-interface-ipv6-address-val-23230\",\"l3-interface-ipv6-prefix-length\":52397550,\"vlan-id-inner\":90366390,\"vlan-id-outer\":74424116,\"is-floating\":true,\"resource-version\":\"1521306560154\",\"neutron-network-id\":\"example-neutron-network-id-val-8866\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-39258\"}]}]}}]}}]},\"flavors\":{\"flavor\":[{\"flavor-id\":\"9cf8220b-4d96-4c30-a426-2e9382f3fff2\",\"flavor-name\":\"flavor-numa-cpu-topology-instruction-set\",\"flavor-vcpus\":64,\"flavor-ram\":65536,\"flavor-disk\":1048576,\"flavor-ephemeral\":128,\"flavor-swap\":\"0\",\"flavor-is-public\":false,\"flavor-selflink\":\"pXtX\",\"flavor-disabled\":false,\"hpa-capabilities\":{\"hpa-capability\":[{\"hpa-capability-id\":\"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\",\"hpa-feature\":\"cpuInstructionSetExtensions\",\"hpa-version\":\"v1\",\"architecture\":\"Intel64\",\"resource-version\":\"1521306560982\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"instructionSetExtensions\",\"hpa-attribute-value\":\"{\\\"value\\\":{['AAA', 'BBB', 'CCC', 'DDD']}}\",\"resource-version\":\"1521306560989\"}]},{\"hpa-capability-id\":\"167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66\",\"hpa-feature\":\"numa\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306561020\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"numaCpu-1\",\"hpa-attribute-value\":\"{\\\"value\\\":4}\",\"resource-version\":\"1521306561060\"},{\"hpa-attribute-key\":\"numaNodes\",\"hpa-attribute-value\":\"{\\\"value\\\":2}\",\"resource-version\":\"1521306561088\"},{\"hpa-attribute-key\":\"numaCpu-0\",\"hpa-attribute-value\":\"{\\\"value\\\":2}\",\"resource-version\":\"1521306561028\"},{\"hpa-attribute-key\":\"numaMem-0\",\"hpa-attribute-value\":\"{\\\"value\\\":2, \\\"unit\\\":\\\"GB\\\" }\",\"resource-version\":\"1521306561044\"},{\"hpa-attribute-key\":\"numaMem-1\",\"hpa-attribute-value\":\"{\\\"value\\\":4, \\\"unit\\\":\\\"GB\\\" }\",\"resource-version\":\"1521306561074\"}]},{\"hpa-capability-id\":\"13ec6d4d-7fee-48d8-9e4a-c598feb101ed\",\"hpa-feature\":\"basicCapabilities\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306560909\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"numVirtualCpu\",\"hpa-attribute-value\":\"{\\\"value\\\":64}\",\"resource-version\":\"1521306560932\"},{\"hpa-attribute-key\":\"virtualMemSize\",\"hpa-attribute-value\":\"{\\\"value\\\":65536, \\\"unit\\\":\\\"MB\\\" }\",\"resource-version\":\"1521306560954\"}]},{\"hpa-capability-id\":\"8fa22e64-41b4-471f-96ad-6c4708635e4c\",\"hpa-feature\":\"cpuTopology\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306561109\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"numCpuCores\",\"hpa-attribute-value\":\"{\\\"value\\\":8}\",\"resource-version\":\"1521306561114\"},{\"hpa-attribute-key\":\"numCpuThreads\",\"hpa-attribute-value\":\"{\\\"value\\\":8}\",\"resource-version\":\"1521306561138\"},{\"hpa-attribute-key\":\"numCpuSockets\",\"hpa-attribute-value\":\"{\\\"value\\\":6}\",\"resource-version\":\"1521306561126\"}]}]},\"resource-version\":\"1521306560203\"},{\"flavor-id\":\"f5aa2b2e-3206-41b6-80d5-cf041b098c43\",\"flavor-name\":\"flavor-cpu-pinning-ovsdpdk-instruction-set\",\"flavor-vcpus\":32,\"flavor-ram\":131072,\"flavor-disk\":2097152,\"flavor-ephemeral\":128,\"flavor-swap\":\"0\",\"flavor-is-public\":false,\"flavor-selflink\":\"pXtX\",\"flavor-disabled\":false,\"hpa-capabilities\":{\"hpa-capability\":[{\"hpa-capability-id\":\"4d04f4d8-e257-4442-8417-19a525e56096\",\"hpa-feature\":\"cpuInstructionSetExtensions\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306561223\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"instructionSetExtensions\",\"hpa-attribute-value\":\"{\\\"value\\\":{['A11', 'B22']}}\",\"resource-version\":\"1521306561228\"}]},{\"hpa-capability-id\":\"8d36a8fe-bfee-446a-bbcb-881ee66c8f78\",\"hpa-feature\":\"ovsDpdk\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306561170\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"dataProcessingAccelerationLibrary\",\"hpa-attribute-value\":\"{\\\"value\\\":\\\"v18.02\\\"}\",\"resource-version\":\"1521306561175\"}]},{\"hpa-capability-id\":\"c140c945-1532-4908-86c9-d7f71416f1dd\",\"hpa-feature\":\"cpuPinning\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306561191\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"logicalCpuPinningPolicy\",\"hpa-attribute-value\":\"{\\\"value\\\":\\\"dedicated\\\"}\",\"resource-version\":\"1521306561196\"},{\"hpa-attribute-key\":\"logicalCpuThreadPinningPolicy\",\"hpa-attribute-value\":\"{value:\\\"prefer\\\"}\",\"resource-version\":\"1521306561206\"}]},{\"hpa-capability-id\":\"4565615b-1077-4bb5-a340-c5be48db2aaa\",\"hpa-feature\":\"basicCapabilities\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306561244\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"numVirtualCpu\",\"hpa-attribute-value\":\"{\\\"value\\\":32}\",\"resource-version\":\"1521306561259\"},{\"hpa-attribute-key\":\"virtualMemSize\",\"hpa-attribute-value\":\"{\\\"value\\\":131072, \\\"unit\\\":\\\"MB\\\" }\",\"resource-version\":\"1521306561248\"}]}]},\"resource-version\":\"1521306561164\"}]},\"group-assignments\":{\"group-assignment\":[{\"group-id\":\"example-group-id-val-67572\",\"group-type\":\"example-group-type-val-91331\",\"group-name\":\"example-group-name-val-95940\",\"group-description\":\"example-group-description-val-89653\",\"resource-version\":\"1521306561284\"}]},\"snapshots\":{\"snapshot\":[{\"snapshot-id\":\"example-snapshot-id-val-31758\",\"snapshot-name\":\"example-snapshot-name-val-32860\",\"snapshot-architecture\":\"example-snapshot-architecture-val-2456\",\"snapshot-os-distro\":\"example-snapshot-os-distro-val-75068\",\"snapshot-os-version\":\"example-snapshot-os-version-val-8641\",\"application\":\"example-application-val-6391\",\"application-vendor\":\"example-application-vendor-val-52418\",\"application-version\":\"example-application-version-val-92869\",\"snapshot-selflink\":\"example-snapshot-selflink-val-69763\",\"prev-snapshot-id\":\"example-prev-snapshot-id-val-19500\",\"resource-version\":\"1521306561311\"}]},\"images\":{\"image\":[{\"image-id\":\"example-image-id-val-91484\",\"image-name\":\"example-image-name-val-86952\",\"image-architecture\":\"example-image-architecture-val-21769\",\"image-os-distro\":\"example-image-os-distro-val-15267\",\"image-os-version\":\"example-image-os-version-val-90601\",\"application\":\"example-application-val-41444\",\"application-vendor\":\"example-application-vendor-val-50626\",\"application-version\":\"example-application-version-val-11318\",\"image-selflink\":\"example-image-selflink-val-18790\",\"resource-version\":\"1521306561362\",\"metadata\":{\"metadatum\":[{\"metaname\":\"example-metaname-val-39609\",\"metaval\":\"example-metaval-val-62296\",\"resource-version\":\"1521306561387\"}]}}]},\"dvs-switches\":{\"dvs-switch\":[{\"switch-name\":\"example-switch-name-val-23942\",\"vcenter-url\":\"example-vcenter-url-val-7815\",\"resource-version\":\"1521306561409\"}]},\"oam-networks\":{\"oam-network\":[{\"network-uuid\":\"example-network-uuid-val-1061\",\"network-name\":\"example-network-name-val-96413\",\"cvlan-tag\":20601039,\"ipv4-oam-gateway-address\":\"example-ipv4-oam-gateway-address-val-92545\",\"ipv4-oam-gateway-address-prefix-length\":9067,\"resource-version\":\"1521306561436\"}]},\"availability-zones\":{\"availability-zone\":[{\"availability-zone-name\":\"example-availability-zone-name-val-37096\",\"hypervisor-type\":\"example-hypervisor-type-val-91298\",\"operational-status\":\"example-operational-status-val-4894\",\"resource-version\":\"1521306561465\"}]},\"relationship-list\":{\"relationship\":[{\"related-to\":\"complex\",\"relationship-label\":\"org.onap.relationships.inventory.LocatedIn\",\"related-link\":\"/aai/v13/cloud-infrastructure/complexes/complex/DLLSTX233\",\"relationship-data\":[{\"relationship-key\":\"complex.physical-location-id\",\"relationship-value\":\"DLLSTX233\"}]}]},\"vip-ipv4-address-list\":[{\"vip-ipv4-address\":\"example-vip-ipv4-address-val-9775\",\"vip-ipv4-prefix-length\":21779008,\"vlan-id-inner\":183626,\"vlan-id-outer\":7595139,\"is-floating\":true,\"resource-version\":\"1521306561488\",\"neutron-network-id\":\"example-neutron-network-id-val-61916\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-94467\"}],\"vip-ipv6-address-list\":[{\"vip-ipv6-address\":\"example-vip-ipv6-address-val-71778\",\"vip-ipv6-prefix-length\":54690289,\"vlan-id-inner\":37212492,\"vlan-id-outer\":58857577,\"is-floating\":true,\"resource-version\":\"1521306561508\",\"neutron-network-id\":\"example-neutron-network-id-val-2251\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-64440\"}],\"hpa-capabilities\":{\"hpa-capability\":[{\"hpa-capability-id\":\"example-hpa-capability-id-val-22082\",\"hpa-feature\":\"cloud-specific-hpa\",\"hpa-version\":\"example-hpa-version-val-64467\",\"architecture\":\"example-architecture-val-82451\",\"resource-version\":\"1521306561528\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"example-hpa-attribute-key-val-28058\",\"hpa-attribute-value\":\"example-hpa-attribute-value-val-74993\",\"resource-version\":\"1521306561532\"}]}]}}" + } + ] + }, + { + "name": "GET Cloud-Region2", + "request": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-2?depth=all", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-2" + ], + "query": [ + { + "key": "depth", + "value": "all" + } + ] + } + }, + "response": [ + { + "id": "c2fec0b0-7eb7-479f-9b79-159d21c2d916", + "name": "GET Cloud-Region2", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-2?depth=all", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-2" + ], + "query": [ + { + "key": "depth", + "value": "all" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "_postman_previewtype": "html", + "header": [ + { + "key": "Connection", + "value": "close", + "name": "Connection", + "description": "Options that are desired for the connection" + }, + { + "key": "Content-Type", + "value": "application/json", + "name": "Content-Type", + "description": "The mime type of this content" + }, + { + "key": "Date", + "value": "Sat, 17 Mar 2018 17:27:13 GMT", + "name": "Date", + "description": "The date and time that the message was sent" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=16000000; includeSubDomains; preload;", + "name": "Strict-Transport-Security", + "description": "A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains." + }, + { + "key": "X-AAI-TXID", + "value": "1-otconap5-180317-17:27:13:058-50029", + "name": "X-AAI-TXID", + "description": "Custom header" + }, + { + "key": "vertex-id", + "value": "28816", + "name": "vertex-id", + "description": "Custom header" + } + ], + "cookie": [], + "body": "{\"cloud-owner\":\"HPA-cloud\",\"cloud-region-id\":\"cloud-region-2\",\"cloud-type\":\"openstack-pike\",\"owner-defined-type\":\"example-owner-defined-type-val-848\",\"cloud-region-version\":\"example-cloud-region-version-val-75919\",\"identity-url\":\"example-identity-url-val-14861\",\"cloud-zone\":\"example-cloud-zone-val-4978\",\"complex-name\":\"example-complex-name-val-62100\",\"sriov-automation\":true,\"cloud-extra-info\":\"example-cloud-extra-info-val-49466\",\"cloud-epa-caps\":\"example-cloud-epa-caps-val-99504\",\"resource-version\":\"1521307358985\",\"volume-groups\":{\"volume-group\":[{\"volume-group-id\":\"example-volume-group-id-val-66706\",\"volume-group-name\":\"example-volume-group-name-val-77554\",\"heat-stack-id\":\"example-heat-stack-id-val-70180\",\"vnf-type\":\"example-vnf-type-val-87572\",\"orchestration-status\":\"example-orchestration-status-val-34971\",\"model-customization-id\":\"example-model-customization-id-val-83513\",\"vf-module-model-customization-id\":\"example-vf-module-model-customization-id-val-6507\",\"resource-version\":\"1521306714613\"}]},\"tenants\":{\"tenant\":[{\"tenant-id\":\"tenant-id-2\",\"tenant-name\":\"tenant-name-2\",\"tenant-context\":\"example-tenant-context-val-28442\",\"resource-version\":\"1521306714631\",\"vservers\":{\"vserver\":[{\"vserver-id\":\"vserver-21\",\"vserver-name\":\"vserver-name-2\",\"vserver-name2\":\"example-vserver-name2-val-75154\",\"prov-status\":\"example-prov-status-val-62624\",\"vserver-selflink\":\"example-vserver-selflink-val-3687\",\"in-maint\":true,\"is-closed-loop-disabled\":true,\"resource-version\":\"1521306714637\",\"volumes\":{\"volume\":[{\"volume-id\":\"example-volume-id-val-11970\",\"volume-selflink\":\"example-volume-selflink-val-76166\",\"resource-version\":\"1521306714645\"}]},\"l-interfaces\":{\"l-interface\":[{\"interface-name\":\"example-interface-name-val-33353\",\"interface-role\":\"example-interface-role-val-20528\",\"v6-wan-link-ip\":\"example-v6-wan-link-ip-val-39242\",\"selflink\":\"example-selflink-val-69696\",\"interface-id\":\"example-interface-id-val-96452\",\"macaddr\":\"example-macaddr-val-92350\",\"network-name\":\"example-network-name-val-76057\",\"management-option\":\"example-management-option-val-24749\",\"interface-description\":\"example-interface-description-val-61248\",\"is-port-mirrored\":true,\"resource-version\":\"1521306714659\",\"in-maint\":true,\"prov-status\":\"example-prov-status-val-66068\",\"is-ip-unnumbered\":true,\"allowed-address-pairs\":\"example-allowed-address-pairs-val-97717\",\"vlans\":{\"vlan\":[{\"vlan-interface\":\"example-vlan-interface-val-69702\",\"vlan-id-inner\":67994473,\"vlan-id-outer\":93729787,\"resource-version\":\"1521306714666\",\"speed-value\":\"example-speed-value-val-13924\",\"speed-units\":\"example-speed-units-val-36978\",\"vlan-description\":\"example-vlan-description-val-33791\",\"backdoor-connection\":\"example-backdoor-connection-val-17790\",\"vpn-key\":\"example-vpn-key-val-9875\",\"orchestration-status\":\"example-orchestration-status-val-56763\",\"in-maint\":true,\"prov-status\":\"example-prov-status-val-70388\",\"is-ip-unnumbered\":true,\"l3-interface-ipv4-address-list\":[{\"l3-interface-ipv4-address\":\"example-l3-interface-ipv4-address-val-11760\",\"l3-interface-ipv4-prefix-length\":56201707,\"vlan-id-inner\":73451064,\"vlan-id-outer\":91938369,\"is-floating\":true,\"resource-version\":\"1521306714673\",\"neutron-network-id\":\"example-neutron-network-id-val-98070\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-27472\"}],\"l3-interface-ipv6-address-list\":[{\"l3-interface-ipv6-address\":\"example-l3-interface-ipv6-address-val-39990\",\"l3-interface-ipv6-prefix-length\":23094280,\"vlan-id-inner\":45385157,\"vlan-id-outer\":7251303,\"is-floating\":true,\"resource-version\":\"1521306714686\",\"neutron-network-id\":\"example-neutron-network-id-val-91087\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-43501\"}]}]},\"sriov-vfs\":{\"sriov-vf\":[{\"pci-id\":\"example-pci-id-val-91063\",\"vf-vlan-filter\":\"example-vf-vlan-filter-val-77261\",\"vf-mac-filter\":\"example-vf-mac-filter-val-52679\",\"vf-vlan-strip\":true,\"vf-vlan-anti-spoof-check\":true,\"vf-mac-anti-spoof-check\":true,\"vf-mirrors\":\"example-vf-mirrors-val-39917\",\"vf-broadcast-allow\":true,\"vf-unknown-multicast-allow\":true,\"vf-unknown-unicast-allow\":true,\"vf-insert-stag\":true,\"vf-link-status\":\"example-vf-link-status-val-7159\",\"resource-version\":\"1521306714704\",\"neutron-network-id\":\"example-neutron-network-id-val-6599\"}]},\"l-interfaces\":{\"l-interface\":[{\"interface-name\":\"example-interface-name-val-31463\",\"interface-role\":\"example-interface-role-val-59891\",\"v6-wan-link-ip\":\"example-v6-wan-link-ip-val-37795\",\"selflink\":\"example-selflink-val-8079\",\"interface-id\":\"example-interface-id-val-7732\",\"macaddr\":\"example-macaddr-val-4153\",\"network-name\":\"example-network-name-val-95567\",\"management-option\":\"example-management-option-val-37882\",\"interface-description\":\"example-interface-description-val-49246\",\"is-port-mirrored\":true,\"resource-version\":\"1521306714716\",\"in-maint\":true,\"prov-status\":\"example-prov-status-val-679\",\"is-ip-unnumbered\":true,\"allowed-address-pairs\":\"example-allowed-address-pairs-val-51719\"}]},\"l3-interface-ipv4-address-list\":[{\"l3-interface-ipv4-address\":\"example-l3-interface-ipv4-address-val-25727\",\"l3-interface-ipv4-prefix-length\":72086436,\"vlan-id-inner\":49585016,\"vlan-id-outer\":31295411,\"is-floating\":true,\"resource-version\":\"1521306714727\",\"neutron-network-id\":\"example-neutron-network-id-val-60599\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-63673\"}],\"l3-interface-ipv6-address-list\":[{\"l3-interface-ipv6-address\":\"example-l3-interface-ipv6-address-val-23230\",\"l3-interface-ipv6-prefix-length\":52397550,\"vlan-id-inner\":90366390,\"vlan-id-outer\":74424116,\"is-floating\":true,\"resource-version\":\"1521306714738\",\"neutron-network-id\":\"example-neutron-network-id-val-8866\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-39258\"}]}]}}]}}]},\"flavors\":{\"flavor\":[{\"flavor-id\":\"acf8220b-4d96-4c30-a426-2e9382f3fff2\",\"flavor-name\":\"flavor-cpu-topology-instruction-set\",\"flavor-vcpus\":32,\"flavor-ram\":65536,\"flavor-disk\":1048576,\"flavor-ephemeral\":128,\"flavor-swap\":\"0\",\"flavor-is-public\":false,\"flavor-selflink\":\"pXtX\",\"flavor-disabled\":false,\"hpa-capabilities\":{\"hpa-capability\":[{\"hpa-capability-id\":\"11a4bfe1-1993-4fda-bd1c-ef333b4f76a9\",\"hpa-feature\":\"cpuInstructionSetExtensions\",\"hpa-version\":\"v1\",\"architecture\":\"Intel64\",\"resource-version\":\"1521306714796\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"instructionSetExtensions\",\"hpa-attribute-value\":\"{\\\"value\\\":{['aes', 'sse', 'avx', 'smt']}}\",\"resource-version\":\"1521306714799\"}]},{\"hpa-capability-id\":\"23ec6d4d-7fee-48d8-9e4a-c598feb101ed\",\"hpa-feature\":\"basicCapabilities\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714769\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"virtualMemSize\",\"hpa-attribute-value\":\"{\\\"value\\\":65536, \\\"unit\\\":\\\"MB\\\" }\",\"resource-version\":\"1521306714782\"},{\"hpa-attribute-key\":\"numVirtualCpu\",\"hpa-attribute-value\":\"{\\\"value\\\":32}\",\"resource-version\":\"1521306714773\"}]},{\"hpa-capability-id\":\"9fa22e64-41b4-471f-96ad-6c4708635e4c\",\"hpa-feature\":\"cpuTopology\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714813\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"numCpuThreads\",\"hpa-attribute-value\":\"{\\\"value\\\":8}\",\"resource-version\":\"1521306714841\"},{\"hpa-attribute-key\":\"numCpuCores\",\"hpa-attribute-value\":\"{\\\"value\\\":16}\",\"resource-version\":\"1521306714817\"},{\"hpa-attribute-key\":\"numCpuSockets\",\"hpa-attribute-value\":\"{\\\"value\\\":2}\",\"resource-version\":\"1521306714826\"}]}]},\"resource-version\":\"1521306714764\"},{\"flavor-id\":\"e5aa2b2e-3206-41b6-80d5-cf041b098c43\",\"flavor-name\":\"flavor-cpu-pinning-ovsdpdk-instruction-set\",\"flavor-vcpus\":32,\"flavor-ram\":131072,\"flavor-disk\":2097152,\"flavor-ephemeral\":128,\"flavor-swap\":\"0\",\"flavor-is-public\":false,\"flavor-selflink\":\"pXtX\",\"flavor-disabled\":false,\"hpa-capabilities\":{\"hpa-capability\":[{\"hpa-capability-id\":\"5565615b-1077-4bb5-a340-c5be48db2aaa\",\"hpa-feature\":\"basicCapabilities\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714950\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"numVirtualCpu\",\"hpa-attribute-value\":\"{\\\"value\\\":32}\",\"resource-version\":\"1521306714964\"},{\"hpa-attribute-key\":\"virtualMemSize\",\"hpa-attribute-value\":\"{\\\"value\\\":131072, \\\"unit\\\":\\\"MB\\\" }\",\"resource-version\":\"1521306714954\"}]},{\"hpa-capability-id\":\"9d36a8fe-bfee-446a-bbcb-881ee66c8f78\",\"hpa-feature\":\"ovsDpdk\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714876\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"dataProcessingAccelerationLibrary\",\"hpa-attribute-value\":\"{\\\"value\\\":\\\"v17.02\\\"}\",\"resource-version\":\"1521306714881\"}]},{\"hpa-capability-id\":\"d140c945-1532-4908-86c9-d7f71416f1dd\",\"hpa-feature\":\"cpuPinning\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714899\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"logicalCpuThreadPinningPolicy\",\"hpa-attribute-value\":\"{value:\\\"prefer\\\"}\",\"resource-version\":\"1521306714915\"},{\"hpa-attribute-key\":\"logicalCpuPinningPolicy\",\"hpa-attribute-value\":\"{\\\"value\\\":\\\"dedicated\\\"}\",\"resource-version\":\"1521306714904\"}]},{\"hpa-capability-id\":\"5d04f4d8-e257-4442-8417-19a525e56096\",\"hpa-feature\":\"cpuInstructionSetExtensions\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714931\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"instructionSetExtensions\",\"hpa-attribute-value\":\"{\\\"value\\\":{['aes', 'avx']}}\",\"resource-version\":\"1521306714936\"}]}]},\"resource-version\":\"1521306714871\"}]},\"group-assignments\":{\"group-assignment\":[{\"group-id\":\"example-group-id-val-67573\",\"group-type\":\"example-group-type-val-91331\",\"group-name\":\"example-group-name-val-95940\",\"group-description\":\"example-group-description-val-89653\",\"resource-version\":\"1521306714983\"}]},\"snapshots\":{\"snapshot\":[{\"snapshot-id\":\"example-snapshot-id-val-31759\",\"snapshot-name\":\"example-snapshot-name-val-32860\",\"snapshot-architecture\":\"example-snapshot-architecture-val-2456\",\"snapshot-os-distro\":\"example-snapshot-os-distro-val-75068\",\"snapshot-os-version\":\"example-snapshot-os-version-val-8641\",\"application\":\"example-application-val-6391\",\"application-vendor\":\"example-application-vendor-val-52418\",\"application-version\":\"example-application-version-val-92869\",\"snapshot-selflink\":\"example-snapshot-selflink-val-69763\",\"prev-snapshot-id\":\"example-prev-snapshot-id-val-19500\",\"resource-version\":\"1521306714993\"}]},\"images\":{\"image\":[{\"image-id\":\"example-image-id-val-91485\",\"image-name\":\"example-image-name-val-86952\",\"image-architecture\":\"example-image-architecture-val-21769\",\"image-os-distro\":\"example-image-os-distro-val-15267\",\"image-os-version\":\"example-image-os-version-val-90601\",\"application\":\"example-application-val-41444\",\"application-vendor\":\"example-application-vendor-val-50626\",\"application-version\":\"example-application-version-val-11318\",\"image-selflink\":\"example-image-selflink-val-18790\",\"resource-version\":\"1521306715005\",\"metadata\":{\"metadatum\":[{\"metaname\":\"example-metaname-val-39609\",\"metaval\":\"example-metaval-val-62296\",\"resource-version\":\"1521306715009\"}]}}]},\"dvs-switches\":{\"dvs-switch\":[{\"switch-name\":\"example-switch-name-val-23942\",\"vcenter-url\":\"example-vcenter-url-val-7815\",\"resource-version\":\"1521306715024\"}]},\"oam-networks\":{\"oam-network\":[{\"network-uuid\":\"example-network-uuid-val-1062\",\"network-name\":\"example-network-name-val-96413\",\"cvlan-tag\":20601039,\"ipv4-oam-gateway-address\":\"example-ipv4-oam-gateway-address-val-92545\",\"ipv4-oam-gateway-address-prefix-length\":9067,\"resource-version\":\"1521306715034\"}]},\"availability-zones\":{\"availability-zone\":[{\"availability-zone-name\":\"example-availability-zone-name-val-37097\",\"hypervisor-type\":\"example-hypervisor-type-val-91298\",\"operational-status\":\"example-operational-status-val-4894\",\"resource-version\":\"1521306715044\"}]},\"relationship-list\":{\"relationship\":[{\"related-to\":\"complex\",\"relationship-label\":\"org.onap.relationships.inventory.LocatedIn\",\"related-link\":\"/aai/v13/cloud-infrastructure/complexes/complex/DLLSTX233\",\"relationship-data\":[{\"relationship-key\":\"complex.physical-location-id\",\"relationship-value\":\"DLLSTX233\"}]}]},\"vip-ipv4-address-list\":[{\"vip-ipv4-address\":\"example-vip-ipv4-address-val-9775\",\"vip-ipv4-prefix-length\":21779008,\"vlan-id-inner\":183626,\"vlan-id-outer\":7595139,\"is-floating\":true,\"resource-version\":\"1521306715054\",\"neutron-network-id\":\"example-neutron-network-id-val-61916\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-94467\"}],\"vip-ipv6-address-list\":[{\"vip-ipv6-address\":\"example-vip-ipv6-address-val-71778\",\"vip-ipv6-prefix-length\":54690289,\"vlan-id-inner\":37212492,\"vlan-id-outer\":58857577,\"is-floating\":true,\"resource-version\":\"1521306715064\",\"neutron-network-id\":\"example-neutron-network-id-val-2251\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-64440\"}],\"hpa-capabilities\":{\"hpa-capability\":[{\"hpa-capability-id\":\"example-hpa-capability-id-val-22083\",\"hpa-feature\":\"cloud-specific-hpa\",\"hpa-version\":\"example-hpa-version-val-64467\",\"architecture\":\"example-architecture-val-82451\",\"resource-version\":\"1521306715075\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"example-hpa-attribute-key-val-28058\",\"hpa-attribute-value\":\"example-hpa-attribute-value-val-74993\",\"resource-version\":\"1521306715078\"}]}]}}" + } + ] + }, + { + "name": "GET Cloud-Region5", + "request": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": {}, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-5?depth=all", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-5" + ], + "query": [ + { + "key": "depth", + "value": "all", + "equals": true + } + ] + } + }, + "response": [ + { + "id": "327f490e-5dd4-4b2b-b363-908d48b8493f", + "name": "GET Cloud-Region2", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-2?depth=all", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-2" + ], + "query": [ + { + "key": "depth", + "value": "all" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "_postman_previewtype": "html", + "header": [ + { + "key": "Connection", + "value": "close", + "name": "Connection", + "description": "Options that are desired for the connection" + }, + { + "key": "Content-Type", + "value": "application/json", + "name": "Content-Type", + "description": "The mime type of this content" + }, + { + "key": "Date", + "value": "Sat, 17 Mar 2018 17:27:13 GMT", + "name": "Date", + "description": "The date and time that the message was sent" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=16000000; includeSubDomains; preload;", + "name": "Strict-Transport-Security", + "description": "A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains." + }, + { + "key": "X-AAI-TXID", + "value": "1-otconap5-180317-17:27:13:058-50029", + "name": "X-AAI-TXID", + "description": "Custom header" + }, + { + "key": "vertex-id", + "value": "28816", + "name": "vertex-id", + "description": "Custom header" + } + ], + "cookie": [], + "body": "{\"cloud-owner\":\"HPA-cloud\",\"cloud-region-id\":\"cloud-region-2\",\"cloud-type\":\"openstack-pike\",\"owner-defined-type\":\"example-owner-defined-type-val-848\",\"cloud-region-version\":\"example-cloud-region-version-val-75919\",\"identity-url\":\"example-identity-url-val-14861\",\"cloud-zone\":\"example-cloud-zone-val-4978\",\"complex-name\":\"example-complex-name-val-62100\",\"sriov-automation\":true,\"cloud-extra-info\":\"example-cloud-extra-info-val-49466\",\"cloud-epa-caps\":\"example-cloud-epa-caps-val-99504\",\"resource-version\":\"1521307358985\",\"volume-groups\":{\"volume-group\":[{\"volume-group-id\":\"example-volume-group-id-val-66706\",\"volume-group-name\":\"example-volume-group-name-val-77554\",\"heat-stack-id\":\"example-heat-stack-id-val-70180\",\"vnf-type\":\"example-vnf-type-val-87572\",\"orchestration-status\":\"example-orchestration-status-val-34971\",\"model-customization-id\":\"example-model-customization-id-val-83513\",\"vf-module-model-customization-id\":\"example-vf-module-model-customization-id-val-6507\",\"resource-version\":\"1521306714613\"}]},\"tenants\":{\"tenant\":[{\"tenant-id\":\"tenant-id-2\",\"tenant-name\":\"tenant-name-2\",\"tenant-context\":\"example-tenant-context-val-28442\",\"resource-version\":\"1521306714631\",\"vservers\":{\"vserver\":[{\"vserver-id\":\"vserver-21\",\"vserver-name\":\"vserver-name-2\",\"vserver-name2\":\"example-vserver-name2-val-75154\",\"prov-status\":\"example-prov-status-val-62624\",\"vserver-selflink\":\"example-vserver-selflink-val-3687\",\"in-maint\":true,\"is-closed-loop-disabled\":true,\"resource-version\":\"1521306714637\",\"volumes\":{\"volume\":[{\"volume-id\":\"example-volume-id-val-11970\",\"volume-selflink\":\"example-volume-selflink-val-76166\",\"resource-version\":\"1521306714645\"}]},\"l-interfaces\":{\"l-interface\":[{\"interface-name\":\"example-interface-name-val-33353\",\"interface-role\":\"example-interface-role-val-20528\",\"v6-wan-link-ip\":\"example-v6-wan-link-ip-val-39242\",\"selflink\":\"example-selflink-val-69696\",\"interface-id\":\"example-interface-id-val-96452\",\"macaddr\":\"example-macaddr-val-92350\",\"network-name\":\"example-network-name-val-76057\",\"management-option\":\"example-management-option-val-24749\",\"interface-description\":\"example-interface-description-val-61248\",\"is-port-mirrored\":true,\"resource-version\":\"1521306714659\",\"in-maint\":true,\"prov-status\":\"example-prov-status-val-66068\",\"is-ip-unnumbered\":true,\"allowed-address-pairs\":\"example-allowed-address-pairs-val-97717\",\"vlans\":{\"vlan\":[{\"vlan-interface\":\"example-vlan-interface-val-69702\",\"vlan-id-inner\":67994473,\"vlan-id-outer\":93729787,\"resource-version\":\"1521306714666\",\"speed-value\":\"example-speed-value-val-13924\",\"speed-units\":\"example-speed-units-val-36978\",\"vlan-description\":\"example-vlan-description-val-33791\",\"backdoor-connection\":\"example-backdoor-connection-val-17790\",\"vpn-key\":\"example-vpn-key-val-9875\",\"orchestration-status\":\"example-orchestration-status-val-56763\",\"in-maint\":true,\"prov-status\":\"example-prov-status-val-70388\",\"is-ip-unnumbered\":true,\"l3-interface-ipv4-address-list\":[{\"l3-interface-ipv4-address\":\"example-l3-interface-ipv4-address-val-11760\",\"l3-interface-ipv4-prefix-length\":56201707,\"vlan-id-inner\":73451064,\"vlan-id-outer\":91938369,\"is-floating\":true,\"resource-version\":\"1521306714673\",\"neutron-network-id\":\"example-neutron-network-id-val-98070\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-27472\"}],\"l3-interface-ipv6-address-list\":[{\"l3-interface-ipv6-address\":\"example-l3-interface-ipv6-address-val-39990\",\"l3-interface-ipv6-prefix-length\":23094280,\"vlan-id-inner\":45385157,\"vlan-id-outer\":7251303,\"is-floating\":true,\"resource-version\":\"1521306714686\",\"neutron-network-id\":\"example-neutron-network-id-val-91087\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-43501\"}]}]},\"sriov-vfs\":{\"sriov-vf\":[{\"pci-id\":\"example-pci-id-val-91063\",\"vf-vlan-filter\":\"example-vf-vlan-filter-val-77261\",\"vf-mac-filter\":\"example-vf-mac-filter-val-52679\",\"vf-vlan-strip\":true,\"vf-vlan-anti-spoof-check\":true,\"vf-mac-anti-spoof-check\":true,\"vf-mirrors\":\"example-vf-mirrors-val-39917\",\"vf-broadcast-allow\":true,\"vf-unknown-multicast-allow\":true,\"vf-unknown-unicast-allow\":true,\"vf-insert-stag\":true,\"vf-link-status\":\"example-vf-link-status-val-7159\",\"resource-version\":\"1521306714704\",\"neutron-network-id\":\"example-neutron-network-id-val-6599\"}]},\"l-interfaces\":{\"l-interface\":[{\"interface-name\":\"example-interface-name-val-31463\",\"interface-role\":\"example-interface-role-val-59891\",\"v6-wan-link-ip\":\"example-v6-wan-link-ip-val-37795\",\"selflink\":\"example-selflink-val-8079\",\"interface-id\":\"example-interface-id-val-7732\",\"macaddr\":\"example-macaddr-val-4153\",\"network-name\":\"example-network-name-val-95567\",\"management-option\":\"example-management-option-val-37882\",\"interface-description\":\"example-interface-description-val-49246\",\"is-port-mirrored\":true,\"resource-version\":\"1521306714716\",\"in-maint\":true,\"prov-status\":\"example-prov-status-val-679\",\"is-ip-unnumbered\":true,\"allowed-address-pairs\":\"example-allowed-address-pairs-val-51719\"}]},\"l3-interface-ipv4-address-list\":[{\"l3-interface-ipv4-address\":\"example-l3-interface-ipv4-address-val-25727\",\"l3-interface-ipv4-prefix-length\":72086436,\"vlan-id-inner\":49585016,\"vlan-id-outer\":31295411,\"is-floating\":true,\"resource-version\":\"1521306714727\",\"neutron-network-id\":\"example-neutron-network-id-val-60599\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-63673\"}],\"l3-interface-ipv6-address-list\":[{\"l3-interface-ipv6-address\":\"example-l3-interface-ipv6-address-val-23230\",\"l3-interface-ipv6-prefix-length\":52397550,\"vlan-id-inner\":90366390,\"vlan-id-outer\":74424116,\"is-floating\":true,\"resource-version\":\"1521306714738\",\"neutron-network-id\":\"example-neutron-network-id-val-8866\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-39258\"}]}]}}]}}]},\"flavors\":{\"flavor\":[{\"flavor-id\":\"acf8220b-4d96-4c30-a426-2e9382f3fff2\",\"flavor-name\":\"flavor-cpu-topology-instruction-set\",\"flavor-vcpus\":32,\"flavor-ram\":65536,\"flavor-disk\":1048576,\"flavor-ephemeral\":128,\"flavor-swap\":\"0\",\"flavor-is-public\":false,\"flavor-selflink\":\"pXtX\",\"flavor-disabled\":false,\"hpa-capabilities\":{\"hpa-capability\":[{\"hpa-capability-id\":\"11a4bfe1-1993-4fda-bd1c-ef333b4f76a9\",\"hpa-feature\":\"cpuInstructionSetExtensions\",\"hpa-version\":\"v1\",\"architecture\":\"Intel64\",\"resource-version\":\"1521306714796\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"instructionSetExtensions\",\"hpa-attribute-value\":\"{\\\"value\\\":{['aes', 'sse', 'avx', 'smt']}}\",\"resource-version\":\"1521306714799\"}]},{\"hpa-capability-id\":\"23ec6d4d-7fee-48d8-9e4a-c598feb101ed\",\"hpa-feature\":\"basicCapabilities\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714769\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"virtualMemSize\",\"hpa-attribute-value\":\"{\\\"value\\\":65536, \\\"unit\\\":\\\"MB\\\" }\",\"resource-version\":\"1521306714782\"},{\"hpa-attribute-key\":\"numVirtualCpu\",\"hpa-attribute-value\":\"{\\\"value\\\":32}\",\"resource-version\":\"1521306714773\"}]},{\"hpa-capability-id\":\"9fa22e64-41b4-471f-96ad-6c4708635e4c\",\"hpa-feature\":\"cpuTopology\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714813\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"numCpuThreads\",\"hpa-attribute-value\":\"{\\\"value\\\":8}\",\"resource-version\":\"1521306714841\"},{\"hpa-attribute-key\":\"numCpuCores\",\"hpa-attribute-value\":\"{\\\"value\\\":16}\",\"resource-version\":\"1521306714817\"},{\"hpa-attribute-key\":\"numCpuSockets\",\"hpa-attribute-value\":\"{\\\"value\\\":2}\",\"resource-version\":\"1521306714826\"}]}]},\"resource-version\":\"1521306714764\"},{\"flavor-id\":\"e5aa2b2e-3206-41b6-80d5-cf041b098c43\",\"flavor-name\":\"flavor-cpu-pinning-ovsdpdk-instruction-set\",\"flavor-vcpus\":32,\"flavor-ram\":131072,\"flavor-disk\":2097152,\"flavor-ephemeral\":128,\"flavor-swap\":\"0\",\"flavor-is-public\":false,\"flavor-selflink\":\"pXtX\",\"flavor-disabled\":false,\"hpa-capabilities\":{\"hpa-capability\":[{\"hpa-capability-id\":\"5565615b-1077-4bb5-a340-c5be48db2aaa\",\"hpa-feature\":\"basicCapabilities\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714950\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"numVirtualCpu\",\"hpa-attribute-value\":\"{\\\"value\\\":32}\",\"resource-version\":\"1521306714964\"},{\"hpa-attribute-key\":\"virtualMemSize\",\"hpa-attribute-value\":\"{\\\"value\\\":131072, \\\"unit\\\":\\\"MB\\\" }\",\"resource-version\":\"1521306714954\"}]},{\"hpa-capability-id\":\"9d36a8fe-bfee-446a-bbcb-881ee66c8f78\",\"hpa-feature\":\"ovsDpdk\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714876\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"dataProcessingAccelerationLibrary\",\"hpa-attribute-value\":\"{\\\"value\\\":\\\"v17.02\\\"}\",\"resource-version\":\"1521306714881\"}]},{\"hpa-capability-id\":\"d140c945-1532-4908-86c9-d7f71416f1dd\",\"hpa-feature\":\"cpuPinning\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714899\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"logicalCpuThreadPinningPolicy\",\"hpa-attribute-value\":\"{value:\\\"prefer\\\"}\",\"resource-version\":\"1521306714915\"},{\"hpa-attribute-key\":\"logicalCpuPinningPolicy\",\"hpa-attribute-value\":\"{\\\"value\\\":\\\"dedicated\\\"}\",\"resource-version\":\"1521306714904\"}]},{\"hpa-capability-id\":\"5d04f4d8-e257-4442-8417-19a525e56096\",\"hpa-feature\":\"cpuInstructionSetExtensions\",\"hpa-version\":\"v1\",\"architecture\":\"generic\",\"resource-version\":\"1521306714931\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"instructionSetExtensions\",\"hpa-attribute-value\":\"{\\\"value\\\":{['aes', 'avx']}}\",\"resource-version\":\"1521306714936\"}]}]},\"resource-version\":\"1521306714871\"}]},\"group-assignments\":{\"group-assignment\":[{\"group-id\":\"example-group-id-val-67573\",\"group-type\":\"example-group-type-val-91331\",\"group-name\":\"example-group-name-val-95940\",\"group-description\":\"example-group-description-val-89653\",\"resource-version\":\"1521306714983\"}]},\"snapshots\":{\"snapshot\":[{\"snapshot-id\":\"example-snapshot-id-val-31759\",\"snapshot-name\":\"example-snapshot-name-val-32860\",\"snapshot-architecture\":\"example-snapshot-architecture-val-2456\",\"snapshot-os-distro\":\"example-snapshot-os-distro-val-75068\",\"snapshot-os-version\":\"example-snapshot-os-version-val-8641\",\"application\":\"example-application-val-6391\",\"application-vendor\":\"example-application-vendor-val-52418\",\"application-version\":\"example-application-version-val-92869\",\"snapshot-selflink\":\"example-snapshot-selflink-val-69763\",\"prev-snapshot-id\":\"example-prev-snapshot-id-val-19500\",\"resource-version\":\"1521306714993\"}]},\"images\":{\"image\":[{\"image-id\":\"example-image-id-val-91485\",\"image-name\":\"example-image-name-val-86952\",\"image-architecture\":\"example-image-architecture-val-21769\",\"image-os-distro\":\"example-image-os-distro-val-15267\",\"image-os-version\":\"example-image-os-version-val-90601\",\"application\":\"example-application-val-41444\",\"application-vendor\":\"example-application-vendor-val-50626\",\"application-version\":\"example-application-version-val-11318\",\"image-selflink\":\"example-image-selflink-val-18790\",\"resource-version\":\"1521306715005\",\"metadata\":{\"metadatum\":[{\"metaname\":\"example-metaname-val-39609\",\"metaval\":\"example-metaval-val-62296\",\"resource-version\":\"1521306715009\"}]}}]},\"dvs-switches\":{\"dvs-switch\":[{\"switch-name\":\"example-switch-name-val-23942\",\"vcenter-url\":\"example-vcenter-url-val-7815\",\"resource-version\":\"1521306715024\"}]},\"oam-networks\":{\"oam-network\":[{\"network-uuid\":\"example-network-uuid-val-1062\",\"network-name\":\"example-network-name-val-96413\",\"cvlan-tag\":20601039,\"ipv4-oam-gateway-address\":\"example-ipv4-oam-gateway-address-val-92545\",\"ipv4-oam-gateway-address-prefix-length\":9067,\"resource-version\":\"1521306715034\"}]},\"availability-zones\":{\"availability-zone\":[{\"availability-zone-name\":\"example-availability-zone-name-val-37097\",\"hypervisor-type\":\"example-hypervisor-type-val-91298\",\"operational-status\":\"example-operational-status-val-4894\",\"resource-version\":\"1521306715044\"}]},\"relationship-list\":{\"relationship\":[{\"related-to\":\"complex\",\"relationship-label\":\"org.onap.relationships.inventory.LocatedIn\",\"related-link\":\"/aai/v13/cloud-infrastructure/complexes/complex/DLLSTX233\",\"relationship-data\":[{\"relationship-key\":\"complex.physical-location-id\",\"relationship-value\":\"DLLSTX233\"}]}]},\"vip-ipv4-address-list\":[{\"vip-ipv4-address\":\"example-vip-ipv4-address-val-9775\",\"vip-ipv4-prefix-length\":21779008,\"vlan-id-inner\":183626,\"vlan-id-outer\":7595139,\"is-floating\":true,\"resource-version\":\"1521306715054\",\"neutron-network-id\":\"example-neutron-network-id-val-61916\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-94467\"}],\"vip-ipv6-address-list\":[{\"vip-ipv6-address\":\"example-vip-ipv6-address-val-71778\",\"vip-ipv6-prefix-length\":54690289,\"vlan-id-inner\":37212492,\"vlan-id-outer\":58857577,\"is-floating\":true,\"resource-version\":\"1521306715064\",\"neutron-network-id\":\"example-neutron-network-id-val-2251\",\"neutron-subnet-id\":\"example-neutron-subnet-id-val-64440\"}],\"hpa-capabilities\":{\"hpa-capability\":[{\"hpa-capability-id\":\"example-hpa-capability-id-val-22083\",\"hpa-feature\":\"cloud-specific-hpa\",\"hpa-version\":\"example-hpa-version-val-64467\",\"architecture\":\"example-architecture-val-82451\",\"resource-version\":\"1521306715075\",\"hpa-feature-attributes\":[{\"hpa-attribute-key\":\"example-hpa-attribute-key-val-28058\",\"hpa-attribute-value\":\"example-hpa-attribute-value-val-74993\",\"resource-version\":\"1521306715078\"}]}]}}" + } + ] + }, + { + "name": "GET Flavors Cloud-Region1", + "request": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-1/flavors/?depth=all", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-1", + "flavors", + "" + ], + "query": [ + { + "key": "depth", + "value": "all" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Flavors Cloud-Region2", + "request": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-2/flavors/?depth=all", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-2", + "flavors", + "" + ], + "query": [ + { + "key": "depth", + "value": "all" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Flavors Cloud-Region5", + "request": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": {}, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-5/flavors/?depth=all", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-5", + "flavors", + "" + ], + "query": [ + { + "key": "depth", + "value": "all", + "equals": true + } + ] + } + }, + "response": [] + }, + { + "name": "GET HPA capability", + "request": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-1/flavors/flavor/9cf8220b-4d96-4c30-a426-2e9382f3fff2/hpa-capabilities/hpa-capability/01a4bfe1-1993-4fda-bd1c-ef333b4f76a9", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-1", + "flavors", + "flavor", + "9cf8220b-4d96-4c30-a426-2e9382f3fff2", + "hpa-capabilities", + "hpa-capability", + "01a4bfe1-1993-4fda-bd1c-ef333b4f76a9" + ] + }, + "description": "Get a HPA capability from a flavor using capability Id" + }, + "response": [] + }, + { + "name": "GET HPA capability Copy", + "request": { + "method": "GET", + "header": [ + { + "key": "X-TransactionId", + "value": "9999" + }, + { + "key": "X-FromAppId", + "value": "jimmy-postman" + }, + { + "key": "Real-Time", + "value": "true" + }, + { + "key": "Authorization", + "value": "Basic QUFJOkFBSQ==" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{aai}}/cloud-infrastructure/cloud-regions/cloud-region/HPA-cloud/cloud-region-1/flavors/flavor/9cf8220b-4d96-4c30-a426-2e9382f3fff2/hpa-capabilities/hpa-capability/?hpa-capability-id=01a4bfe1-1993-4fda-bd1c-ef333b4f76a9&depth=all", + "host": [ + "{{aai}}" + ], + "path": [ + "cloud-infrastructure", + "cloud-regions", + "cloud-region", + "HPA-cloud", + "cloud-region-1", + "flavors", + "flavor", + "9cf8220b-4d96-4c30-a426-2e9382f3fff2", + "hpa-capabilities", + "hpa-capability", + "" + ], + "query": [ + { + "key": "hpa-capability-id", + "value": "01a4bfe1-1993-4fda-bd1c-ef333b4f76a9" + }, + { + "key": "depth", + "value": "all" + } + ] + }, + "description": "Get a HPA capability from a flavor using capability Id" + }, + "response": [] + } + ], + "event": [ + { + "listen": "prerequest", + "script": { + "id": "0e9d73d0-a004-4920-a49c-7a7745acf8eb", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "9832ce67-d72a-425a-942f-9f32b3922fa8", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "id": "eae508cb-9656-4ce7-a69a-f8a16eded049", + "key": "aai", + "value": "https://192.168.1.20:8443/aai/v13", + "type": "string" + } + ] +}
\ No newline at end of file diff --git a/conductor/tools/postman_collection/HPA-Conductor-Mandatory.postman_collection.json b/conductor/tools/postman_collection/HPA-Conductor-Mandatory.postman_collection.json new file mode 100644 index 0000000..ce0eab1 --- /dev/null +++ b/conductor/tools/postman_collection/HPA-Conductor-Mandatory.postman_collection.json @@ -0,0 +1,647 @@ +{ + "info": { + "name": "HPA-Conductor-Mandatory", + "_postman_id": "7f99583e-e03b-95df-5e21-6ba9dcb49043", + "description": "", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "Plans", + "item": [ + { + "name": "Create Plan Sanity - Simple", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['id']);" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"name\":\"vCPE-Sanity1\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vg_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 500 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n },\r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + }, + "url": { + "raw": "{{conductor}}/plans", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans" + ] + }, + "description": "Plans" + }, + "response": [] + }, + { + "name": "Create Plan VIM-fit", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['id']);" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"name\":\"vCPE-Sanity1\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vg_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 5000 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"check_cloud_capacity\":{ \r\n \"type\":\"vim_fit\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"controller\":\"multicloud\",\r\n \"request\":{ \r\n \"vCPU\":10,\r\n \"Memory\":{ \r\n \"quantity\":{ \r\n \"get_param\":\"REQUIRED_MEM\"\r\n },\r\n \"unit\":\"GB\"\r\n },\r\n \"Storage\":{ \r\n \"quantity\":{ \r\n \"get_param\":\"REQUIRED_DISK\"\r\n },\r\n \"unit\":\"GB\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n },\r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + }, + "url": { + "raw": "{{conductor}}/plans", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans" + ] + }, + "description": "Plans" + }, + "response": [] + }, + { + "name": "Create Plan with HPA", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['id']);" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"name\":\"vCPE-with-HPA\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n },\r\n \"brg_loc\":{ \r\n \"pnf_host_name\":{ \r\n \"get_param\":\"pnf_id\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vGMuxInfra\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"service\",\r\n \"attributes\":{ \r\n \"equipment_type\":\"vG_Mux\",\r\n \"customer_id\":\"some_company\"\r\n },\r\n \"excluded_candidates\":[ \r\n { \r\n \"candidate_id\":\"1ac71fb8-ad43-4e16-9459-c3f372b8236d\"\r\n }\r\n ],\r\n \"existing_placement\":[ \r\n { \r\n \"candidate_id\":\"21d5f3e8-e714-4383-8f99-cc480144505a\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vgmux_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vGMuxInfra\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"colocation\":{ \r\n \"type\":\"zone\",\r\n \"demands\":[ \r\n \"vGMuxInfra\",\r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"qualifier\":\"same\",\r\n \"category\":\"region\"\r\n }\r\n },\r\n \"hpa_constraint\":{ \r\n \"type\":\"hpa\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"evaluate\":[ \r\n { \r\n \"label\":\"flavor_label_1\",\r\n \"features\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"cpuPinning\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"logicalCpuThreadPinningPolicy\",\r\n \"hpa-attribute-value\":\"prefer\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"logicalCpuPinningPolicy\",\r\n \"hpa-attribute-value\":\"dedicated\",\r\n \"operator\":\"=\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n { \r\n \"label\":\"flavor_label_2\",\r\n \"features\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"8\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"16\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"memoryPageSize\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"memoryPageSize\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vGMuxInfra\"\r\n ]\r\n },\r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + }, + "url": { + "raw": "{{conductor}}/plans", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans" + ] + }, + "description": "Plans" + }, + "response": [] + }, + { + "name": "Create Plan with HPA unmatched requirements", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['id']);" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"name\":\"vCPE-with-HPA-unmatched-requirements\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vgmux_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"hpa_constraint\":{ \r\n \"type\":\"hpa\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"evaluate\":[ \r\n { \r\n \"flavorLabel\":\"flavor_label_1\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"60\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"64\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n { \r\n \"flavorLabel\":\"flavor_label_2\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\":\"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"30\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"128\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + }, + "url": { + "raw": "{{conductor}}/plans", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans" + ] + }, + "description": "Plans" + }, + "response": [] + }, + { + "name": "Create Plan with HPA requirement mandatory", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['id']);" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"name\":\"vCPE-with-HPA-requirement-mandatory\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vgmux_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"hpa_constraint\":{ \r\n \"type\":\"hpa\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"evaluate\":[ \r\n { \r\n \"flavorLabel\":\"flavor_label_1\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"64\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"64\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\":\"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n { \r\n \"flavorLabel\":\"flavor_label_2\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"32\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"128\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"ovsDpdk\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"dataProcessingAccelerationLibrary\",\r\n \"hpa-attribute-value\":\"v18.02\",\r\n \"operator\":\"=\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + }, + "url": { + "raw": "{{conductor}}/plans", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans" + ] + }, + "description": "Plans" + }, + "response": [] + }, + { + "name": "Create Plan with HPA requirement optional", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['id']);" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"name\":\"vCPE-with-HPA-requirement-optional\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vgmux_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"hpa_constraint\":{ \r\n \"type\":\"hpa\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"evaluate\":[ \r\n { \r\n \"flavorLabel\":\"flavor_label_1\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"64\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"64\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"instructionSetExtensions\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"Intel64\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"instructionSetExtensions\",\r\n \"hpa-attribute-value\":[\"aes\", \"sse\", \"avx\", \"smt\"],\r\n \"operator\":\"ALL\",\r\n \"unit\":\"\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"cpuTopology\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\":\"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numCpuCores\",\r\n \"hpa-attribute-value\":\"16\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numCpuSockets\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numCpuThreads\",\r\n \"hpa-attribute-value\":\"8\",\r\n \"operator\":\"=\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\":\"False\",\r\n \"score\":\"3\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + }, + "url": { + "raw": "{{conductor}}/plans", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans" + ] + }, + "description": "Plans" + }, + "response": [] + }, + { + "name": "Get Plans", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['plans'][0]['id']);" + ] + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{conductor}}/plans/", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans", + "" + ] + }, + "description": "Plans" + }, + "response": [ + { + "id": "8c3be989-025d-44a2-87ec-5a573ca99fdc", + "name": "Get Plans_with false result", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{conductor}}/plans/", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans", + "" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "_postman_previewtype": "text", + "header": [ + { + "key": "Content-Length", + "value": "2211", + "name": "Content-Length", + "description": "The length of the response body in octets (8-bit bytes)" + }, + { + "key": "Content-Type", + "value": "application/json", + "name": "Content-Type", + "description": "The mime type of this content" + }, + { + "key": "Date", + "value": "Fri, 30 Mar 2018 15:02:09 GMT", + "name": "Date", + "description": "The date and time that the message was sent" + }, + { + "key": "Server", + "value": "WSGIServer/0.1 Python/2.7.12", + "name": "Server", + "description": "A name for the server" + } + ], + "cookie": [], + "responseTime": 1081, + "body": "{\"plans\": [{\"status\": \"solved\", \"id\": \"cc3546b4-ee4a-49e4-b3d1-73518cba42f6\", \"name\": \"vCPE-with-HPA_32\", \"links\": [[{\"href\": \"http://localhost:8091/v1/plans/cc3546b4-ee4a-49e4-b3d1-73518cba42f6\", \"rel\": \"self\"}]], \"recommendations\": [{\"vG\": {\"attributes\": {\"flavors\": {\"flavor_label_2\": \"flavor-cpu-topology-instruction-set\"}, \"cloud_owner\": \"HPA-cloud\", \"physical-location-id\": \"DLLSTX233\", \"aic_version\": \"75919\"}, \"inventory_provider\": \"aai\", \"service_resource_id\": \"\", \"candidate\": {\"is_rehome\": \"true\", \"cloud_owner\": \"HPA-cloud\", \"inventory_type\": \"cloud\", \"vim-id\": \"HPA-cloud_cloud-region-2\", \"candidate_id\": \"cloud-region-2\", \"location_id\": \"cloud-region-2\", \"location_type\": \"att_aic\"}}}]}, {\"status\": \"solved\", \"id\": \"7852c924-b67b-4c59-8289-248ab5c0b892\", \"name\": \"vCPE-with-HPA_32_false\", \"links\": [[{\"href\": \"http://localhost:8091/v1/plans/7852c924-b67b-4c59-8289-248ab5c0b892\", \"rel\": \"self\"}]], \"recommendations\": [{\"vG\": {\"attributes\": {\"cloud_owner\": \"HPA-cloud\", \"physical-location-id\": \"DLLSTX233\", \"aic_version\": \"75919\"}, \"inventory_provider\": \"aai\", \"service_resource_id\": \"\", \"candidate\": {\"is_rehome\": \"true\", \"cloud_owner\": \"HPA-cloud\", \"inventory_type\": \"cloud\", \"vim-id\": \"HPA-cloud_cloud-region-1\", \"candidate_id\": \"cloud-region-1\", \"location_id\": \"cloud-region-1\", \"location_type\": \"att_aic\"}}}]}, {\"status\": \"error\", \"message\": \"Location brg_loc has an invalid key pnf_host_name\", \"name\": \"vCPE-with-HPA\", \"links\": [[{\"href\": \"http://localhost:8091/v1/plans/774a2fa5-b04b-42cb-8b3b-e958c648506e\", \"rel\": \"self\"}]], \"id\": \"774a2fa5-b04b-42cb-8b3b-e958c648506e\"}, {\"status\": \"solved\", \"id\": \"f1094be4-2c7d-4786-9bf8-b1e1f874a58d\", \"name\": \"vCPE-Sanity1\", \"links\": [[{\"href\": \"http://localhost:8091/v1/plans/f1094be4-2c7d-4786-9bf8-b1e1f874a58d\", \"rel\": \"self\"}]], \"recommendations\": [{\"vG\": {\"attributes\": {\"cloud_owner\": \"HPA-cloud\", \"physical-location-id\": \"DLLSTX233\", \"aic_version\": \"75919\"}, \"inventory_provider\": \"aai\", \"service_resource_id\": \"\", \"candidate\": {\"is_rehome\": \"true\", \"cloud_owner\": \"HPA-cloud\", \"inventory_type\": \"cloud\", \"vim-id\": \"HPA-cloud_cloud-region-1\", \"candidate_id\": \"cloud-region-1\", \"location_id\": \"cloud-region-1\", \"location_type\": \"att_aic\"}}}]}]}" + } + ] + }, + { + "name": "Delete Plan", + "request": { + "method": "DELETE", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{conductor}}/plans/142c84f4-6252-41ad-ac44-98dab343a24a", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans", + "142c84f4-6252-41ad-ac44-98dab343a24a" + ] + }, + "description": "Plan" + }, + "response": [] + } + ] + }, + { + "name": "Music", + "description": "Validate using MUSIC APIs", + "item": [ + { + "name": "PLANS table", + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{music}}/MUSIC/rest/keyspaces/conductor/tables/plans/rows/?id={{plan_id}}", + "host": [ + "{{music}}" + ], + "path": [ + "MUSIC", + "rest", + "keyspaces", + "conductor", + "tables", + "plans", + "rows", + "" + ], + "query": [ + { + "key": "id", + "value": "{{plan_id}}" + } + ] + } + }, + "response": [] + }, + { + "name": "PLANS table All Rows", + "request": { + "method": "GET", + "header": [], + "body": {}, + "url": { + "raw": "{{music}}/MUSIC/rest/keyspaces/conductor/tables/plans/rows/", + "host": [ + "{{music}}" + ], + "path": [ + "MUSIC", + "rest", + "keyspaces", + "conductor", + "tables", + "plans", + "rows", + "" + ] + } + }, + "response": [ + { + "id": "13bd26e1-ec4e-4a34-ab4b-7a390aa74598", + "name": "PLANS table All Rows_row 0 false result", + "originalRequest": { + "method": "GET", + "header": [], + "body": {}, + "url": { + "raw": "{{music}}/MUSIC/rest/keyspaces/conductor/tables/plans/rows", + "host": [ + "{{music}}" + ], + "path": [ + "MUSIC", + "rest", + "keyspaces", + "conductor", + "tables", + "plans", + "rows" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "_postman_previewtype": "text", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "name": "Content-Type", + "description": "The mime type of this content" + }, + { + "key": "Date", + "value": "Fri, 30 Mar 2018 15:03:59 GMT", + "name": "Date", + "description": "The date and time that the message was sent" + }, + { + "key": "Transfer-Encoding", + "value": "chunked", + "name": "Transfer-Encoding", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookie": [], + "responseTime": 53, + "body": "{\"row 0\":{\"template\":\"{\\\"parameters\\\": {\\\"REQUIRED_DISK\\\": 100, \\\"customer_lat\\\": 32.89748, \\\"service_name\\\": \\\"Residential vCPE\\\", \\\"customer_long\\\": -97.040443, \\\"service_id\\\": \\\"vcpe_service_id\\\", \\\"REQUIRED_MEM\\\": 4, \\\"pnf_id\\\": \\\"some_pnf_id\\\"}, \\\"demands\\\": {\\\"vG\\\": [{\\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"cloud\\\"}]}, \\\"locations\\\": {\\\"customer_loc\\\": {\\\"latitude\\\": {\\\"get_param\\\": \\\"customer_lat\\\"}, \\\"longitude\\\": {\\\"get_param\\\": \\\"customer_long\\\"}}}, \\\"optimization\\\": {\\\"minimize\\\": {\\\"sum\\\": [{\\\"distance_between\\\": [\\\"customer_loc\\\", \\\"vG\\\"]}]}}, \\\"homing_template_version\\\": \\\"2017-10-10\\\", \\\"constraints\\\": {\\\"constraint_vgmux_customer\\\": {\\\"type\\\": \\\"distance_to_location\\\", \\\"properties\\\": {\\\"distance\\\": \\\"< 100 km\\\", \\\"location\\\": \\\"customer_loc\\\"}, \\\"demands\\\": [\\\"vG\\\"]}, \\\"hpa_constraint\\\": {\\\"type\\\": \\\"hpa\\\", \\\"properties\\\": {\\\"evaluate\\\": [{\\\"flavorProperties\\\": [{\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"hpa-attribute-value\\\": \\\"30\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"64\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"basicCapabilities\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuCores\\\", \\\"hpa-attribute-value\\\": \\\"16\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuSockets\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuThreads\\\", \\\"hpa-attribute-value\\\": \\\"8\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"cpuTopolgy\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"hpa-attribute-value\\\": \\\"prefer\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"hpa-attribute-value\\\": \\\"dedicated\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"cpuPinning\\\"}], \\\"flavorLabel\\\": \\\"flavor_label_1\\\"}, {\\\"flavorProperties\\\": [{\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"hpa-attribute-value\\\": \\\"30\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"64\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"basicCapabilities\\\"}], \\\"flavorLabel\\\": \\\"flavor_label_2\\\"}]}, \\\"demands\\\": [\\\"vG\\\"]}}}\",\"translation_counter\":1,\"created\":1522422111130,\"message\":\"\",\"solver_owner\":\"shci-pci-2\",\"timeout\":5,\"translation_owner\":\"shci-pci-2\",\"solution\":\"{\\\"recommendations\\\": [{\\\"vG\\\": {\\\"attributes\\\": {\\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"physical-location-id\\\": \\\"DLLSTX233\\\", \\\"aic_version\\\": \\\"75919\\\"}, \\\"inventory_provider\\\": \\\"aai\\\", \\\"service_resource_id\\\": \\\"\\\", \\\"candidate\\\": {\\\"is_rehome\\\": \\\"true\\\", \\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"inventory_type\\\": \\\"cloud\\\", \\\"vim-id\\\": \\\"HPA-cloud_cloud-region-1\\\", \\\"candidate_id\\\": \\\"cloud-region-1\\\", \\\"location_id\\\": \\\"cloud-region-1\\\", \\\"location_type\\\": \\\"att_aic\\\"}}}]}\",\"recommend_max\":3,\"solver_counter\":1,\"name\":\"vCPE-with-HPA_32_false\",\"reservation_counter\":0,\"translation\":\"{\\\"conductor_solver\\\": {\\\"plan_id\\\": \\\"7852c924-b67b-4c59-8289-248ab5c0b892\\\", \\\"demands\\\": {\\\"vG\\\": {\\\"candidates\\\": [{\\\"flavors\\\": {\\\"flavor\\\": [{\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numCpuCores\\\", \\\"resource-version\\\": \\\"1522168579404\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"8\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuSockets\\\", \\\"resource-version\\\": \\\"1522168579415\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"6\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuThreads\\\", \\\"resource-version\\\": \\\"1522168579426\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"8\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuTopology\\\", \\\"hpa-capability-id\\\": \\\"8fa22e64-41b4-471f-96ad-6c4708635e4c\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168579400\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numaCpu-0\\\", \\\"resource-version\\\": \\\"1522168579335\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaMem-0\\\", \\\"resource-version\\\": \\\"1522168579345\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"GB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaNodes\\\", \\\"resource-version\\\": \\\"1522168579382\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaMem-1\\\", \\\"resource-version\\\": \\\"1522168579369\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"4\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"GB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaCpu-1\\\", \\\"resource-version\\\": \\\"1522168579357\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"4\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"numa\\\", \\\"hpa-capability-id\\\": \\\"167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168579329\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168579312\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\": [\\\\\\\"aes\\\\\\\", \\\\\\\"sse\\\\\\\", \\\\\\\"avx\\\\\\\", \\\\\\\"smt\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"Intel64\\\", \\\"resource-version\\\": \\\"1522168579307\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168579267\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"64\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168579287\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"65536\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"13ec6d4d-7fee-48d8-9e4a-c598feb101ed\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168579230\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"9cf8220b-4d96-4c30-a426-2e9382f3fff2\\\", \\\"flavor-vcpus\\\": 64, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168579162\\\", \\\"flavor-ram\\\": 65536, \\\"flavor-name\\\": \\\"flavor-numa-cpu-topology-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 1048576}, {\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168580345\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"131072\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168580370\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"32\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"4565615b-1077-4bb5-a340-c5be48db2aaa\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580334\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"dataProcessingAccelerationLibrary\\\", \\\"resource-version\\\": \\\"1522168580148\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"v18.02\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"ovsDpdk\\\", \\\"hpa-capability-id\\\": \\\"8d36a8fe-bfee-446a-bbcb-881ee66c8f78\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580135\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168580282\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":[\\\\\\\"aes\\\\\\\", \\\\\\\"avx\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"4d04f4d8-e257-4442-8417-19a525e56096\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580249\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168580205\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"dedicated\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168580223\\\", \\\"hpa-attribute-value\\\": \\\"{value:\\\\\\\"prefer\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuPinning\\\", \\\"hpa-capability-id\\\": \\\"c140c945-1532-4908-86c9-d7f71416f1dd\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580195\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"f5aa2b2e-3206-41b6-80d5-cf041b098c43\\\", \\\"flavor-vcpus\\\": 32, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168579450\\\", \\\"flavor-ram\\\": 131072, \\\"flavor-name\\\": \\\"flavor-cpu-pinning-ovsdpdk-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 2097152}]}, \\\"city\\\": \\\"Dallas\\\", \\\"service_resource_id\\\": \\\"\\\", \\\"existing_placement\\\": \\\"false\\\", \\\"country\\\": \\\"USA\\\", \\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"cloud\\\", \\\"longitude\\\": \\\"-97.045443\\\", \\\"sriov_automation\\\": \\\"false\\\", \\\"state\\\": \\\"TX\\\", \\\"cost\\\": \\\"2\\\", \\\"vim-id\\\": \\\"HPA-cloud_cloud-region-1\\\", \\\"candidate_id\\\": \\\"cloud-region-1\\\", \\\"cloud_region_version\\\": \\\"75919\\\", \\\"latitude\\\": \\\"32.89948\\\", \\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"complex_name\\\": \\\"example-complex-name-val-62100\\\", \\\"region\\\": \\\"USA\\\", \\\"location_id\\\": \\\"cloud-region-1\\\", \\\"location_type\\\": \\\"att_aic\\\", \\\"physical_location_id\\\": \\\"DLLSTX233\\\"}, {\\\"flavors\\\": {\\\"flavor\\\": [{\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168631596\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"65536\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168631587\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"32\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"23ec6d4d-7fee-48d8-9e4a-c598feb101ed\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631582\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numCpuSockets\\\", \\\"resource-version\\\": \\\"1522168631642\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuCores\\\", \\\"resource-version\\\": \\\"1522168631633\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"16\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuThreads\\\", \\\"resource-version\\\": \\\"1522168631652\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"8\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuTopology\\\", \\\"hpa-capability-id\\\": \\\"9fa22e64-41b4-471f-96ad-6c4708635e4c\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631630\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168631615\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\": [\\\\\\\"aes\\\\\\\", \\\\\\\"sse\\\\\\\", \\\\\\\"avx\\\\\\\", \\\\\\\"smt\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"Intel64\\\", \\\"resource-version\\\": \\\"1522168631611\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"acf8220b-4d96-4c30-a426-2e9382f3fff2\\\", \\\"flavor-vcpus\\\": 32, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168631576\\\", \\\"flavor-ram\\\": 65536, \\\"flavor-name\\\": \\\"flavor-cpu-topology-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 1048576}, {\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"dataProcessingAccelerationLibrary\\\", \\\"resource-version\\\": \\\"1522168631678\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"v17.02\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"ovsDpdk\\\", \\\"hpa-capability-id\\\": \\\"9d36a8fe-bfee-446a-bbcb-881ee66c8f78\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631675\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168631704\\\", \\\"hpa-attribute-value\\\": \\\"{value:\\\\\\\"prefer\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168631695\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"dedicated\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuPinning\\\", \\\"hpa-capability-id\\\": \\\"d140c945-1532-4908-86c9-d7f71416f1dd\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631691\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168631721\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\": [\\\\\\\"avx\\\\\\\", \\\\\\\"smt\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"Intel64\\\", \\\"resource-version\\\": \\\"1522168631718\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168631739\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"131072\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168631747\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"32\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"5565615b-1077-4bb5-a340-c5be48db2aaa\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631735\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"e5aa2b2e-3206-41b6-80d5-cf041b098c43\\\", \\\"flavor-vcpus\\\": 32, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168631670\\\", \\\"flavor-ram\\\": 131072, \\\"flavor-name\\\": \\\"flavor-cpu-pinning-ovsdpdk-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 2097152}]}, \\\"city\\\": \\\"Dallas\\\", \\\"service_resource_id\\\": \\\"\\\", \\\"existing_placement\\\": \\\"false\\\", \\\"country\\\": \\\"USA\\\", \\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"cloud\\\", \\\"longitude\\\": \\\"-97.045443\\\", \\\"sriov_automation\\\": \\\"false\\\", \\\"state\\\": \\\"TX\\\", \\\"cost\\\": \\\"2\\\", \\\"vim-id\\\": \\\"HPA-cloud_cloud-region-2\\\", \\\"candidate_id\\\": \\\"cloud-region-2\\\", \\\"cloud_region_version\\\": \\\"75919\\\", \\\"latitude\\\": \\\"32.89948\\\", \\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"complex_name\\\": \\\"example-complex-name-val-62100\\\", \\\"region\\\": \\\"USA\\\", \\\"location_id\\\": \\\"cloud-region-2\\\", \\\"location_type\\\": \\\"att_aic\\\", \\\"physical_location_id\\\": \\\"DLLSTX233\\\"}]}}, \\\"reservations\\\": {}, \\\"locations\\\": {\\\"customer_loc\\\": {\\\"latitude\\\": 32.89748, \\\"longitude\\\": -97.040443}}, \\\"request_type\\\": \\\"\\\", \\\"version\\\": \\\"2017-10-10\\\", \\\"objective\\\": {\\\"operation\\\": \\\"sum\\\", \\\"goal\\\": \\\"min\\\", \\\"operands\\\": [{\\\"function\\\": \\\"distance_between\\\", \\\"function_param\\\": [\\\"customer_loc\\\", \\\"vG\\\"], \\\"operation\\\": \\\"product\\\", \\\"weight\\\": 1.0}]}, \\\"constraints\\\": {\\\"hpa_constraint_vG\\\": {\\\"demands\\\": \\\"vG\\\", \\\"type\\\": \\\"hpa\\\", \\\"properties\\\": {\\\"evaluate\\\": [{\\\"flavorProperties\\\": [{\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"hpa-attribute-value\\\": \\\"30\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"64\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"basicCapabilities\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuCores\\\", \\\"hpa-attribute-value\\\": \\\"16\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuSockets\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuThreads\\\", \\\"hpa-attribute-value\\\": \\\"8\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"cpuTopolgy\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"hpa-attribute-value\\\": \\\"prefer\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"hpa-attribute-value\\\": \\\"dedicated\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"cpuPinning\\\"}], \\\"flavorLabel\\\": \\\"flavor_label_1\\\"}, {\\\"flavorProperties\\\": [{\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"hpa-attribute-value\\\": \\\"30\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"64\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"basicCapabilities\\\"}], \\\"flavorLabel\\\": \\\"flavor_label_2\\\"}]}, \\\"name\\\": \\\"hpa_constraint\\\"}, \\\"constraint_vgmux_customer_vG\\\": {\\\"demands\\\": \\\"vG\\\", \\\"type\\\": \\\"distance_to_location\\\", \\\"properties\\\": {\\\"distance\\\": {\\\"operator\\\": \\\"<\\\", \\\"units\\\": \\\"km\\\", \\\"value\\\": 100.0}, \\\"location\\\": \\\"customer_loc\\\"}, \\\"name\\\": \\\"constraint_vgmux_customer\\\"}}}}\",\"id\":\"7852c924-b67b-4c59-8289-248ab5c0b892\",\"updated\":1522422121566,\"reservation_owner\":\"{}\",\"status\":\"solved\"},\"row 1\":{\"template\":\"{\\\"parameters\\\": {\\\"REQUIRED_DISK\\\": 100, \\\"customer_lat\\\": 32.89748, \\\"service_name\\\": \\\"Residential vCPE\\\", \\\"customer_long\\\": -97.040443, \\\"service_id\\\": \\\"vcpe_service_id\\\", \\\"REQUIRED_MEM\\\": 4, \\\"pnf_id\\\": \\\"some_pnf_id\\\"}, \\\"demands\\\": {\\\"vG\\\": [{\\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"cloud\\\"}]}, \\\"locations\\\": {\\\"customer_loc\\\": {\\\"latitude\\\": {\\\"get_param\\\": \\\"customer_lat\\\"}, \\\"longitude\\\": {\\\"get_param\\\": \\\"customer_long\\\"}}}, \\\"optimization\\\": {\\\"minimize\\\": {\\\"sum\\\": [{\\\"distance_between\\\": [\\\"customer_loc\\\", \\\"vG\\\"]}]}}, \\\"homing_template_version\\\": \\\"2017-10-10\\\", \\\"constraints\\\": {\\\"constraint_vgmux_customer\\\": {\\\"type\\\": \\\"distance_to_location\\\", \\\"properties\\\": {\\\"distance\\\": \\\"< 100 km\\\", \\\"location\\\": \\\"customer_loc\\\"}, \\\"demands\\\": [\\\"vG\\\"]}, \\\"hpa_constraint\\\": {\\\"type\\\": \\\"hpa\\\", \\\"properties\\\": {\\\"evaluate\\\": [{\\\"flavorProperties\\\": [{\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"hpa-attribute-value\\\": \\\"32\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"64\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"basicCapabilities\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuCores\\\", \\\"hpa-attribute-value\\\": \\\"16\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuSockets\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuThreads\\\", \\\"hpa-attribute-value\\\": \\\"8\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"cpuTopolgy\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"hpa-attribute-value\\\": \\\"prefer\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"hpa-attribute-value\\\": \\\"dedicated\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"cpuPinning\\\"}], \\\"flavorLabel\\\": \\\"flavor_label_1\\\"}, {\\\"flavorProperties\\\": [{\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"hpa-attribute-value\\\": \\\"32\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"64\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"basicCapabilities\\\"}], \\\"flavorLabel\\\": \\\"flavor_label_2\\\"}]}, \\\"demands\\\": [\\\"vG\\\"]}}}\",\"translation_counter\":1,\"created\":1522422026321,\"message\":\"\",\"solver_owner\":\"shci-pci-2\",\"timeout\":5,\"translation_owner\":\"shci-pci-2\",\"solution\":\"{\\\"recommendations\\\": [{\\\"vG\\\": {\\\"attributes\\\": {\\\"flavors\\\": {\\\"flavor_label_2\\\": \\\"flavor-cpu-topology-instruction-set\\\"}, \\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"physical-location-id\\\": \\\"DLLSTX233\\\", \\\"aic_version\\\": \\\"75919\\\"}, \\\"inventory_provider\\\": \\\"aai\\\", \\\"service_resource_id\\\": \\\"\\\", \\\"candidate\\\": {\\\"is_rehome\\\": \\\"true\\\", \\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"inventory_type\\\": \\\"cloud\\\", \\\"vim-id\\\": \\\"HPA-cloud_cloud-region-2\\\", \\\"candidate_id\\\": \\\"cloud-region-2\\\", \\\"location_id\\\": \\\"cloud-region-2\\\", \\\"location_type\\\": \\\"att_aic\\\"}}}]}\",\"recommend_max\":3,\"solver_counter\":1,\"name\":\"vCPE-with-HPA_32\",\"reservation_counter\":0,\"translation\":\"{\\\"conductor_solver\\\": {\\\"plan_id\\\": \\\"cc3546b4-ee4a-49e4-b3d1-73518cba42f6\\\", \\\"demands\\\": {\\\"vG\\\": {\\\"candidates\\\": [{\\\"flavors\\\": {\\\"flavor\\\": [{\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numCpuCores\\\", \\\"resource-version\\\": \\\"1522168579404\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"8\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuSockets\\\", \\\"resource-version\\\": \\\"1522168579415\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"6\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuThreads\\\", \\\"resource-version\\\": \\\"1522168579426\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"8\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuTopology\\\", \\\"hpa-capability-id\\\": \\\"8fa22e64-41b4-471f-96ad-6c4708635e4c\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168579400\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numaCpu-0\\\", \\\"resource-version\\\": \\\"1522168579335\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaMem-0\\\", \\\"resource-version\\\": \\\"1522168579345\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"GB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaNodes\\\", \\\"resource-version\\\": \\\"1522168579382\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaMem-1\\\", \\\"resource-version\\\": \\\"1522168579369\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"4\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"GB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaCpu-1\\\", \\\"resource-version\\\": \\\"1522168579357\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"4\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"numa\\\", \\\"hpa-capability-id\\\": \\\"167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168579329\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168579312\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\": [\\\\\\\"aes\\\\\\\", \\\\\\\"sse\\\\\\\", \\\\\\\"avx\\\\\\\", \\\\\\\"smt\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"Intel64\\\", \\\"resource-version\\\": \\\"1522168579307\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168579267\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"64\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168579287\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"65536\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"13ec6d4d-7fee-48d8-9e4a-c598feb101ed\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168579230\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"9cf8220b-4d96-4c30-a426-2e9382f3fff2\\\", \\\"flavor-vcpus\\\": 64, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168579162\\\", \\\"flavor-ram\\\": 65536, \\\"flavor-name\\\": \\\"flavor-numa-cpu-topology-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 1048576}, {\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168580345\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"131072\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168580370\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"32\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"4565615b-1077-4bb5-a340-c5be48db2aaa\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580334\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"dataProcessingAccelerationLibrary\\\", \\\"resource-version\\\": \\\"1522168580148\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"v18.02\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"ovsDpdk\\\", \\\"hpa-capability-id\\\": \\\"8d36a8fe-bfee-446a-bbcb-881ee66c8f78\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580135\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168580282\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":[\\\\\\\"aes\\\\\\\", \\\\\\\"avx\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"4d04f4d8-e257-4442-8417-19a525e56096\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580249\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168580205\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"dedicated\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168580223\\\", \\\"hpa-attribute-value\\\": \\\"{value:\\\\\\\"prefer\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuPinning\\\", \\\"hpa-capability-id\\\": \\\"c140c945-1532-4908-86c9-d7f71416f1dd\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580195\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"f5aa2b2e-3206-41b6-80d5-cf041b098c43\\\", \\\"flavor-vcpus\\\": 32, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168579450\\\", \\\"flavor-ram\\\": 131072, \\\"flavor-name\\\": \\\"flavor-cpu-pinning-ovsdpdk-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 2097152}]}, \\\"city\\\": \\\"Dallas\\\", \\\"service_resource_id\\\": \\\"\\\", \\\"existing_placement\\\": \\\"false\\\", \\\"country\\\": \\\"USA\\\", \\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"cloud\\\", \\\"longitude\\\": \\\"-97.045443\\\", \\\"sriov_automation\\\": \\\"false\\\", \\\"state\\\": \\\"TX\\\", \\\"cost\\\": 2.0, \\\"vim-id\\\": \\\"HPA-cloud_cloud-region-1\\\", \\\"candidate_id\\\": \\\"cloud-region-1\\\", \\\"cloud_region_version\\\": \\\"75919\\\", \\\"latitude\\\": \\\"32.89948\\\", \\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"complex_name\\\": \\\"example-complex-name-val-62100\\\", \\\"region\\\": \\\"USA\\\", \\\"location_id\\\": \\\"cloud-region-1\\\", \\\"location_type\\\": \\\"att_aic\\\", \\\"physical_location_id\\\": \\\"DLLSTX233\\\"}, {\\\"flavors\\\": {\\\"flavor\\\": [{\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168631596\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"65536\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168631587\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"32\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"23ec6d4d-7fee-48d8-9e4a-c598feb101ed\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631582\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numCpuSockets\\\", \\\"resource-version\\\": \\\"1522168631642\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuCores\\\", \\\"resource-version\\\": \\\"1522168631633\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"16\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuThreads\\\", \\\"resource-version\\\": \\\"1522168631652\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"8\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuTopology\\\", \\\"hpa-capability-id\\\": \\\"9fa22e64-41b4-471f-96ad-6c4708635e4c\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631630\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168631615\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\": [\\\\\\\"aes\\\\\\\", \\\\\\\"sse\\\\\\\", \\\\\\\"avx\\\\\\\", \\\\\\\"smt\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"Intel64\\\", \\\"resource-version\\\": \\\"1522168631611\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"acf8220b-4d96-4c30-a426-2e9382f3fff2\\\", \\\"flavor-vcpus\\\": 32, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168631576\\\", \\\"flavor-ram\\\": 65536, \\\"flavor-name\\\": \\\"flavor-cpu-topology-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 1048576}, {\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"dataProcessingAccelerationLibrary\\\", \\\"resource-version\\\": \\\"1522168631678\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"v17.02\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"ovsDpdk\\\", \\\"hpa-capability-id\\\": \\\"9d36a8fe-bfee-446a-bbcb-881ee66c8f78\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631675\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168631704\\\", \\\"hpa-attribute-value\\\": \\\"{value:\\\\\\\"prefer\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168631695\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"dedicated\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuPinning\\\", \\\"hpa-capability-id\\\": \\\"d140c945-1532-4908-86c9-d7f71416f1dd\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631691\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168631721\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\": [\\\\\\\"avx\\\\\\\", \\\\\\\"smt\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"Intel64\\\", \\\"resource-version\\\": \\\"1522168631718\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168631739\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"131072\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168631747\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"32\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"5565615b-1077-4bb5-a340-c5be48db2aaa\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631735\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"e5aa2b2e-3206-41b6-80d5-cf041b098c43\\\", \\\"flavor-vcpus\\\": 32, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168631670\\\", \\\"flavor-ram\\\": 131072, \\\"flavor-name\\\": \\\"flavor-cpu-pinning-ovsdpdk-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 2097152}]}, \\\"city\\\": \\\"Dallas\\\", \\\"service_resource_id\\\": \\\"\\\", \\\"existing_placement\\\": \\\"false\\\", \\\"country\\\": \\\"USA\\\", \\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"cloud\\\", \\\"longitude\\\": \\\"-97.045443\\\", \\\"sriov_automation\\\": \\\"false\\\", \\\"state\\\": \\\"TX\\\", \\\"cost\\\": 2.0, \\\"vim-id\\\": \\\"HPA-cloud_cloud-region-2\\\", \\\"candidate_id\\\": \\\"cloud-region-2\\\", \\\"cloud_region_version\\\": \\\"75919\\\", \\\"latitude\\\": \\\"32.89948\\\", \\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"complex_name\\\": \\\"example-complex-name-val-62100\\\", \\\"region\\\": \\\"USA\\\", \\\"location_id\\\": \\\"cloud-region-2\\\", \\\"location_type\\\": \\\"att_aic\\\", \\\"physical_location_id\\\": \\\"DLLSTX233\\\"}]}}, \\\"reservations\\\": {}, \\\"locations\\\": {\\\"customer_loc\\\": {\\\"latitude\\\": 32.89748, \\\"longitude\\\": -97.040443}}, \\\"request_type\\\": \\\"\\\", \\\"version\\\": \\\"2017-10-10\\\", \\\"objective\\\": {\\\"operation\\\": \\\"sum\\\", \\\"goal\\\": \\\"min\\\", \\\"operands\\\": [{\\\"function\\\": \\\"distance_between\\\", \\\"function_param\\\": [\\\"customer_loc\\\", \\\"vG\\\"], \\\"operation\\\": \\\"product\\\", \\\"weight\\\": 1.0}]}, \\\"constraints\\\": {\\\"hpa_constraint_vG\\\": {\\\"demands\\\": \\\"vG\\\", \\\"type\\\": \\\"hpa\\\", \\\"properties\\\": {\\\"evaluate\\\": [{\\\"flavorProperties\\\": [{\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"hpa-attribute-value\\\": \\\"32\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"64\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"basicCapabilities\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuCores\\\", \\\"hpa-attribute-value\\\": \\\"16\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuSockets\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numCpuThreads\\\", \\\"hpa-attribute-value\\\": \\\"8\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"cpuTopolgy\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"hpa-attribute-value\\\": \\\"prefer\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"hpa-attribute-value\\\": \\\"dedicated\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"cpuPinning\\\"}], \\\"flavorLabel\\\": \\\"flavor_label_1\\\"}, {\\\"flavorProperties\\\": [{\\\"hpa-version\\\": \\\"v1\\\", \\\"mandatory\\\": \\\"True\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"hpa-attribute-value\\\": \\\"32\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"64\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"basicCapabilities\\\"}], \\\"flavorLabel\\\": \\\"flavor_label_2\\\"}]}, \\\"name\\\": \\\"hpa_constraint\\\"}, \\\"constraint_vgmux_customer_vG\\\": {\\\"demands\\\": \\\"vG\\\", \\\"type\\\": \\\"distance_to_location\\\", \\\"properties\\\": {\\\"distance\\\": {\\\"operator\\\": \\\"<\\\", \\\"units\\\": \\\"km\\\", \\\"value\\\": 100.0}, \\\"location\\\": \\\"customer_loc\\\"}, \\\"name\\\": \\\"constraint_vgmux_customer\\\"}}}}\",\"id\":\"cc3546b4-ee4a-49e4-b3d1-73518cba42f6\",\"updated\":1522422035785,\"reservation_owner\":\"{}\",\"status\":\"solved\"},\"row 2\":{\"template\":\"{\\\"parameters\\\": {\\\"REQUIRED_DISK\\\": 100, \\\"customer_lat\\\": 32.89748, \\\"service_name\\\": \\\"Residential vCPE\\\", \\\"customer_long\\\": -97.040443, \\\"service_id\\\": \\\"vcpe_service_id\\\", \\\"REQUIRED_MEM\\\": 4, \\\"pnf_id\\\": \\\"some_pnf_id\\\"}, \\\"demands\\\": {\\\"vG\\\": [{\\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"cloud\\\"}]}, \\\"locations\\\": {\\\"customer_loc\\\": {\\\"latitude\\\": {\\\"get_param\\\": \\\"customer_lat\\\"}, \\\"longitude\\\": {\\\"get_param\\\": \\\"customer_long\\\"}}}, \\\"optimization\\\": {\\\"minimize\\\": {\\\"sum\\\": [{\\\"distance_between\\\": [\\\"customer_loc\\\", \\\"vG\\\"]}, {\\\"distance_between\\\": [\\\"customer_loc\\\", \\\"vG\\\"]}]}}, \\\"homing_template_version\\\": \\\"2017-10-10\\\", \\\"constraints\\\": {\\\"constraint_vg_customer\\\": {\\\"type\\\": \\\"distance_to_location\\\", \\\"properties\\\": {\\\"distance\\\": \\\"< 5000 km\\\", \\\"location\\\": \\\"customer_loc\\\"}, \\\"demands\\\": [\\\"vG\\\"]}}}\",\"translation_counter\":1,\"created\":1522335418548,\"message\":\"\",\"solver_owner\":\"shci-pci-2\",\"timeout\":10,\"translation_owner\":\"shci-pci-2\",\"solution\":\"{\\\"recommendations\\\": [{\\\"vG\\\": {\\\"attributes\\\": {\\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"physical-location-id\\\": \\\"DLLSTX233\\\", \\\"aic_version\\\": \\\"75919\\\"}, \\\"inventory_provider\\\": \\\"aai\\\", \\\"service_resource_id\\\": \\\"\\\", \\\"candidate\\\": {\\\"is_rehome\\\": \\\"true\\\", \\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"inventory_type\\\": \\\"cloud\\\", \\\"vim-id\\\": \\\"HPA-cloud_cloud-region-1\\\", \\\"candidate_id\\\": \\\"cloud-region-1\\\", \\\"location_id\\\": \\\"cloud-region-1\\\", \\\"location_type\\\": \\\"att_aic\\\"}}}]}\",\"recommend_max\":3,\"solver_counter\":1,\"name\":\"vCPE-Sanity1\",\"reservation_counter\":0,\"translation\":\"{\\\"conductor_solver\\\": {\\\"plan_id\\\": \\\"f1094be4-2c7d-4786-9bf8-b1e1f874a58d\\\", \\\"demands\\\": {\\\"vG\\\": {\\\"candidates\\\": [{\\\"flavors\\\": {\\\"flavor\\\": [{\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numCpuCores\\\", \\\"resource-version\\\": \\\"1522168579404\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"8\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuSockets\\\", \\\"resource-version\\\": \\\"1522168579415\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"6\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuThreads\\\", \\\"resource-version\\\": \\\"1522168579426\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"8\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuTopology\\\", \\\"hpa-capability-id\\\": \\\"8fa22e64-41b4-471f-96ad-6c4708635e4c\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168579400\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numaCpu-0\\\", \\\"resource-version\\\": \\\"1522168579335\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaMem-0\\\", \\\"resource-version\\\": \\\"1522168579345\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"GB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaNodes\\\", \\\"resource-version\\\": \\\"1522168579382\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaMem-1\\\", \\\"resource-version\\\": \\\"1522168579369\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"4\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"GB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numaCpu-1\\\", \\\"resource-version\\\": \\\"1522168579357\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"4\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"numa\\\", \\\"hpa-capability-id\\\": \\\"167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168579329\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168579312\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\": [\\\\\\\"aes\\\\\\\", \\\\\\\"sse\\\\\\\", \\\\\\\"avx\\\\\\\", \\\\\\\"smt\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"Intel64\\\", \\\"resource-version\\\": \\\"1522168579307\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168579267\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"64\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168579287\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"65536\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"13ec6d4d-7fee-48d8-9e4a-c598feb101ed\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168579230\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"9cf8220b-4d96-4c30-a426-2e9382f3fff2\\\", \\\"flavor-vcpus\\\": 64, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168579162\\\", \\\"flavor-ram\\\": 65536, \\\"flavor-name\\\": \\\"flavor-numa-cpu-topology-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 1048576}, {\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168580345\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"131072\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168580370\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"32\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"4565615b-1077-4bb5-a340-c5be48db2aaa\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580334\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"dataProcessingAccelerationLibrary\\\", \\\"resource-version\\\": \\\"1522168580148\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"v18.02\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"ovsDpdk\\\", \\\"hpa-capability-id\\\": \\\"8d36a8fe-bfee-446a-bbcb-881ee66c8f78\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580135\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168580282\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":[\\\\\\\"aes\\\\\\\", \\\\\\\"avx\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"4d04f4d8-e257-4442-8417-19a525e56096\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580249\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168580205\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"dedicated\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168580223\\\", \\\"hpa-attribute-value\\\": \\\"{value:\\\\\\\"prefer\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuPinning\\\", \\\"hpa-capability-id\\\": \\\"c140c945-1532-4908-86c9-d7f71416f1dd\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168580195\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"f5aa2b2e-3206-41b6-80d5-cf041b098c43\\\", \\\"flavor-vcpus\\\": 32, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168579450\\\", \\\"flavor-ram\\\": 131072, \\\"flavor-name\\\": \\\"flavor-cpu-pinning-ovsdpdk-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 2097152}]}, \\\"city\\\": \\\"Dallas\\\", \\\"service_resource_id\\\": \\\"\\\", \\\"existing_placement\\\": \\\"false\\\", \\\"country\\\": \\\"USA\\\", \\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"cloud\\\", \\\"longitude\\\": \\\"-97.045443\\\", \\\"sriov_automation\\\": \\\"false\\\", \\\"state\\\": \\\"TX\\\", \\\"cost\\\": \\\"2\\\", \\\"vim-id\\\": \\\"HPA-cloud_cloud-region-1\\\", \\\"candidate_id\\\": \\\"cloud-region-1\\\", \\\"cloud_region_version\\\": \\\"75919\\\", \\\"latitude\\\": \\\"32.89948\\\", \\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"complex_name\\\": \\\"example-complex-name-val-62100\\\", \\\"region\\\": \\\"USA\\\", \\\"location_id\\\": \\\"cloud-region-1\\\", \\\"location_type\\\": \\\"att_aic\\\", \\\"physical_location_id\\\": \\\"DLLSTX233\\\"}, {\\\"flavors\\\": {\\\"flavor\\\": [{\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168631596\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"65536\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168631587\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"32\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"23ec6d4d-7fee-48d8-9e4a-c598feb101ed\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631582\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"numCpuSockets\\\", \\\"resource-version\\\": \\\"1522168631642\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"2\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuCores\\\", \\\"resource-version\\\": \\\"1522168631633\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"16\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"numCpuThreads\\\", \\\"resource-version\\\": \\\"1522168631652\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"8\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuTopology\\\", \\\"hpa-capability-id\\\": \\\"9fa22e64-41b4-471f-96ad-6c4708635e4c\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631630\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168631615\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\": [\\\\\\\"aes\\\\\\\", \\\\\\\"sse\\\\\\\", \\\\\\\"avx\\\\\\\", \\\\\\\"smt\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"Intel64\\\", \\\"resource-version\\\": \\\"1522168631611\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"acf8220b-4d96-4c30-a426-2e9382f3fff2\\\", \\\"flavor-vcpus\\\": 32, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168631576\\\", \\\"flavor-ram\\\": 65536, \\\"flavor-name\\\": \\\"flavor-cpu-topology-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 1048576}, {\\\"hpa-capabilities\\\": {\\\"hpa-capability\\\": [{\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"dataProcessingAccelerationLibrary\\\", \\\"resource-version\\\": \\\"1522168631678\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"v17.02\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"ovsDpdk\\\", \\\"hpa-capability-id\\\": \\\"9d36a8fe-bfee-446a-bbcb-881ee66c8f78\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631675\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168631704\\\", \\\"hpa-attribute-value\\\": \\\"{value:\\\\\\\"prefer\\\\\\\"}\\\"}, {\\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"resource-version\\\": \\\"1522168631695\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"dedicated\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"cpuPinning\\\", \\\"hpa-capability-id\\\": \\\"d140c945-1532-4908-86c9-d7f71416f1dd\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631691\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"instructionSetExtensions\\\", \\\"resource-version\\\": \\\"1522168631721\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\": [\\\\\\\"avx\\\\\\\", \\\\\\\"smt\\\\\\\"]}\\\"}], \\\"hpa-feature\\\": \\\"instructionSetExtensions\\\", \\\"hpa-capability-id\\\": \\\"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"Intel64\\\", \\\"resource-version\\\": \\\"1522168631718\\\"}, {\\\"hpa-feature-attributes\\\": [{\\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"resource-version\\\": \\\"1522168631739\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"131072\\\\\\\", \\\\\\\"unit\\\\\\\":\\\\\\\"MB\\\\\\\" }\\\"}, {\\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"resource-version\\\": \\\"1522168631747\\\", \\\"hpa-attribute-value\\\": \\\"{\\\\\\\"value\\\\\\\":\\\\\\\"32\\\\\\\"}\\\"}], \\\"hpa-feature\\\": \\\"basicCapabilities\\\", \\\"hpa-capability-id\\\": \\\"5565615b-1077-4bb5-a340-c5be48db2aaa\\\", \\\"hpa-version\\\": \\\"v1\\\", \\\"architecture\\\": \\\"generic\\\", \\\"resource-version\\\": \\\"1522168631735\\\"}]}, \\\"flavor-is-public\\\": false, \\\"flavor-disabled\\\": false, \\\"flavor-id\\\": \\\"e5aa2b2e-3206-41b6-80d5-cf041b098c43\\\", \\\"flavor-vcpus\\\": 32, \\\"flavor-swap\\\": \\\"0\\\", \\\"flavor-ephemeral\\\": 128, \\\"resource-version\\\": \\\"1522168631670\\\", \\\"flavor-ram\\\": 131072, \\\"flavor-name\\\": \\\"flavor-cpu-pinning-ovsdpdk-instruction-set\\\", \\\"flavor-selflink\\\": \\\"pXtX\\\", \\\"flavor-disk\\\": 2097152}]}, \\\"city\\\": \\\"Dallas\\\", \\\"service_resource_id\\\": \\\"\\\", \\\"existing_placement\\\": \\\"false\\\", \\\"country\\\": \\\"USA\\\", \\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"cloud\\\", \\\"longitude\\\": \\\"-97.045443\\\", \\\"sriov_automation\\\": \\\"false\\\", \\\"state\\\": \\\"TX\\\", \\\"cost\\\": \\\"2\\\", \\\"vim-id\\\": \\\"HPA-cloud_cloud-region-2\\\", \\\"candidate_id\\\": \\\"cloud-region-2\\\", \\\"cloud_region_version\\\": \\\"75919\\\", \\\"latitude\\\": \\\"32.89948\\\", \\\"cloud_owner\\\": \\\"HPA-cloud\\\", \\\"complex_name\\\": \\\"example-complex-name-val-62100\\\", \\\"region\\\": \\\"USA\\\", \\\"location_id\\\": \\\"cloud-region-2\\\", \\\"location_type\\\": \\\"att_aic\\\", \\\"physical_location_id\\\": \\\"DLLSTX233\\\"}]}}, \\\"reservations\\\": {}, \\\"locations\\\": {\\\"customer_loc\\\": {\\\"latitude\\\": 32.89748, \\\"longitude\\\": -97.040443}}, \\\"request_type\\\": \\\"\\\", \\\"version\\\": \\\"2017-10-10\\\", \\\"objective\\\": {\\\"operation\\\": \\\"sum\\\", \\\"goal\\\": \\\"min\\\", \\\"operands\\\": [{\\\"function\\\": \\\"distance_between\\\", \\\"function_param\\\": [\\\"customer_loc\\\", \\\"vG\\\"], \\\"operation\\\": \\\"product\\\", \\\"weight\\\": 1.0}, {\\\"function\\\": \\\"distance_between\\\", \\\"function_param\\\": [\\\"customer_loc\\\", \\\"vG\\\"], \\\"operation\\\": \\\"product\\\", \\\"weight\\\": 1.0}]}, \\\"constraints\\\": {\\\"constraint_vg_customer_vG\\\": {\\\"demands\\\": \\\"vG\\\", \\\"type\\\": \\\"distance_to_location\\\", \\\"properties\\\": {\\\"distance\\\": {\\\"operator\\\": \\\"<\\\", \\\"units\\\": \\\"km\\\", \\\"value\\\": 5000.0}, \\\"location\\\": \\\"customer_loc\\\"}, \\\"name\\\": \\\"constraint_vg_customer\\\"}}}}\",\"id\":\"f1094be4-2c7d-4786-9bf8-b1e1f874a58d\",\"updated\":1522335424402,\"reservation_owner\":\"{}\",\"status\":\"solved\"},\"row 3\":{\"template\":\"{\\\"parameters\\\": {\\\"REQUIRED_DISK\\\": 100, \\\"customer_lat\\\": 32.89748, \\\"service_name\\\": \\\"Residential vCPE\\\", \\\"customer_long\\\": -97.040443, \\\"service_id\\\": \\\"vcpe_service_id\\\", \\\"REQUIRED_MEM\\\": 4, \\\"pnf_id\\\": \\\"some_pnf_id\\\"}, \\\"demands\\\": {\\\"vGMuxInfra\\\": [{\\\"excluded_candidates\\\": [{\\\"candidate_id\\\": \\\"1ac71fb8-ad43-4e16-9459-c3f372b8236d\\\"}], \\\"attributes\\\": {\\\"equipment_type\\\": \\\"vG_Mux\\\", \\\"customer_id\\\": \\\"some_company\\\"}, \\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"service\\\", \\\"existing_placement\\\": [{\\\"candidate_id\\\": \\\"21d5f3e8-e714-4383-8f99-cc480144505a\\\"}]}], \\\"vG\\\": [{\\\"inventory_provider\\\": \\\"aai\\\", \\\"inventory_type\\\": \\\"cloud\\\"}]}, \\\"locations\\\": {\\\"brg_loc\\\": {\\\"pnf_host_name\\\": {\\\"get_param\\\": \\\"pnf_id\\\"}}, \\\"customer_loc\\\": {\\\"latitude\\\": {\\\"get_param\\\": \\\"customer_lat\\\"}, \\\"longitude\\\": {\\\"get_param\\\": \\\"customer_long\\\"}}}, \\\"optimization\\\": {\\\"minimize\\\": {\\\"sum\\\": [{\\\"distance_between\\\": [\\\"customer_loc\\\", \\\"vGMuxInfra\\\"]}, {\\\"distance_between\\\": [\\\"customer_loc\\\", \\\"vG\\\"]}]}}, \\\"homing_template_version\\\": \\\"2017-10-10\\\", \\\"constraints\\\": {\\\"colocation\\\": {\\\"type\\\": \\\"zone\\\", \\\"properties\\\": {\\\"category\\\": \\\"region\\\", \\\"qualifier\\\": \\\"same\\\"}, \\\"demands\\\": [\\\"vGMuxInfra\\\", \\\"vG\\\"]}, \\\"constraint_vgmux_customer\\\": {\\\"type\\\": \\\"distance_to_location\\\", \\\"properties\\\": {\\\"distance\\\": \\\"< 100 km\\\", \\\"location\\\": \\\"customer_loc\\\"}, \\\"demands\\\": [\\\"vGMuxInfra\\\"]}, \\\"hpa_constraint\\\": {\\\"type\\\": \\\"hpa\\\", \\\"properties\\\": {\\\"evaluate\\\": [{\\\"flavorProperties\\\": [{\\\"hpa-version\\\": \\\"v1\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"hpa-attribute-value\\\": \\\"4\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"4\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"basicCapabilities\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numaNodes\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numaCpu-0\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numaCpu-1\\\", \\\"hpa-attribute-value\\\": \\\"4\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numaMem-0\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numaMem-1\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"4\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"numa\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"logicalCpuThreadPinningPolicy\\\", \\\"hpa-attribute-value\\\": \\\"prefer\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"logicalCpuPinningPolicy\\\", \\\"hpa-attribute-value\\\": \\\"dedicated\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"cpuPinning\\\"}], \\\"flavorLabel\\\": \\\"flavor_label_1\\\"}, {\\\"flavorProperties\\\": [{\\\"hpa-version\\\": \\\"v1\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numVirtualCpu\\\", \\\"hpa-attribute-value\\\": \\\"8\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"virtualMemSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"16\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"basicCapabilities\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numaNodes\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numaCpu-0\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numaCpu-1\\\", \\\"hpa-attribute-value\\\": \\\"4\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numaMem-0\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}, {\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"numaMem-1\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"4\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"numa\\\"}, {\\\"hpa-version\\\": \\\"v1\\\", \\\"hpa-feature-attributes\\\": [{\\\"operator\\\": \\\"=\\\", \\\"hpa-attribute-key\\\": \\\"memoryPageSize\\\", \\\"unit\\\": \\\"GB\\\", \\\"hpa-attribute-value\\\": \\\"2\\\"}], \\\"architecture\\\": \\\"generic\\\", \\\"hpa-feature\\\": \\\"memoryPageSize\\\"}], \\\"flavorLabel\\\": \\\"flavor_label_2\\\"}]}, \\\"demands\\\": [\\\"vG\\\"]}}}\",\"translation_counter\":1,\"created\":1522336266482,\"message\":\"Location brg_loc has an invalid key pnf_host_name\",\"solver_owner\":\"{}\",\"timeout\":5,\"translation_owner\":\"shci-pci-2\",\"solution\":\"{}\",\"recommend_max\":3,\"solver_counter\":0,\"name\":\"vCPE-with-HPA\",\"reservation_counter\":0,\"translation\":\"{}\",\"id\":\"774a2fa5-b04b-42cb-8b3b-e958c648506e\",\"updated\":1522336269153,\"reservation_owner\":\"{}\",\"status\":\"error\"}}" + } + ] + }, + { + "name": "Version Test", + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{music}}/MUSIC/rest/version", + "host": [ + "{{music}}" + ], + "path": [ + "MUSIC", + "rest", + "version" + ] + } + }, + "response": [] + } + ] + } + ], + "auth": { + "type": "basic", + "basic": [ + { + "key": "password", + "value": "plan.15", + "type": "string" + }, + { + "key": "username", + "value": "admin1", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "d43e4971-494a-467a-b867-c544f609df40", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "64aca1f5-a33a-446e-9f67-7c3bdfbc0a36", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "id": "d7f1f115-6ac0-4d58-a8ae-46a0a7da31fe", + "key": "conductor_root", + "value": "http://{{host}}:{{port}}", + "type": "string" + }, + { + "id": "4048fa49-8223-471a-a6d6-981597e9d80b", + "key": "music", + "value": "http://{{music_host}}:{{music_port}}", + "type": "string" + }, + { + "id": "afb0f26e-5782-447d-ab31-0337337d4154", + "key": "conductor", + "value": "{{conductor_root}}/{{version}}", + "type": "string" + }, + { + "id": "a420ddaa-cc65-4a49-ba05-18f0fad559f8", + "key": "version", + "value": "v1", + "type": "string" + }, + { + "id": "507cb8bf-0048-4ea8-8c4e-eecd8b6597a4", + "key": "Accept", + "value": "application/json", + "type": "string" + }, + { + "id": "74aa1443-2e9e-45f3-a1fa-f54dfbc47b01", + "key": "host", + "value": "localhost", + "type": "string" + }, + { + "id": "ded8d618-c747-4976-b3a8-86adc9d6f968", + "key": "port", + "value": "8091", + "type": "string" + }, + { + "id": "1d1c6892-96cd-498e-9065-1ae693670acc", + "key": "music_host", + "value": "localhost", + "type": "string" + }, + { + "id": "c19944d3-dbb2-4e6a-bf93-a4295e4dc1ab", + "key": "music_port", + "value": "8081", + "type": "string" + } + ] +}
\ No newline at end of file diff --git a/conductor/tools/postman_collection/HPA-Conductor.postman_collection.json b/conductor/tools/postman_collection/HPA-Conductor.postman_collection.json index 2d98bc7..e87530a 100644 --- a/conductor/tools/postman_collection/HPA-Conductor.postman_collection.json +++ b/conductor/tools/postman_collection/HPA-Conductor.postman_collection.json @@ -1,13 +1,13 @@ { "info": { - "_postman_id": "239540d1-161b-4d72-9fbb-12c97ddeec8d", "name": "HPA-Conductor", + "_postman_id": "76f7e1ce-02fb-72bc-33ff-4d56c1259b78", + "description": "", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Plans", - "description": "", "item": [ { "name": "Create Plan Sanity - Simple", @@ -37,7 +37,7 @@ ], "body": { "mode": "raw", - "raw": "{ \r\n \"name\":\"vCPE-Sanity1\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vg_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 5000 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n },\r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + "raw": "{ \r\n \"name\":\"vCPE-Sanity1\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vg_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n },\r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" }, "url": { "raw": "{{conductor}}/plans", @@ -80,7 +80,7 @@ ], "body": { "mode": "raw", - "raw": "{ \r\n \"name\":\"vCPE-Sanity1\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vg_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 5000 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"check_cloud_capacity\":{ \r\n \"type\":\"vim_fit\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"controller\":\"multicloud\",\r\n \"request\":{ \r\n \"vCPU\":10,\r\n \"Memory\":{ \r\n \"quantity\":{ \r\n \"get_param\":\"REQUIRED_MEM\"\r\n },\r\n \"unit\":\"GB\"\r\n },\r\n \"Storage\":{ \r\n \"quantity\":{ \r\n \"get_param\":\"REQUIRED_DISK\"\r\n },\r\n \"unit\":\"GB\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n },\r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + "raw": "{ \r\n \"name\":\"vCPE-Sanity1\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vg_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"check_cloud_capacity\":{ \r\n \"type\":\"vim_fit\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"controller\":\"multicloud\",\r\n \"request\":{ \r\n \"vCPU\":10,\r\n \"Memory\":{ \r\n \"quantity\":{ \r\n \"get_param\":\"REQUIRED_MEM\"\r\n },\r\n \"unit\":\"GB\"\r\n },\r\n \"Storage\":{ \r\n \"quantity\":{ \r\n \"get_param\":\"REQUIRED_DISK\"\r\n },\r\n \"unit\":\"GB\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n },\r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" }, "url": { "raw": "{{conductor}}/plans", @@ -123,7 +123,179 @@ ], "body": { "mode": "raw", - "raw": "{ \r\n \"name\":\"vCPE-with-HPA\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":32.89748,\r\n \"customer_long\":-97.040443,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n },\r\n \"brg_loc\":{ \r\n \"pnf_host_name\":{ \r\n \"get_param\":\"pnf_id\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vGMuxInfra\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"service\",\r\n \"attributes\":{ \r\n \"equipment_type\":\"vG_Mux\",\r\n \"customer_id\":\"some_company\"\r\n },\r\n \"excluded_candidates\":[ \r\n { \r\n \"candidate_id\":\"1ac71fb8-ad43-4e16-9459-c3f372b8236d\"\r\n }\r\n ],\r\n \"existing_placement\":[ \r\n { \r\n \"candidate_id\":\"21d5f3e8-e714-4383-8f99-cc480144505a\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vgmux_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vGMuxInfra\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"colocation\":{ \r\n \"type\":\"zone\",\r\n \"demands\":[ \r\n \"vGMuxInfra\",\r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"qualifier\":\"same\",\r\n \"category\":\"region\"\r\n }\r\n },\r\n \"hpa_constraint\":{ \r\n \"type\":\"hpa\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"evaluate\":[ \r\n { \r\n \"label\":\"flavor_label_1\",\r\n \"features\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"cpuPinning\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"logicalCpuThreadPinningPolicy\",\r\n \"hpa-attribute-value\":\"prefer\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"logicalCpuPinningPolicy\",\r\n \"hpa-attribute-value\":\"dedicated\",\r\n \"operator\":\"=\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n { \r\n \"label\":\"flavor_label_2\",\r\n \"features\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"8\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"16\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"memoryPageSize\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"memoryPageSize\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vGMuxInfra\"\r\n ]\r\n },\r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + "raw": "{ \r\n \"name\":\"vCPE-with-HPA\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":45.395968,\r\n \"customer_long\":-71.135344,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{\r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{\r\n \"constraint_vg_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"hpa_constraint\":{ \r\n \"type\":\"hpa\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"evaluate\":[ \r\n { \r\n \"flavorLabel\":\"flavor_label_1\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\": \"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\">=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\">=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\": \"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"cpuPinning\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\": \"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"logicalCpuThreadPinningPolicy\",\r\n \"hpa-attribute-value\":\"prefer\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"logicalCpuPinningPolicy\",\r\n \"hpa-attribute-value\":\"dedicated\",\r\n \"operator\":\"=\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n { \r\n \"flavorLabel\":\"flavor_label_2\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\": \"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"8\",\r\n \"operator\":\">=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"16\",\r\n \"operator\":\">=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\": \"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"ovsDpdk\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\": \"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"dataProcessingAccelerationLibrary\",\r\n \"hpa-attribute-value\":\"v18.02\",\r\n \"operator\":\"=\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n },\r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + }, + "url": { + "raw": "{{conductor}}/plans", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans" + ] + }, + "description": "Plans" + }, + "response": [] + }, + { + "name": "Create Plan with HPA Simple", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['id']);" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"name\":\"vCPE-with-HPA\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":45.395968,\r\n \"customer_long\":-71.135344,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{\r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"hpa_constraint\":{ \r\n \"type\":\"hpa\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"evaluate\":[ \r\n { \r\n \"flavorLabel\":\"flavor_label_1\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\": \"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"32\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"64\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"ovsDpdk\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\": \"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"dataProcessingAccelerationLibrary\",\r\n \"hpa-attribute-value\":\"v18.02\",\r\n \"operator\":\"=\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n { \r\n \"flavorLabel\":\"flavor_label_2\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\": \"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"8\",\r\n \"operator\":\">=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"16\",\r\n \"operator\":\">=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n },\r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + }, + "url": { + "raw": "{{conductor}}/plans", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans" + ] + }, + "description": "Plans" + }, + "response": [] + }, + { + "name": "Create Plan with HPA unmatched requirements", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['id']);" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"name\":\"vCPE-with-HPA-unmatched-requirements\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":45.395968,\r\n \"customer_long\":-71.135344,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vgmux_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"hpa_constraint\":{ \r\n \"type\":\"hpa\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"evaluate\":[ \r\n { \r\n \"flavorLabel\":\"flavor_label_1\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"60\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"64\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n { \r\n \"flavorLabel\":\"flavor_label_2\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\":\"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"30\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"128\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + }, + "url": { + "raw": "{{conductor}}/plans", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans" + ] + }, + "description": "Plans" + }, + "response": [] + }, + { + "name": "Create Plan with HPA requirement mandatory", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['id']);" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"name\":\"vCPE-with-HPA-requirement-mandatory\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":45.395968,\r\n \"customer_long\":-71.135344,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vg_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"hpa_constraint\":{ \r\n \"type\":\"hpa\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"evaluate\":[ \r\n { \r\n \"flavorLabel\":\"flavor_label_1\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"64\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"64\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\":\"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n { \r\n \"flavorLabel\":\"flavor_label_2\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"32\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"128\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"ovsDpdk\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"dataProcessingAccelerationLibrary\",\r\n \"hpa-attribute-value\":\"v18.02\",\r\n \"operator\":\"=\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" + }, + "url": { + "raw": "{{conductor}}/plans", + "host": [ + "{{conductor}}" + ], + "path": [ + "plans" + ] + }, + "description": "Plans" + }, + "response": [] + }, + { + "name": "Create Plan with HPA requirement optional", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "var data = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"plan_id\", data['id']);" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-Auth-Token", + "value": "{{auth_token}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"name\":\"vCPE-HPA-Requirement-Optional\",\r\n \"template\":{ \r\n \"homing_template_version\":\"2017-10-10\",\r\n \"parameters\":{ \r\n \"service_name\":\"Residential vCPE\",\r\n \"service_id\":\"vcpe_service_id\",\r\n \"customer_lat\":45.395968,\r\n \"customer_long\":-71.135344,\r\n \"REQUIRED_MEM\":4,\r\n \"REQUIRED_DISK\":100,\r\n \"pnf_id\":\"some_pnf_id\"\r\n },\r\n \"locations\":{ \r\n \"customer_loc\":{ \r\n \"latitude\":{ \r\n \"get_param\":\"customer_lat\"\r\n },\r\n \"longitude\":{ \r\n \"get_param\":\"customer_long\"\r\n }\r\n }\r\n },\r\n \"demands\":{ \r\n \"vG\":[ \r\n { \r\n \"inventory_provider\":\"aai\",\r\n \"inventory_type\":\"cloud\"\r\n }\r\n ]\r\n },\r\n \"constraints\":{ \r\n \"constraint_vg_customer\":{ \r\n \"type\":\"distance_to_location\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"distance\":\"< 100 km\",\r\n \"location\":\"customer_loc\"\r\n }\r\n },\r\n \"hpa_constraint\":{ \r\n \"type\":\"hpa\",\r\n \"demands\":[ \r\n \"vG\"\r\n ],\r\n \"properties\":{ \r\n \"evaluate\":[ \r\n { \r\n \"flavorLabel\":\"flavor_label_1\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\">=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"8\",\r\n \"operator\":\">=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"instructionSetExtensions\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"Intel64\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"instructionSetExtensions\",\r\n \"hpa-attribute-value\":[\"aes\", \"sse\", \"avx\", \"smt\"],\r\n \"operator\":\"ALL\",\r\n \"unit\":\"\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\":\"False\",\r\n \"score\":\"3\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n { \r\n \"flavorLabel\":\"flavor_label_2\",\r\n \"flavorProperties\":[ \r\n { \r\n \"hpa-feature\":\"basicCapabilities\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"True\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numVirtualCpu\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\">=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"virtualMemSize\",\r\n \"hpa-attribute-value\":\"8\",\r\n \"operator\":\">=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"ovsDpdk\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\": \"False\",\r\n \"score\":\"5\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"dataProcessingAccelerationLibrary\",\r\n \"hpa-attribute-value\":\"v18.02\",\r\n \"operator\":\"=\"\r\n }\r\n ]\r\n },\r\n { \r\n \"hpa-feature\":\"numa\",\r\n \"hpa-version\":\"v1\",\r\n \"architecture\":\"generic\",\r\n \"mandatory\":\"False\",\r\n \"score\":\"3\",\r\n \"hpa-feature-attributes\":[ \r\n { \r\n \"hpa-attribute-key\":\"numaNodes\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaCpu-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-0\",\r\n \"hpa-attribute-value\":\"2\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n },\r\n { \r\n \"hpa-attribute-key\":\"numaMem-1\",\r\n \"hpa-attribute-value\":\"4\",\r\n \"operator\":\"=\",\r\n \"unit\":\"GB\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"optimization\":{ \r\n \"minimize\":{ \r\n \"sum\":[ \r\n { \r\n \"distance_between\":[ \r\n \"customer_loc\",\r\n \"vG\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"timeout\":5,\r\n \"limit\":3\r\n}" }, "url": { "raw": "{{conductor}}/plans", @@ -273,7 +445,10 @@ "request": { "method": "GET", "header": [], - "body": {}, + "body": { + "mode": "raw", + "raw": "" + }, "url": { "raw": "{{music}}/MUSIC/rest/keyspaces/conductor/tables/plans/rows/?id={{plan_id}}", "host": [ @@ -304,7 +479,10 @@ "request": { "method": "GET", "header": [], - "body": {}, + "body": { + "mode": "raw", + "raw": "" + }, "url": { "raw": "{{music}}/MUSIC/rest/keyspaces/conductor/tables/plans/rows", "host": [ @@ -328,7 +506,10 @@ "request": { "method": "GET", "header": [], - "body": {}, + "body": { + "mode": "raw", + "raw": "" + }, "url": { "raw": "{{music}}/MUSIC/rest/version", "host": [ @@ -370,61 +551,58 @@ ], "variable": [ { - "id": "67c04fe5-65e5-49c1-9eef-2a4ab7369851", + "id": "f0c65a3a-71ea-4efa-951d-3ac6665c756b", "key": "conductor_root", "value": "http://{{host}}:{{port}}", "type": "string" }, { - "id": "3d4932b3-5c48-414e-939c-09d2686c0fcb", + "id": "8489511a-d30a-491c-8c9a-d2800a6496b1", "key": "music", "value": "http://{{music_host}}:{{music_port}}", - "type": "string", - "description": "" + "type": "string" }, { - "id": "936b25bf-6d03-4f39-93b6-d1bc13e2d6b4", + "id": "afd96c65-d94f-4f8f-a25a-c920e5c80a06", "key": "conductor", "value": "{{conductor_root}}/{{version}}", "type": "string" }, { - "id": "07bbd7ba-467d-4db4-81e9-cc3f354dc556", + "id": "5390d5f6-eeea-4b2e-a622-0768143f5dd8", "key": "version", "value": "v1", "type": "string" }, { - "id": "9cf0167a-3be1-4bc4-956e-622e00d892f8", + "id": "f025ecbd-011d-4433-bc95-46e5783ab7dc", "key": "Accept", "value": "application/json", "type": "string" }, { - "id": "46f7b0fa-6e8f-4af4-96f1-35233948c014", + "id": "44d9c205-327d-4926-8149-fde868c9f819", "key": "host", "value": "otconap5.sc.intel.com", "type": "string" }, { - "id": "2fa308ce-9e2e-4c6e-a4b4-fb45aa945d71", + "id": "dc240e5d-1c19-4f04-9173-136a89727bb0", "key": "port", "value": "8091", "type": "string" }, { - "id": "7df576d5-4744-4577-b2d8-8eb4e7748f63", + "id": "da3d359f-bc48-47b5-99da-5ed69469cb5f", "key": "music_host", "value": "10.3.79.140", - "type": "string", - "description": "" + "type": "string" }, { - "id": "2eac9633-c6d7-45d3-8fb9-06f14f8fa181", + "id": "755142fc-4ccf-4ec9-b146-d63385b04948", "key": "music_port", "value": "8080", - "type": "string", - "description": "" + "type": "string" } ] }
\ No newline at end of file diff --git a/docs/homingspecification.rst b/docs/homingspecification.rst index bb1798b..9e10730 100644 --- a/docs/homingspecification.rst +++ b/docs/homingspecification.rst @@ -376,6 +376,7 @@ region. **Examples** +**``Service Candidate``** .. code:: json { @@ -396,7 +397,225 @@ region. "complex_name": "dalls_one", "cloud_owner": "att-aic", "cloud_region_version": "1.1", - "physical_location_id": "DLLSTX9A", + "physical_location_id": "DLLSTX9A" + } + +**``Cloud Candidate``** +.. code:: json + + { + "candidate_id": "NYCNY55", + "candidate_type": "cloud", + "inventory_type": "cloud", + "inventory_provider": "aai", + "cost": "100", + "location_id": "NYCNY55", + "location_type": "azure", + "latitude": "40.7128", + "longitude": "-74.0060", + "city": "New York", + "state": "NY", + "country": "USA", + "region": "US", + "complex_name": "ny_one", + "cloud_owner": "att-aic", + "cloud_region_version": "1.1", + "physical_location_id": "NYCNY55", + "flavors": { + "flavor":[ + { + "flavor-id":"9cf8220b-4d96-4c30-a426-2e9382f3fff2", + "flavor-name":"flavor-numa-cpu-topology-instruction-set", + "flavor-vcpus":64, + "flavor-ram":65536, + "flavor-disk":1048576, + "flavor-ephemeral":128, + "flavor-swap":"0", + "flavor-is-public":false, + "flavor-selflink":"pXtX", + "flavor-disabled":false, + "hpa-capabilities":{ + "hpa-capability":[ + { + "hpa-capability-id":"01a4bfe1-1993-4fda-bd1c-ef333b4f76a9", + "hpa-feature":"cpuInstructionSetExtensions", + "hpa-version":"v1", + "architecture":"Intel64", + "resource-version":"1521306560982", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"instructionSetExtensions", + "hpa-attribute-value":"{\"value\":{['AAA', 'BBB', 'CCC', 'DDD']}}", + "resource-version":"1521306560989" + } + ] + }, + { + "hpa-capability-id":"167ad6a2-7d9c-4bf2-9a1b-30e5311b8c66", + "hpa-feature":"numa", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561020", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numaCpu-1", + "hpa-attribute-value":"{\"value\":4}", + "resource-version":"1521306561060" + }, + { + "hpa-attribute-key":"numaNodes", + "hpa-attribute-value":"{\"value\":2}", + "resource-version":"1521306561088" + }, + { + "hpa-attribute-key":"numaCpu-0", + "hpa-attribute-value":"{\"value\":2}", + "resource-version":"1521306561028" + }, + { + "hpa-attribute-key":"numaMem-0", + "hpa-attribute-value":"{\"value\":2, \"unit\":\"GB\" }", + "resource-version":"1521306561044" + }, + { + "hpa-attribute-key":"numaMem-1", + "hpa-attribute-value":"{\"value\":4, \"unit\":\"GB\" }", + "resource-version":"1521306561074" + } + ] + }, + { + "hpa-capability-id":"13ec6d4d-7fee-48d8-9e4a-c598feb101ed", + "hpa-feature":"basicCapabilities", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306560909", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numVirtualCpu", + "hpa-attribute-value":"{\"value\":64}", + "resource-version":"1521306560932" + }, + { + "hpa-attribute-key":"virtualMemSize", + "hpa-attribute-value":"{\"value\":65536, \"unit\":\"MB\" }", + "resource-version":"1521306560954" + } + ] + }, + { + "hpa-capability-id":"8fa22e64-41b4-471f-96ad-6c4708635e4c", + "hpa-feature":"cpuTopology", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561109", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numCpuCores", + "hpa-attribute-value":"{\"value\":8}", + "resource-version":"1521306561114" + }, + { + "hpa-attribute-key":"numCpuThreads", + "hpa-attribute-value":"{\"value\":8}", + "resource-version":"1521306561138" + }, + { + "hpa-attribute-key":"numCpuSockets", + "hpa-attribute-value":"{\"value\":6}", + "resource-version":"1521306561126" + } + ] + } + ] + }, + "resource-version":"1521306560203" + }, + { + "flavor-id":"f5aa2b2e-3206-41b6-80d5-cf041b098c43", + "flavor-name":"flavor-cpu-pinning-ovsdpdk-instruction-set", + "flavor-vcpus":32, + "flavor-ram":131072, + "flavor-disk":2097152, + "flavor-ephemeral":128, + "flavor-swap":"0", + "flavor-is-public":false, + "flavor-selflink":"pXtX", + "flavor-disabled":false, + "hpa-capabilities":{ + "hpa-capability":[ + { + "hpa-capability-id":"4d04f4d8-e257-4442-8417-19a525e56096", + "hpa-feature":"cpuInstructionSetExtensions", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561223", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"instructionSetExtensions", + "hpa-attribute-value":"{\"value\":{['A11', 'B22']}}", + "resource-version":"1521306561228" + } + ] + }, + { + "hpa-capability-id":"8d36a8fe-bfee-446a-bbcb-881ee66c8f78", + "hpa-feature":"ovsDpdk", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561170", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"dataProcessingAccelerationLibrary", + "hpa-attribute-value":"{\"value\":\"v18.02\"}", + "resource-version":"1521306561175" + } + ] + }, + { + "hpa-capability-id":"c140c945-1532-4908-86c9-d7f71416f1dd", + "hpa-feature":"cpuPinning", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561191", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"logicalCpuPinningPolicy", + "hpa-attribute-value":"{\"value\":\"dedicated\"}", + "resource-version":"1521306561196" + }, + { + "hpa-attribute-key":"logicalCpuThreadPinningPolicy", + "hpa-attribute-value":"{value:\"prefer\"}", + "resource-version":"1521306561206" + } + ] + }, + { + "hpa-capability-id":"4565615b-1077-4bb5-a340-c5be48db2aaa", + "hpa-feature":"basicCapabilities", + "hpa-version":"v1", + "architecture":"generic", + "resource-version":"1521306561244", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numVirtualCpu", + "hpa-attribute-value":"{\"value\":32}", + "resource-version":"1521306561259" + }, + { + "hpa-attribute-key":"virtualMemSize", + "hpa-attribute-value":"{\"value\":131072, \"unit\":\"MB\" }", + "resource-version":"1521306561248" + } + ] + } + ] + }, + "resource-version":"1521306561164" + } + ] + } } **Questions** \* Currently, candidates are either service instances or @@ -547,6 +766,17 @@ Constraint Types | | clouds/regions/availabil | | | ity-zones. | +-------------------------------------------+--------------------------+ +| ``hpa`` | Constraint that | +| | recommends cloud region | +| | with an optimal flavor | +| | based on required HPA | +| | capabilities for an | +| | incoming demand. | ++-------------------------------------------+--------------------------+ +| ``vim_fit`` | Constraint that checks if| +| | the incoming demand fits | +| | the VIM instance. | | ++-------------------------------------------+--------------------------+ | ``license`` (Deferred) | License availability | | | constraint. | +-------------------------------------------+--------------------------+ @@ -850,6 +1080,194 @@ Or, to place two demands in the same region: but these terms may cause confusion with affinity/anti-affinity in OpenStack. +HPA +~~~~ + +Constrain each demand's inventory candidates based on cloud regions' Hardware +platform capabilities (HPA) + +Requirements mapped to the inventory provider specified properties, referenced +by the demands. For eg, properties could be hardware capabilities provided by +the platform through flavors or cloud-region eg:(CPU-Pinning, NUMA), features +supported by the services, etc. + + +**Schema** + ++-------------+--------------------------------------------------------+ +| Property | Value | ++=============+========================================================+ +| ``evaluate | List of flavorLabel, flavorProperties of each VM of the| +| `` | VNF demand. | ++-------------+--------------------------------------------------------+ + +.. code:: yaml + + constraints: + hpa_constraint: + type: hpa + demands: [my_vnf_demand, my_other_vnf_demand] + properties: + evaluate: + - [ List of {flavorLabel : {flavor label name}, + flavorProperties: HPACapability DICT} ] + HPACapability DICT : + hpa-feature: basicCapabilities + hpa-version: v1 + architecture: generic + hpa-feature-attributes: + - HPAFEATUREATTRIBUTES LIST + + HPAFEATUREATTRIBUTES LIST: + hpa-attribute-key: String + hpa-attribute-value: String + operator: One of OPERATOR + unit: String + OPERATOR : ['=', '<', '>', '<=', '>=', 'ALL'] + +**Example** + +.. code:: json + { + "hpa_constraint":{ + "type":"hpa", + "demands":[ + "vG" + ], + "properties":{ + "evaluate":[ + { + "flavorLabel":"flavor_label_1", + "flavorProperties":[ + { + "hpa-feature":"basicCapabilities", + "hpa-version":"v1", + "architecture":"generic", + "mandatory": "True", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numVirtualCpu", + "hpa-attribute-value":"32", + "operator":"=" + }, + { + "hpa-attribute-key":"virtualMemSize", + "hpa-attribute-value":"64", + "operator":"=", + "unit":"GB" + } + ] + }, + { + "hpa-feature":"ovsDpdk", + "hpa-version":"v1", + "architecture":"generic", + "mandatory": "False", + "score": "10", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"dataProcessingAccelerationLibrary", + "hpa-attribute-value":"v18.02", + "operator":"=" + } + ] + } + ] + }, + { + "flavorLabel":"flavor_label_2", + "flavorProperties":[ + { + "hpa-feature":"basicCapabilities", + "hpa-version":"v1", + "architecture":"generic", + "mandatory": "False", + "score": "5", + "hpa-feature-attributes":[ + { + "hpa-attribute-key":"numVirtualCpu", + "hpa-attribute-value":"8", + "operator":">=" + }, + { + "hpa-attribute-key":"virtualMemSize", + "hpa-attribute-value":"16", + "operator":">=", + "unit":"GB" + } + ] + } + ] + } + ] + } + } + } + +VIM Fit +~~~~~~~ + +Constrain each demand's inventory candidates based on capacity check for +available capacity at the VIM instances. + +Requirements are sent as an opaque request object understood by the VIM +controllers or MultiCloud. Each controller is defined and implemented as a +plugin in Conductor. + +A vim controller plugin knows how to communicate with a particular endpoint +(via HTTP/REST, DMaaP, etc.), obtain necessary information, and make a +decision. The endpoint and credentials can be configured through plugin +settings. + + +**Schema** + ++--------------+--------------------------------------------------------+ +| Property | Value | ++==============+========================================================+ +| ``controller | Name of a vim controller. (e.g., multicloud) | ++--------------+--------------------------------------------------------+ +| ``request`` | Opaque dictionary of key/value pairs. Values | +| | must be strings or numbers. Encoded and sent | +| | to the vim controller via a plugin. | ++--------------+--------------------------------------------------------+ + +.. code:: yaml + + constraints: + check_cloud_capacity: + type: vim_fit + demands: [my_vnf_demand, my_other_vnf_demand] + properties: + controller: multicloud + request: REQUEST_DICT + +**Notes** + +- For ONAP Beijing release the REQUEST_DICT is of the following format as + defined by the policy for vim_fit. The REQUEST_DICT is an opaque request + object defined through policy, so it is not restricted to this format. In + ONAP Beijing release MultiCloud supports the check_vim_capacity using the + following grammar. + .. code:: json + { + "request":{ + "vCPU":10, + "Memory":{ + "quantity":{ + "get_param":"REQUIRED_MEM" + }, + "unit":"GB" + }, + "Storage":{ + "quantity":{ + "get_param":"REQUIRED_DISK" + }, + "unit":"GB" + } + } + } + Inventory Group ~~~~~~~~~~~~~~~ |