Downgrade unnecessary warning in TunnelingApp

When adding a FLAT network lport, the warning will show up,
even if everything is fine.

Change-Id: I589bb8775e07674091ae2b212ba25b75b2564264
This commit is contained in:
Hong Hui Xiao 2018-11-09 10:24:09 +00:00
parent a6955d877b
commit 9b1dff1f6a
1 changed files with 4 additions and 4 deletions

View File

@ -51,8 +51,8 @@ class TunnelingApp(df_base_app.DFlowApp):
lswitch = lport.lswitch
network_type = lswitch.network_type
if network_type not in self.tunnel_types:
LOG.warning("added unsupported network %(net_type)s lport",
{'net_type': network_type})
LOG.info("added unsupported network %(net_type)s lport",
{'net_type': network_type})
return
network_id = lswitch.unique_key
LOG.info("adding %(net_type)s lport %(lport)s",
@ -74,8 +74,8 @@ class TunnelingApp(df_base_app.DFlowApp):
lswitch = lport.lswitch
network_type = lswitch.network_type
if network_type not in self.tunnel_types:
LOG.warning("removed unsupported network %(net_type)s lport",
{'net_type': network_type})
LOG.info("removed unsupported network %(net_type)s lport",
{'net_type': network_type})
return
network_id = lswitch.unique_key
self.local_networks.remove_local_port(port_id=lport.id,