diff options
Diffstat (limited to 'adapters/mso-openstack-adapters/src/main')
-rw-r--r-- | adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java | 4 |
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) { |