Loading src/realizer/restconf/service_types/builders/configure_match_criteria.py +1 −0 Original line number Diff line number Diff line Loading @@ -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: Loading Loading
src/realizer/restconf/service_types/builders/configure_match_criteria.py +1 −0 Original line number Diff line number Diff line Loading @@ -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: Loading