Versions Compared

Key

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

...

Code Block
{
   "name":"urllc_sample",
   "files":{

   },
   "limit":10,
   "num_solution":"1",
   "timeout":1200,
   "template":{
      "homing_template_version":"2020-08-13",
      "demands":{
         "nst_demand":[
            {
               "inventory_provider":"aai",
               "inventory_type":"nst",
               "unique":"true",
               "region":"RegionOne",
               "filtering_attributes":{
                  "servicemodel-role":"nst"
               }
            }
         ]
      },
      "constraints":{
         "nst_Threshold":{
            "type":"threshold",
            "demands":[
               "nst_demand"
            ],
            "properties":{
               "evaluate":[
                  {
                     "attribute":"latency",
                     "operator":"lte",
                     "threshold":30,
                     "unit":"ms"
                  }
               ]
            }
         }      },
      "optimization":{
         "goal": "minimize",
         "operation_function": {
            "operator": "sum",
            "operands": [{
               "function": "attribute",
               "params": {
                  "demand": "nst_demand",
                  "attribute": "latency"
               }
            }]
         }
      }
   }
}

...