Browse Source

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

tags/15.0.0.0b1
Zuul Gerrit Code Review 8 months ago
parent
commit
7d48bde722
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      neutron/objects/router.py

+ 2
- 1
neutron/objects/router.py 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(),


Loading…
Cancel
Save