From 341100553632f0ed6118216315426247d2b413ff Mon Sep 17 00:00:00 2001 From: "Benjamin, Max (mb388a)" Date: Wed, 3 Apr 2019 09:21:14 -0400 Subject: if audit fails write sub interface data to a ai added logic to write sub interface information from openstack to a&ai when audit fails to find it Change-Id: I24266812dc60eb69bfd90e3e5b34113e9fd8f4f4 Issue-ID: SO-1737 Signed-off-by: Benjamin, Max (mb388a) --- .../src/main/java/org/onap/so/openstack/utils/MsoNeutronUtils.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'adapters/mso-adapter-utils/src/main/java/org') diff --git a/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoNeutronUtils.java b/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoNeutronUtils.java index 93460ff119..850f16ff4d 100644 --- a/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoNeutronUtils.java +++ b/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoNeutronUtils.java @@ -219,6 +219,7 @@ public class MsoNeutronUtils extends MsoCommonUtils public Optional getNeutronPort(String neutronPortId, String tenantId, String cloudSiteId) { try { + logger.debug("Finding Neutron port:" + neutronPortId); CloudSite cloudSite = cloudConfig.getCloudSite(cloudSiteId).orElseThrow( () -> new MsoCloudSiteNotFound(cloudSiteId)); Quantum neutronClient = getNeutronClient (cloudSite, tenantId); @@ -525,6 +526,7 @@ public class MsoNeutronUtils extends MsoCommonUtils } catch (OpenStackResponseException e) { if (e.getStatus() == 404) { + logger.warn("Neutron port not found: " + neutronPortId,"Neutron port not found: " + neutronPortId); return null; } else { logger.error("{} {} Openstack Error, GET Neutron Port By ID ({}): ", MessageEnum.RA_CONNECTION_EXCEPTION, -- cgit 1.2.3-korg