Create Eline Service

Create an ELINE service with the specific tunnel selection policy previously created.

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

Request:

{
  "data": {
    "readOnly": false,
    "adminState": "UP",
    "bidirectional": "SYMMETRIC_LOOSE",
    "objective": "HOPS",
    "mtu": 0,
    "maxHops": 0,
    "maxLatency": 0,
    "maxCost": 0,
    "action": "TRAVERSE",
    "tenantId": "0",
    "tunnelSelectionId": "3dfebf89-538b-4c41-8610-9437ba32434b",
    "pathProfileId": null,
    "name": "Eline With Steering Parameter",
    "endpoints": [
      {
        "id": "1746-bbaad24f-cd39-4b3a-97aa-83a180dc058a",
        "adminState": "UP",
        "innerTag": -1,
        "outerTag": 80,
        "siteServiceQosProfile": {
          "ingressOverrideQueues": [
            {
              "cir": 10,
              "pir": 10,
              "cbs": 5,
              "mbs": 5,
              "id": 1
            }
          ],
          "egressOverrideQueues": [
            {
              "cir": 10,
              "pir": 10,
              "cbs": 5,
              "mbs": 5,
              "id": 1
            }
          ]
        }
      },
      {
        "id": "2581-7207a0a5-5757-468c-aada-93ece3b6026a",
        "adminState": "UP",
        "innerTag": -1,
        "outerTag": 80,
        "siteServiceQosProfile": {
          "ingressOverrideQueues": [
            {
              "cir": 10,
              "pir": 10,
              "cbs": 5,
              "mbs": 5,
              "id": 1
            }
          ],
          "egressOverrideQueues": [
            {
              "cir": 10,
              "pir": 10,
              "cbs": 5,
              "mbs": 5,
              "id": 1
            }
          ]
        }
      }
    ]
  }
}

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 1,
  "totalRows": 1,
  "data": {
    "id": "3668-324fa52c-f4e9-4291-be67-a9286cfa1414",
    "appId": null,
    "operationalState": null,
    "adminState": "UP",
    "neDeploymentState": null,
    "externalIds": null,
    "name": "Eline With Steering Parameter",
    "serviceType": "ELINE",
    "connectionState": "DISCONNECTED",
    "tenants": [
      {
        "id": "0",
        "tenantName": "admin",
        "contactName": null,
        "phoneNumber": null,
        "address": null
      }
    ],
    "topology": null,
    "objective": "HOPS",
    "bidirectional": "SYMMETRIC_LOOSE",
    "bw": null,
    "reverseBW": null,
    "maxLatency": 0,
    "maxCost": 0,
    "maxHops": 0,
    "lifeCycle": {
      "phase": "Planning",
      "state": "Planned",
      "reason": ""
    },
    "templateId": null,
    "tunnelSelectionId": "3dfebf89-538b-4c41-8610-9437ba32434b",
    "pathProfileId": null,
    "groupId": null,
    "endpoints": null,
    "mtu": 0,
    "vcType": null,
    "monitorBandwidth": false,
    "@class": "com.alu.wsc.api.generated.v3.ElineService"
  }
}