Commit 34a0bd74 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

PathComp component - FrontEnd:

- Fixed Sub-Service Config Rule inference
parent 4f54cdb9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -176,7 +176,9 @@ class _Algorithm:
        service.service_id.context_id.context_uuid.uuid = context_uuid
        service.service_id.service_uuid.uuid = service_uuid
        service.service_type = service_type
        rules_nb = len(config_rules)

        #rules_nb = len(config_rules)
        rules_nb = 0 # NOTE: do we need to skip default rules if there are other rules?

        if service_type == ServiceTypeEnum.SERVICETYPE_L2NM and rules_nb == 0:
            compose_l2nm_config_rules(config_rules, service.service_config.config_rules)