Change-Id: I1a6f7fed010fc55e8370859d66d1b1faeaa4e23a
This commit is contained in:
sunqingliang6 2018-06-19 19:06:51 +08:00
parent a22c9e0b59
commit ea9e96c9b2
1 changed files with 2 additions and 2 deletions

View File

@ -3942,7 +3942,7 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
if (not gw_info and
not self._is_overlay_network(context, port['network_id'])):
msg = _("A router attached to a VLAN backed network "
"must have a external network assigned.")
"must have an external network assigned.")
raise n_exc.InvalidInput(error_message=msg)
# VPNaaS need to be notified on router GW changes (there is
@ -4297,7 +4297,7 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
# GW network is attached
if not gw_network_id:
msg = _("A router attached to a VLAN backed network "
"must have a external network assigned.")
"must have an external network assigned.")
raise n_exc.InvalidInput(error_message=msg)
resource_type = nsxlib_consts.LROUTERPORT_CENTRALIZED