Merge "NSX: lower the severity of messages about VIF's on external networks"
This commit is contained in:
commit
4a50bcc030
@ -434,7 +434,7 @@ class NsxPluginV2(addr_pair_db.AllowedAddressPairsMixin,
|
||||
# However, in order to not break unit tests, we need to still create
|
||||
# the DB object and return success
|
||||
if self._network_is_external(context, port_data['network_id']):
|
||||
LOG.error(_("NSX plugin does not support regular VIF ports on "
|
||||
LOG.info(_("NSX plugin does not support regular VIF ports on "
|
||||
"external networks. Port %s will be down."),
|
||||
port_data['network_id'])
|
||||
# No need to actually update the DB state - the default is down
|
||||
@ -486,7 +486,7 @@ class NsxPluginV2(addr_pair_db.AllowedAddressPairsMixin,
|
||||
# does not make sense. However we cannot raise as this would break
|
||||
# unit tests.
|
||||
if self._network_is_external(context, port_data['network_id']):
|
||||
LOG.error(_("NSX plugin does not support regular VIF ports on "
|
||||
LOG.info(_("NSX plugin does not support regular VIF ports on "
|
||||
"external networks. Port %s will be down."),
|
||||
port_data['network_id'])
|
||||
return
|
||||
@ -684,7 +684,7 @@ class NsxPluginV2(addr_pair_db.AllowedAddressPairsMixin,
|
||||
# However, in order to not break unit tests, we need to still create
|
||||
# the DB object and return success
|
||||
if self._network_is_external(context, port_data['network_id']):
|
||||
LOG.error(_("NSX plugin does not support regular VIF ports on "
|
||||
LOG.info(_("NSX plugin does not support regular VIF ports on "
|
||||
"external networks. Port %s will be down."),
|
||||
port_data['network_id'])
|
||||
# No need to actually update the DB state - the default is down
|
||||
|
Loading…
Reference in New Issue
Block a user