Merge "Add "Port" to "RouterPort" foreign_keys"
This commit is contained in:
commit
7d48bde722
@ -135,7 +135,8 @@ class RouterPort(base.NeutronDbObject):
|
|||||||
|
|
||||||
primary_keys = ['router_id', 'port_id']
|
primary_keys = ['router_id', 'port_id']
|
||||||
|
|
||||||
foreign_keys = {'Router': {'router_id': 'id'}}
|
foreign_keys = {'Router': {'router_id': 'id'},
|
||||||
|
'Port': {'port_id': 'id'}}
|
||||||
|
|
||||||
fields = {
|
fields = {
|
||||||
'router_id': common_types.UUIDField(),
|
'router_id': common_types.UUIDField(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user