Operation
post /esmService/mplstpProtectionTemplate/createMplstpProtectionTemplate
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
---|---|---|---|---|
body | required | mplstp protection ui data | mplsTpProtectionTemplateHolder |
--- |
Return type
Responses
Response Messages |
Schema |
---|---|
200success |
Template Response Data Holder
|
201Created | --- |
401Unauthorized | --- |
403Forbidden | --- |
404Not Found | --- |
Consumes
application/json
Example Request Data
{"templateName":"CMK-RestPRot","author":"alcatel","desc":"protection","templateState":"UNPUBLISHED","templatePath":"My Templates/MPLS-TP Templates/Protection Templates/","protectionType":"Non Revertive","rapidPSCTimer":"3.3","restoreTime":"222","slowPSCTimer":5}
Produces
application/json
Example Response Data
{"message":"MPLS-TP BFD template save : success","msgCode":"MPLSTP_Protection_TMPL_001","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Protection Templates/CMKProtection"],"paramCount":1}
External Docs
Operation
post /esmService/mplstpProtectionTemplate/deletemplstpProtectionTemplateName
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
---|---|---|---|---|
body | required | mplstp protetcion ui data | mplsTpProtectionTemplateHolder |
--- |
Return type
Responses
Response Messages |
Schema |
---|---|
200success |
Template Response Data Holder
|
201Created | --- |
401Unauthorized | --- |
403Forbidden | --- |
404Not Found | --- |
Consumes
application/json
Example Request Data
{"templateName":"CMKProtection","templatePath":"My Templates/MPLS-TP Templates/Protection Templates/"}
Produces
application/json
Example Response Data
{"message":"MPLS-TP protection template delete : success","msgCode":"MPLSTP_Protection_TMPL_005","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Protection Templates/CMK-protection"],"paramCount":1}
External Docs
Operation
post /esmService/mplstpProtectionTemplate/modifyMplstpProtectionTemplate
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
---|---|---|---|---|
body | required | mplstp bfd ui data | mplsTpProtectionTemplateHolder |
--- |
Return type
Responses
Response Messages |
Schema |
---|---|
200success |
Template Response Data Holder
|
201Created | --- |
401Unauthorized | --- |
403Forbidden | --- |
404Not Found | --- |
Consumes
application/json
Example Request Data
{"templateName":"CMKProtection","author":"alcatel","desc":"CMKProtectionTest","templateState":"UNPUBLISHED","templatePath":"My Templates/MPLS-TP Templates/Protection Templates/","protectionType":"Revertive","rapidPSCTimer":"3.3","restoreTime":"232","slowPSCTimer":60}
Produces
application/json
Example Response Data
{"message":"MPLS-TP NPA template modify : success","msgCode":"MPLSTP_Protection_TMPL_004","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/Protection Templates/CMKPRottem"],"paramCount":1}
External Docs
mplsTpProtectionTemplateHolder
Name |
Type |
Description |
Enum |
---|---|---|---|
templateId | Long long |
--- | --- |
templateName | String string |
--- | --- |
author | String string |
--- | --- |
desc | String string |
--- | --- |
templateState | String string |
--- | --- |
templatePath | String string |
--- | --- |
createTime | Long long |
--- | --- |
protectionType | String string |
--- | --- |
restoreTime | Long long |
--- | --- |
rapidPSCTimer | String string |
--- | --- |
slowPSCTimer | Long long |
--- | --- |