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/v3/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": "3075-74b9e163-4b66-4ffc-b73a-b492deef7fbf"
      },
      {
        "timeSlots": "1-24",
        "siteServiceQosProfile": {
          "egressOverrideQueues": null,
          "ingressOverrideQueues": null
        },
        "id": "2978-c319a277-c2ef-4fd4-93b7-ece07c271481"
      }
    ]
  }
}

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 1,
  "totalRows": 1,
  "data": {
    "id": "3759-fc3f0849-4d96-4639-b352-7d1823536097",
    "appId": null,
    "operationalState": null,
    "adminState": "UP",
    "neDeploymentState": null,
    "externalIds": null,
    "name": "CLINETEST",
    "serviceType": "CLINE",
    "connectionState": "DISCONNECTED",
    "tenants": [
      {
        "id": "0",
        "tenantName": "admin",
        "contactName": null,
        "phoneNumber": null,
        "address": null
      }
    ],
    "topology": null,
    "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.v3.ClineService"
  }
}