Operation
post /esmService/mplstpOAMTemplate/createMplstpOAMTemplatecreates mplstp oam template (createMplstpOAMTemplate : /esmService/mplstpOAMTemplate/createMplstpOAMTemplate)
creates mplstp oam template from UI data
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | required | mplstp bfd ui data | mplsTpOamTemplateHolder |
--- |
Return type
Responses
Response Messages |
Schema |
|---|---|
| 200success |
Template Response Data Holder
|
| 201Created | --- |
| 401Unauthorized | --- |
| 403Forbidden | --- |
| 404Not Found | --- |
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Example Request Data
{"templateName":"CMK-RestOAM","author":"alcatel","desc":"OAM","templateState":"UNPUBLISHED","templatePath":"My Templates/MPLS-TP Templates/OAM Templates/","holdDownTime":232,"holdUpTime":232,"bfdTemplateId":3}
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
{"message":"MPLS-TP OAM template save : success","msgCode":"MPLSTP_OAM_TMPL_001","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/OAM Templates/CMKOAM"],"paramCount":1}
External Docs
See Also :
Operation
post /esmService/mplstpOAMTemplate/deletemplstpOAMTemplateNamedelete mplstp oam template (deletemplstpOAMTemplateName : /esmService/mplstpOAMTemplate/deletemplstpOAMTemplateName)
deletes mplstp oam template from UI data
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | required | mplstp oam ui data | mplsTpOamTemplateHolder |
--- |
Return type
Responses
Response Messages |
Schema |
|---|---|
| 200success |
Template Response Data Holder
|
| 201Created | --- |
| 401Unauthorized | --- |
| 403Forbidden | --- |
| 404Not Found | --- |
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Example Request Data
{"templateName":"CMKOAMTem","templatePath":"My Templates/MPLS-TP Templates/OAM Templates/"}
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
{"message":"MPLS-TP OAM template DELETE : success","msgCode":"MPLSTP_OAM_TMPL_005","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/OAM Templates/CMKOAM"],"paramCount":1}
External Docs
See Also :
Operation
post /esmService/mplstpOAMTemplate/modifyMplstpOAMTemplatemodify mplstp oam template (modifyMplstpOAMTemplate : /esmService/mplstpOAMTemplate/modifyMplstpOAMTemplate)
modify mplstp oam template from UI data
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | required | mplstp bfd ui data | mplsTpOamTemplateHolder |
--- |
Return type
Responses
Response Messages |
Schema |
|---|---|
| 200success |
Template Response Data Holder
|
| 201Created | --- |
| 401Unauthorized | --- |
| 403Forbidden | --- |
| 404Not Found | --- |
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Example Request Data
{"templateName":"CMK-RestOAM","author":"alcatel","desc":"OAMTest","templateState":"UNPUBLISHED","templatePath":"My Templates/MPLS-TP Templates/OAM Templates/","holdDownTime":232,"holdUpTime":232,"bfdTemplateId":3}
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
{"message":"MPLS-TP NPA template modify : success","msgCode":"MPLSTP_OAM_TMPL_004","status":"SUCCESS","parameters":["My Templates/MPLS-TP Templates/OAM Templates/CMKOAMTem"],"paramCount":1}
External Docs
See Also :
mplsTpOamTemplateHolder
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 |
--- | --- |
| bfdTemplateId | Long long |
--- | --- |
| bfdTemplateName | String string |
--- | --- |
| holdDownTime | Long long |
--- | --- |
| holdUpTime | Long long |
--- | --- |