Commit fc1e6551 authored by Javier Velázquez's avatar Javier Velázquez
Browse files

Add match type "any"

parent eb4e9c34
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ def configure_match_criteria(network_access, site, sdp, layer_type):
        MATCH_TYPE_MAPPING["source-ip-prefix"] = "ipv4-src-prefix"
        MATCH_TYPE_MAPPING["destination-ip-prefix"] = "ipv4-dst-prefix"
        MATCH_TYPE_MAPPING["vlan"] = "vlan" # Need to check if applies with l2 too
        MATCH_TYPE_MAPPING["any"] = "any" # Need to check if applies with l2 too
        
    match_criteria = sdp.get("match_criteria")
    if not match_criteria: