Create a scheduled task to modify the bandwidth of an ELINE. The ELINE service UUID and endpoint UUIDs must be from an already existing service. The creation task must contain two subTasks. The first subTask is the modification that is to be applied to the service at the specified time. The second subTask is the modfication required to revert the service to it's original state. The URI in both subTasks is the API for ELINE modifcation. This URI should be modified to match the correct NSP server. Use the taskId returned as part of this request to retrieve the results of the task being executed.
Response:
{ "status": 0, "startRow": 0, "endRow": 1, "totalRows": 1, "data": { "id": "3125-8c8737e7-94b8-4159-ba50-8b281e19a953", "appId": null, "operationalState": "UP", "adminState": "UP", "neDeploymentState": "DEPLOYED", "externalIds": [ { "context": "SAM", "location": [ "135.121.158.6" ], "id": "svc-mgr:service-1" } ], "name": "ELINETEST", "serviceType": "ELINE", "connectionState": "CONNECTED", "tenants": [ { "id": "0", "tenantName": "admin", "contactName": null, "phoneNumber": null, "address": null }, { "id": "a08576d9-1368-4d2e-a100-e91279ff57b1", "tenantName": "nspTenant", "contactName": "NSP Tenant", "phoneNumber": "6135551234", "address": "123 Main Street" } ], "topology": null, "objective": "COST", "bidirectional": "ANY_REVERSE_ROUTE", "bw": null, "reverseBW": null, "maxLatency": 0, "maxCost": 0, "maxHops": 0, "lifeCycle": { "phase": "Deployment", "state": "Deployed", "reason": "E-Line service deployment completed" }, "templateId": null, "tunnelSelectionId": null, "pathProfileId": null, "groupId": null, "endpoints": [ { "id": "2434-9d0f568d-8e46-48ce-882c-bd09e4a51a23", "appId": null, "operationalState": "UP", "adminState": "UP", "neDeploymentState": "DEPLOYED", "externalIds": [ { "context": "SAM", "location": [ "135.121.158.6" ], "id": "svc-mgr:service-1:11.11.11.11:interface-1/1/11-inner-tag-0-outer-tag-77" } ], "neId": "1393-a86aaf47-e3bd-4236-88b2-07bae09a7702", "neName": "A-11.11.11.11", "portId": "1746-bbaad24f-cd39-4b3a-97aa-83a180dc058a", "serviceId": "3125-8c8737e7-94b8-4159-ba50-8b281e19a953", "name": "Port 1/1/11:77.0", "innerTag": -1, "outerTag": 77, "siteServiceQosProfile": { "qosProfile": 0, "ingressOverrideQueues": [ { "id": 1, "cir": 10000, "pir": 10000, "cbs": 2, "mbs": 2, "rateType": "kbps", "queueType": "Queue" } ], "egressOverrideQueues": null, "ingressParam": null, "egressParam": null }, "isHub": null, "@class": "com.alu.wsc.api.generated.v3.L2ServiceEndpoint" }, { "id": "2445-3cfca9a2-06a0-4088-868d-4b059cce9669", "appId": null, "operationalState": "UP", "adminState": "UP", "neDeploymentState": "DEPLOYED", "externalIds": [ { "context": "SAM", "location": [ "135.121.158.6" ], "id": "svc-mgr:service-1:22.22.22.22:interface-1/1/11-inner-tag-0-outer-tag-55" } ], "neId": "1622-0926d123-7489-4162-88bc-c4ada81c22d6", "neName": "B-22.22.22.22", "portId": "2581-7207a0a5-5757-468c-aada-93ece3b6026a", "serviceId": "3125-8c8737e7-94b8-4159-ba50-8b281e19a953", "name": "Port 1/1/11:55.0", "innerTag": -1, "outerTag": 55, "siteServiceQosProfile": { "qosProfile": 0, "ingressOverrideQueues": [ { "id": 1, "cir": 10000, "pir": 10000, "cbs": 2, "mbs": 2, "rateType": "kbps", "queueType": "Queue" } ], "egressOverrideQueues": null, "ingressParam": null, "egressParam": null }, "isHub": null, "@class": "com.alu.wsc.api.generated.v3.L2ServiceEndpoint" } ], "mtu": 1514, "vcType": null, "monitorBandwidth": false, "@class": "com.alu.wsc.api.generated.v3.ElineService" } }