Dependency checking for Northbound API (NEUTRON-158)

[NEUTRON-186] SFC PortPair dependency checking (NeutronSFCPortPairInterface) Created: 31/Jul/18  Updated: 13/Aug/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

Issue Links:
Blocks
is blocked by NEUTRON-185 SFC PortPairGroup dependency checking... Open

 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

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