Create Cline Service

Create a CLINE service with the specified properties. The UUID returned as part of the response can be used in subsequent operations on the service.

POST https://<NSP Server>:8543/sdn/api/v4/services/clines

Request:

{
  "data": {
    "action": "TRAVERSE",
    "bidirectional": "ANY_REVERSE_ROUTE",
    "name": "CLINETEST",
    "objective": "COST",
    "tenantId": "0",
    "vcType": "SATOP_T1",
    "endpoints": [
      {
        "timeSlots": "1-24",
        "siteServiceQosProfile": {
          "egressOverrideQueues": null,
          "ingressOverrideQueues": null
        },
        "id": "3052-56e25b9e-0b7a-40ce-b700-2f311c603d08"
      },
      {
        "timeSlots": "1-24",
        "siteServiceQosProfile": {
          "egressOverrideQueues": null,
          "ingressOverrideQueues": null
        },
        "id": "3565-98603390-eb0d-45f7-bba0-04d1dfcb5b2f"
      }
    ]
  }
}

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 1,
  "totalRows": 1,
  "data": {
    "id": "4433-e3560d36-b6eb-46cd-9c29-2d24fd4fa3bc",
    "appId": null,
    "operationalState": null,
    "adminState": "UP",
    "neDeploymentState": null,
    "externalIds": null,
    "name": "CLINETEST",
    "serviceType": "CLINE",
    "tenantIds": [
      "0"
    ],
    "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": "SATOP_T1",
    "cemUseRtpHeader": false,
    "@class": "com.alu.wsc.api.generated.v4.ClineService"
  }
}