Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
titleHAS Template
{
    "files": {},
    "limit": 10,
    "name": "urllc_sample",
    "num_solution": "1",
    "template": {
        "constraints": {
            "URLLC_core_Threshold": {
                "demands": [
                    "URLLC_core"
                ],
                "properties": {
                    "evaluate": [
                        {
                            "operation_function": {
            "operation_function": {
                "operands": [
                            {
                        		"function": "attributedifference_between",
                        		"params": {
                            		"attribute": "maxNoOfConnections",
                            		"demand": "URLLC_coremax-number-of-UEs"
                       			 }
                    		}
                			],
                "operator": "difference"
            			}
                            "attribute": "latency",
                            "operator": "lte",
                            "threshold": {
                                "get_param": "latency"
                            },
                            "unit": "ms"
                        },
                        {
                            "attribute": "reliabilitydifference",
                            "operator": "gte",
                            "threshold": {
                                "get_param": "reliability"
                            },0"
                            "unit": ""
                        }
                    ]
                },
                "type": "threshold"
            }
        },
        "demands": {
            "URLLC_core": [
                {
                    "filtering_attributes": {
                        "environment-context": "shared",
                        "model-invariant-id": "21d57d4b-52ad-4d3c-a798-248b5bb9124a",
                        "model-version-id": "bfba363e-e39c-4bd9-a9d5-1371c28f4d22",
                        "service-role": "nsi",
                        "max-number-of-UEs": "10"
                    },
                    "inventory_provider": "dcae",
                    "inventory_type": "nsi",
                    "unique": "true"
                }
            ]
        },
        "homing_template_version": "2020-08-13",
        "optimization": {
            "goal": "minimize",
            "operation_function": {
                "operands": [
                    {
                        "function": "attribute",
                        "params": {
                            "attribute": "latency",
                            "demand": "URLLC_core"
                        }
                    }
                ],
                "operator": "sum"
            }
        }
    },
    "timeout": 1200
}

...