Versions Compared

Key

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

Template Enhancements

Example

JSON Viewer
{
      "name": "yyy-yyy-yyyy",
      "files": {},
      "timeout": 600,
      "limit": 1,
      "num_solutions": 10,
      "template": {
        "homing_template_version": "xxxx-xx-xx",
        "unique_solution": true,
        "parameters": {
          "service_name": "",
          "service_id": "d61b2543-5914-4b8f-8e81-81e38575b8ec",
          "customer_lat": 32.89748,
          "customer_long": -97.040443
        },
        "locations": {
          "customer_loc": {
            "latitude": {
              "get_param": "customer_lat"
            },
            "longitude": {
              "get_param": "customer_long"
            }
          }
        },
        "demands": {
          "vGMuxInfra": [
            {
              "inventory_provider": "aai",
              "inventory_type": "service",
              "service_type": "vGMuxInfra-xx",
              "attributes": {
                "customer-id": "",
                "orchestration-status": "",
                "model-invariant-id": "b3dc6465-942c-42af-8464-2bf85b6e504b",
                "model-version-id": "ba3b8981-9a9c-4945-92aa-486234ec321f",
                "service-type": "vGMuxInfra-xx",
                "equipment-role": "",
                "global-customer-id": "SDN-ETHERNET-INTERNET"
              }
            }
          ],
          "vG": [
            {
              "inventory_provider": "aai",
              "inventory_type": "cloud",
              "service_type": "71d563e8-e714-4393-8f99-cc480144a05e"
            }
          ]
        },
        "constraints": {
          "affinity_vCPE": {
            "type": "zone",
            "demands": [
              "vGMuxInfra",
              "vG"
            ],
            "properties": {
              "category": "complex",
              "qualifier": "same"
            }
          }
        },
        "optimization": {
        }
      }
    }