This patch ensures that pre-delete checks are executed in the
appropriate way for both DVR and 'traditional' routers, by
invoking the _ensure_router_not_in_use method defined in
neutron.db.l3_db.L3_nat_dbonly_mixin
Also, verify metadata network before removing router to ensure
metada access network's router port is removed if not yet
deleted.
Applied from commit: 5a07069824d468bc9b49cf72c8d5092d5a8a523f
Change-Id: I96933c4523bdd90fbc2647f4860533f8d53802e4
Closes-Bug: #1479309
Reviewed: https:/ /review. openstack. org/219458 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5bc885ddc06 d4b7034152e67a3 6a59a5d5d2d003
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 5bc885ddc06d4b7 034152e67a36a59 a5d5d2d003
Author: Salvatore Orlando <email address hidden>
Date: Tue Sep 1 13:49:51 2015 -0700
NSX-mh: perform appropriate pre-delete checks
This patch ensures that pre-delete checks are executed in the router_ not_in_ use method defined in db.l3_db. L3_nat_ dbonly_ mixin
appropriate way for both DVR and 'traditional' routers, by
invoking the _ensure_
neutron.
Also, verify metadata network before removing router to ensure
metada access network's router port is removed if not yet
deleted.
Applied from commit: 5a07069824d468b c9b49cf72c8d509 2d5a8a523f 0fbc2647f486053 3f8d53802e4
Change-Id: I96933c4523bdd9
Closes-Bug: #1479309