NSX|V: enable update for subnet from horizon
Change-Id: I88340398a1739b3c13a65e424e6c164acb340835 Closes-bug: #1499444
This commit is contained in:
parent
bc98804da2
commit
d923f1e6e6
@ -1089,7 +1089,7 @@ class NsxVPluginV2(agents_db.AgentDbMixin,
|
||||
|
||||
def update_subnet(self, context, id, subnet):
|
||||
s = subnet['subnet']
|
||||
if "host_routes" in s:
|
||||
if "host_routes" in s and s["host_routes"]:
|
||||
err_msg = _("Host routes not supported by plugin")
|
||||
raise n_exc.InvalidInput(error_message=err_msg)
|
||||
orig = self._get_subnet(context, id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user