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 | ||
| Comments |
| Comment by Michael Vorburger [ 02/Aug/18 ] |
|
based on dependency_validations.py I cannot yet see any/which def generate*_deps(data) method is responsible for depenency checking for this neutron entity... I'm guessing the following may be related, but which of the 4 Neutron resources I'm seeing in ODL code (this one vs NEUTRON-192 vs NEUTRON-193 vs NEUTRON-194) is this for, and what dependency checks do the other ones need, if any: def _generate_bgpvpn_deps(data):
object_ids = []
network_ids = data.get('networks')
if network_ids is not None:
object_ids.extend(network_ids)
router_ids = data.get('routers')
if router_ids is not None:
object_ids.extend(router_ids)
return object_ids
thapar, mpeterson, jhershbe, mkolesni@redhat.com please advise? |