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": "cdefb000-06f6-4465-bd3a-79f527143f58", "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": "2182-e4e12d40-47ac-4fee-9a9c-8836152b01b6" }, { "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": "2685-a7665170-d578-4d92-9880-17d15c788ffa" } ] } }
Response:
{ "status": 0, "startRow": 0, "endRow": 1, "totalRows": 1, "data": { "id": "4312-4a27b685-e963-4015-a4d2-a0888cd59ffb", "appId": null, "operationalState": null, "adminState": "DOWN", "neDeploymentState": null, "externalIds": null, "name": "L3 VPN From Template_down", "serviceType": "L3_VPN", "tenantIds": [ "0" ], "objective": "HOPS", "bidirectional": "ANY_REVERSE_ROUTE", "bw": null, "reverseBW": null, "maxLatency": 0, "maxCost": 0, "maxHops": 0, "lifeCycle": { "phase": "Planning", "state": "Planned", "reason": "" }, "templateId": "cdefb000-06f6-4465-bd3a-79f527143f58", "tunnelSelectionId": null, "pathProfileId": null, "groupId": null, "endpoints": null, "mtu": 0, "vcType": null, "autoBindType": null, "topology": "UNKNOWN_TOPOLOGY", "encryption": false, "loopbackEndpoints": null, "@class": "com.alu.wsc.api.generated.v4.L3Service" } }