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

Add vlan match to l2 services

parent fc1e6551
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -28,8 +28,6 @@ def configure_match_criteria(network_access, site, sdp, layer_type):
    if layer_type == "l3":
        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: