Update to use fqdn of server to query aai
Issue-ID: SO-3303
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: I624e3c42e8d0254b0bd490af9a7ca6572564875e
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) {