Create Eline Service

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

POST https://<NSP Server>:8543/sdn/api/v4/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": "315bf84b-4960-4cda-b685-98888ee1c759",
    "pathProfileId": null,
    "name": "Eline With Steering Parameter",
    "endpoints": [
      {
        "id": "2182-e4e12d40-47ac-4fee-9a9c-8836152b01b6",
        "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": "2685-a7665170-d578-4d92-9880-17d15c788ffa",
        "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": "4360-a6ab776a-9a1e-45a8-9664-00789bb6a6ab",
    "appId": null,
    "operationalState": null,
    "adminState": "UP",
    "neDeploymentState": null,
    "externalIds": null,
    "name": "Eline With Steering Parameter",
    "serviceType": "ELINE",
    "tenantIds": [
      "0"
    ],
    "objective": "HOPS",
    "bidirectional": "SYMMETRIC_LOOSE",
    "bw": null,
    "reverseBW": null,
    "maxLatency": 0,
    "maxCost": 0,
    "maxHops": 0,
    "lifeCycle": {
      "phase": "Planning",
      "state": "Planned",
      "reason": ""
    },
    "templateId": null,
    "tunnelSelectionId": "315bf84b-4960-4cda-b685-98888ee1c759",
    "pathProfileId": null,
    "groupId": null,
    "endpoints": null,
    "mtu": 0,
    "vcType": null,
    "autoBindType": null,
    "monitorBandwidth": false,
    "@class": "com.alu.wsc.api.generated.v4.ElineService"
  }
}