From 0f78e3f6d58a5730a9903bd4d159dad755f0e710 Mon Sep 17 00:00:00 2001 From: "Smokowski, Steven" Date: Wed, 14 Oct 2020 19:41:04 -0400 Subject: Update to use fqdn of server to query aai Update to use fqdn of server to query aai Issue-ID: SO-3303 Signed-off-by: Benjamin, Max (mb388a) Change-Id: I624e3c42e8d0254b0bd490af9a7ca6572564875e --- .../src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'adapters/mso-openstack-adapters/src/main/java') 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) { -- cgit 1.2.3-korg