Create ELAN Service using GQP

Create an ELAN with the provided properties. The qosProfile is the id of the Generic QoS Profile (GQP) which must pre-exist in NFM-P. The UUID returned as part of the response can be used in subsequent operations on the service.

POST https://<NSP Server>:8543/sdn/api/v3/services/elans

Request:

{
  "data": {
    "appId": null,
    "action": "TRAVERSE",
    "bidirectional": "ANY_REVERSE_ROUTE",
    "name": "elan_service",
    "objective": "COST",
    "tenantId": "0",
    "endpoints": [
      {
        "id": "1746-bbaad24f-cd39-4b3a-97aa-83a180dc058a",
        "outerTag": 222,
        "name": "interface_1",
        "innerTag": "-1",
        "isHub": false,
        "siteServiceQosProfile": {
          "qosProfile": 20,
          "egressParam": null,
          "ingressParam": null,
          "egressOverrideQueues": null,
          "ingressOverrideQueues": null
        }
      },
      {
        "id": "2581-7207a0a5-5757-468c-aada-93ece3b6026a",
        "outerTag": 223,
        "innerTag": "-1",
        "isHub": false,
        "siteServiceQosProfile": {
          "qosProfile": 20,
          "egressParam": null,
          "ingressParam": null,
          "egressOverrideQueues": null,
          "ingressOverrideQueues": null
        }
      }
    ],
    "topology": null
  }
}

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 1,
  "totalRows": 1,
  "data": {
    "id": "3989-8ee8d537-f60d-4bfc-b83f-d26e316c81f5",
    "appId": null,
    "operationalState": null,
    "adminState": "UP",
    "neDeploymentState": null,
    "externalIds": null,
    "name": "elan_service",
    "serviceType": "ELAN",
    "connectionState": "DISCONNECTED",
    "tenants": [
      {
        "id": "0",
        "tenantName": "admin",
        "contactName": null,
        "phoneNumber": null,
        "address": null
      }
    ],
    "topology": "UNKNOWN_TOPOLOGY",
    "objective": "COST",
    "bidirectional": "ANY_REVERSE_ROUTE",
    "bw": null,
    "reverseBW": null,
    "maxLatency": 0,
    "maxCost": 0,
    "maxHops": 0,
    "lifeCycle": {
      "phase": "Planning",
      "state": "Planned",
      "reason": ""
    },
    "templateId": null,
    "tunnelSelectionId": null,
    "pathProfileId": null,
    "groupId": null,
    "endpoints": null,
    "mtu": 0,
    "vcType": null,
    "monitorBandwidth": false,
    "@class": "com.alu.wsc.api.generated.v3.ElanService"
  }
}