Merge "Add "Port" to "RouterPort" foreign_keys"

This commit is contained in:
Zuul 2019-09-09 13:23:40 +00:00 committed by Gerrit Code Review
commit 7d48bde722

View File

@ -135,7 +135,8 @@ class RouterPort(base.NeutronDbObject):
primary_keys = ['router_id', 'port_id']
foreign_keys = {'Router': {'router_id': 'id'}}
foreign_keys = {'Router': {'router_id': 'id'},
'Port': {'port_id': 'id'}}
fields = {
'router_id': common_types.UUIDField(),