Dependency checking for Northbound API (NEUTRON-158)

[NEUTRON-191] VPN Ike policy dependency checking (NeutronVpnIkePolicyInterface) Created: 31/Jul/18  Updated: 04/Sep/18

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?

Generated at Wed Feb 07 20:25:47 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.