aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2020-10-19 11:56:33 +0000
committerGerrit Code Review <gerrit@onap.org>2020-10-19 11:56:33 +0000
commitf30f73be6d40dee504ad26ef64f1f797441ce314 (patch)
treea9cdf568ce80eefb3cadbc6cf90f342ad610ebec
parent0a6cec5cb8027cf70b4798a21f371bb00ab27350 (diff)
parent0f78e3f6d58a5730a9903bd4d159dad755f0e710 (diff)
Merge "Update to use fqdn of server to query aai"
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java
index 5cb870e0d7..6a62a5de61 100644
--- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java
+++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java
@@ -592,7 +592,9 @@ public class HeatBridgeImpl implements HeatBridgeApi {
boolean relationshipExist = sriovVfHasSriovPfRelationship(sriovVfUri);
- String pserverHostName = port.getHostId();
+
+ Server server = getOpenstackServerById(port.getDeviceId());
+ String pserverHostName = server.getHypervisorHostname();
lIf.setInterfaceDescription("Attached to SR-IOV port: " + pserverHostName);
if (!relationshipExist) {