Commit 22f6bb3d authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Service component - NCE FAN:

- Corrected Config Rules
parent 63e23460
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ def setup_config_rules(service_uuid: str, json_settings: Dict) -> List[Dict]:
        "user-id": app_flow_user_id,
        "app-name": app_flow_app_name,
        "max-online-users": app_flow_max_online_users,
        "stas": app_flow_stas,
        "stas": [app_flow_stas],
        "qos-profile": qos_profile_name,
        "service-profile": app_flow_service_profile,
        "duration": app_flow_duration,
@@ -61,19 +61,19 @@ def setup_config_rules(service_uuid: str, json_settings: Dict) -> List[Dict]:
        "name": qos_profile_name,
        "max-latency": max_latency,
        "max-jitter": max_jitter,
        "max-loss": max_loss,
        "max-loss": str(max_loss),
        "upstream": {
            "assure-bandwidth": upstream_assure_bw,
            "max-bandwidth": upstream_max_bw,
            "assure-bandwidth": str(int(upstream_assure_bw)),
            "max-bandwidth": str(int(upstream_max_bw)),
        },
        "downstream": {
            "assure-bandwidth": downstream_assure_bw,
            "max-bandwidth": downstream_max_bw,
            "assure-bandwidth": str(int(downstream_assure_bw)),
            "max-bandwidth": str(int(downstream_max_bw)),
        },
    }
    application = {
        "name": app_flow_app_name,
        "app-id": app_id,
        "app-id": [app_id],
        "app-features": {
            "app-feature": [
                {