summaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapter-utils/src
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2019-04-04 12:57:21 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-04 12:57:21 +0000
commit31788ca37db7e8cf8a8de6417830a5fbffcc0c85 (patch)
treef9c38f46ef63c4ed70a423a188919a8aa5dcc0cc /adapters/mso-adapter-utils/src
parentb168125f237629b6dd7d73897548f2ee70139ed3 (diff)
parent341100553632f0ed6118216315426247d2b413ff (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.java2
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,