diff options
author | Steve Smokowski <ss835w@att.com> | 2020-10-19 11:56:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-10-19 11:56:33 +0000 |
commit | f30f73be6d40dee504ad26ef64f1f797441ce314 (patch) | |
tree | a9cdf568ce80eefb3cadbc6cf90f342ad610ebec | |
parent | 0a6cec5cb8027cf70b4798a21f371bb00ab27350 (diff) | |
parent | 0f78e3f6d58a5730a9903bd4d159dad755f0e710 (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.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) { |