Dependency checking for Northbound API
(NEUTRON-158)
|
|
| Status: | Open |
| Project: | neutron |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Sub-task | Priority: | Medium |
| Reporter: | Michael Vorburger | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Comments |
| Comment by Michael Vorburger [ 02/Aug/18 ] |
|
from what I understand based on dependency_validations.py, it seems to treat SFC port pair and port pair group as equivalent for purposes of dependency checking... so I guess we'll do the same on the ODL side, and call the same method? |
| Comment by Michael Vorburger [ 13/Aug/18 ] |
|
see NEUTRON-185, I seem to have misunderstood this, for port pair it is: def _generate_sfc_port_pair_deps(data):
object_ids = []
ingress_port = data.get('ingress')
if ingress_port is not None:
object_ids.append(ingress_port)
egress_port = data.get('egress')
if egress_port is not None:
object_ids.append(egress_port)
return object_ids
thapar, mpeterson, jhershbe, mkolesni@redhat.com anything else to consider for this? |
| Comment by Michel Peterson [ 13/Aug/18 ] |
|
In general also deletion deps need to be considered |