Commit 4d623809 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Service component - L3NM NCE-FAN Service Handler:

- Fixed generation of delete config rules
parent d3a7b3f9
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -109,13 +109,13 @@ def setup_config_rules(service_name: str, json_settings: Dict) -> List[Dict]:

def teardown_config_rules(service_name: str, json_settings: Dict) -> List[Dict]:
    app_flow_id      : str = json_settings["app_flow_id"]
    application_name : str = f"App_Flow_{app_flow_id}"
    app_flow_app_name: str = f"App_Flow_{app_flow_id}"
    app_flow_name    : str = f"App_Flow_{app_flow_id}"
    qos_profile_name : str = json_settings.get("app_flow_qos_profile", "AR_VR_Gaming")
    qos_profile_name : str = f"AR_VR_Gaming_{app_flow_id}"

    app_flow    = {"name": app_flow_name    }
    qos_profile = {"name": qos_profile_name }
    application = {"name": application_name}
    application = {"name": app_flow_app_name}

    app_flow_datamodel = {
        "huawei-nce-app-flow:app-flows": {