Merge "fix shared-router/metadata patch merge codes bug"
This commit is contained in:
commit
df784cce90
@ -53,9 +53,8 @@ def get_nsxv_router_binding(session, router_id):
|
|||||||
|
|
||||||
|
|
||||||
def get_nsxv_router_binding_by_edge(session, edge_id):
|
def get_nsxv_router_binding_by_edge(session, edge_id):
|
||||||
with session.begin(subtransactions=True):
|
return (session.query(nsxv_models.NsxvRouterBinding).
|
||||||
return (session.query(nsxv_models.NsxvRouterBinding).
|
filter_by(edge_id=edge_id).first())
|
||||||
filter_by(edge_id=edge_id).first())
|
|
||||||
|
|
||||||
|
|
||||||
def get_nsxv_router_bindings(session):
|
def get_nsxv_router_bindings(session):
|
||||||
|
Loading…
Reference in New Issue
Block a user