From 5524137dba2094bee61925ec2b0c410b673ac8e1 Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Sun, 7 Jan 2018 21:49:11 -0800 Subject: [PATCH] TVD: use warning if plugin is not supported Log a warning if the plugin is not supported, that is, if there is an invalid configuration for the specific plaugin. Change-Id: I3637337162bd31347be8bd40b3605ea4c4cb44f2 --- vmware_nsx/plugins/nsx/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vmware_nsx/plugins/nsx/plugin.py b/vmware_nsx/plugins/nsx/plugin.py index c9c9fa2829..fe4e62e864 100644 --- a/vmware_nsx/plugins/nsx/plugin.py +++ b/vmware_nsx/plugins/nsx/plugin.py @@ -131,21 +131,21 @@ class NsxTVDPlugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin, try: self.plugins[projectpluginmap.NsxPlugins.NSX_T] = t.NsxV3Plugin() except Exception as e: - LOG.info("NSX-T plugin will not be supported: %s", e) + LOG.warning("NSX-T plugin will not be supported: %s", e) else: LOG.info("NSX-T plugin will be supported") try: self.plugins[projectpluginmap.NsxPlugins.NSX_V] = v.NsxVPluginV2() except Exception as e: - LOG.info("NSX-V plugin will not be supported: %s", e) + LOG.warning("NSX-V plugin will not be supported: %s", e) else: LOG.info("NSX-V plugin will be supported") try: self.plugins[projectpluginmap.NsxPlugins.DVS] = dvs.NsxDvsV2() except Exception as e: - LOG.info("DVS plugin will not be supported: %s", e) + LOG.warning("DVS plugin will not be supported: %s", e) else: LOG.info("DVS plugin will be supported")