Create a LAG service with the specified properties using 2 of the ports found previously
Request:
{ "data": { "tenantId": "687f0ce1-8dbc-4998-8442-0d00c73f86e8", "bidirectional": "SYMMETRIC_LOOSE", "objective": "HOPS", "name": "Sample LAG Service", "bw": 0, "reverseBW": 0, "destinations": [ "3570-d1580a0e-5976-4e90-a5a2-231017722389" ], "sources": [ "3057-2b558131-579a-4e8f-a146-ccd879fca505" ] } }
Response:
{ "status": 0, "startRow": 0, "endRow": 1, "totalRows": 1, "data": { "id": "4148-2626485a-86e3-41a9-a83c-6867051ae439", "appId": null, "operationalState": null, "adminState": "UP", "neDeploymentState": null, "externalIds": null, "name": "Sample LAG Service", "serviceType": "LAG", "tenantIds": [ "0", "687f0ce1-8dbc-4998-8442-0d00c73f86e8" ], "objective": "HOPS", "bidirectional": "SYMMETRIC_LOOSE", "bw": 0, "reverseBW": null, "maxLatency": 0, "maxCost": 0, "maxHops": 0, "lifeCycle": { "phase": "Planning", "state": "Planned", "reason": "" }, "templateId": null, "tunnelSelectionId": null, "pathProfileId": null, "groupId": null, "endpoints": [ { "id": "3057-2b558131-579a-4e8f-a146-ccd879fca505", "appId": null, "operationalState": "DOWN", "adminState": "UP", "neDeploymentState": "DEPLOYED", "externalIds": [ { "context": "NFM_P", "location": [ "135.121.156.100" ], "id": "network:22.22.22.22:lag:interface-1" } ], "neId": "1536-65f5928f-863c-458f-ad90-487f24648993", "neName": "B-22.22.22.22", "portId": null, "portName": null, "serviceId": null, "name": "Lag 1", "lagId": 1, "lagMembers": [], "@class": "com.alu.wsc.api.generated.v4.BaseServiceEndpoint" }, { "id": "3570-d1580a0e-5976-4e90-a5a2-231017722389", "appId": null, "operationalState": "DOWN", "adminState": "UP", "neDeploymentState": "DEPLOYED", "externalIds": [ { "context": "NFM_P", "location": [ "135.121.156.100" ], "id": "network:33.33.33.33:lag:interface-1" } ], "neId": "1531-d59d5bd3-01bc-4ee1-afae-76f9697c19cf", "neName": "C-33.33.33.33", "portId": null, "portName": null, "serviceId": null, "name": "Lag 1", "lagId": 1, "lagMembers": [], "@class": "com.alu.wsc.api.generated.v4.BaseServiceEndpoint" } ], "monitorBandwidth": false, "@class": "com.alu.wsc.api.generated.v4.BaseService" } }