diff options
author | Steve Smokowski <ss835w@att.com> | 2019-04-04 12:57:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-04 12:57:21 +0000 |
commit | 31788ca37db7e8cf8a8de6417830a5fbffcc0c85 (patch) | |
tree | f9c38f46ef63c4ed70a423a188919a8aa5dcc0cc /adapters/mso-adapter-utils/src | |
parent | b168125f237629b6dd7d73897548f2ee70139ed3 (diff) | |
parent | 341100553632f0ed6118216315426247d2b413ff (diff) |
Merge "if audit fails write sub interface data to a ai"
Diffstat (limited to 'adapters/mso-adapter-utils/src')
-rw-r--r-- | adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoNeutronUtils.java | 2 |
1 files changed, 2 insertions, 0 deletions
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<Port> 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, |