Create Service Template

Create a service template for L3VPN services. The UUID from the Create Endpoint QoS Template procedure can be used in this request. The UUID returned by this request can be used in the Create Service procedure.

POST https://<NSP Server>:8543/sdn/api/v3/template/l3-vpn-services

Request:

{
  "data": {
    "adminState": "DOWN",
    "mtu": "1492",
    "qosId": "40ad0622-dfcd-4e25-bbe0-dfa3c46e6053",
    "name": "l3_vpn_template",
    "objectDescription": "L3 VPN Template"
  }
}

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 0,
  "totalRows": 0,
  "data": {
    "id": "32f10c9c-323d-4e4c-8662-49ad82e4daf1",
    "appId": null,
    "name": "l3_vpn_template",
    "objectDescription": "L3 VPN Template",
    "maxCost": 0,
    "maxHops": 0,
    "maxLatency": 0,
    "objective": "HOPS",
    "bidirectional": "SYMMETRIC_LOOSE",
    "qosId": "40ad0622-dfcd-4e25-bbe0-dfa3c46e6053",
    "qosName": "qos_template",
    "mtu": 1492,
    "autobind": "ldp",
    "adminState": "DOWN",
    "tunnelSelectionId": null
  }
}