Operation
get /esmBrowser/mplstpNpaTemplate/getMplsTpNpaTemplate/{context}Reads mplstp template data from template name (getMplsTpNpaTemplate : /esmBrowser/mplstpNpaTemplate/getMplsTpNpaTemplate/{context})
Reads mplstp template data from template name
Path parameters
Name |
IsRequired |
Description |
Enum |
|---|---|---|---|
| context | required | TemplatePath Name | --- |
Return type
Responses
Response Messages |
Schema |
|---|---|
| 200success |
MplsTpNpaTemplate
|
| 401Unauthorized | --- |
| 403Forbidden | --- |
| 404Not Found | --- |
Example Request Data
/esmBrowser/mplstpLspTemplate/getMplsTpTunnelTemplate/Best%20Practices+MPLS-TP%20Templates+Tunnel%20Templates+Best%20practice%20MPLS-TP%20tunnel%20template
Produces
This API call produces the following media types according to the Accept request header;
the media type will be conveyed by the Content-Type response header.
application/json
Example Response Data
{"templateId":1,"templateName":"NPA","author":"alcatel","desc":"Best Practices for MPLS-TP","templateState":"PUBLISHED","templatePath":"Best Practices/MPLS-TP Templates/NPA Templates/","preProvCliCmd":null,"postProvCliCmd":null,"lspMaxNumOfLabels":-1,"lspStartLabel":32,"lspEndLabel":2047,"svcMaxNumOfLabels":-1,"svcStartLabel":2048,"svcEndLabel":18431,"nodeId":null,"minTunnelId":1,"maxTunnelId":4095,"createTime":1457736704231,"modifyTime":1457736704232}
External Docs
See Also :
Operation
get /esmBrowser/mplstpNpaTemplate/getMplsTpNpaTemplateById/{id}Reads mplstp template data from template name (getMplsTpNpaTemplateById : /esmBrowser/mplstpNpaTemplate/getMplsTpNpaTemplateById/{id})
Reads mplstp template data from template name
Path parameters
Name |
IsRequired |
Description |
Enum |
|---|---|---|---|
| id | required | TemplatePath Name | --- |
Return type
Responses
Response Messages |
Schema |
|---|---|
| 200success |
MplsTpNpaTemplate
|
| 401Unauthorized | --- |
| 403Forbidden | --- |
| 404Not Found | --- |
Example Request Data
/oms1350/esmBrowser/mplstpNpaTemplate/getMplsTpNpaTemplateById/1
Produces
This API call produces the following media types according to the Accept request header;
the media type will be conveyed by the Content-Type response header.
application/json
Example Response Data
{ "templateId": 1, "templateName": "NPA", "author": "alcatel", "desc": "Best Practices for MPLS-TP", "templateState": "PUBLISHED", "templatePath": "Best Practices/MPLS-TP Templates/NPA Templates/", "preProvCliCmd": null, "postProvCliCmd": null, "lspMaxNumOfLabels": -1, "lspStartLabel": 32, "lspEndLabel": 2047, "svcMaxNumOfLabels": -1, "svcStartLabel": 2048, "svcEndLabel": 18431, "nodeId": null, "minTunnelId": 1, "maxTunnelId": 4095, "createTime": 1457736704231, "modifyTime": 1457736704232 }
External Docs
See Also :
MplsTpNpaTemplate
Name |
Type |
Description |
Enum |
|---|---|---|---|
| templateId | Long long |
Template ID | --- |
| templateName | String string |
template name of mplstp npa | --- |
| author | String string |
Author for the mplstpnpa templated | --- |
| desc | String string |
Description for the mplstp npa template | --- |
| templateState | String string |
template state can be published or unpublished | --- |
| templatePath | String string |
template path | --- |
| preProvCliCmd | String string |
pre cli cmd | --- |
| postProvCliCmd | String string |
post cli cmd | --- |
| lspMaxNumOfLabels | Integer integer |
max num of lsp labels for the mplstp npa template | --- |
| lspStartLabel | Integer integer |
start lsp labels for the mplstp npa template | --- |
| lspEndLabel | Integer integer |
end lsp labels for the mplstp npa template | --- |
| svcMaxNumOfLabels | Integer integer |
max svc labels for the mplstp npa template | --- |
| svcStartLabel | Integer integer |
start svc labels for the mplstp npa template | --- |
| svcEndLabel | Integer integer |
start end labels for the mplstp npa template | --- |
| nodeId | String string |
node id for the mplstp npa template | --- |
| minTunnelId | Long long |
Min tunnel ID | --- |
| maxTunnelId | Long long |
Max tunnel ID | --- |
| createTime | Long long |
template create time | --- |
| modifyTime | Long long |
template modify time | --- |