Create an L3VPN service using a template. The UUID from the Create Service Template can be used in this request. Any properties specified in this request will overwrite those from the template.
Request:
{ "data": { "adminState": null, "templateId": "32f10c9c-323d-4e4c-8662-49ad82e4daf1", "tenantId": "0", "objective": "HOPS", "autobind": "none", "bidirectional": "ANY_REVERSE_ROUTE", "name": "L3 VPN From Template_down", "action": "TRAVERSE", "appId": null, "encryption": false, "mtu": null, "topology": null, "loopbackEndpoints": null, "endpoints": [ { "appId": null, "adminState": "UP", "innerTag": "-1", "name": "PortA_isHubFalse", "outerTag": "74", "isHub": "false", "primaryAddress": { "ipv4Prefix": { "string": "10.1.1.1/24" } }, "routingOspf": null, "customAttributes": null, "loopbackEndpoints": null, "siteServiceQosProfile": null, "secondaryAddresses": null, "routingStatic": null, "routingBgp": null, "id": "1746-bbaad24f-cd39-4b3a-97aa-83a180dc058a" }, { "appId": null, "adminState": "UP", "innerTag": "-1", "name": "PortB_isHubFalse", "outerTag": "74", "isHub": "false", "primaryAddress": { "ipv4Prefix": { "string": "15.1.1.11/24" } }, "routingOspf": null, "customAttributes": null, "loopbackEndpoints": null, "siteServiceQosProfile": null, "secondaryAddresses": null, "routingStatic": null, "routingBgp": null, "id": "2581-7207a0a5-5757-468c-aada-93ece3b6026a" } ] } }
Response:
{ "status": 0, "startRow": 0, "endRow": 1, "totalRows": 1, "data": { "id": "3654-04caeff5-89aa-4978-8f37-1a27c0eb3a2b", "appId": null, "operationalState": null, "adminState": "DOWN", "neDeploymentState": null, "externalIds": null, "name": "L3 VPN From Template_down", "serviceType": "L3_VPN", "connectionState": "DISCONNECTED", "tenants": [ { "id": "0", "tenantName": "admin", "contactName": null, "phoneNumber": null, "address": null } ], "topology": "UNKNOWN_TOPOLOGY", "objective": "HOPS", "bidirectional": "ANY_REVERSE_ROUTE", "bw": null, "reverseBW": null, "maxLatency": 0, "maxCost": 0, "maxHops": 0, "lifeCycle": { "phase": "Planning", "state": "Planned", "reason": "" }, "templateId": "32f10c9c-323d-4e4c-8662-49ad82e4daf1", "tunnelSelectionId": null, "pathProfileId": null, "groupId": null, "endpoints": null, "mtu": 0, "vcType": null, "autoBindType": null, "encryption": false, "loopbackEndpoints": null, "@class": "com.alu.wsc.api.generated.v3.L3Service" } }